Skip to end of metadata
Go to start of metadata

Purpose

Explain How to use BAPI_PRODORDCONF_CREATE_TT to make confirmation to a production order.

Overview

Show several scenarios that you can use to make confirmation with BAPI_PRODORDCONF_CREATE_TT.

<Prerequisite>

1. According to note 208477, for BAPI_PROCORDCONF_CREATE_TT the goods movements are generally posted in the update program for technical reasons, even if "Immediately in dialog" has been set for the process control in Customizing (OPK4), therefore, the COGI and CO1P records can be generated due to the goods movements not successfully posted or a lock situation.

2. A COMMIT WORK has to be executed directly after calling up this BAPI.

<Scenario 1>

If no entry exists in the LinkConfGoodsmov table for a confirmation, goods movements are determined using the standard logic for backflushing and automatic goods receipt for confirmations.

 

Automatic Goods Receipt and Backflush are activated in order.

Enter related data in TIMETICKETS table.

 

Goods movements are determined for backflushing and automatic goods receipt using the standard logic.

 

<Scenario 2>

The assignment of the goods movements to a confirmation is effected via the LinkConfGoodsmov table. There must be an entry in this table for every entry in the Goodsmovements table. The index in the LinkConfGoodsmov-Index_Confirm field refers to the line of the associated confirmation in the Timetickets table and the index in the LinkConfGoodsmov-Index_Goodsmov field refers the associated goods movement in the Goodsmovements table.

Please pay attention to field mvt_ind in Goodsmovements table. In case of movement type 101, the field mvt_ind need to be set to 'F'. In case of movement type 261, the field mvt_ind need to be initial. KBA 1572327 explains this logic clearly.

Enter related data in TIMETICKETS, GOODSMOVEMENTS and LINK_CONF_GOODSMOV table.

The assignment of the goods movements to a confirmation is effected via the LinkConfGoodsmov table. Only Goods Movement entered in GOODSMOVEMENTS table is posted.

<Scenario 3>

If you want to prevent a goods movement from being posted for a confirmation according to the standard logic, make an entry in the LinkConfGoodsmov table as well as in the Timetickets table. The index in the LinkConfGoodsmov-Index_Confirm field refers to the line of the associated confirmation in the Timetickets table. Enter the initial value 0 in the LinkConfGoodsmov-Index_Goodsmov field. It is not necessary to make an entry in the Goodsmovements table in this case.

 

Enter related data in table TIMETICKETS and Enter the initial value 0 in the LinkConfGoodsmov-Index_Goodsmov field.

 Goods movement from being posted for a confirmation is prevented.

Related Content

Related Documents

SAP Help BAPIs

Related SAP Notes/KBAs

SAP Note 208477: Consulting: Process control in confirmation

 

 

  • No labels