Skip to Content
0

Not getting any value in return of BAPI_TRANSACTION_COMMIT.

Apr 21, 2017 at 01:39 PM

86

avatar image

Hi Experts,

I am using a BAPI to create classification of customer and after that i am committing all the changes by BAPI_TRANSACTION_COMMIT and it is working fine. My changes are getting saved. But now I want to send the return message from BAPI to other program but I am not getting anything in return parameter of BAPI_TRANSACTION_COMMIT. Can you please tell me the solution and reason why it is happening.

Regards,

Sunil

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Raymond Giuseppi
Apr 24, 2017 at 06:26 AM
1

BAPI_TRANSACTION_COMMIT doesn't usually generate any error message in RETURN, only when WAIT is set can it generate a hard-coded message in case of error. The messages are generated by the previously called BAPI and not every BAPI is verbose. So you could generate a success message yourself when no error and no success message are generated?

Share
10 |10000 characters needed characters left characters exceeded
Sandra Rossi Apr 21, 2017 at 01:51 PM
0

Because you receive messages only if there are messages to be returned. It will be quite rare with BAPI_TRANSACTION_COMMIT. What do you expect?

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Apr 21, 2017 at 02:51 PM
0

Hi Sunil

'My changes are getting saved', so it mean there no error then will not get the return message.

Are you missing between the return message of BAPI change doc and BAPI_TRANSACTION_COMMIT.

Thanks,

John

Share
10 |10000 characters needed characters left characters exceeded