cancel
Showing results for 
Search instead for 
Did you mean: 

Limit dorpdown box values

Former Member
0 Kudos

Dear Community,

In my web-template I m using a dropdown box which becomes its values from a charactersitcs values variable, however i do want to reduce the number of values that appears in it, for example in my dropdown box appears about 10 characteritc values but i want that only four of them taht be schown.

Thanks for any suggestion.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

the Issue is per java script code resolved.

Edited by: FRYYYBM on Jan 31, 2011 12:21 PM

Former Member
0 Kudos

Hi.

According to which logic you want to limit values ?

Let's say you have in master data the next values for some object: A1, A2 to An. Do you want to show some of those values in DD box ?

Regards.

Former Member
0 Kudos

Hello,

@Marc,

Thank you for your recomanded sap Note.

@Andrey,

it s exactely what you posted here, let s say I have A1, A2, A3, A4 in the DDbox and i want to have only A1 and A2.

I did have a way to resolve my Issue trough javascript Code, but i would like to know if you have any other suggestion.

Regards.

Frank

Edited by: FRYYYBM on Jan 31, 2011 9:18 AM

balajee_sivakumar
Contributor
0 Kudos

Hi,

Can you explain more on the "Characteristic value variable" that you are using in your drop down.

Is your variable based on Range of values or Multiple single values?

Regards,

Balajee

Former Member
0 Kudos

Hi Balajee,

My variable is based on Multiple single values.

Regards.

Frank

Edited by: FRYYYBM on Jan 31, 2011 10:09 AM

balajee_sivakumar
Contributor
0 Kudos

Hi Frank,

If it is "Multiple single values", then how are you getting values for this variable?

Is it using Manual user entry or replacement path or exit?

Regards,

Balajee

Former Member
0 Kudos

Hi Balagee,

to make the issue more clear i should tell you that the Values of my variable in the DDbox are Key figures und this key figures are ready for manual user entry.

Regards.

Frank

Edited by: FRYYYBM on Jan 31, 2011 10:41 AM

Edited by: FRYYYBM on Jan 31, 2011 10:44 AM

balajee_sivakumar
Contributor
0 Kudos

Hi Frank,

You can refer to the below mentioend link to control the number of values to be displayed in the dropdown using Java script,

http://help.sap.com/saphelp_tm70/helpdata/en/43/f5daaddfdb4c60e10000000a155369/frameset.htm

Regards,

Balajee

Edited by: Balajee Sivakumar on Jan 31, 2011 5:53 PM

Former Member
0 Kudos

Hi Balagee,

Thanks for your replay, However your suggsetion does not help, because the point a of section 3 (Link above) does not meets exactely my issue.

3. Insert a Dropdown Box Web item into the Web template. Set the following parameters for the Web item:

a. Select Char/Structure Member (CHARACTERISTIC_SELECTION) as the data binding type.

but in my case i have to choose a variable und not a CHARACTERISTIC_SELECTION

As i said above i find a solution way per javascript.

Regards.

Frank

Former Member
0 Kudos

Hi,

On what basis do you want to limit the values in drop-down? Do you want to apply any authorizations?

Rgds,

Deepti

Former Member
0 Kudos

Hi Deepti,

Thanks for you quick-answer.

The idea behind this limitation is to avoid any confusion for the end-user.

wehn is select one of the fourth values in my dropdown box. an calculation process schould be stratet.

i do not want to apply any authorisation.

Thanks

Frank.B

former_member93896
Active Contributor
0 Kudos

Hello Frank,

please have a look at SAP Note <a href="http://service.sap.com/sap/support/notes/1416952">1416952</a>. You can use new F4-help Badi to restrict the values.

Regards,

Marc

SAP Techology RIG