Ansicht
Dokumentation

BADI_EX_MPE_EXEC_OA - BAdI: Adjustment of PP Confirmations

BADI_EX_MPE_EXEC_OA - BAdI: Adjustment of PP Confirmations

RFUMSV00 - Advance Return for Tax on Sales/Purchases   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Short Text

BAdI: Adjustment of PP Confirmations

You can use this Business Add-In (BAdI) to adjust data in the automatically generated production planning (PP) confirmations from SAP S/4HANA Manufacturing for production engineering and operations (PEO) execution. These PP confirmations are used to update the production order and its operations as well as to trigger follow-up processes (such as backflushing or actual cost calculation) from actual data collected during operation activity execution, which includes operation activity duration.

This BAdI contains the method CHANGE_PP_CONFIRMATION. You can use this method to adjust the data in the PP confirmations.

Note: The following restrictions apply to this method:

  • You are not allowed to add or delete confirmations.
  • You may adjust the data in the confirmations, except for the following fields:
  • Sequential Number (PDSNR)

  • Internal Counter (COUNTER)

  • Confirmation Application (RU_ORINA)

  • Confirmation Interface (RU_ORINI)

  • Completion Confirmation Number (RUECK)

  • Order Number (AUFNR)

  • Sequence (APLFL)

  • Operation/Activity Number (VORNR)

  • Suboperation (UVORN)

  • Capacity Category (KAPAR)

  • Split Number (SPLIT)

  • Confirmation Unit of Measure (MEINH)

  • Yield to be Confirmed (IMNGA)

  • Scrap to Be Confirmed (XMNGA)

  • Current Confirmation Rework Quantity (RMNGA)

The following prerequisites apply:

  • Labor tracking has been enabled in the work center master data.
  • On the Costing tab in the work center master data, the work center activities (Setup, Produce, and Teardown) must be defined, including selection of the record type group.
  • The work center with the planned activities must be assigned to an operation.

In the standard system, there is no activated BAdI implementation.

The BAdI is designed for single use only.

The example class CL_MPE_ADJ_PP_CONF is provided.

Note: If you process serial number groups for a production order, the default logic in the example class cumulates the duration of each serial number in a serial number group. This means that the same duration is counted multiple times.

Create your own BAdI implementation using the example class CL_MPE_ADJ_PP_CONF as follows:

  1. In transaction SE18, open enhancement spot ES_MPE_EXEC_SHOP_FLOOR_ORDER.
  2. Under BAdI Definitions on the left-hand side, select EX_MPE_EXEC_OPERATION_ACTIVITY and choose Create BAdI Implementation, or right-click the BAdI definition and choose Create BAdI Implementation.
  3. Choose Create Enhancement Implementation (F8).
  4. Specify your data and confirm by pressing Enter.
  5. When prompted for the class name, enter CL_MPE_ADJ_PP_CONF.

You can use this BAdI, for example, to:

  • Adjust the actual dates or the values of operation cost activities
  • Update labor calculations.





Addresses (Business Address Services)   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 4472 Date: 20240524 Time: 014119     sap01-206 ( 61 ms )