cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering 3 BAPIs with a single MBO Operation in SUP.

Former Member
0 Kudos

Client Device - iOS

Middleware - SUP

Data Base - SAP

In order to create a new record in my App I need to lock the table and later unlock it. Hence I will need to call 3 BAPIs in a sequence;

- 1 BAPI to lock the records

- 1 BAPI to create a new record

- 1 BAPI to unlock the records

So far in SUP, I tried creating one operation for each of the 3 BAPIs but that doesn't work.

Is there any way to call the 3 BAPIs from a single Operation.

Thanks,

Nirumal.

Edited by: nirumal.thomas on Jan 10, 2012 12:31 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

brenton_ocallaghan
Active Participant
0 Kudos

Hi Nirumal,

You cannot call 3 different bapis from 1 operation. Best practice here is to create an RFC enabled function which wraps all 3 of the bapis. In that way you only need to make 1 call from the SUP side which would lock, perform your function and finally unlock.

Hope that helps,

Brenton.