SAP Knowledge Base Article - Public

3664727 - Unable to update multiple inbound deliveries using BO I_INBOUNDDELIVERYTP for modify entity operation.

Symptom

  • The user is attempting to perform a modify entity operation using BO I_INBOUNDDELIVERYTP to update multiple inbound deliveries.
  • Only the first entry in the internal table is updated, while subsequent entries are not processed.

Environment

SAP S/4HANA Cloud Public Edition

Reproducing the Issue

  1. Use the modify entity operation to update multiple inbound deliveries via BO I_INBOUNDDELIVERYTP.
  2. Execute the example code snippet below:

    MODIFY ENTITIES OF I_InboundDeliveryTP FORWARDING PRIVILEGED
    ENTITY InboundDelivery
    UPDATE FIELDS (DeliveryDate DeliveryTime)
    WITH lt_update  "lt_update is internal table with multiple inbound deliveries
    REPORTED DATA(ls_reported)
    FAILED DATA(ls_failed)
    MAPPED DATA(ls_mapped).

  3. Observe that only the first entry in the internal table is updated, while other entries (inbound deliveries) remain unchanged.

Cause

The BO I_INBOUNDDELIVERYTP allows modification of only one inbound delivery document at a time.

Resolution

  1. Commit or roll back changes for the first inbound delivery before proceeding to modify another.
  2. Refer to the 'Constraints' section in the Business Accelerator Hub documentation for BO I_INBOUNDDELIVERYTP for further details:

    Business Accelerator Hub Documentation for BO I_INBOUNDDELIVERYTP

Keywords

EML, inbound delivery, BO I_INBOUNDDELIVERYTP, multiple entries, internal table, update issue, custom fields, constraints, business accelerator hub, commit changes, roll back changes , KBA , LE-SHP-API-2CL , Interfaces for Delivery Documents (API) (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions