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

How to Capturu errors in update task

Former Member
0 Likes
590

Hi all

How to capture errors when we use the addition UPDATE TASK in Function Module (since this is going to have a separate LUW same LUW will not give the errors)?

Thanks

Giri

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
493

Hi

Try with below syntax

CALL FUNCTION ZFM

STARTING update TASK taskname

DESTINATION IN GROUP pgroup

PERFORMING returninfo ON END OF TASK.

Followed by parameters to function module ZFM

In FORM returninfo write the code RECEIVE RESULTS FROM FUNCTION ZFM

to capture error messages of function module ZFM.

Regards

Srilaxmi

2 REPLIES 2
Read only

Former Member
0 Likes
494

Hi

Try with below syntax

CALL FUNCTION ZFM

STARTING update TASK taskname

DESTINATION IN GROUP pgroup

PERFORMING returninfo ON END OF TASK.

Followed by parameters to function module ZFM

In FORM returninfo write the code RECEIVE RESULTS FROM FUNCTION ZFM

to capture error messages of function module ZFM.

Regards

Srilaxmi

Read only

Former Member
0 Likes
493

Use wrapper function module and then

You can create application log using

Function modules

BAL_LOG_CREATE

BAL_LOGMSG_ADD

BAL_DB_SAVE