‎2009 Dec 21 7:24 AM
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
‎2009 Dec 21 9:35 AM
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
‎2009 Dec 21 9:35 AM
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
‎2009 Dec 21 9:40 AM
Use wrapper function module and then
You can create application log using
Function modules
BAL_LOG_CREATE
BAL_LOGMSG_ADD
BAL_DB_SAVE