Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Bapi problem

Former Member
0 Kudos
112

Hi all.

I'm trying to change the facts of a given installation. In short, the price of an operand by using 'BAPI_UTILINSTALLATION_CHANFACT'. After tons of proves i've got the next message: "The xxxxx installation facts have been changed".

then, in the ES32 transaction I can see that no change on that given installation has been made, but clicking in menu Environmet-> Change installation fact, a full log of these changes has been created.

Can someone tell me why these changes are not caputured in the installation information but they are in the change log and how to get it???

Thanks!

1 ACCEPTED SOLUTION

Former Member
0 Kudos
83

Hi yo,

try BAPI_TRANSACTION_COMMIT.

Tomas

4 REPLIES 4

Former Member
0 Kudos
84

Hi yo,

try BAPI_TRANSACTION_COMMIT.

Tomas

Former Member
0 Kudos
83

Thank you Tomas! your answer was correct but.... can you explain what this second BAPI does??

Do I have to use it after every bapi I use in the future?

I'm rook, sorry.

0 Kudos
83

The Second BAPI commits the changes that you have done. Most of the BAPI's will have to be followed the COMMIT BAPI.

Regards,

Ravi

Former Member
0 Kudos
83

Hi yo,

1. The second bapi COMMITS changes to the database.

(This concept comes into picture for LUW - Logical

unit of work)

2. Yes, after every BAPI, this is required.

Regards,

Amit M.