Skip to Content
0
Feb 03, 2016 at 09:25 AM

Passing BAPIRETURN Values to MESSAGE_STORE FM

612 Views

Hi all,

I have a bapi which returns error messages in an internal table of BAPIRETURN. Since there can be multiple messages of S and E type simultaneously , I want to display all the messages together to the user together at the same time in module pool.

I found on net a FM MESSAGE_STORE which displays the error/success messages with traffic lights . But when i checked the parameters of the function module I am unable to find what to pass in ARBGB (MESSAGE ID) and TXTNR (MESSAGE Number) as I dont have these fields in my BAPIRETURN. Also in my BAPIRETURN I have the field called MESSAGE which has the actually message to be displayed but corresponding field I can't see in MESSAGE_STORE.

Regards

Amber