Application Development and Automation 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: 
Read only

on COMMIT, in fm with UPDATE TASK not executed

Former Member
0 Likes
450

Following the order in which the function modules/subroutines are nested and called in BOM Change program(tcode:CS02)

>(1)perform FB_BUCHEN (fg: CSDI)

>>(2)perform BUCHEN on commit (fg: CSDI)

>>>(3)call function CS_BT_BOM_POST (fg: CSBT)

>>>>(4)call function BOM_POST in update task (fg: CSVB)

On COMMIT stmt in (1),

(2) gets executed which in turn calls (3).

In (3) theres a call to fm:BOM_POST in UPDATE TASK which never gets executed.

can anyone plz reply as to why fm with 'UPDATE TASK' exetnsion not executed after statment 'COMMIT WORK'

early response solicited.

Regards

Nirmit

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
383

In update task is not executed immediately. It is done asynchronously. But if you are trying to debug, then in debugging, set the option for update debugging on.

Please close your other post regarding the same issue.

1 REPLY 1
Read only

Former Member
0 Likes
384

In update task is not executed immediately. It is done asynchronously. But if you are trying to debug, then in debugging, set the option for update debugging on.

Please close your other post regarding the same issue.