SAP Knowledge Base Article - Public

1728040 - Error Occurs in the File Input Run for the Customer Invoice Requests


Error occurs in the File Input Runs for the customer invoice requests.


SAP Business ByDesign

Reproducing the Issue

Follow the steps below to reproduce the issue:

  1. Go to Application and User Management workcenter.
  2. Go to File Input view.
  3. Select the Execution Details tab.
  4. At Show field, select the option Last 100 Logs.
  5. Open the application log XYZ (XYZ represents the ID of the application log).
  6. Select the Results tab.
  7. Error appears:  Length of unit exceeds maximum length "3", specified with maxLength while converting XML to data type for document.

Follow the steps below to check if the invoice requests are created for the File Input Runs:

  1. Go to the Customer Invoicing workcenter.
  2. Go to the Invoice Requests view.
  3. Show Inconsistent Documents and Find ABC (ABC represents the external invoice request).
  4. You can find the invoice requests created for the file input run are in erroneous status.
  5. Following error messages appear:
    • Mandatory List Price missing.
    • Error during product specific quantity conversion.
    • Combination of product and quantity unit does not exist.


In the Invoice Requests all errors are from Quantity Type Code and the List Price because:

  1. You have not maintained the List Price of the products in the excel template which is mandatory.
  2. Though you have entered a valid Quantity Type Code but the UoM you have entered is not correct (UoM represents Unit of Measure).


When you create the excel and convert it into XML, please make sure that you enter the List Price for each item and correct UoM of the product in the excel.

Also, if you want to enter other UoM for the Product you should maintain the Quantity conversion in the product itself.

  1. Go to the Product and Service Portfolio workcenter.
  2. Go to the Products view.
  3. Edit the Product.
  4. Add the Quantity Conversion.
  5. Save the changes.


file input run, customer invoice request, invoice request, length of unit exceeds maximum length, specified with maxLength while converting xml to data type for document, inconsistent, quantity conversion, list price, quantity , KBA , customer invoice requests , AP-CI-CIR , Customer Invoice Request , How To


SAP Business ByDesign all versions