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

STATUS_UPDATE_DIALOG inside user exit

Former Member
0 Likes
813

Hi All,

Can we use the FM STATUS_UPDATE_DIALOG inside a user exit or an enhancement section? Will it give any kind of an update termination error later when any commit work is encountered?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
689

Hi,

It wont becoz inside the FM theres a submit program which does the commit. So that will be a new LUW and the commit will apply to the new LUW. Once done the program will return to its original position n will continue the processing. So the FM commit wont interfere with any other commit .

Hope this will surely help you !!!

Regards,

Punit Raval.

3 REPLIES 3
Read only

Former Member
0 Likes
690

Hi,

It wont becoz inside the FM theres a submit program which does the commit. So that will be a new LUW and the commit will apply to the new LUW. Once done the program will return to its original position n will continue the processing. So the FM commit wont interfere with any other commit .

Hope this will surely help you !!!

Regards,

Punit Raval.

Read only

0 Likes
689

Ok thank so much. Let me explain to you as to what I am doing now. I actually have to create a notification in the background for an order. So there is an enhancement section where FM CO_ZV_ORDER_POST is used. Juts befor ethsi FM, i am writing my logic to create a notification in a FM called in background task. I have to change the status of this new notification. So I am calling STATUS_CHANGE_EXTERN FM followed by STATUS_UPDATE_DIALOG after the CO_ZV_ORDER_POST FM. Because by the time CO_ZV_ORDER_POST is completely exectued, the new notification would be committed to the database. Am I going in the right path. Will it give any kind of an error in any regression testing?

Read only

0 Likes
689

Hi,

I dont think so any error will come..

In the FM thrs a commit work.. i Hope watever enhancement you will do .. it will after that .. so then there woyuld be no prob as such also .. if you trying to write enh in this FM write it at the end of it ... or in the code after the point where this FM is called.

You can implement the same,.

Hope this will surely help you

Regards,

Punit Raval.