Skip to Content
0
Former Member
Dec 04, 2009 at 07:09 PM

how to control witch Bapi is next

58 Views

Hi Expert!

I have to post many Bapi´s to ERP but in order and according to the answer of each BAPI I have to decide witch Bapi send next. What do you suggest?

Example:

validate if the user has a contract (BAPI_CTRACCONTRACTACCOUNT_CREA)

if the user don´t have a contract, create (BAPI_CTRACCONTRACTACCOUNT_EXCH)

then validate if has a key (BAPI_CTRACRECKEY_EXISTCHECK)

if don´t has a key, create (BAPI_CTRACRECKEY_CREATE)

finally post the final Bapi with the element created (key and contract) BAPI_CtrAcdocument.Create

the landscape look li that:

DB< ->PI 7.1< -->ERP (is better use jdbc QoS BE or EO?)

Thanks.