cancel
Showing results for 
Search instead for 
Did you mean: 

!!URGENT!! HELP !! Issue with BAPI_TRANSACTION_COMMIT

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

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

guru_subramanianb
Active Contributor
0 Kudos

Hi,

Is ur BAPI remotely enabled?Chk it.

Rdgs,

guru

Former Member
0 Kudos

Hi,

Did you check the previous postings.

Regards, Anilkumar

Former Member
0 Kudos

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