User Exits for Devt. Class MEW - BAPIs
When you create a purchase requisition using the BAPI PurchaseRequisition.CreateFromData (function module BAPI_REQUISITION_CREATE), you can use this enhancement to check (and change if necessary) all items prior to saving.
The item data, item texts, account assignment and service data is passed on to the function exit for this purpose.
All field checks then take place after this function exit has been invoked. If field values have been changed to values that are invalid,
- EXIT_SAPLMEWQ_001: Customer Exit: Creation of Purch. Requisition via BAPI_REQUISITION_CREATE