Ansicht
Dokumentation

/SAPAPO/CMDS_SGL_MM_ORD_CREATE - MM: Create Single Scheduling Agreement Delivery Schedule Line

/SAPAPO/CMDS_SGL_MM_ORD_CREATE - MM: Create Single Scheduling Agreement Delivery Schedule Line

BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Creation of schedule lines, releases and confirmations for purchasing scheduling agreements.

You enter the quantity and the date. The system generates the schedule line number. If no header order exists yet, the system creates one.

There are the following scenarios:

  • Creation of schedule lines:
    If the scheduling agreement does not yet exist as an order in the liveCache table /sapapo/ordkey, the system creates it.
    The system adds a new schedule line.

If a source location is available in the source of supply, the system creates the schedule line both in the receiving plant and in the source. In this case, note that the material must be created in the source location and that it is also in the respective model. The source can be a supplier or a plant.

Example

Notes

Further information





Parameters

EV_LINE_NO
EV_ORDID
EV_ORDNO
EV_POSITION_NO
EV_SCHEDID
IS_DCHAR
IS_SOURCE
IV_APPLICATION
IV_CONFIGURATION
IV_DIALOG
IV_FIRMED
IV_FLUSH
IV_ORDER_TYPE
IV_PEGID
IV_QUANTITY
IV_STARTTI
IV_TIME

Exceptions

NO_SCHEDULE_AGREEMENT_FOUND
ORDER_BLOCKED
SOURCE_INVALID

Function Group

APO/SAPLCMDS_LC_SCHED

TXBHW - Original Tax Base Amount in Local Currency   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.

Length: 2119 Date: 20240329 Time: 155311     sap01-206 ( 36 ms )