Skip to Content
0
Former Member
Mar 04, 2011 at 06:56 PM

I need to have COMMit WORK with in a FM, which is calling in UPDATE task

901 Views

Hello

I am sending out the custom IDOC from SAP to partner application by writing a custom my_OB_IDOC_FM, well.

With in this my_OB_IDOC_FM, for some functionality, i am using a standard SAP FM and I need to use a COMMIT WORK immediately after this standard SAP FM call.

But, all my IDOC is calling in update task, so once am triggering IDOC (inturn my_OB_IDOC_FM is calling in UPDATE task) am getting dump because of that inside used COMIT WORK statement!

So, pls. let me know how can replace this COMMIT WORK or hoe can i fix my issue? can i do like CALL FUNCTION standard_SAP_FM in background task/seperate task? so that i can use COMMIT WORK?

Thank you