Ansicht
Dokumentation
/SAPAPO/CMDS_SET_MM_ORD_MODIFY - MM: Create Multiple Sched. Lines for Sched. Agreement/Release/Confirmation
BAL_S_LOG - Application Log: Log header data rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
Functionality
Creation and changing of schedule lines, delivery schedules and confirmations for purchasing scheduling agreements.
You also enter the quantity, the date and, if necessary, the schedule line number for each schedule line. Creates a number of schedule lines. If a header order does not yet exist, the system creates it. If you choose the Replace = True indicator, the system deletes all existing schedule lines and replaces them with new ones.
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.
New schedule lines are added
- Changing of schedule lines:
Existing schedule lines are deleted and replaced with new ones.
The following parameter is also relevant for this: IV_REPLACE = gc_true
- Changing of schedule lines:
Existing schedule lines are kept and new ones are added to them.
The following parameter is relevant for this: IV_REPLACE = gc_false
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. 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
Notes
Further information
Parameters
CT_RCEV_HAS_INPUTS
EV_ORDID
EV_ORDNO
EV_POSITION_NO
IS_SOURCE
IT_SCHEDULE
IV_APPLICATION
IV_CONFIGURATION
IV_COPY_GR
IV_DIALOG
IV_FIRMED
IV_FLUSH
IV_ORDERTYPE_STATUS
IV_ORDER_TYPE
IV_PEGID
IV_REPLACE
Exceptions
NO_SCHEDULE_AGREEMENT_FOUNDORDER_BLOCKED
PEGID_NOT_FOUND
Function Group
APO/SAPLCMDS_LC_SCHEDAddresses (Business Address Services) BAL Application Log Documentation
This documentation is copyright by SAP AG.
Length: 2895 Date: 20240423 Time: 185052 sap01-206 ( 46 ms )