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 help

Former Member
0 Likes
1,563

Hi all

I using selection screen for my program. How to declare to make the screen feel and look like the below? thks

StudentID <parameter> StudentName <parameter>

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,545

Double click on those elements. once u mention them while creating selection screen. it will take you to the text elements section directly and there write what ever text u want to display on the selection screen.That will do....

Cheers,

Phani.

16 REPLIES 16
Read only

Former Member
0 Likes
1,545

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT TEXT-001.

Parameters : pa_test(10) .

SELECTION-SCREEN POSITION 70.

SELECTION-SCREEN COMMENT TEXT-002.

Parameters : pa_test2(10) .

SELECTION-SCREEN END OF LINE.

You can try this.

Regards

Nishant

obviously you have to define TEXT-001 and Text-002 in Text Elements . Ans adjust position as per you requirement.

Message was edited by:

Nishant Rustagi

Read only

0 Likes
1,545

how to define TEXT-001 and Text-002 in Text Elements?

any syntax?

Read only

0 Likes
1,545

Open Program:

Goto->TEXT ELEMENTS->TEXT SYMBOLS

in table control

give 001 on left side : give text on right side

similarly for 002. and activate.

Regards

Nishant

Read only

Former Member
0 Likes
1,545

Hi,

Use the following code. that will do.

selection-screen begin of line.

select-options: studentid for <>.

select-options: studentname for <>.

selection-screen end of line.

Read only

0 Likes
1,545

Try this...

SELECTION-SCREEN BEGIN OF LINE.

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

Parameters : pa_test(10) .

SELECTION-SCREEN POSITION 40.

SELECTION-SCREEN COMMENT 41(15) TEXT-002.

Parameters : pa_test2(10) .

SELECTION-SCREEN END OF LINE.

Read only

Former Member
0 Likes
1,546

Double click on those elements. once u mention them while creating selection screen. it will take you to the text elements section directly and there write what ever text u want to display on the selection screen.That will do....

Cheers,

Phani.

Read only

0 Likes
1,545

so i write the name in the text symbol?

Read only

0 Likes
1,545

Yes.

text-001 put name as Student name in the right side in the bigger column and so on.

and activate.

regards

Nishant

Read only

0 Likes
1,545

okie i done

but when i go back my program i still gt a sytnax error.

Statement concluding with "...TEXT-001" ended unexpectedly.

How to resolve?

Read only

0 Likes
1,545

Hi,

You have to activate the text elements after you fill the values.

Then check that full stops are there or not after TEXT-001 and TEXT-002

Else, if that does not help paste your code here which you have in your program.

Regards

Nishant

Read only

0 Likes
1,545

REPORT ZGARY_TRANS_RULE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT TEXT-001.

Parameters : pa_test(20) .

SELECTION-SCREEN POSITION 50.

SELECTION-SCREEN COMMENT TEXT-002.

Parameters : pa_test2(20) .

SELECTION-SCREEN END OF LINE.

i already activate my text element. I went back to the text element, i saw those value i key

however i still gt this error

Read only

0 Likes
1,545

HI,

check this code.u can do like this also.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 2(15) TEXT1.

PARAMETERS:pa_test(20).

SELECTION-SCREEN COMMENT 40(15) TEXT2 FOR FIELD PA_TEST.

PARAMETERS:pa_test2(20).

SELECTION-SCREEN END OF LINE.

AT SELECTION-SCREEN OUTPUT.

TEXT1 = 'Parameter1'.

TEXT2 = 'Parameter2'.

rgds,

bharat.

Read only

0 Likes
1,545

Hey Gary,

I am sorry I missed.

You need to write it like this



SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) TEXT-001.
Parameters : pa_test(10) .
SELECTION-SCREEN POSITION 50.
SELECTION-SCREEN COMMENT 60(10) TEXT-002.
Parameters : pa_test2(10) .
SELECTION-SCREEN END OF LINE .

for the line SELECTION-SCREEN COMMENT <b>1(10)</b> TEXT-001.

In case you text is not coming complete you can try changing the value in brackets that is for display lenght and other is the postion.

Regards

Nishant

Read only

0 Likes
1,545

thank you! v much

Read only

0 Likes
1,545

how to make a space in the screen

example

StudentID

<b>xxspacexx</b>

Address

Read only

0 Likes
1,545

If you want space vertically you can use

SELECTION-SCREEN SKIP n.

This will leave n number of blank liines.

So if you want to have 1 blank lines you can say

parameter : pa_test(10).

SELECTION-SCREEN SKIP 1.

parameter : pa_test2(10).

regards

Nishant