Symptom
The Customer Invoice Request run completes successfully (status Finished), but no External Customer Invoice Requests are created.
Environment
SAP Business ByDesign
Reproducing the Issue
- Go to the Application and User Management work center.
- Select the File Input view.
- Select Show Active Runs.
- Select the run CUSTOMER INVOICE REQUEST (where CUSTOMER INVOICE REQUEST represents the Run ID).
- In the Execution Details section, the logs show that the run has finished successfully
- Go to the Customer Invoicing work center.
- Select the Invoice Requests view.
- Open the Advanced Filter.
- Set the Invoice Request Type to External Customer Invoice Request.
- Click Go and observe that no External Customer Invoice Requests are created.
To check the error details:
- Go to the Application and User Management work center.
- Select the File Input view.
- Select Show Active Runs.
- Select the Run ID CUSTOMER INVOICE REQUEST.
- Click Check for Errors.
- In the Error Details section, the following errors are displayed:
Identifier 'Labour' is not valid.
Lowercase letters are not allowed in Labour.
Cause
The product ID provided in the payload is incorrect. The value provided in the payload does not exactly match the valid product ID maintained in the system.
For example, the payload contains the following entry, where "Labour" represents the product ID:
<ItemProduct>Labour</ItemProduct>
However, the valid product ID maintained in the system is "LABOUR"
Since the product ID provided in the payload does not match the product ID maintained in the system, the system cannot identify the product and no External Customer Invoice Requests are created.
Resolution
Update the payload with the correct product ID maintained in the system and reprocess the upload.
For the example mentioned above, update the payload entry as follows:
<ItemProduct>LABOUR</ItemProduct>
After reprocessing the upload with the correct product ID, the External Customer Invoice Requests are created successfully.
Keywords
Customer Invoice Request; External Customer Invoice Request; Customer Invoice Request Uploader; Customer Invoice Request Upload; File Input; Active Runs; Check for Errors; ItemProduct; Product ID; Invalid Product ID; Identifier is not valid; Lowercase letters are not allowed; Upload Payload; XML Payload; Customer Invoicing; Invoice Request , KBA , AP-CI , Customer Invoice Processing , Problem
SAP Knowledge Base Article - Public