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

Comment, Radio Button - Underline

0 Likes
1,713

Hej,

I didn't work for a long time with Selection Screens - neither my colleagues.. .)

Does anybody know how to get an underline for the comment, coding:

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(33) FOR FIELD s_le.

PARAMETERS: s_le RADIOBUTTON GROUP abc.

SELECTION-SCREEN END OF LINE.

We have no clue how to get a line below the comment that looks like you were doing it by using SELECT-OPTIONS or simple PARAMETER.

thanks in advance

Hej,

I didn't work for a long time with Selection Screens - neither my colleagues.. .)

Does anybody know how to get an underline for the comment, coding:

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(33) FOR FIELD s_le.

PARAMETERS: s_le RADIOBUTTON GROUP abc.

SELECTION-SCREEN END OF LINE.

We have no clue how to get a line below the comment that looks like you were doing it by using SELECT-OPTIONS or simple PARAMETER.

thanks in advance

4 REPLIES 4
Read only

Former Member
0 Likes
1,063

Hi Boris,

To place underlines on the selection screen use:

SELECTION-SCREEN ULINE [[/]pos(len)] [MODIF ID key].

This statement generates an underlining line. If you do not use the pos(len) addition, a new underline is generated for the line below the current line, and the underline has the same length as the line. If you use the pos(len) addition, the underline begins at position pos in the current line and continues for a length of len characters. With several elements in one line, you can also specify (len) without pos. A slash (/) produces a line feed.

For pos you can specify a number, or one of the expressions pos_low or pos_high. pos_low and pos_high are the positions of the two input fields of a selection criterion.

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba7a135c111d1829f0000e829fbfe/content.htm

Read only

0 Likes
1,063

Hej sreekanth,

that is what we get:

http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dba7a135c111d1829f0000e829fbfe/h-00100010000_imag...

but not what we need.

We want the lines to appear right under each comment not on top and/or bottom of the group.

Any ideas?

Read only

Former Member
1,063

Hi there use the "for field" addition in the comment refering to the input filed.

Read only

0 Likes
1,063

Thanks for your help, this works for me.