cancel
Showing results for 
Search instead for 
Did you mean: 

Entered value for my WDA input field exceeding the length of its data type

Former Member
0 Kudos

Hi experts

I have a name field of length 40 character but in screen it is allowing to enter a value up to 44 character.

Now although it is giving error message "Entry is too long" for this extra value but user wants to restrict this extra character

during the entry.

Is there any way it will not allow to enter more then 40 characters.

I got  note 1883430 from the previous discussion on this but this note is for Web Dynpro Java.

Regards..

Akash.

Accepted Solutions (0)

Answers (1)

Answers (1)

edwinguedez
Explorer
0 Kudos

Could you post the field properties?

--

Regards

Edwin Guedez

Former Member
0 Kudos

Hi Edwin,

    For this field i have used data element AD_NAME1 ( Domain TEXT40, Datatype  = Char , Length = 40 ).

    Screen properties, please find the attachment.

Thanks & Regards.

Akash

former_member198833
Active Participant
0 Kudos

Hi Akash,

You are setting the Width property of the field to 380 pixels. So the field will have this size independently of the data type length.

Please leave width as blank and the field should adjust according to the data type length.

Regards,

Felipe

Former Member
0 Kudos

HI Felipe,

thanks for your reply.

I have already done this but it will only decrease the display length of the screen field

to 40  character (data type length) .Still it will allow to enter 44 character.

Regards,

Akash.

former_member198833
Active Participant
0 Kudos

Hi Akash,

Now I took a look at the note you specified earlier.

SAP Note 1883430 - Pasted text exceeds length limit of input fields - is not only for Web Dynpro Java, but for both WD Java and WD ABAP.

The solution to your scenario is to update your Unified Rendering version to the latest version available.

Please read the following Wiki on how to perform the version update:

http://wiki.scn.sap.com/wiki/x/2oQCFQ

Regards,

Felipe

edwinguedez
Explorer
0 Kudos

See Ramakrishnappa Gangappa answer (Marked as Helpful) in the threat Input field max length problem | SCN

You may need to upgrade or apply the Unified rendering notes:

Unified Rendering Notes - Which one to apply - Web Dynpro ABAP - SCN Wiki

--

Regards

Edwin Guedez