‎2007 Jan 19 9:24 AM
Dear friends,
I coded the selection screen like below, but the check box is displaying far away from text, Is it any possibilities to display the check box closer to the text-001.
SELECTION-SCREEN BEGIN OF BLOCK xx WITH FRAME TITLE text-f02.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS h_p RADIOBUTTON GROUP oper.
SELECTION-SCREEN COMMENT 5(61) text-a01.
PARAMETERS : fdue AS CHECKBOX DEFAULT space.
SELECTION-SCREEN END OF LINE.
parameter h_i radiobutton group oper.
SELECTION-SCREEN END OF BLOCK xx.
text-a01: Without selecting the check box here (selecting the check box)
Thanks in advance
karthik
‎2007 Jan 19 9:26 AM
How long is text-a01. Is it 61 characters.
You can also use selection-screen position &&
‎2007 Jan 19 9:28 AM
try to use
SELECTION-SCREEN COMMENT 1(10) TEXT-001 FOR FIELD P1.
and for positioning
SELECTION-SCREEN POSITION pos.
pos is the co ordinates.
regards
shiba dutta
‎2007 Jan 19 9:28 AM
hi Karthik,
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN POSITION 5.
PARAMETERS h_p RADIOBUTTON GROUP oper.
SELECTION-SCREEN COMMENT 5(61) text-a01.
SELECTION-SCREEN END OF LINE.
‎2007 Jan 19 9:29 AM
‎2007 Jan 19 9:29 AM
Hi Karthik,
Change SELECTION-SCREEN COMMENT <b>5(20)</b> text-a01. check it now
Regards,
Balavardhan.K
‎2007 Jan 19 9:31 AM
Hi,
This is because of the length mentioned in the below statement.
SELECTION-SCREEN COMMENT 5(61) text-a01.
Here you have gievn the text size as 61. SO its going away from the text. Just reduce the size and check the same..
Regards,
Ram
Pls reward points if helpful
‎2007 Jan 19 9:31 AM
Hi Karthik ,
The problem is with the statement
SELECTION-SCREEN COMMENT 5(61) text-a01.
here what is happening is your comments start from coordinate 5 and its lenght is 61 , so all you need to do is modify the parameter 61 , and give a lower value based on the lenght of the text text-a01.
Regards
Arun
‎2007 Jan 19 9:47 AM
Dear Friends,
I unable to reduce the text length 61 to 20. if i do i am getting error.
pls cut and paste my code and give the same text text-001 and execute you will know the exact problem.
pls give me the full coding fot the above
regards
karthik
‎2007 Jan 19 9:51 AM
Hi Karthik ,
Yes i tried the code and does show that property.
I tried selection screen postion , but it also does not seem to work , the select scrren comment is taking some additional space.
But it works fine , if we put the comment after the check box
Regards
Arun
Message was edited by:
Arun R
‎2007 Jan 19 10:01 AM
Hi karthik,
run this code,
SELECTION-SCREEN BEGIN OF BLOCK xx WITH FRAME TITLE text-f02.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS h_p RADIOBUTTON GROUP oper.
<b>SELECTION-SCREEN COMMENT 5(36) text-a01.</b>
PARAMETERS : fdue AS CHECKBOX DEFAULT space.
SELECTION-SCREEN END OF LINE.
parameter h_i radiobutton group oper.
SELECTION-SCREEN END OF BLOCK xx.
since u r mentioning
<b>SELECTION-SCREEN COMMENT 5(61) text-a01.</b>
check box is printing far away
‎2007 Jan 19 10:10 AM
Hi sreekanth,
yes the checkbox is displaying far away, if i use your code the text-001 is not displaying fully.
regards,
karthik
‎2007 Jan 19 10:07 AM