Ansicht
Dokumentation

PI_COUNT_SCAN_ADHOC - BAdI: Changing of Scan Results for Physical Inventory Ad Hoc Counts

PI_COUNT_SCAN_ADHOC - BAdI: Changing of Scan Results for Physical Inventory Ad Hoc Counts

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Data in Customer Master  
This documentation is copyright by SAP AG.
SAP E-Book

The Business Add-In (BAdI) is used in the Inventory Management (MM-IM) component.

You can use this BAdI to change items in the function response of the default SAP coding for the scan in the ad hoc counting case in the app Manage Physical Inventory Count.

The import parameter KEYcontains a string with the scan result and the keys of a physical inventory document, for which the ad hoc count was triggered (only draft key, because document has no final number yet). Already entered information in the document, such as plant and storage location, is provided via the structure DOCUMENT.

The changing parameter CHANGE_ITEMScontains all items that were found by the default SAP coding. Note, this parameter is empty if the default SAP coding is disabled by the BAdI BAdI: Disablement of Default Scan Coding for Physical Inventory Counts(MMIM_PI_CNT_SCAN_EXECUTE_DFLT).

When the system executes the BAdI BAdI: Changing of Scan Results for Physical Inventory Counts(MMIM_PI_CNT_SCAN_CHANGE_RESULT), all items in the changing parameter CHANGE_ITEMSare returned by the RAP function and added to the ad hoc count document.

Note

Do not fill the fields QuantityInUnitOfEntry, UnitOfEntryand, PhysicalInventoryItemIsZero, because the app Manage Physical Inventory Countcannot currently interpret these fields.

Message Handling

Inside the customer coding, you can fill the changing parameter MESSAGEwith a message text and severity. If you have filled this parameter, the app Manage Physical Inventory Countdisplays the message in a message popup.

  • The Business Add-In is active in the standard system.
  • The Business Add-In can be used more than once.

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.






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

Length: 3149 Date: 20240523 Time: 211620     sap01-206 ( 106 ms )