cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase the text area size

Former Member
0 Kudos

Hi all,

The TextArea displays 5 rows. I want to increase this to display 20 rows , For GSTEXT/Text View.

How can we do this? If any one knows, pls give details.

Thanks

Hema

Accepted Solutions (1)

Accepted Solutions (1)

CarstenKasper
Active Contributor
0 Kudos

Hi,

try implementing the method GET_P_LINES on context node TEXT.

Check in there for iv_property = if_bsp_wd_model_setter_getter=>fp_textarea_row and set rv_value to the desired rows.

cheers Carsten

Former Member
0 Kudos

post by mistake sorry

Edited by: SAP-Basis on Oct 30, 2008 4:08 PM

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Carsten,

Thanks a lot,

By checking the iv_property as

if_bsp_wd_model_setter_getter=>fp_textarea_row

setting rv_value value my problem solved.

Thanks and Regards

Hema

robert_kunstelj
Active Contributor
0 Kudos

Hi.

I have the same issue. Can you please describe me in more details where you made this corrections.

Did you do it in the basic component GSTEXT or in the component of certain business object. For example, I would like to add lines to text area only for tasks and not for other business transactions.

I would also like to know, where exacly did you make corrections - in Browser component structure on in Runtime repository editor and on which spot.

Tnx.

Former Member
0 Kudos

Hi Robert,

Did you solve your problem. I also would like to change the number of lines for campaigns only and not for the entire system. Did you achieve this requierements for task?

Thx

Michael

former_member192716
Contributor
0 Kudos

Michael,

Compare the component usage name for campaigns and then increase the number of rows in get_p method..

Regards,

Arun

Former Member
0 Kudos

Hello Hemalatha,

Go to the configuration tab of the view GSTEXT/Text.

Select the Text Area and click on the button Show field Properties. Change the property "Row to" to 23. Since this is a configuration change, you dont have to assign the changes to enhancement set. You can simply copy this configuration with the role config key or update the default configuration.

Hope this helps.

Regards,

Vinay

Former Member
0 Kudos

hi,

You can also do it by changing html code. Also you can do the same by configuration tab.

Best regards

Pankaj Kumar