on 04-15-2009 10:39 PM
Hello, SAPients. Here is a .NET developer that just begun working with SAP.
I am facing a problem that I can't find the answer so far. I have a webpage that has 3 WebServices (all connecting to SAP). The first one captures the data using BAPI_BUPA_ADDRESS_GETDETAIL from SAP and returns to the Web, where the user can modify some data.
The following step is that, after the user ends changing the data, he activates a function that passes the modified data to SAP using BAPI_BUPA_ADDRESS_CHANGE.
After that, according to the SAP people here, the BAPI_TRANSACTION_COMMIT must be called. The XI developer did the webservices and they are being called without problem (returning errors when there are any).
The problem is that when I modify the data and then asks for the update and the commit, the data is passed throught the XI, but is not changed in R/3. Me and the SAP guys here believe that there is a problem that, due to being two separate webservices, when calling the wsdl using BAPI_TRANSACTION_COMMIT , there are no way for the SAP know with transaction to commit.
One of them talked about using BAPI Active X Control, but so far the attempts at that resulted in the same result.
So here is a question: is it possible that a webservice calling BAPI_BUPA_ADDRESS_CHANGE to create a TransactionID, then return it to Web (via response) and then we develop a way to commit the transaction? That ID created can be done in SAP universe only or must br created in Web before calling BAPI_BUPA_ADDRESS_CHANGE ?
Question solved by other means. They developed a Z function that does both BAPI procedures in one step.
Edited by: garavello on Apr 20, 2009 9:36 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi garavello,
There is attribute in RFC adapter (XI/PI) which ensures the BAPI_TRANSACTION_COMMIT is executed.
Talk to your XI guy and ensure "Commit Handling for BAPI" attribute is checked.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
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.