Ansicht
Dokumentation

BADI_GI_TRANSFER - BAdI: Determination of GI Items for Transfer at Order Split

BADI_GI_TRANSFER - BAdI: Determination of GI Items for Transfer at Order Split

General Data in Customer Master   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

You implement this Business Add-In (BAdI) to reverse goods issue postings for the parent order and post them again for the child order during an order split. The postings for both parent and child order are carried out without reference to reservation items, which means the withdrawn quantity of components in the parent order is not reduced. When you split an order, the system normally prompts you to enter a batch-managed by-product to transfer costs from the parent to the child order. If you create and activate an implementation of this BAdI, you no longer enter a by-product when splitting an order. Instead the system uses goods movements to allocate the component costs from the parent to the child order, and the child order is released automatically, which is a precondition for posting goods movements.

This BAdI contains the following method DETERMINE, which you use to specify for which materials, quantities, and batches these postings are to be made. To make it easier to identify these materials, the system provides the following data as importing parameters:

  • Parent order number
  • Total quantity of parent order and child order
  • Proposed quantity for goods issue components (derived from components of parent order)
  • Component serial numbers selected by the user
  • List of confirmation keys of the parent order
  • Relationship to grandparent order if parent order was created by an order split

Note: Only material costs are transferred from the parent order to the child order.

Please verify that the BAdI: Additional Check for Split Quantity (BADI_SPLIT_QUANTITY_CHECK) has also been implemented. This is required to make sure that an order split can only be done if operations prior to the split operation have been processed and the corresponding goods movements posted successfully.

There is no default implementation of this BAdI. This BAdI is designed for single use only. The example implementation BADI_IMPL_GOODS_ISSUE_TRANSFER is provided.

Implement BAdI BADI_GOODS_ISSUE_TRANSFER.

You want to reverse the goods issues for components in the parent order related to operations prior to the split operation and post these goods issues again for the child order. This must also include any unplanned goods issues posted along with confirmations for operations prior to the split operation. If the parent order itself was created by an order split, you also want to consider the goods issue postings created during this split. The quantities for these postings are to be prorated according to the quantities posted in the child order and parent order.

You create a BAdI implementation by copying the example implementation BADI_IMPL_GOODS_ISSUE_TRANSFER.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 3105 Date: 20240523 Time: 233507     sap01-206 ( 78 ms )