on 2005 Aug 03 11:12 AM
Hi,
We have a custom BAPI to update a database table on R/3. This BAPI works fine when run in R/3 and also runs fine when we put the statement"COMMIT WORK" statement within the BAPI.
However, when we remove the "COMMIT WORK" statement from the BAPI and call BAPI_TRANSACTION_COMMIT FROM SAP Web Dynpro, commit to database table does not occur.
There are no error messages returned also.
Note: We are not running the BAPI in Test run mode.
Please advise possible solutions.
Nagas answer seems more plausible , however it is not mandatory that models be separated. Two different models can share the same connection if one is defined as the connection provider for the other.
Regards
Pran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Is ur BAPI remotely enabled?Chk it.
Rdgs,
guru
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shankar
HAve you used two models for Custom BAPI and BAPI_TRANSACTION_COMMIT. If these 2 BAPIS are in 2 different models, They consume 2 different JCO which means that Each call is independent.
Try using a single model for both the BAPI's in webdynpro.
Regards
NagaKishore V
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
71 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.