SAP Knowledge Base Article - Public

2855445 - Only One Instance is Created from Custom File Input Run

Symptom

You have have uploaded an XML File for your Custom File Input Run and only the First Instance is considered and created in the System.

Environment

  • SAP Business ByDesign
  • SAP Cloud for Customer
  • SAP Cloud Application Studio

Reproducing the Issue

 Prerequisites (Check See Also for Blog with More Details):

  1. You have Created a Custom Business Object.
  2. You have created an XML File Integration.
  3. You have created a File Input Run ID in the UI.

Schedule your File Input Run:

  1. Select the Work Center View "File Input" (Found under "Administrator" or "Application and User Management" in Cloud for Customer and Business ByDesign respectively).
  2. Select "Unprocessed Files" from Dropdown.
  3. Click Add and Upload your XML File to the Service Interface.
  4. Select "Active Runs" from Dropdown.
  5. Schedule the Run ID relevant to Service Interface.

Cause

This issue occurs because you have not enabled Mass Processing for your File Input Run. When the XML is parsed, it only takes the first Instance of your Custom Business Object.

Resolution

To correct this issue, please enable Mass Processing for your XML File Integration in the Cloud Application Studio:

  1. Open FileInputRun.pid (where FileInputRun is the name of your XML File Integration).
  2. Select Message Structure tab.
  3. Check Mass Processing.

FileInputMassProcessing.png

  1. Save and Activate FileInputRun.pid.
  2. Download the new XML Schema Document (.xsd file).

Please Note: When Mass Processing is enabled the <List> tag is required in the XML before the Business Object Instance tag.

See Also

Refer to this blog for more information: How to Upload Mass Data via XML File Input

Keywords

File Integration, PDI, SDK, Processed, Processing, Parse, Parsing, Service Integration, Finished, Success, Schedule, Single, Ignored, Skipped, Skip, Mass Processing, Multiple , KBA , AP-RC-BDS-SI , ByDesign Studio Service Integration , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions