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

issue on selection screen fields

Former Member
0 Likes
552

How to change the positions of selection screen fields from their default positions?

5 REPLIES 5
Read only

Former Member
0 Likes
534

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

Read only

Former Member
0 Likes
534

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

Read only

Former Member
0 Likes
534

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.

Read only

Former Member
0 Likes
534

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

Read only

Former Member
0 Likes
534

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 *