cancel
Showing results for 
Search instead for 
Did you mean: 

In RAP, Issue with BAPI Warning Message Handling in Unmanaged Save

ankahit
Explorer
180

I am working on an application in RAP, where I am using a managed scenario with an unmanaged save. In the save_modified method, I am calling a BAPI. The issue I am encountering is that the BAPI returns a warning, along with success and other informational messages. However, when the pop-up appears, it only shows the warning message.

ankahit_0-1737106677082.png

When I click "Create," the process runs again, and on the second attempt, it displays all the messages together. This behavior is frustrating because the VBELN (sales document number) is generated twice. I am unsure if this is a bug or if there is an issue with the code.

I have attached both screenshots for your reference. Any guidance or assistance would be greatly appreciated.

ankahit_1-1737106692264.png

ankahit_2-1737106828930.png

 

 

Accepted Solutions (0)

Answers (0)