Skip to Content
0

BAPI_RESERVATION_CREATE not displaying messages when RESERVATION is created

Jan 04 at 03:03 PM

68

avatar image
Former Member

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

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

3 Answers

Raymond Giuseppi
Jan 04 at 03:25 PM
1

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...

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Raymond,

Is there any other alternative BAPIs that I can use for BAPI_RESERVATION_CREATE that can return a success message?

0

Why don't you add the message yourself after call of the BAPI if no error in RETURN, but what's the actual requirement (some local development rule?)

0
Nic Teunckens Jan 08 at 09:42 PM
0

... 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" ...

Share
10 |10000 characters needed characters left characters exceeded
SAPEKSH GUPTA Jan 08 at 06:28 PM
0

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.


capture.png (18.4 kB)
Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Sapeksh,

Is there any other alternative BAPIs that I can use for BAPI_RESERVATION_CREATE that can return a success message?

0

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. :)

0