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-screen adjusting the parameters

Former Member
0 Likes
2,124

Hi all

In my report I have my selection screen as


selection-screen begin of block B1 with frame title text-d01.
selection-screen SKIP 3.
parameters : p_lifnr    type lifnr.
parameters : p_kunnr    type kunnr.
parameters : p_count(2) type n.
selection-screen SKIP 3.
selection-screen end of block B1.

I want to move the three parameters little bit towards right (center) of the screen so that it looks something like below in the selection screen.


           Vendor             _________
           Customer           _________
           Count              _________

Please help....

2 REPLIES 2
Read only

Former Member
0 Likes
1,307

Hi

You can use Position option of Selection-screen.

Regards,

Raj

Eg:

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 10(20) TEXT-001

FOR FIELD PARM.

SELECTION-SCREEN POSITION POS_LOW.

PARAMETERS PARM LIKE SAPLANE-PLANETYPE.

SELECTION-SCREEN END OF LINE.

This code displays a 20-byte long comment followed by the parameter at the normal position ( POS_LOW ) on the same line.

Read only

Former Member
0 Likes
1,307

Hi,

selection-screen begin of block B1 with frame title text-d01.

selection-screen SKIP 3.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION 10.

SELECTION-SCREEN COMMENT 11(10) text-001. "Vendor

parameters : p_lifnr type lifnr.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION 10.

SELECTION-SCREEN COMMENT 11(10) text-002. "Customer

parameters : p_kunnr type kunnr.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN POSITION 10.

SELECTION-SCREEN COMMENT 11(10) text-003. "Count

parameters : p_count(2) type n.

SELECTION-SCREEN END OF LINE.

selection-screen SKIP 3.

selection-screen end of block B1.

Adjust the position according to your screen.

Also create the text elements..

Thanks,

Naren