SAP Knowledge Base Article - Public

3710704 - Inconsistent Behavior with BAdI SD_BIL_DATA_TRANSFER – SAP S/4HANA Cloud Public Edition

Symptom

Pricing in the sales invoice in 'Manage Billing Documents'(F0797) app becomes distorted when BAdI SD_BIL_DATA_TRANSFER is active while updating a custom field from customer master data.

Environment

SAP S/4HANA Cloud Public Edition

Cause

Mandatory three MOVE-CORRESPONDING statements are missing in the BAdI implementation in 'Custom Logic'(F6957) app, resulting in unpopulated changing parameters and pricing inconsistencies of sales invoice in 'Manage Billing Documents'(F0797) app.

Resolution

  • Ensure mandatory MOVE-CORRESPONDING statements are implemented in the BAdI in 'Custom Logic'(F6957) to populate initially empty changing parameters by copying values from the importing parameters and avoid empty structures.  
  • Required statements are: 
    1. MOVE-CORRESPONDING bil_doc TO bil_doc_res.
    2. MOVE-CORRESPONDING bil_doc_item TO bil_doc_item_res.
    3. MOVE-CORRESPONDING bil_doc_item_contr TO bil_doc_item_contr_res. 

See Also

SAP Help Portal: Custom Data Transfer for Billing Process Documents.

Keywords

BADI SD_BIL_DATA_TRANSFER, distorted pricing, sales invoice, MOVE-CORRESPONDING, SAP S/4HANA Cloud Public Edition, billing document, inconsistent behavior, pricing error. , KBA , SD-BIL-IV-2CL , Processing Billing Documents (Public Cloud) , Problem

Product

SAP S/4HANA Cloud Public Edition all versions