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 Length in Report Creation

Former Member
0 Likes
953

Hi all,

In Selection text I want to display more than 30 characters. How can I make it while report creation?

Points assured.

Regards,

Suresh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
924

Hi Suresh,

Use Text Element .

SELECTION-SCREEN COMMENT statement.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : P_matnr LIKE MARA-MATNR.

SELECTION-SCREEN COMMENT 1(50) TEXT-001 FOR FIELD P_MATNR.

SELECTION-SCREEN END OF LINE.

Here it will display the text whatever defined in TEXT-001 upto 50 chars length.

Reward points if it is helpful.

Regards,

Sangeetha.A

6 REPLIES 6
Read only

Former Member
0 Likes
924

hi Suresh,

make use of

SELECTION-SCREEN COMMENT statement.


SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : P_VBELN LIKE VBAK-VBELN.
SELECTION-SCREEN COMMENT 1(79) TEXT-001 FOR FIELD P_VBELN.
SELECTION-SCREEN END OF LINE. 

Regards,

Santosh

Message was edited by:

Santosh Kumar Patha

Read only

0 Likes
924

Hi Santhosh and Shailesh,

Still I'm facing the same problem. Bit brief with your answers.

Points Assured.

Regards,

Suresh

Read only

Former Member
0 Likes
924

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : p_matnr TYPE mara-matnr.

SELECTION-SCREEN COMMENT 1(79) TEXT-001 FOR FIELD p_matnr.

SELECTION-SCREEN END OF LINE.

Hope this helps

Read only

Former Member
0 Likes
924

Hi Suresh,

Do declare the more than 30 characters in selection criteria use the below code

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : p_werks TYPE marc-werks.

SELECTION-SCREEN COMMENT 1(79) TEXT-001 FOR FIELD p_werks.

SELECTION-SCREEN END OF LINE.

Hope the above code would solve ur purpose in Text-001 double click write ur selection criteria which u want to display.

1(79) is position of selection text.

Kindly rewards points

Read only

Former Member
0 Likes
925

Hi Suresh,

Use Text Element .

SELECTION-SCREEN COMMENT statement.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : P_matnr LIKE MARA-MATNR.

SELECTION-SCREEN COMMENT 1(50) TEXT-001 FOR FIELD P_MATNR.

SELECTION-SCREEN END OF LINE.

Here it will display the text whatever defined in TEXT-001 upto 50 chars length.

Reward points if it is helpful.

Regards,

Sangeetha.A

Read only

Former Member
0 Likes
924

Hi Santhosh, Shailesh and Sangeetha,

Thanks alot for your kind response.

Thanks and Regards,

Suresh