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

Select options in selection screen

Former Member
0 Likes
1,028

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
Read only

sab125
Participant
0 Likes
984

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
Read only

Former Member
0 Likes
984

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.

Read only

sab125
Participant
0 Likes
985

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

Read only

Former Member
0 Likes
984

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

Read only

Former Member
0 Likes
984

Thank you, It worked !

Regards,

Tejaswi