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: 

How to get the Pop up Information around 200 Charaters

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

8 REPLIES 8

Former Member
0 Kudos

Hello,

Use the long text in the error messages to display your message.

Regards,

Shekhar Kulkarni

0 Kudos

Hi Sekhar,

How to use longtext in report.

Regards,

Kiran I

0 Kudos

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

0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi kiran,

1. POPUP_TO_DISPLAY_TEXT_LO

u can use this FM to display long sentences.

regards,

amit m.

Former Member
0 Kudos

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