‎2008 Dec 19 8:39 AM
Dear ABAPers
I'm using a function module in update task to update some Z tables, i need a return value from the FM ie., successfull / failure of update process , which will enable me to issue message with some document number, but i couldn't use any export/changing parameter in the update FM. What should i do to get a return value from update FM.
Regards
Prabumanoharan
‎2008 Dec 19 9:10 AM
You could use COMMIT WORK AND WAIT along with Exception handling
Regards,
Sathish
‎2008 Dec 19 8:42 AM
‎2008 Dec 19 8:44 AM
Hi,
Use the Table Parameter to get the message.
You can decalre the Table like BAPIRETURN2 and append the message to this table.
later read the table for error messages and display the error.
‎2008 Dec 19 9:10 AM
You could use COMMIT WORK AND WAIT along with Exception handling
Regards,
Sathish