Application Development and Automation 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: 
Read only

Selection screen with long text

Former Member
0 Likes
1,823

Hello,

I have to display the long text for the selection text as its a long text so selection-text will not work .Thext is 'Work breakdown structure element'.

However there is way to display as below

SELECTION-SCREEN BEGIN OF LINE.

SELECT-OPTIONS: s_posid for prps-posid .

SELECTION-SCREEN COMMENT 1(30) TEXT-001.

SELECTION-SCREEN END OF LINE.

But it's giving error message 'Error when generating the selection screen "1000" of report'.

Please advice on this

Thanks

PK

4 REPLIES 4
Read only

Former Member
0 Likes
868

do this way ...


SELECTION-SCREEN BEGIN OF LINE.
SELECT-OPTIONS: s_posid for prps-posid .
selection-screen position 3.
SELECTION-SCREEN COMMENT 1(35) TEXT-001.
SELECTION-SCREEN END OF LINE.

if the same errors exits even after that cut down the message to

'Work brkdown struct. element'


SELECTION-SCREEN BEGIN OF LINE.
SELECT-OPTIONS: s_posid for prps-posid .
selection-screen position 3.
SELECTION-SCREEN COMMENT 1(25) TEXT-001.
SELECTION-SCREEN END OF LINE.

Read only

Former Member
0 Likes
868

Hi,

U can only use max. 32 characters for your selection text.

regards,

Ramya

Read only

Former Member
0 Likes
868

HI,

u can display like this.


TABLES:prps.
  SELECT-OPTIONS: s_posid for prps-posid .

AT SELECTION-SCREEN OUTPUT.
  %_S_POSID_%_app_%-text = 'Work breakdown structure element'.

max u can display 30 chars of selection text only.

rgds,

bharat.

Read only

Former Member
0 Likes
868

Hi,

u have to write the code like this.using comment u can write more than 30 chars length text also.


TABLES:prps.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(35) TEXT.
SELECT-OPTIONS: s_posid for prps-posid .
SELECTION-SCREEN END OF LINE.

AT SELECTION-SCREEN OUTPUT.
text = 'Work breakdown structure element'.

rgds,

bharat.