Hi experts,
First I want to tell you a story happened to me.
I once encountered a problem, I implemented method POST() of BAdI ME_PROCESS_PO_CUST. In this method, I called my customed function module IN UPDATE TASK. But when roll back operation in this FM occurred, purchase order wouldn't be created because actual save-to-database operations were executed in update task too, which means they are in the same LUW with my customed function module that time.
This is not what I want, so I changed the calling mode from IN UPDATE TASK to IN BACKGROUND TASK. At this time it works as what I really want. Even though roll back occured in my customed function module, it wouldn't influence the purcahse order creating process.
But till now, I have no idea about what's the difference between background task and update task, although I looked up some articles, because what they said is a little theoretical to me. I need more straightaway points, and examples will be much better.
Thanks,
Shelwin