Skip to Content

Not getting any value in return of BAPI_TRANSACTION_COMMIT.

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 24, 2017 at 06:26 AM

    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?

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 21, 2017 at 01:51 PM

    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?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 21, 2017 at 02:51 PM

    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

    Add comment
    10|10000 characters needed characters exceeded