We are hiring and constantly growing! Have a look through our vacancies to find the right role for you!
You use this function module exit EXIT_SAPLCORD_001 to overwrite the object type of the order that is currently being processed in ERP inbound processing.
If the order that is currently being processed is a planned order, for example, you can assign it the object type manufacturing order instead.
If the function module is to be processed, the following prerequisites must be met:
To overwrite the object type of this order, you change the value of the CV_OBJECTTYPE parameter. Since the object type is not contained in the CIF-ERP tables that are also sent to the function module exit, you have to change exactly this change parameter.
For planned orders, the object type has the value 5, for manufacturing orders (production and process orders) it has the value 6.
This enhancement module is processed in the CIF inbound of the ERP system. This is called in the ERP system by an asynchronous qRFC from SAP APO. You are therefore not in a dialog process and messages cannot be issued.