‎2006 Aug 23 12:45 PM
HI
i wrote this code when i want to show message
MESSAGE E888(SABAPDOCU) WITH TEXT-001 LV_PRODCODE_TMP TEXT-003 LV_TODATE.
the problme i get the message in this format:
The production code is incorrect fix to 62 The experation date is incorrect please fix it to 01.10.2006
i want that each message will be in seperate row
for example i want that this message will be like:
1. The production code is incorrect fix to 62
2. The experation date is incorrect please fix it to 01.10.2006
HOW CAN I FIX IT
THANKS
‎2006 Aug 23 12:57 PM
How about FM: JVA_POPUP_TO_DISPLAY_TEXT
Give two lines for two lines.
Sample Code:
data: l_line1 type string,
l_line2 type string,
l_title type string.
l_title = 'Information Message'.
move '1. The production code is incorrect fix to 62' to l_line1.
move '2. The experation date is incorrect please fix it to 01.10.2006'
to l_line2.
CALL FUNCTION 'JVA_POPUP_TO_DISPLAY_TEXT'
EXPORTING
TITEL = l_title
TEXTLINE1 = l_line1
TEXTLINE2 = l_line2
* START_COLUMN = 25
* START_ROW = 6
.
Kind Regards
EswarMessage was edited by: Eswar Rao Boddeti
‎2006 Aug 23 12:49 PM
Yossi,
Instead of MESSAGE use FM <b>POPUP_DISPLAY_MESSAGE</b>
~thomas
‎2006 Aug 23 12:56 PM
hi thomas
the problem that when i use this FM i get a long line of the message
and i want to seperated it
thanks
‎2006 Aug 23 1:26 PM
hi
i wrong and i need help.
The FM is great but it not work like MESSAGE i mean that the when i use the message after i press OK or NOT the foucs back to the screen that i was but when i use the FM i lose the foucs
maybe there is another FM that can help me
thanks
‎2006 Aug 23 1:37 PM
‎2006 Aug 23 1:38 PM
Hi Yossi
Can you make your query more clear. I couldnt figure
out the problem.
For me i can come back to the same screen.
Kind Regards
EswarMessage was edited by: Eswar Rao Boddeti
‎2006 Aug 23 1:57 PM
I use the transction qe51n
and than i insert plant 1201 choose row and then press edit and than i get a scrren i changed some things in the screen and then i want a message if i change the mesaage to fm it not work and back to the main screen and not to edit screen.
thanks
‎2006 Aug 23 1:59 PM
Hi Yossi,
Immeadiately after the call to the FM, write the statement EXIT. and see if it makes any difference.
Regards,
ravi
‎2006 Aug 23 12:57 PM
How about FM: JVA_POPUP_TO_DISPLAY_TEXT
Give two lines for two lines.
Sample Code:
data: l_line1 type string,
l_line2 type string,
l_title type string.
l_title = 'Information Message'.
move '1. The production code is incorrect fix to 62' to l_line1.
move '2. The experation date is incorrect please fix it to 01.10.2006'
to l_line2.
CALL FUNCTION 'JVA_POPUP_TO_DISPLAY_TEXT'
EXPORTING
TITEL = l_title
TEXTLINE1 = l_line1
TEXTLINE2 = l_line2
* START_COLUMN = 25
* START_ROW = 6
.
Kind Regards
EswarMessage was edited by: Eswar Rao Boddeti