on 07-24-2006 10:46 AM
Hi,
I have set-up a BPM in XI where several BAPI's are called. I am controlling the BAPI return messages to see if the BAPI calls were successfull. Now I want to make sure that the BAPI calls only get committed when all of them are succcessfull. Therefore I tried to use RFC Receiver Channels with BAPI commit only in the last BAPI call hoping that it would also commit the previous BAPI calls in the process where I used RFC Receiver Channels without commit.
Unforunately this did not work.
Can somebody tell me how I can do such a BAPI commmit for all BAPI calls in the end of the Integration Process?
Thanks in advance.
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prashanth,
this is a good starting point. But as far as I understand the thread you emntioned is not an XI Scenario. I was wondering if I could call 'BAPI_TRANSACTION_ROLLBACK' in case I receive an error for a BAPI call which uses an RFC Receiver Channel with commit. Do you know if this works?
Thanks.
Alex
Hi Alexander,
Check which SP you have. Starting with SP 14, you need not specifically use BAPI_TRANSACTION_COMMIT. There is a check-box for auto-commit in the Receiver RFC Communication Channel/Adapter.
Check the help ...
http://help.sap.com/saphelp_nw04/helpdata/EN/c8/e80440a832e369e10000000a155106/content.htm
This will avoid writing a wrapper RFC/BAPI.
Again, this possible from SP14 upwards.
Regards,
Abhy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this way....just an idea...
Dont use "Commit Control for Individual BAPI Calls" option in RFC communication channel....
Write a brapper bapi which can commit all the bapis which you used before...Call that bapi finally in the BPM......
Thanks
Sekhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexander,
Just go through this link to know more about Wrapper BAPI.
https://websmp103.sap-ag.de/~sapdownload/011000358700000328352005E/HowtouseBAPandccBPM.pdf
Regards,
Abhy
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.