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: 

Long text of status message

Former Member
0 Kudos

Hello experts,

I have a scenario wherein I need to display a warning status message at the bottom of the screen. When the user clicks on that message, the long text of the message should contain certain extra information.

For example: I give the warning status message like: "Some entries are invalid".

Once the user clicks this message, a new window opens up, which says:

Entry 1 is invalid.

Entry 2 is invalid.

Entry 3 is invalid.

Entry 4 is invalid.

.

.

.

.

How can I achieve this result?

Thanks,

Ajay.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Ajay,

Take those invalid entries into the separte internal table.

pass it to the pop-up screen. for that use the FM WRF_POPUP_WITH_TABLE_DISPLAY

while filling that internal table modify the invalid index to that record so that you can identify easily for that particular record.

Regards!!

4 REPLIES 4

mvoros
Active Contributor
0 Kudos

Hi,

you need to define long text for you message. Just go to transaction SE91 and select your message. Then hit button Long Text and you can write it here. Don't forget that you have only 4 message variables.

Cheers

Former Member
0 Kudos

Hi Ajay,

Take those invalid entries into the separte internal table.

pass it to the pop-up screen. for that use the FM WRF_POPUP_WITH_TABLE_DISPLAY

while filling that internal table modify the invalid index to that record so that you can identify easily for that particular record.

Regards!!

0 Kudos

Hello Prasanth,

Thanks for the suggestion.

However, I can find these 2 FM's...

1) POPUP_WITH_TABLE_DISPLAY_OK

2) POPUP_WITH_TABLE_DISPLAY

I could not find the one you told me.

Did you mean any of the 2 above?

Thanks,

Ajay.

Former Member
0 Kudos

Hello Ajay.

goto the message class in se91 -> here message class is ZARP -- > select the particular message number like '001' click on long text ( CTRL + F7 ) , write the appropriate text u want , and in program while you write the message like



REPORT      ZABY message-id ZARP.

message W001. " if user double clicks on that message, the long text of the message displays
 

Regards,

Aby