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 Text on Selection Screen

Former Member
0 Likes
1,838

Hi Experts,

i have a parameter in the selection screen. I need to give a selection text to that paramaeter as "Rack Forecast Override (Qty/Day) :" But in the Selection Texts I am able to give "Rack Forecast Override (Qty/Da". Remaining is not accepting. How can I solve this problem..

10 REPLIES 10
Read only

Former Member
0 Likes
1,216

Look at the help for SELECTION-SCREEN COMMENT

Message was edited by:

Martin Shinks

Read only

Former Member
0 Likes
1,216

Give the length like as below.

SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.

SELECTION-SCREEN: SKIP 1.

SELECTION-SCREEN: BEGIN OF LINE.

SELECTION-SCREEN COMMENT 2(20) TEXT-013 for field s_matnr.

SELECT-OPTIONS: s_matnr FOR MSEG-MATNR. " NO-EXTENSION OBLIGATORY

SELECTION-SCREEN: END OF LINE.

SELECTION-SCREEN: END OF BLOCK b1.

Read only

0 Likes
1,216

This is Ok.. But now This field's Input box is moving forward (Not aligned with remaining fields)..Is the same solution for all remaining fields..

Read only

0 Likes
1,216

to align it with other fields u can adjust the below length and change it until it is aligned with other fields

SELECTION-SCREEN COMMENT 5(40) " change 40 to some different lengths

Read only

Former Member
0 Likes
1,216

Hi Sekhar ,

Use the statement

SELECTION-SCREEN COMMENT x(y)<text-xx> for feild <field on selection screen>

where x is the starting x coordinate and y is the length.

Regards

Arun

Read only

Former Member
0 Likes
1,216

Hi Sekhar

Please check my reply in the below link to understand handling the same requirement:

Regards

Eswar

Read only

Former Member
0 Likes
1,216

selection-screen begin of line.

selection-screen comment 1(38) text-001 for p_matnr.

parameters : p_matnr like mara-matnr.

selection-screen end of line.

by dbl clicking text-001 you can give 'Rack Forecast Override (Qty/Day) :'

regards

shiba dutta

Read only

Former Member
0 Likes
1,216
REPORT ychatest LINE-COUNT 50.

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t01.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 5(40)  text-001 FOR FIELD p_matnr.
PARAMETERS : p_matnr LIKE mara-matnr.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b2.


"TEXT-001 =  Rack Forecast Override (Qty/Day)
Read only

Former Member
0 Likes
1,216

Hi

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(30) TEXT-P01 FOR FIELD P1.

SELECTION-SCREEN POSITION 32.

PARAMETERS: P1.

SELECTION-SCREEN END OF LINE.

Max

Read only

Former Member
0 Likes
1,216

Hi sekhar,

<b>SELECTION-SCREEN BEGIN OF BLOCK B1.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT (40) text-m01.

parameter : p_test(10).

SELECTION-SCREEN END OF LINE.</b>

In place of <b>parameter : p_test(10).</b> place u r parameter field