cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with the text field size.

Former Member
0 Kudos

Hi,

I have a requirement where in the user wants 2 text fields whose size should be of 300 characters.Please let me know how will i go about since the input characters in a text field is limited to 60 characters.

Regards

Pawan.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Pavan,

This question is answered in this link,go through the link.

You can set minimun and maximum length for text field.

Regards

Sreedhar

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

if you want to allow the user to enter maximum 300 characters then do like this,

create simpletype of string set the maximum length property 300.

so it will allow maximum 300 chars.

if your requirement is user has to enter 300 chars must then give

fixed length property 300.

Regards,

ramesh

Former Member
0 Kudos

Hi,

Please give me the steps...

Thanks

Pawan

Former Member
0 Kudos

Hi,

to create simple type follow the below process,

<Project name> > Dictionaries > Local Dictionary > Data Types >

1.Open the context menu for the "Simple Types" node and choose "Create Simple Type".

2.Under Simple Type Name, enter <name>. Under Package, enter <give package name> . Choose Finish to confirm

3. The editor for the new simple type <name> opens automatically.

Choose the Definition tab page.

under the length contrainsts you can find the maximum length property edit this and save.

refer this link,

http://help.sap.com/saphelp_nw04s/helpdata/en/6e/d162405c910272e10000000a155106/frameset.htm

Regards,

ramesh

Former Member
0 Kudos

Hi,

I dont have a SAP NetWeaver Developer Studio and the WD installed in my system.

Regards.

Pawan

Former Member
0 Kudos

so how you doing the development ?

Former Member
0 Kudos

Hi,

In BW development system...i am trying to create a characteristic for a cube to map it to a field.

Regards

pawan.

Former Member
0 Kudos

Just take simple type in Local DIctionary and mention length.Finally bind simple type to text field.

Regards

Ruturaj

Former Member
0 Kudos

Hi Pawan,

You can take a simple types in the Local Dictionary, in this simple type you can specify the length in definition tab. And bind this simple type to the context of the text field.

former_member192434
Active Contributor
0 Kudos

Hi Pawan,

Create Simple Type in Local Dictionary (see your WD project tree in IDE), type should use "string" as base type, set min/max length constraints here.

Then go to content attribute of corresponding view and change attribute type to newly created type.

Btw, "length" of InputField just set average width of control in characters

thanks