‎2010 Nov 24 3:33 AM
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
‎2010 Nov 24 3:59 AM
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
‎2010 Nov 24 4:02 AM
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
‎2010 Nov 24 4:06 AM
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