cancel
Showing results for 
Search instead for 
Did you mean: 

Which BAPI can be used to Tick the "Delivery Completed" check box in T-code CO02 (Production Order)

27maheboob
Participant
0 Kudos
162

Hi Experts,

I have a requirement, my business user wants to tick the "Delivery Completed" check box for the partially delivered production order at the month end before doing the TECO.

For this requirement, I want to develop a Z-T-code using the BAPI in the background, as many users don't have the authorization for T-code CO02, and if we develop a BDC, then it will give an authorization issue while running the BDC program. 
Please suggest which BAPI I can use to tick the "Delivery Completed" check box in CO02.

 FYR,

27maheboob_0-1745998929287.png

 

View Entire Topic
RaymondGiuseppi
Active Contributor
0 Kudos

You can try a BAPI such as BAPI_PRODORD_COMPLETE_TECH and BAPI_PROCORD_CHANGE (but SAP will still run some authorization checks).

27maheboob
Participant
0 Kudos
Dear Raymond, Thanks for your reply but both the BAPI you have mentioned cannot be used for setting "Delivery Completed" flag in production order (CO02).
RaymondGiuseppi
Active Contributor
0 Kudos

Try to create a confirmation with a dummy movement with flag 'no more GR' set e.g. BAPI_PROCORDCONF_CREATE_TT 

27maheboob
Participant
0 Kudos
Dear Raymond, Can you please send me the screenshot on how to provide the input details in the BAPI "BAPI_PROCORDCONF_CREATE_TT".
RaymondGiuseppi
Active Contributor
0 Kudos
Use BAPI_PROCORD_GET_DETAIL and BAPI_PRODORDCONF_GET_TT_PROP to get proposed data, then update subfields such as NO_MORE_GR and WITHDRAWN