Ansicht
Dokumentation

RM_BFLUSH_GOODSMVT - BAdI: Goods Movements in the Confirmation (Repetitive Manufacturing)

RM_BFLUSH_GOODSMVT - BAdI: Goods Movements in the Confirmation (Repetitive Manufacturing)

General Material Data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

This BAdI is used in the application component Repetitive Manufacturing (PP-REM).

In the repetitive manufacturing backflush you can post the manufactured quantities of the product and the goods issues for the backflushed components after production has been completed. In a separate screen you can process these goods movements again manually and add additional goods movements of components.

The Business Add-In (BAdI) RM_BFLUSH_GOODSMVT - like the BAdI WORKORDER_GOODSMVT for production orders - can be used to automatically modify the goods movements and add further components.

For example, you can implement your own procedures for the following processes within backflush:

  • Special rounding procedure
  • Batch determination
  • Storage location determination
  • Discontinuation or alternative selection
  • Packing

When you process the goods movements manually you can also use the methods of the BAdI Automatic Goods Movements (WORKORDER_GOODSMVT) in Repetitive Manufacturing.

The modifications of the goods movements are effective for the following processes:

  • Backflush with goods receipt and goods issue
  • Separate backflush
  • Reporting point backflush
  • Document-neutral reversal of a backflush

If a backflush if not possible, the system generates postprocessing records (including for new components).

  • As a default, the Business Add-In is not active.
  • The Business Add-In is not filter-dependent.
  • The Business Add-In is designed for multiple use.

After you have called the IMG activity, proceed as follows:

  1. In the following dialog box, enter in the field "Implementation" a name for the BAdI implementation and choose Copy.
If implementations have already been created for the BAdI, a dialog box with the existing implementations will be displayed. In this dialog box, choose Create.
  1. In the corresponding field, enter a short text for implementation .
  2. In the tab Propertiesenter filter properties - if this is a filter-dependent BAdI.
  3. Choose the tab Interface.
The name of the implementing class is generated by the system based on the name of your impmlementation. You can change the name.
If the BAdI is a menu exit, the tab FCodes also appears.Enter a function here and, if necessary, additional data.
  1. Save your entries and assign a package.
  2. Position the cursor on a method. Call up the Class Builder by double-clicking it.
  3. Between the statements method <Interface-Name>~<Name of Method>. and endmethod, enter the coding you request for the implementation.
  4. Save and activate your coding, and navigate back to the screen Change Implementation.
  5. Save on the screen Change Implementation.
Note: You can first create an implementation for the BAdI and then activate this later on. In this case, close the processing function at this time.
  1. Choose Activate.
When the application program is executed, the coding you have created will be run.

In additional to the regular components, you also want to post the goods issue of packaging materials in the backflush at the same time.

To display example coding, choose Goto -> Example Coding.

Methods
Backflush: Goods Movements on Goods Issue
(MODIFY_GOODSMVT_BEFORE_DIALOG)
Backflush: Goods Movements on Goods Receipt
(MODIFY_GOODSMVT_AFTER_DIALOG)






BAL_S_LOG - Application Log: Log header data   General Material Data  
This documentation is copyright by SAP AG.

Length: 4867 Date: 20240523 Time: 190226     sap01-206 ( 59 ms )