Ansicht
Dokumentation

LMEWPU06 - Customer exit for object determ. (procurement via catalogs)

LMEWPU06 - Customer exit for object determ. (procurement via catalogs)

Vendor Master (General Section)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Enhancement LMEWPU06

The BAPI ProcurementOperation.GetInfo (function module BAPI_PROCOPERATION_GETINFO) determines which object is to be generated on the basis of the item data and the Customizing settings. The value determined is passed on in the field OBJ_TO_GEN in the table PROCUREMENT_ITEM.

The following values generate the following objects:

Value Object
1 Reservation
2 Requisition
3 Purchase order

The field OBJ_TO_GEN can also have the value 4 (other usage). In this case, no object is generated. For example, in the Internet application component Procurement via Catalogs, the item data is shown on the confirmation screen if the value 4 is returned.

With this enhancement, you can change the value determined in the field OBJ_TO_GEN. After the return of your value, the objects are created in the SAP System.

Example:
In Customizing it has been specified that reservations are always to be generated. However, in the case of material type ABCD, you wish to generate purchase requisitions. You then return the value 2 in the field OBJ_TO_GEN.






Addresses (Business Address Services)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 1596 Date: 20240501 Time: 233332     sap01-206 ( 30 ms )