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: 

Popup display

Former Member
0 Kudos

HI all,

I want to display the popup with 600 char length text.

help me in this.

will give reward points.

regards,

Ajay

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Use this function module.

In V_text : you need to give your message which you want to dispaly on popup.

START_COLUMN AND START_ROW parameters you need to change as you require large popup.

DATA: V_TEXT TYPE STRING.

V_TEXT = ' Executing this report without specifying a plant can result in long runtimes'.

CALL FUNCTION 'POPUP_TO_CONFIRM'

EXPORTING

TITLEBAR = 'Warning!'

TEXT_QUESTION = V_TEXT

TEXT_BUTTON_1 = 'Continue'

TEXT_BUTTON_2 = 'Cancel'

START_COLUMN = 25

START_ROW = 6

IMPORTING

ANSWER = answer

EXCEPTIONS

TEXT_NOT_FOUND = 1

OTHERS = 2

.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Regards

Sandeep Reddy

5 REPLIES 5

former_member226999
Contributor
0 Kudos

Are you going to tell a story in such a big popup

Well the screen is limited so having a popup that long dosen't help much. What exactly do you want to achieve? There could be another work around

FY

0 Kudos

Hi FY,

Just I want show that message to user about that report nature when he executed that.

regards,

Ajay

0 Kudos

Hi,

You may use this FM: DD_POPUP_WITH_INFOTEXT putting your message in the internal table.

Hope it helps,

Chang

Former Member
0 Kudos

hi Ajay,

Design a screen 201 with 8 input parameters each with 80 character length and apply the below logic


  rstabl-txt1 =   txt1.
  rstabl-txt2 =   txt2.
  rstabl-txt3 =   txt3.
  rstabl-txt4 =   txt4.
  rstabl-txt5 =   txt5.
  rstabl-txt6 =   txt6.
  rstabl-txt7 =   txt7.
  rstabl-txt8 =   txt8.


  call screen 201 starting at 1 3
                  ending   at 80 8.
 

You can refer the source code of POPUP_TO_INFORM function module....

Former Member
0 Kudos

Hi,

Use this function module.

In V_text : you need to give your message which you want to dispaly on popup.

START_COLUMN AND START_ROW parameters you need to change as you require large popup.

DATA: V_TEXT TYPE STRING.

V_TEXT = ' Executing this report without specifying a plant can result in long runtimes'.

CALL FUNCTION 'POPUP_TO_CONFIRM'

EXPORTING

TITLEBAR = 'Warning!'

TEXT_QUESTION = V_TEXT

TEXT_BUTTON_1 = 'Continue'

TEXT_BUTTON_2 = 'Cancel'

START_COLUMN = 25

START_ROW = 6

IMPORTING

ANSWER = answer

EXCEPTIONS

TEXT_NOT_FOUND = 1

OTHERS = 2

.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Regards

Sandeep Reddy