cancel
Showing results for 
Search instead for 
Did you mean: 

ways to show custom values in drop down in mdg ui

karthik_sub
Participant
0 Kudos

Hi Team,

I have a standard field name 'language' where it populates the standard values.

I need to show my own custom values into it...not the standard values.

I have done via OVS concept and I want to is there any alternate way to achieve the same.

so that i can populate my own custom values by replacing standard values in srop down in sap mdg ui screen

regards,

Karthik s

karthik_sub
Participant
0 Kudos

Hi Experts,

I got some thaughts as below..can i follow the same .

As I have lot of fields and with lot of values in it.

1. Is it fine that I plan to create a domain for individual fields

2. Then plan to maintain the drop down values in it.

3. then use some standard function module to fetch those domain values maintained inside the GET_DATA or GET_DEFINTIONS and fill the respective standard export parameters CT_FIELD_USAGE.

4. So that i can use this domain in future too for any process .

Is this approach will be fine ?

Regards,

Karthik S

View Entire Topic
studencp
Participant

Hi,

I assume you want to just narrow the standard list (it would not be wise to set there not defined languages)

- Create Z-class inheriting from feeder CL_BS_BP_GUIBB_ADDRESS_STD

- set the new class as feeder of the Address UIBB

- override GET_DATA and after call to super method modify CT_FIELD_USAGE (for field LANGU) by setting there FIXED_VALUES and FIXED_VALUES_CHANGED, don't forget to set parameter EV_FIELD_USAGE_CHANGED of the method

karthik_sub
Participant
0 Kudos

Hi,

On language field, Earlier it was in drop down as per standard.

Using OVP concept, I place as F4 help .

But, just planning if there is any better or alternate solution so that i can keep my own custom values into it.

Regards,

KArthik s