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

parameter description in two lines

Former Member
0 Likes
553

hi All,

i need to have a big description for one of the parameter.

how can i have the description in two line for the same parameter.

I have use Coment statement for the parameter.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT (45) text-002 FOR FIELD p_devatn.

PARAMETER: p_devatn(13) TYPE c DEFAULT '0.01'.

SELECTION-SCREEN END OF LINE.

kindly suggest me a way to get the description in two lines.

Description of parameter input filed of the parameter

This is paramerter for

value range

many thanks,

Anuj.

Edited by: Anuj112143 on Nov 24, 2010 4:33 AM

3 REPLIES 3
Read only

Former Member
0 Likes
519

Hi,

You can use SPLIT to break the content of your field.

SPLIT string AT del INTO p1 p2.

Where string contains the comment value, del is the indicator upto which portion will be splitted and p1 & p2 are variables that will contain the splitted strings.

Kath

Read only

0 Likes
519

Hi kath,

the requirement is to split the descrition of the parameter and not the contain of the field.

many thanks .

thanks,

Anuj

Edited by: Anuj112143 on Nov 24, 2010 5:06 AM

Read only

Former Member
0 Likes
519

Hello Anuj ,

I dont think you can have the description of the parameter on 2 lines , may be what you can do is to use comment for the 2nd line .

E.g.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT (45) text-001 FOR FIELD p_matnr.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT (45) text-002 FOR FIELD p_matnr.

parameters : p_matnr type mara-matnr.

SELECTION-SCREEN END OF LINE.

Regards,

Arun