SAP Knowledge Base Article - Public

2987921 - Customer Invoice Upload via File Input Fails due to XML Conversion Error

Symptom

You uploaded the Customer Invoice Upload Template FileUpload_Template.xls (FileUpload_Template.xls represents the name of the Excel file) through file input, but the run is failing with error message: "System expected the element '{http://sap.com/xi/SAPGlobal20/Global}CustomerInvoiceRequestRequest' while converting XML to data type for document FileUpload_Template.xls"

Environment

SAP Business ByDesign

Reproducing the Issue

  1. Go to the Application and User Management work center.
  2. Access the File Input work center view.
  3. Under Active Runs, select the respective run from the Service Interface CustomerInvoiceProcessingRequestInvoicingIn.
  4. Navigate to the Execution Details tab.
  5. Click the Application Log ID.
  6. On the new screen, navigate to the Results tab.
  7. You can see the upload fails error message: "System expected the element '{http://sap.com/xi/SAPGlobal20/Global}CustomerInvoiceRequestRequest' while converting XML to data type for document FileUpload_Template.xl

Cause

You uploaded the excel file. However, the file input run only processes XML files.

Resolution

Open the Excel file FileUpload_Template.xls.

Select Invoice or Credit Memo from the drop-down list pending on the document type you would like to upload.

Fill in all required fields.

Click on the Create XML Files button.

InvoiceUploadTemplate.jpg

The file(s) generated via this button is/are the one that should be uploaded to the folder and sent into the system through the file input run.

See Also

2662685 - Where to Download the Customer Invoice Upload Template

Keywords

Invoice Upload; File Input Run; CustomerInvoiceProcessingRequestInvoicingIn; Fehler Element; Konvertieren; Converting; XML; Datentyp; Data Type; Invoice Upload , KBA , AP-CI-CI , Customer Invoice , Problem

Product

SAP Business ByDesign all versions

Attachments

InvoiceUploadTemplate.jpg