Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

pbm in displaying message as 'Error' message in module pool

Former Member
0 Kudos

Hi experts,

I have created a message class and used this in my module pool pgm. Then i used the following statement to display error message..

if wa_vbuk-WBSTK = 'C'.

MESSAGE e099.

endif.

The above statement displays the message in a popup window instead of displaying the message in the task bar.

Can anyone tell me the reason for this issue?

Regards,

Shanthi

1 ACCEPTED SOLUTION

former_member217544
Active Contributor
0 Kudos

Hi Shanthi,

If you write this message in PBO of screen then it will display as pop-up message.

Check the program DEMO_MESSAGES for behavious of messages in different cases.

Regards,

Swarna Munukoti

2 REPLIES 2

former_member217544
Active Contributor
0 Kudos

Hi Shanthi,

If you write this message in PBO of screen then it will display as pop-up message.

Check the program DEMO_MESSAGES for behavious of messages in different cases.

Regards,

Swarna Munukoti

Former Member
0 Kudos

Hi,

Try this..


    if sy-subrc is not initial.
      message e000(zmdm) with 'Enter valide Request Number!'.
    endif.

Regards

Arbind