on 12-02-2008 3:07 AM
Hi,
I try to create a sync connection BPM which soap post data to BPM then inside BPM i have 2 bapi which the first bapi will need to commit by XI before process the second bapi. I have done all this and it work but there was a problem of the commit process time sometime the second bapi will return mat doc not found. I know that BPM have the wait process but the minimum time is 1 minute which is quit long for sync process. Is that any way to make the second bapi process only is the 1st bapi commit successful.
Best Regard,
Gan
solve by looping the rfc until geting return-type 's' or count > 18.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
1. don't create sync BPM flows ! BPMs are slow and with sync it's one of the worse designs ever
2. you can create a Z BAPI that will have those two bapis inside
(so you can commit the first one before calling the second one)
try to rethink the desing of your flow (so as not to use sync BPM)
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for reply. I am also consider about the performance of the BPM but the reason i am using BPM is to let the XI handle the commit for bapi. For example lets said after XI past data to bapi and then the connection between XI and SAP R3 down then the soap client cant get the data but the bapi with commit if i put the commit on z bapi. In order to control this i have to let XI control the commit.
Is that anyway to handle this?
Best Regard,
GAN
Edited by: fcgan on Dec 2, 2008 8:12 AM
hi,
>SAP R3 down then the soap client cant get the data but the bapi with commit if i put the commit on z bapi. In order to control this i have to let XI control the commit.
and what's the difference? XI will commit and connection will go down
you will have the same situation...
and chances that connection will go down in a BPM (in a few seconds)
are much higher then without BPM (less then one sec for example)
Regards,
Michal Krawczyk
Hi,
If you are usign BPM and calling the first BAPI synchronously, then you can avoid calling COMMIT BAPI!
Regards,
Jilan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.