cancel
Showing results for 
Search instead for 
Did you mean: 

Drop down records limit

Former Member
0 Kudos

Hello, when trying to pass a lot of records to a dropdown list ( 50 more or less ), it does not work.

Anyone knows how to fix this?

Can I build some kind of search help or something like that?

Thanks in advance!

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,Jorge

Maximum number of items that a Value Help DDL can hold is defined by the

"sap.valuesetlimit.maxondemand" property of the web dynpro "default"

property sheet. J2ee administrator can change this value by logging into

the "Visual Administrator" tool as follows:

- Go to Instance_ID -> Server<X> -> Services -> Configuration Adapter.

- On the right hand panel, select "Display Configuration" tab under

"Runtime" tab.

- Under the "Configurations" tree select webdynpro -> sap.com ->

tcwddispwda -> propertysheet default

- Switch to edit mode by clicking on the button on the top left corner

of the right panel having a pen and a spectacle icon on it while keeping

the "propertysheet default" selected.

- Double click "propertysheet default". "Display Configuration" popup

appears. Select "sap.valuesetlimit.maxondemand" property and provide a

custom value. Apply Custom. Switch back to view mode.

- Restart the server.

  • We strongly discourage to manipulate this value untill and otherwise it

is very much required to do so. Should your application always deals with a

large number of value sets, use enumerated DDLs instead. Follow the next

section on how to use this.

**Be careful to change this value as it is a global change and every

application (having value help : web dynpro and interactive form) running

on this server will be affected.

from sapnote 1013227

Regards,

Michael

Former Member
0 Kudos

Thanks Michael for your very helpful answer, but I am now using an enumerated drop down list, and the same error appears.

The DDL is only displaying 1 value if there is a lot of entries in the dropdown, but when debugging I remove entries in the dropdown until 50 more or less, the dropdown works.

After the sap note configuration says "on the PDF documeent, if you click on the Enumerated DDLs now, EVS should pop up (a Web Dynpro table popup containg all the values).", but this table never appears.

My context is: ZMOCHI > DATA > FIELD

My DDL setting is : Bind tab, default link : $record.ZMOCHI.DATA[*].FIELD

Field tab > Element list

Items : $record.sap-vhlist.ZMOCHI\.DATA\.FIELD.item[*]

text: text

value: key

Am I forgetting anything?

I very appreciate your help!

Former Member
0 Kudos

Hi,Jorge

Do you use DDL from WebDynpro Native or WebDynpro ActiveX library?

Former Member
0 Kudos

I am using ISR framework, I have tried too using the ISR dropdown from ISR tab, but the following error appears:

Error: accessor’xfa.record.enum_list.nodes.length’ is unknown.

Former Member
0 Kudos

Please, help.

chintan_virani
Active Contributor
0 Kudos

Jorge,

Change the language to JavaScript and it should fix the error.

Also go thru these blogs if you want to have build a search help :-

/people/community.user/blog/2006/11/20/search-help-in-isr-adobe-forms

/people/community.user/blog/2007/01/16/a-simple-search-help-in-isr-form--contd

Chintan

Former Member
0 Kudos

Hello Chintan, thanks for your help.

My dropdown has just 176 values, so I think it should work as the limit is 255 entries.

I will try to research on my own, because is very strange.

Thanks too for the help in creating search helps.