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 Text

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
3,806

Hello Gurus,

I have a checkbox for which i need to add the text "Include Special stock Consignment (cust.)".

But from the selection-text i am able to add the text "Include Special stock Consignm".

Can you please tell me how to add the whole text to the checkbox? I tried using SELECTION-SCREEN COMMENT stmt, but i did not help.

BR,

Suhas

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,924

Hi,

use the following code.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS:c_chck as checkbox.

SELECTION-SCREEN COMMENT 10(70) text-004 FOR FIELD c_chck.

SELECTION-SCREEN END OF LINE.

and put ur text inside the text element 004.

Thanks,

Uma

6 REPLIES 6
Read only

Former Member
0 Likes
1,925

Hi,

use the following code.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS:c_chck as checkbox.

SELECTION-SCREEN COMMENT 10(70) text-004 FOR FIELD c_chck.

SELECTION-SCREEN END OF LINE.

and put ur text inside the text element 004.

Thanks,

Uma

Read only

h_senden2
Active Contributor
0 Likes
1,924

Try

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN POSITION pos.

SELECTION-SCREEN COMMENT fmt name.

regards,

Hans

Read only

Former Member
0 Likes
1,924

Hi..

Have the whole statement Include Special stock Consignment (cust.).... in two selection text, say text-001 and text-002.

Concatenate both these into a string variable and use that to display.

CHeers...

Read only

Former Member
0 Likes
1,924

Hi,

I think you are taking 30 characters in your text element. Just increase it to 40 or something.

Just see this code snippet.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS:chck1 as checkbox.

SELECTION-SCREEN COMMENT 10(50) text-p02.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS:chck2 as checkbox.

SELECTION-SCREEN COMMENT 10(50) text-p02.

SELECTION-SCREEN END OF LINE.

Thanks

Nitesh

Read only

Former Member
0 Likes
1,924

Try this code:

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(50) C1.

PARAMETER: a type c.

SELECTION-SCREEN END OF LINE.

INITIALIZATION.

C1 = 'Include Special stock Consignment (cust.)'.

Read only

Former Member
0 Likes
1,924

hi,

Just see this example,

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS:c_chck as checkbox.

SELECTION-SCREEN COMMENT 10(70) text-004 FOR FIELD c_chck.

SELECTION-SCREEN END OF LINE.

just double click on above bold text symbol "text-004" and then you write the text what ever you want but max no of character are 68.

Regards,

BBR.