/SAPAPO/PWB_GET_RELATED_ORDERS - Find Orders That Belong to an Order

ROGBILLS - Synchronize billing plans   General Data in Customer Master  
This documentation is copyright by SAP AG.

Functionality

A different type of order belonging to the entered liveCache order is returned. This is only relevant for orders of the following scheduling agreement types:

Procurement scheduling agreements:

  • Schedule lines for scheduling agreement item
  • Delivery schedules for scheduling agreement item
  • Confirmations for scheduling agreement item

SD scheduling agreements:

  • Delivery schedules for the scheduling agreement item
  • Confirmations for the scheduling agreement item

Example

The liveCache contains the following for a scheduling agreement:

scheduling agreement schedule lines, delivery schedules, confirmations

A call with an order GUID (IV_ORDID) for a delivery schedule and the transferred order type (IV_ORDER_TYPE)for confirmations (= gc_om_mm_sched_confirmation) results in the return of an order GUID (IV_ORDID) for the corresponding confirmation, if one exists. If it does not exist, the system returns the exception NO_ELEMENTS.

Notes

Further information


Parameters

EV_ORDID
IV_ORDER_TYPE
IV_ORDID
IV_SIMID

Exceptions

LC_CONNECT_FAILED
NO_ELEMENTS
ORDER_NOT_FOUND

Function Group

APO/SAPLPWB_GENERAL

ABAP Short Reference   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.


Length: 1433 Date: 20120525 Time: 100247     triton ( 68 ms )