SAP Function /SAPMP/BAPI_PRORDCF_PDC_UPL_TE - Mill Products: Copy Confirmation Time Events from BDE System

Parameter Reference Type Length Text
RETURN BAPIRET1 u 470 Return Parameters

Parameter Reference Length Optional Text
GOODSMOVEMENTS BAPI2017_GM_ITEM_CREATE 1106 X Table of Goods Movements
IS_MP_GOODSMOVEMENTS /SAPMP/BAPI2017_GM_ITEM_CREATE 8 X BAPI Communication Structure: Material Document Item Single-Unit Batch
LINKCONFGOODSMOV BAPI_LINK_CONF_GOODSMOV 12 X Link table for confirmations/goods movement
TIMEEVENTS BAPI_PP_TIMEEVENT 333 Table of confirmations

Functionality
This method enables you to transfer actual data as confirmation timeevents for operations in production orders.
The confirmation time events are flagged for further processing, inother words, the transferred actual data is checked and stored in theAFRU confirmation table in a subsequent step. This can be achieved usinga periodically scheduled batch job with the CORUPROC1 program.Alternatively, in Customizing for Plant Data Colllection in theCommunication Parameters for Production Orders, you can use theImmediate Posting indicator to instruct the system to startfurther processing of the transferred data immediately after thetransfer.
In addition to the actual data in the confirmation, you can transferactual data for goods movements that are to be posted with aconfirmation. Single-unit information can be transferred for the goodsmovements.
If no goods movements are specified for a confirmation, the systemdetermines items for backflushing and automatic goods receipt
automatically in further processing of the confirmation.

Notes
This method uses the methodBAPI_PRODORDCONF_PDC_UPLOAD_TEand its parameter.
INCLUDE /SAPMP/BAPI_GOODSMOVEMENT OBJECT DOKU ID TX

Description
The return parameter is only used for grave errors that prevent any ofthe confirmations from being processed successfully. These errorsnormally only occur when the transferred confirmation data cannot betransferred to the internal structures because data definitionconventions were not adhered to.
The Return parameter contains detailed information about theerror in its structure. This information is also available, formatted,in the MESSAGE message text.

Default
If the system does not determine any grave errors, the parameter isreturned with the initial values.

Description
Goods movements to be posted independently of confirmations. Automaticgoods movements, that is to say, Backflushes of Components andAutomatic Goods Receipt Postings for Assembly, can be posted witha confirmation. If you want to make any additions or corrections to thisgoods movement data, it can be entered in the Goodsmovementstable. The goods movements for each confirmation are assigned using theLinkConfGoodsmov parameter table.
If a confirmation is assigned to at least one goods movement, the systemdoes not determine any automatic goods movements when the confirmationis saved. In other words, the transferred goods movements cannot beregarded as additional goods movements to the automatically posted goodsmovements, but rather as substitute items.
INCLUDE /SAPMP/BAPI_GOODSMOVEMENT_IT

Description
Each individual goods movement item is assigned to a confirmation usingthe LinkConfGoodsmov parameter table. The system cannot takeitems that are not assigned to a confirmation into account when saved.
The items are assigned using the IndexConfirm andIndexGoodsmov indices. The IndexConfirm index referencesthe entry in the Timetickets parameter table, and theIndexGoodsmov index references the entry in theGoodsmovements parameter table.
There should therefore be an equal number of entries in theLinkConfGoodsmov and Goodsmovements tables.
Exception: If you wish to prevent the system from automaticallyassigning goods movements to confirmations (because none have arisen),you can do so by making an entry in the LinkConfGoodsmov tablewithout the need for an entry in the Goodsmovements table. Inthis case, the index in the IndexConfirm field must reference therelevant confirmation. You should enter the initial value 0 inthe IndexGoodsmov field

Description
Table containing the time ticket confirmations that are to be entered.
You can identify the confirmed object Operation by entering theconfirmation number in the CONF_NO field. You can also identifythe operation by entering the order, sequence and operation, andpossibly the suboperation, in the ORDERID, SEQUENCE,OPERATION and SUB_OPER fields.
If you want confirmation for an individual capacity, you must alsoidentify this individual capacity by entering the relevant values in theCAPA_CATEGORY and SPLIT fields.
Each entry in the Timetickets table consitutes a separateconfirmation, which will be inspected and processed in the specifiedsequence.