Ansicht
Dokumentation
BAPI_PRODORDCONF_GET_TE_PROP - Propose Data for Confirmation Time Event
SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
Functionality
You can use this method to prepare default data for time events for operations in production orders.
Along with the confirmation data, those goods movements can also be proposed that are specified according to standard SAP logic on the basis of the quantity of the operation still to be confirmed for backflushing and automatic goods receipt.
You must specify for which operations the data is to be proposed in the table Timeevents.
The operation can be identified either using the confirmation number in the field
- Timeevents-Conf_No
- or by specifying the order, sequence and operation in the fields
- Timeevents-Orderid,
- Timeevents-Sequence and
- Timeevents-Operation.
Example
Notes
Authorization check
The authorization object C_AFRU_AWK with the activity 01 (create) and also the order type and plant of the production order to be confirmed are checked.
Parameter
- PropGmov
-
You can use the parameter PropGmov to specify whether, in addition to the
proposed time event data, goods movements for backflushing and automatic goods movements are to be proposed for the time event data, depending on the quantity still to be confirmed.
- Return
-
If the default data is not provided because of a serious error, the parameter Return contains information concerning the error that has occurred.
- Timeevents
-
The table Timeevents serves both as input for the keys for the operations to be confirmed and also as output for the data still to be confirmed for the various operations.
- Goodsmovements
-
If default values were proposed for goods movements for confirmations (see parameter PropGmov) then these are provided in the table Goodsmovements.
- LinkConfGoodsmov
-
If default values for goods movements for the confirmation were calculated, then the table LinkConfGoodsmov
links the confirmation in table Timeevents to the associated goods movements
in the table Goodsmovements. The index in the field LinkConfGoodsmov-Index_Confirm
points to the line of the relevant confirmation in the table Timeevents
and the index in the field LinkConfGoodsmov-Index_Goodsmov to the relevant goods movement in the table Goodsmovements.
- DetailReturn
- The table DetailReturn provides information for every entry in the table Timeevents as to whether an error arose on proposal and if so, which error.
- If no error arose for an entry in the table Timeevents then an entry is made with initial data in the table DetailReturn.
Further information
Parameters
DETAIL_RETURNGOODSMOVEMENTS
LINK_CONF_GOODSMOV
PROP_GMOV
RETURN
TIMEEVENTS
Exceptions
Function Group
2116ABAP Short Reference SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 4763 Date: 20240523 Time: 184521 sap01-206 ( 66 ms )