cancel
Showing results for 
Search instead for 
Did you mean: 

how to control witch Bapi is next

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (1)

Answers (1)

VijayKonam
Active Contributor
0 Kudos

You need to use BPM. It might get complext too with those many switch/case steps.

If the JDBC sender is async you need to use EO or EOIO only.

VJ