on 01-10-2012 11:30 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.