cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Custom DropDown List

Former Member
0 Kudos

Hi All,

We are using SRM 5.0 Classic Scenario.Please guide me how to make a custom field as a drop down list. Also, when the user selects a value from the dropdown list, how shall we fetch that in BBP_DOC_CHANGE_BADI.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for response. But Both the methods as suggested by Karthik and Pradeep give a search help not drop down. Pls help..

Former Member
0 Kudos

Hi,

In order to get the custom field as dropdown , first thing to be done is to change the field properties of the custom field to a drop list . The same can be done by manipulating the HTML code. You can refer to the code any of the already existing drop down field. The source for the values being used in the drop-down field could be a Z table having the set of values.Also the following BADIs can be implemented to store and load these values:

BBP_F4_MEM_UPDATE

BBP_F4_READ_ON_ENTRY

BBP_F4_READ_ON_EXIT

BBP_F4_SAVE_DB

Hope this helps.

Regards,

Kalyan

Former Member
0 Kudos

Hi Swarim,

Please refer to the following OSS Note to add the custom field:

Note 672960 - User-defined fields 2

To create a dropdown box:

Create a domain using the Transaction SE11 for the custom field. Maintain fixed values under the value range tab for this domain.

Then the user-defined will provide you drop-down list with the fixed range values maintained at the domain level.

Thanks,

Pradeep

Former Member
0 Kudos

Please add all the required values a domain and the attach this to domain to the data element which will be referred by the custom field.