Application Development 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: 

Select options in selection screen

0 Kudos

Hi folks,

I designed select options in selection screen but I want to reduce the gap between the label and first input field.

Is is possible to reduce the gap ??

Any kind of help is appreciated. Thankyou.

Cheers,

Tejaswi

1 ACCEPTED SOLUTION

sab125
Participant
0 Kudos

Hello

You can use SELECTION-SCREEN COMMENT to set up the layout.

Define the length you want (32) and the name for the fields in TEXT-01

Use between SELECTION-SCREEN BEGIN OF LINE and END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT (32) TEXT-01 FOR FIELD P_PARAM.

PARAMETERS :     P_PARAM LIKE SY-DATUM DEFAULT SY-DATUM.

SELECTION-SCREEN END OF LINE.

Sab

4 REPLIES 4

former_member182550
Active Contributor
0 Kudos

Yes it is possible.

You use a combination of SELECTION-SCREEN BEGIN OF LINE,  SELECTION-SCREEN COMMENT and your select option.

F1 help is available on all of these.

You will find however that it is easier to declare some macros to help you define these things.

sab125
Participant
0 Kudos

Hello

You can use SELECTION-SCREEN COMMENT to set up the layout.

Define the length you want (32) and the name for the fields in TEXT-01

Use between SELECTION-SCREEN BEGIN OF LINE and END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT (32) TEXT-01 FOR FIELD P_PARAM.

PARAMETERS :     P_PARAM LIKE SY-DATUM DEFAULT SY-DATUM.

SELECTION-SCREEN END OF LINE.

Sab

0 Kudos

As I said above....

I use this technique quite a lot so I have developed more than a few macros to help with this.  It makes life easier

Rich

0 Kudos

Thank you, It worked !

Regards,

Tejaswi