Get Example source ABAP code based on a different SAP table
ABAP_DDIC - Fixed Value Appends Domains> delivered by SAP can be extended by partners and customers using appends known as fixed value appends, without modifying the original object. The name of a fixed value append is subject to the same rules as the name of a domain and should be located in the customer namespace (or in the namespace of a partner or special development) to protect it against being overwritten by upgrades or new releases. A fixed value append adds further fixed values> or intervals to the value range of a domain. A domain can have more than one fixed value append. When a domain is activated, all fixed value appends for this domain are found and their fixed values and intervals added to the domain. When a fixed value append is created or modified, the associated domain is adjusted to this change automatically when the fixed value append is activated.
Example ABAP Coding
The fixed value append DEMO_FIXED_VALUE_APPEND> is added to the domain DEMO_ORIGINAL>>. The program DEMO_FIXED_VALUE_APPEND>> reads the fixed values and intervals of the extended domain and displays them. In the table, the column APPVAL> indicates which fixed values and intervals come from the fixed value append. ABAP_EXAMPLE_END