on 05-11-2023 10:21 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karthik,
another approach could be to automatically fill the language field based on other fields, e.g. country (by MDG derivation rule). Then users won't care about the available entries in the dropdownfield and you don't need to adopt it.
Kind regards,
Achim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.