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

IN UPDATE TASK or perform on commit

Former Member
0 Likes
803

Is there a way to know if the code executed is called in an update task. (System field?)

Regards.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
593

hi,

check update task by calling function module TH_IN_UPDATE_TASK

regards,darek

3 REPLIES 3
Read only

Former Member
0 Likes
593

I dont think we have system field.

Read only

Former Member
0 Likes
594

hi,

check update task by calling function module TH_IN_UPDATE_TASK

regards,darek

Read only

Former Member
0 Likes
593

Hi,

I dont know if there is any system field for that,

but you can declare your own variable globally like

data : fl_flag(1) type c.

and then in the perform on commit....

set it to 'X'.

form <form_name>.
"processing steps
fl_flag = 'X'.
endform.

later on after commit work.

check if the fl_flag is set or not

if fl_flag = 'X'.
write 'Performed'
else.
write 'Did not perform'
endif.

Regards,

Siddarth