Ansicht
Dokumentation

/SAPAPO/CMDS_SET_MM_ORD_CREATE - MM: Create Multiple Schedule Lines for Release/Confirmation

/SAPAPO/CMDS_SET_MM_ORD_CREATE - MM: Create Multiple Schedule Lines for Release/Confirmation

Vendor Master (General Section)   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Creation and changing of schedule lines, delivery schedules and confirmations for SD scheduling agreements.

Creates a number of schedule lines. If no header order exists yet, the system creates one. You can create, change and delete schedule lines by using the transferred method.

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.
    Several schedule lines are transferred simultaneously.
    The schedule lines to be created must not exist already!

  • Deletion of schedule lines
    The scheduling agreement exists in the liveCache already.
    Several schedule lines are transferred simultaneously.
    The schedule lines to be deleted must not exist already!

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

Example

Example

Further information





Parameters

EV_ORDID
EV_ORDNO
EV_POSITION_NO
IS_SOURCE
IT_SCHEDULE
IV_APPLICATION
IV_CONFIGURATION
IV_DIALOG
IV_FIRMED
IV_FLUSH
IV_ORDER_TYPE
IV_PEGID

Exceptions

NO_SCHEDULE_AGREEMENT_FOUND
ORDER_BLOCKED
PEGID_NOT_FOUND

Function Group

APO/SAPLCMDS_LC_SCHED

BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2438 Date: 20240329 Time: 070320     sap01-206 ( 35 ms )