‎2006 Dec 27 8:11 AM
How to change the positions of selection screen fields from their default positions?
‎2006 Dec 27 8:13 AM
You can use the syntax:
position:
SELECTION-SCREEN: BEGIN OF LINE,
PUSHBUTTON 2(10) push USER-COMMAND fcode,
POSITION 16.
PARAMETERS para(20) TYPE c.
SELECTION-SCREEN: COMMENT 40(40) text,
END OF LINE.
REgards,
Ravi
‎2006 Dec 27 8:13 AM
Refer sample code -
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: rb_pa TYPE c RADIOBUTTON GROUP a.
SELECTION-SCREEN COMMENT 5(18) text-005 FOR FIELD p_pa.
PARAMETERS: p_pa TYPE zzportanlst.
SELECTION-SCREEN END OF LINE.
Reward points if helpfull
amit
‎2006 Dec 27 8:17 AM
Hi Priyanka,
For changing the positions of selection screen fields from their default positions, use the syntax:
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS p_stat_a AS CHECKBOX DEFAULT 'X'.
SELECTION-SCREEN COMMENT 3(25) FOR FIELD p_stat_a MODIF ID rcn.
SELECTION-SCREEN POSITION 30.
SELECTION-SCREEN END OF LINE.
For more details refer the followin link provided by SAP:
<a href="http://help.sap.com/saphelp_47x200/helpdata/en/e4/2adbec449911d1949c0000e8353423/frameset.htm">http://help.sap.com/saphelp_47x200/helpdata/en/e4/2adbec449911d1949c0000e8353423/frameset.htm</a>
Regards,
Chetan.
PS:Reward points if this helps.
‎2006 Dec 27 8:27 AM
try to use
SELECTION-SCREEN POSITION pos.
Effect
The next object on the current line (parameter, comment, pushbutton or underline) is positioned at pos.
You may only use this variant between SELECTION-SCREEN BEGIN OF LINE und SELECTION-SCREEN END OF LINE.
You can specify the position pos as a number (relative to the box) if you use the statement between the SELECTION-SCREEN BEGIN OF BLOCK ... WITH FRAME ... and SELECTION-SCREEN END OF BLOCK ... statements. You can also use the symbolic positions POS_LOW and POS_HIGH. These are the positions on the screen at which the system places the input fields for SELECT-OPTIONS. (POS_LOW is also the screen position for PARAMETERS).
regards
shiba dutta
‎2006 Dec 27 9:20 AM
Dear Priyanka,
Please go through the following link:
http://help.sap.com/saphelp_nw04/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm
Regards,
Abir
***************************
Please award points *