‎2009 Mar 14 5:28 PM
Hi there,
I am a newbie in IDOC-programming and so I have my first question.
I've wrote an application log while processing the different segments, but now I have the problem that if it vomes to an error I have to set status "51" in the status table, but then SAP will make a ROLLBACK WORK I think and then I have no chance to save the application log.
But I can also not make a COMMIT WORK directly in the IDOC-processing (function module) because than the changes are saved on database.
So what can I do to save my application log?
Any ideas?
Thanks a lot.
Kind regards
‎2009 Mar 15 6:04 PM
Hi,
Have you thought about putting your update to the log in a separate FM and calling it as:
CALL FUNCTION xyz STARTING NEW TASKThis way it will have it's own task and update area.
Pete
‎2009 Mar 15 6:04 PM
Hi,
Have you thought about putting your update to the log in a separate FM and calling it as:
CALL FUNCTION xyz STARTING NEW TASKThis way it will have it's own task and update area.
Pete