01-20-2009 5:53 AM
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.
01-20-2009 5:59 AM
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!!
01-20-2009 5:58 AM
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
01-20-2009 5:59 AM
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!!
01-20-2009 6:07 AM
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.
01-20-2009 6:05 AM
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