Ansicht
Dokumentation

W_WB2B_CONS15 - BAdI:Reduce open quantity of schedule items

W_WB2B_CONS15 - BAdI:Reduce open quantity of schedule items

Addresses (Business Address Services)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

You can use this Business Add-In (BAdI) in the Global Trade Management (LO-GT-TC) component.

This Business Add-In (BAdI) enables you to change the distribution of schedule item quantities during Trading Contract consolidation. It is called if the calculated open quantity on item level is smaller than that yielded by calculations on schedule level. In this case the schedule item open quantities must be reduced.

The method REDUCE has the following parameters:

  • IV_DELTA: Reduction quantity ( ABS ( item open quantity - sum of schedule item open quantities))
  • IS_WBHK: Trading Contract header
  • IS_WBHI: Trading Contract item
  • ITS_WBHE: Schedule items
  • TS_OPEN_SCHEDULE: Table with the calculated open quantities in field OPEN. These values must be reduced in such a way, that the sum of all reductions is equal to IV_DELTA.

In the standard system there is an active default BAdI implementation. The BAdI is designed for single use.

For more information about the standard settings (filters, single or multiple uses), see the Enh. Spot Element Definitionstab in the BAdI Builder (transaction SE18).

For information about the implementation of BAdIs in the context of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.






CL_GUI_FRONTEND_SERVICES - Frontend Services   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2234 Date: 20240523 Time: 172123     sap01-206 ( 89 ms )