‎2006 Mar 13 4:39 PM
Hi experts,
I'm developing a FM, that will do the folowing SD process:
- create Sales Order
- outbound delivery
- Goods Issue
- Create the Billing document.
I'm using BAPI's for all.
My question is:
I want to make the commit work, only in the last of the process, after create the billing doc.
But, if I don't make the commit work after each bapi calling, the next bapi does not work.
There is some way to do this without make a commit ?
Alexandre Nogueira
‎2006 Mar 13 4:51 PM
Hi Alexandre,
You probably answered your question..
>><i>But, if I don't make the commit work after each bapi calling, the next bapi does not work.</i>
I don't think it is posiible to have the entire SD process in SIMULATE MODE. hope I am not wrong..
Regards,
Suresh Datti
‎2006 Mar 13 4:58 PM
Yeap,
But I wonder if there is some way to access the doc, that I had just created, before the commit.
Remember that it's all in the same program.
Alexandre Nogueira
‎2006 Mar 13 5:11 PM
I wonder if it is possible.
I had similar problem in earlier project. We sued BAPIs for this and here we had to use COMMIt in order to execute next BAPI.
If in the flow, any BAPI fails, you can revert back earlier documents by deleting from db.
Instead of going with this option, we created a custom program which will show status for each Entry. If it is failed at any stage, it will display as red entry and user can view the log for error message. They can correct these entries and repost. So it will continue the process and once it is completed then the entry will have green status.
‎2006 Mar 13 5:22 PM
Ok, after these answers I realy think it's not possible.
thanks!!
Alexandre Nogueira