Ansicht
Dokumentation

/SAPAPO/OM_CUS_SCHD_GET_BY_PEG - Get Sales Order Schedule Lines for Pegging Areas and Time Interval

/SAPAPO/OM_CUS_SCHD_GET_BY_PEG - Get Sales Order Schedule Lines for Pegging Areas and Time Interval

BAL_S_LOG - Application Log: Log header data   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Further information

@0P@Schedule Lines

Functionality

This module gets the schedule lines of sales orders whose requirements are in one of the pegging areas in IT_PEGAREA, and whose requirement time (LINE_TIME) is in the time interval defined in [ IV_START_TIME, IV_END_TIME[.

The parameter IV_OM_ORDER_TYPE must be filled with the requested order type; only the sales order types listed in OM_CUS_ORDERE_CHANGE are valid.

Notes

Error Handling and Troubleshooting

Possible return codes:

  • 38 = om_invalid_pegarea:
    A pegging area with the specified key does not exist in liveCache.
  • 10 = om_invalid_order_type:
    The order type specified in IV_OM_ORDER_TYPE is invalid.




Parameters

ET_ORDKEYS
ET_ORDMAPS
ET_POSITIONS
ET_RC
ET_SCHEDULE
IS_GEN_PARAMS
IT_AFS_CAT
IT_PEGAREA
IV_END_TIME
IV_GET_ORDKEYS
IV_GET_ORDMAPS
IV_GET_POSITIONS
IV_OM_ORDER_TYPE
IV_SIMSESSION
IV_START_TIME

Exceptions

LC_APPL_ERROR
LC_COM_ERROR
LC_CONNECT_FAILED

Function Group

APO/SAPLOM_CUSTOMER

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

Length: 2861 Date: 20240424 Time: 051021     sap01-206 ( 30 ms )