Skip to Content
avatar image
Former Member

BAPI_RESERVATION_CREATE not displaying messages when RESERVATION is created

How do I get a return message in the return tabel when a material reservation is created. I am able to create the reservation number, however, I am not able get the return value in the return table.

Thank you,

Charlie

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jan 04 at 03:25 PM

    Not every BAPI return a success message, not every BAPI return a message with the document number... But some BAPI return the document number in an exported parameter.

    In your case...

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 08 at 09:42 PM

    ... As a side Note, Check SAP FIORI One Support, as there are some SAP-KBA's that correct some Behaviours with regards to ReturnMessages for "BAPI_RESERVATION_CREATE" ...

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 08 at 06:28 PM

    Hi Charlie,

    BAPI_RESERVATION_CREATE does return a success message. Return parameter of this BAPI returns a very limited range of error messages only. Please see long text of the RETURN parameter or see attached.

    If you are getting a reservation no. in exporting parameter, it is sufficient to conclude the BAPI executed successfully.

    capture.png

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

    • No Charlie. Unfortunately, there is no other BAPI to post reservation and provide a specific success message and rightly so because it doesn't make sense to have multiple BAPIs with basically having the same functionality.

      However, if the success message is your only concern then you can use the Reservation No. returned by the BAPI and form whatever message you want to display. :)