Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI/FM for Confirmation of Production order Considering Goods Movement

former_member451655
Active Participant
0 Kudos

Hi all ,

I m using BAPI_PRODORDCONF_CREATE_TT to do production Confirmaitons , its working fine without considering Goods Movement , sample code would be helpful , thx for the time

Br,

Dilum

1 ACCEPTED SOLUTION

Former Member
0 Kudos

wa_timeticket6-conf_no = wf_rueck.

wa_timeticket6-yield = wf_quant6. Here if the operations sub operations we need not passs the qu

wa_timeticket6-fin_conf = 'X'. " this is for type of confirmation

APPEND wa_timeticket6 TO int_timeticket6 .

wa_goodsmovement-MOVE_TYPE = '<Desired movement>'.

Append wa_goodsmovement To int_goodsmovement.

CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'

TABLES

timetickets = int_timeticket6

GOODSMOVEMENTS = int_goodsmovement.

detail_return = int_return6.

Hope this works.

Cheers,

Chaitanya Swaroop Maka

2 REPLIES 2

Former Member
0 Kudos

wa_timeticket6-conf_no = wf_rueck.

wa_timeticket6-yield = wf_quant6. Here if the operations sub operations we need not passs the qu

wa_timeticket6-fin_conf = 'X'. " this is for type of confirmation

APPEND wa_timeticket6 TO int_timeticket6 .

wa_goodsmovement-MOVE_TYPE = '<Desired movement>'.

Append wa_goodsmovement To int_goodsmovement.

CALL FUNCTION 'BAPI_PRODORDCONF_CREATE_TT'

TABLES

timetickets = int_timeticket6

GOODSMOVEMENTS = int_goodsmovement.

detail_return = int_return6.

Hope this works.

Cheers,

Chaitanya Swaroop Maka

0 Kudos

Hi Chaitanya,

thx for the reply , but i m still not able to Confirm Production Order ( BackFlush method). for CO11N posting is not possible as there is no enough Stocks for the Assemply Items , but in the Bapi its not Considering Stocks of the Low lever Items. Any idea what i ve Missed ?

Br ,

Dilum