cancel
Showing results for 
Search instead for 
Did you mean: 

display message from exit function on web

Former Member
0 Kudos

Hi all,

Is there a way to display the output error message from Exit Function on web interface?

Regards,

Kadir

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Kadir,

u can find more help from this link:

also,

in the exit function the code will be as follows:

DATA: ls_mesg TYPE upc_ys_mesg.

ls_mesg-msgty = 'E'.

ls_mesg-msgid = 'ZAA_BPS_MESSAGES'.

ls_mesg-msgno = '006'.

APPEND ls_mesg TO et_mesg.

Hope this helps!

Regards,

Dhanya.

Former Member
0 Kudos

Hi All,

I have a similar problem - but for variable exits.

The solution posted by Kadir works fine for an exit changing xthdata (bps exit function).

I want to display a message in Web created within an bps variable exit. In this case the solution does not work.

Does anyone of you experts have an idea how to append a message to the message table used for the WebInterface?

Thanks in advance and best regards

Steffen

Former Member
0 Kudos

User-exit for variable cannot return messages at all through the FM interface.

You should implement something smart. For example - write from user-exit to application log (SBAL function group) and then implement own handling of this log in the BSP application.

But all this requires strong experience with ABAP and BSP.

Former Member
0 Kudos

Hi,

Yes please incorporate the message component on the web interface using web interface builder and pass the required messaged in the tables parameter ET_MESG of the exit function.

thanks