02-22-2006 9:51 AM
Hi
Is there any Function module / any other way to display the Information / Error message which is having 200-300 Characters in a Report.
Regards,
Kiran I
02-22-2006 10:00 AM
hi,
Check the Function Modules in FG C14A
OR
Try :
data : msg1(80) type c.
data : msg2(80) type c.
data : msg3(80) type c.
Data : msg(240) type c.
msg1 = 'text1...........'.
msg2 = 'text2...........'.
msg3 = 'text3...........'.
concatenate msg1 msg2 msg3 into msg.
message msg type 'I'.
Hope it helps...
Lokesh
Pls. reward appropriate points
02-22-2006 9:55 AM
Hello,
Use the long text in the error messages to display your message.
Regards,
Shekhar Kulkarni
02-22-2006 10:01 AM
02-22-2006 10:11 AM
Long text:
In your message class, after you type out your message, there is a button called 'Long text'. On pressing this the system will ask you to type out a long text for your message. Save.
On the screen, when the user sees the message, it will come with a Question mark at the end, which can be clicked to get the long text.
Hope this helps.
Sudha
02-22-2006 10:11 AM
Hello,
Have not got you correctly. Could you elaborate more on what is required. Like what is the report is it using alv or write statements.
Regards,
Shekhar Kulkarni
02-22-2006 10:12 AM
hi kiran,
add your error messages in the comment of the selection screen and call it like this..
SELECTION-SCREEN BEGIN OF SCREEN 500.
SELECTION-SCREEN COMMENT /2(80) COM1.
SELECTION-SCREEN COMMENT /2(80) COM2.
SELECTION-SCREEN COMMENT /2(80) COM3.
SELECTION-SCREEN COMMENT /2(80) COM4.
SELECTION-SCREEN COMMENT /2(80) COM5.
SELECTION-SCREEN COMMENT /2(80) COM6.
SELECTION-SCREEN END OF SCREEN 500.
PARAMETER : P TYPE I.
COM1 = 'msg1'.
com2 = 'msg2 '.
com3 = 'msg3'.
....................
if sy-subrc ne 0.
CALL SELECTION-SCREEN '0500' starting at 10 10 ending at 90 30.
endif.
hope this one works..
regards
satesh
02-22-2006 10:00 AM
hi,
Check the Function Modules in FG C14A
OR
Try :
data : msg1(80) type c.
data : msg2(80) type c.
data : msg3(80) type c.
Data : msg(240) type c.
msg1 = 'text1...........'.
msg2 = 'text2...........'.
msg3 = 'text3...........'.
concatenate msg1 msg2 msg3 into msg.
message msg type 'I'.
Hope it helps...
Lokesh
Pls. reward appropriate points
02-22-2006 10:15 AM
Hi kiran,
1. POPUP_TO_DISPLAY_TEXT_LO
u can use this FM to display long sentences.
regards,
amit m.
02-22-2006 10:23 AM
HI Kiran,
Name of the Fm is
POPUP_TO_DISPLAY_TEXT_LO
Sample Code:
I had used for F1.
AT SELECTION-SCREEN ON HELP-REQUEST FOR pr_prod.
CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO'
EXPORTING
titel = text-012
textline1 = text-005
textline2 = text-006
textline3 = text-007
start_column = 10
start_row = 10.
Dont forget to reward points if answer is helpful to you.
Cheers
Sunny