Ansicht
Dokumentation
/SAPAPO/CMDS_SET_SD_ORD_MODIFY - SD: Create Multiple Schedule Lines for Release/Confirmation
General Material Data ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
Creating and changing due delivery schedules and confirmations for SD delivery agreements.
Creates a quantity of schedule lines. For each schedule line the quantity, deadline and where appropriate the schedule line number are given. If no header order yet exists one is created. With the indicator Replace = True all available schedule lines are deleted and replaced by new ones.
The following scenarios are possible:
- Creation of Schedule Lines:
- If the scheduling agreement does not already exist as an order in the liveCache table /sapapo/ordkey it is created. New schedule lines are added.
- Change of Schedule Lines:
- Existing schedule lines are deleted and replaced by new ones. The following parameter is relevant: IV_REPLACE = gc_true
- Change of Schedule Lines:
- Existing schedule lines are retained and new ones are added. The following parameter is relevant: IV_REPLACE = gc_false
If a destination location is available in the source of supply, the schedule line is created not only in the issuing plant but also with the customer. It should be taken into account that the material must be created in the destination location and that it is located in the relevant model.
Example
Notes
Further information
Parameters
EV_ORDIDEV_ORDNO
EV_POSITION_NO
IS_SOURCE
IT_SCHEDULE
IV_APPLICATION
IV_CONFIGURATION
IV_DELETE_FROM
IV_DELETE_TO
IV_DIALOG
IV_FIRMED
IV_FLUSH
IV_ORDER_TYPE
IV_PEGID
IV_REPLACE
Exceptions
NO_SCHEDULE_AGREEMENT_FOUNDORDER_BLOCKED
PEGID_NOT_FOUND
Function Group
APO/SAPLCMDS_LC_SCHEDBAL Application Log Documentation BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 2275 Date: 20240418 Time: 134728 sap01-206 ( 35 ms )