/SAPAPO/OM_ORDER_GET_SUPPLY - Gets Corresponding Requirement Coverage for Orders

CL_GUI_FRONTEND_SERVICES - Frontend Services   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Functionality

This function module first determines all input interface nodes (these are - depending on the ordertype - independent requirements, reservations, material provisions of contractor orders, transport requirements,customer requirements) in the table IT_ORDER. Then pegging relationships are used to determine whichorders (or more precisely, which output interface nodes satisfy the input nodes for the orders in the table IT_ORDER (the pegging relationships are also evaluated in one step only).

The input interface nodes for orders from IT_ORDER are transported to the caller in the table ET_ORDER . The replenishment elements are exported in the table ET_SUPPLIERS.

Orders in the table IT_ORDER can be purchase requisitions, purchase orders, planned or production orders, transport or sales orders.

Example

Notes

Return codes to be queried (see table ET_RC):

  • Order GUID not available: OM_INVALID_ORDER

Further information


Parameters

ET_INPUTS
ET_RC
ET_SUPPLIERS
IS_GEN_PARAMS
IT_ORDER
IV_RPM_GET_VIRTUAL_INPUTS
IV_SIMSESSION

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_PLANNING

CPI1466 during Backup   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.


Length: 1898 Date: 20120525 Time: 043821     triton ( 106 ms )