cancel
Showing results for 
Search instead for 
Did you mean: 

Character counter in ABAp Webdynpro

former_member186783
Participant
0 Kudos

Hi everyone,

I have a table with an editable field.

I'd like to have a "Character counter" over the table, which displays the remaining characters of the field.

Example:

The field length is 100, but there is a limit for the maximum length e.g 70. When the field is empty the counter is 70, if the user starts to type, after every character the counter is decreased, until the counter reaches 0.

My question is:

Is this possible? If yes then how? I can't find "onType" event in the Table properties

Thanks & Bye

N.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member186783
Participant
0 Kudos

Thanks for the replies. Now I'm absolutely sure I can't do this in WDA.

Bye

N.

Former Member
0 Kudos

hi,

in WDA performing any business logic is only based on event trigger (or on any action) .

if you can find out a way to trigger event on each entry of keyboard we can acheive this

Regards,

Kranthi.

Former Member
0 Kudos

Hi,

The requirement looks very interesting...But I really wonder there is such event to handle the things as the user types the characters..There is no such event to handle this.. You need to have a button and everytime user has to click to increase/decrease the counter...check if TIMER UI element can be used in this case because to record the user inputs we can set the timer and then try to have the character count...But this is really not a solution. just try it out...

Let Thomas provide some inputs on this.

Regards,

Lekha.

Former Member
0 Kudos

Hi,

there is no such thing in webdynpro abap, only a server side event is launched onEnter, where you can possibly

do the validation of the number of chareacters.

Grtz,

Koen