cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI's for create,update,delete

Former Member
0 Kudos

Hi all,

I am working on the scenario like Jdbc to SAP.If it is Cretae i am using Create BAPI.If it is update I am using Change BAPI.I did three different mappings for 3 BAPI's.Now How can i check the Jdbc data(i.e whether it is cretae or update or delete) in BPM and how can i add 3 different interface mappings in BPM.

Plz suggest me about this issue.

Thanks,

sekhar.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi Sekhar,

Can there be a flag in the data to figure out if its create/update/delete. If yes then you could create a BPM

step 1: receive step

step2 : switch step

add a switch step in the BPM and based on the condition perform either of three(create/update/delete) steps.

Regards,

Naveen

Former Member
0 Kudos

Hi Naveen,

Thanks for the reply.....

I put a data flag in source side.

Is the following design correct or not ?

1)recieve(jdbc structure)

2)switch(In condition leftoperand is flag from jdbc structure and right operand is Constant(create) )

3)transform(create)

4)send(create)

5)switch(condition)

6)transform(update)

7)send

..................

Or shall I use single switch to all the 3 BAPI's plz suggest about this issue.

Thanks,

sekhar

Former Member
0 Kudos

Hi Sekhar,

The design you suggested will work, but I recomend you put all the steps into one switch. That makes the BPM simple. But please choose according to your confort level towards the approach.

Regards,

Naveen

Former Member
0 Kudos

Hi Naveen,

Thanks for the reply,

Yes I put all the steps in one switch in BPM and worked on sample scenario. It is working fine.

I need to work on my main scenario.

Thanks,

sekhar.