Skip to Content
avatar image
Former Member

BPM BAPI COMMIT

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Dec 02, 2008 at 04:52 AM

    Hi,

    If you are usign BPM and calling the first BAPI synchronously, then you can avoid calling COMMIT BAPI!

    Regards,

    Jilan

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 02, 2008 at 05:12 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Michal Krawczyk

      Hi,

      The different is the XI will only commit the bapi "after" getting the bapi return message type 'S' which mean the if the connection down on while the bapi process "Not respond" then the bapi not committed but if in zbapi then the bapi will sure get committed.

      Thanks.

  • avatar image
    Former Member
    May 02, 2009 at 04:30 PM

    solve by looping the rfc until geting return-type 's' or count > 18.

    Add comment
    10|10000 characters needed characters exceeded