/SAPAPO/PWB_BZQID_GET_ORDER - Return Order for a Source of Supply

PERFORM Short Reference   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Functionality

Returns an order from the liveCache for a procurement relationship (source of supply GUID).

If you have not entered IV_ORDER_TYPE, the system returns the first order (of a scheduling agreement) that it finds without taking into account the type.

Example

The liveCache contains the following for a scheduling agreement:

scheduling agreement schedule lines, delivery schedules, confirmations

A call with a defined IV_ORDER_TYPE results in just this one order.

A call with IV_ORDER_TYPE left blank results in one of the three orders mentioned above - which, however, is not determined.

Notes

Further information


Parameters

ES_ORDKEY
EV_ORDID
IV_BZQID
IV_ORDER_TYPE
IV_SIMID

Exceptions

LC_CONNECT_FAILED
NO_ELEMENTS
UNIT_CONVERSION_FAILED

Function Group

APO/SAPLPWB_GENERAL

General Material Data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.


Length: 1085 Date: 20120525 Time: 100217     triton ( 83 ms )