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-option position 10

Former Member
0 Likes
1,201

selection-option position 10

wht will be the out put

7 REPLIES 7
Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
956

Hi rajesh,

I dont think we can specify position with select-options.

Read only

Former Member
0 Likes
956

Hi rajesh,

It should be SELECTION-SCREEN POSITION...

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION 10.

SELECT-OPTIONS p_maktx FOR makt-maktx MODIF ID m2.

SELECTION-SCREEN END OF LINE.

Within Selection screen BEGIN OF LINE and END OF line , the SELECTION-SCREEN POSITION specifies the <b>starting position of the paramter </b>to be displayed.

Regards

Wenceslaus

Read only

Former Member
0 Likes
956
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN BEGIN OF LINE .
SELECTION-SCREEN  POSITION 10.  "Positions THE parameter at length 10
PARAMETERS: P_MATNR LIKE MARA-MATNR.
SELECTION-SCREEN  POSITION 50. " "Positions THE parameter at length 50
PARAMETERS:P_LIFNR LIKE LFA1-LIFNR.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B1.

Effect is the parameters can be placed in the same line at desired positions.

hope this helps ,

regards,

vijay

Read only

0 Likes
956

yes

Read only

Former Member
0 Likes
956

field on selection screen will be placed at 10 position.

Read only

Former Member
0 Likes
956

Hi rajeshreddy,

This will position the parameter at the specified position.

Note: I see that most of the questions initiated by you are not closed! Please reward all the helpful answers.

Read only

Former Member
0 Likes
956

It shouldn't be

SELECTION-SCREEN POSITION 10.

It should be

SELECTION-SCREEN POSITION 10.

It's much useful if u want to place your selection screen objects in ur desired places.

The object specified after this statement will be placed at 10th position of that particular line.

Be careful of overlaying.

rgds

Sreenivasa Reddy V.