on 02-26-2009 12:02 AM
Hello gurus,
I have to use syncronous interfaces between SAP and custom UI application. SAP will both be client and server in different scenarios. I would like to know how I can achieve consistency for write operations with commit handling mechanisms, both for PI 7.0 and PI 7.1. Proxies will be used on SAP side.
All helpful hints/linkd/docs will be very much appreciated and rewarded.
Thank you for your input.
Gökhan
Hi Gokhan,
I believe you refer to the server proxy coding where the write operations are performed.
If you are using ABAP server proxy, then the coding should be similar to the way you handle SAP LUW in any ABAP program. In the method of your ABAP proxy class, you can group several BAPI calls or changes to several tables into one LUW and just the do the commit at the very end.
You need to create update FM to updae your tables and call them in update task mode.
For example.
LOOP AT <your incoming message table>
CALL <BAPI> IN UPDATE TASK
CALL <custom FM to update tables> IN UPDATE TASK
ENDLOOP.
CALL BAPI_TRANSACTION_COMMIT.
Regards,
Lim...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gokhan,
Please elaborate on what do you mean "consistency for write operations with commit handling mechanisms".
Rgds
joel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.