cancel
Showing results for 
Search instead for 
Did you mean: 

Add drop down menu in existing field

Former Member
0 Kudos

Hi folks,

I have a requirement like: I want to add a drop down in existing field: District

From AET we can add a new field with drop down menu. But can it be possible to add drop down in existing field?

Thanks in advance

Regards

Dinesh

Accepted Solutions (1)

Accepted Solutions (1)

former_member188098
Active Contributor
0 Kudos

yes we can make existing field as dropdown, or you facing any issue in doing that one??.

check http://www.sapcrmwebui.com/2013/05/38-providing-dropdown-list.html add code in GET_P as given in the link and in GET_V acc. to ur requirement.

Regards,

Former Member
0 Kudos

Hi Harish,

Thanks for reply, I was following your link but while Generating GET_V & GET_P it is giving me an error.

In the mean while i checked in the available field then i found the district field is available in header as well as in standard address also.

In standard address, There is a drop down option already available in District field



My questions are:

Why the same field is available in Header as well as Standard Address?

In one place it is with drop down menu and in one place it is without drop down menu?

Where we maintain the value of  District? (only belongs to required region only)  

Regards

Dinesh

sumeet_gehlot
Contributor
0 Kudos

Hi,

The same field is available in standard and header because when you create any field using AET , standard automatically updates all the classes methods relevant to that the business objects.

The drop will only be appear where you have created a field using AET because you are going to select the value of the field using a drop down in a Standard Address , the reason is that is not available in Header because Get_V of that assignment block view is not generated , if you have to use that header view as drop down you have implement Get_v method and add code for populating a drop down.

Regards,

Sumeet

Former Member
0 Kudos

Hi,

Which version of SAP CRM are you using? With CRM 7 EHP 2 it is now possible to add a DDLB directly in the UI via the AET tool.

Many thanks,

Mike

sumeet_gehlot
Contributor
0 Kudos

I am using EHP2 and its is possible to do add Drop down.

Regards,

Sumeet

Former Member
0 Kudos

Yes simply create a new table via SE11, and then in the AET tool when you create a new field it is possible to select the search help as drop down. Make sure that you are in expert mode.

You will then need to enter the table in the search help domain in the AET tool and you will be able to simply add new values to the drop down but creating new values in the table. No code needed!

sumeet_gehlot
Contributor
0 Kudos

Yes Michael,

No code needed from EHP1 onwards using AET tool.

Regards,

Sumeet

Answers (0)