Functionality You can use this method to prepare default data for confirmation timetickets for operations in production orders. Along with the confirmation data those goods movements can also beproposed that are specified according to standard SAP logic on thebasis of the quantity of the operation still to be confirmed forbackflushing and automatic goods receipt. You must specify for which operations the data is to be proposed in thetable Timetickets>. The operation can be identified either using the confirmation number inthe field
- Timetickets-Conf_No>
or by specifying the order, sequence and operation in the fields
- Timetickets-Orderid>,
- Timetickets-Sequence> and
- Timetickets-Operation>.
Notes Authorization check> The authorization object C_AFRU_AWK> with theactivity 01 (create) as well as the order type and plant of theproduction order to be confirmed is checked. Parameter>
- Propose>
You can use the parameter Propose> to specify which actual datais to be calculated and provided. The following indicators can be set: Propose-Quantity> : quantity to be confirmed Propose-Activity> : work to be confirmed Propose-Date_And_Time>: dates to be confirmed Propose-Personnel> : personnel data to be confirmed Propose-Goodsmovement>: goods movements for quantity to beconfirmed
- Return>
If the default data is not provided because of a serious error theparameter Return> contains information concerning the error thathas occurred.
- Timetickets>
The table Timetickets> serves both as input for the keys for theoperations to be confirmed and also as output for the data still to beconfirmed for the various operations.
- Goodsmovements>
If default values for goods movements for confirmations were calculatedthen they are provided in the table Goodsmovements>.bereitgestellt.
- LinkConfGoodsmov>
If default values for goods movements for the confirmation werecalculated then the table LinkConfGoodsmov> links theconfirmation in table Timetickets> to the associated goodsmovements in the table Goodsmovements>. The index in the fieldLinkConfGoodsmov-Index_Confirm> points to the line in therelevant confirmation in the table Timetickets> and the index inthe field LinkConfGoodsmov-Index_Goodsmov> to the relevant goodsmovement in the table Goodsmovements>.
- DetailReturn>
The table DetailReturn> provides information for every entry inthe table Timetickets> as to whether an error arose on proposaland as to what error it concerned. If no error arose for an entry in the table Timetickets> then anentry is made with initial data in the table DetailReturn>.Description The Return parameter is only used for serious errors that prevent allconfirmations from being successfully processed. As a rule, this typeof error only occurs if the transferred confirmation data cannot beconverted into the internal structures, because conventions regardingdata definitions have not been adhered to. The Return> parameter's structure contains all the necessaryinformation about the error in detail. This is also prepared in themessage text MESSAGE>.Default If no serious error is found, the return parameter is returned withinitial values. Description With the help of parameter Propose>, the calling program candefine which detail data should be proposed for the confirmation.Value range The following indicators are contained in the parameter's structure:
- QUANTITY:> The yield to be confirmed is proposed
- ACTIVITY:> The activities to be confirmed are proposed
- DATE_AND_TIME:> The actual dates to be confirmed are proposed
- PERSONNEL:> The actual data to be confirmed related to the work
center and to personnel is proposed.
- GOODSMOVEMENT>: Automatic goods movements (automatic goods
receipt and backflushing of components) are proposed. The quantity tobe confirmed forms the basis of this proposal. If the yield to beconfirmed is not calculated because the QUANTITY> indicator isnot set, the quantities to be confirmed (yield, scrap and reworkquantity) can also be transferred with the table Timetickets >.Description The parameter table DetailReturn> provides information about anyexception that may occur due to incorrect data, for each confirmationin the Timetickets> table. An entry is made in the DetailReturn> table for each confirmationin the Timetickets> table. For example, the third entry in theDetailReturn> table shows whether an exception has arisen for thethird confirmation in the Timetickets> table. If no exception is detected, an entry with initial values is providedin the DetailReturn> table.Description Automatic goods movements, that is, automatic goods receipt andbackflushing of components, are only proposed if the GOODSMOVEMENT > indicator is set in the Propose> Parameter. Goods movements are then determined on the basis of the quantities tobe confirmed in the respective confirmation. These quantities caneither be proposed by the BAPI itself, providing the QUANTITY>indicator is set in the Propose> parameter, or else they can bespecified by the calling program in the Timetickets> table.Description Each individual goods movement item is assigned to a confirmation viathe parameter table LinkConfGoodsmov>. Assignment occurs via the IndexConfirm> and IndexGoodsmov>indices. For this process the IndexConfirm> index has to refer tothe confirmation in the parameter table Timetickets> and theIndexGoodsmov> index to the goods movement in the parameter tableGoodsmovements>.Description Table of confirmations, as time tickets. You can identify the confirmed operation> by entering theconfirmation number in the CONF_NO> field. Alternatively, you canidentify the operation by entering the order, sequence and operation,and if necessary the sub-operation, in the ORDERID>, SEQUENCE >, OPERATION> and SUB_OPER> fields. If an individual capacity is being confirmed, you can identify theindividual capacity with the help of the CAPA_CATEGORY> andSPLIT> fields, in addition to entering the operation. If activities or goods movements are to be determined on the basis ofactual quantities that are already known, the actual quantitiesyield>, scrap>, rework quantity> as well as therelevant quantity unit> can also be transferred in the fieldsYIELD>, SCRAP>, REWORK>, as well asCONF_QUAN_UNIT > and CONF_QUAN_UNIT_ISO> in the Timetickets> table. Each entry in the Activities> table represents a separateconfirmation that is checked and processed in the sequence in which itis transferred.
|