Ansicht
Dokumentation

EXIT_SAPLMDBF_002 - Customer Exit for Stock Determination Item Table

EXIT_SAPLMDBF_002 - Customer Exit for Stock Determination Item Table

CPI1466 during Backup   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This customer exit allows you to change entries in the item table for stock determination (see Customizing). The exit is called only if the user exit for item table indicator is set in the stock determination strategy.

You can get the details of the current call context for the stock determination module from structure I_BFCOM.

Structure I_T434K contains the header data for the current stock determination strategy.

The item table is copied to internal table C_XT434P and can be changed in the exit as required.

The key fields for stock items that are required to be available for selection for stock determination are listed in the item table. Any initial values are interpreted in such a way as not to restrict the key:

You have to take the key fields for client, plant, stock determination group, and stock determination rule from the strategy header record (I_T434K).

In the underlying database structure T434P, the item number serves only ensure that the primary key is unique. When you fill internal table C_XT434P you should put the row index number here (in other words, you use the sequential row number).

Example: Preferred Vendor

For a given material (I_BFCOM-MATNR), you can create an item table that lists consignment stocks from a particular vendor as your preferred source.

Notes

Further information





Parameters

C_XT434P
I_BFCOM
I_T434K

Exceptions

Function Group

XMBF

PERFORM Short Reference   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 2448 Date: 20240604 Time: 004024     sap01-206 ( 39 ms )