2007 Nov 02 6:38 AM
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>
2007 Nov 02 6:52 AM
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.
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
2007 Nov 02 6:44 AM
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
2007 Nov 02 6:49 AM
how to define TEXT-001 and Text-002 in Text Elements?
any syntax?
2007 Nov 02 6:53 AM
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
2007 Nov 02 6:45 AM
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.
2007 Nov 02 6:47 AM
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.
2007 Nov 02 6:52 AM
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.
2007 Nov 02 7:03 AM
2007 Nov 02 7:05 AM
Yes.
text-001 put name as Student name in the right side in the bigger column and so on.
and activate.
regards
Nishant
2007 Nov 02 7:09 AM
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?
2007 Nov 02 7:12 AM
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
2007 Nov 02 7:17 AM
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
2007 Nov 02 7:26 AM
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.
2007 Nov 02 7:29 AM
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
2007 Nov 02 7:35 AM
2007 Nov 02 7:41 AM
how to make a space in the screen
example
StudentID
<b>xxspacexx</b>
Address
2007 Nov 02 7:48 AM
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
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |