Ansicht
Dokumentation

OCHA_BADI_GET_PLANT - Business Add-In: Enhancement to Automatic Plant Determination

OCHA_BADI_GET_PLANT - Business Add-In: Enhancement to Automatic Plant Determination

Addresses (Business Address Services)   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

Application component: VB

Transaction: MB56

You can use Business Add-In (BAdI) VB_GET_POS_PLANT to modify the automatic plant selection for material number and batch to customer requirements. The direction of explosion, material number, and batch are returned via the interface of method 'GET_PLANT'. A suitable plant can be determined in the customer-specific implementation using this data. If several possible plants are found, a selection popup can be sent in the BAdI. The determined or selected plant is returned to the calling transaction with the interface parameter 'e_werks'.

If no plant is selected with the customer-specific implementation, the standard search is executed as in the standard after running through the BAdI.

Material number and batch must be entered.

  • The Business Add-In does not have any filters.

  • The Business Add-In cannot be used multiple times.

The BAdI is shipped with a sample implementation in which the plant search is executed with batch usages that have already been posted (table CHVW)

Documentation on method:

Plant Determination for Batch Where-Used List






CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 1501 Date: 20240523 Time: 185015     sap01-206 ( 39 ms )