Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

GET_DOMAIN_VALUES

Former Member
0 Likes
4,416

hi,

why do we use the function module 'GET_DOMAIN_VALUES'

do we use for validations also

kirthi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,926

Hello,

This FM is used to get the Value range maintained for a particular domain.


* Local DATA-Definitions
  DATA: lt_dd07v        TYPE dd07v OCCURS 0 WITH HEADER LINE.

* Get Domain-Values from BICDF
  CALL FUNCTION 'GET_DOMAIN_VALUES'
       EXPORTING
            domname    = 'BICDF'
       TABLES
            values_tab = lt_dd07v
       EXCEPTIONS
            OTHERS     = 1.

If useful reward.

Vasanth

hi,

why do we use the function module 'GET_DOMAIN_VALUES'

do we use for validations also

kirthi

3 REPLIES 3
Read only

Former Member
0 Likes
1,927

Hello,

This FM is used to get the Value range maintained for a particular domain.


* Local DATA-Definitions
  DATA: lt_dd07v        TYPE dd07v OCCURS 0 WITH HEADER LINE.

* Get Domain-Values from BICDF
  CALL FUNCTION 'GET_DOMAIN_VALUES'
       EXPORTING
            domname    = 'BICDF'
       TABLES
            values_tab = lt_dd07v
       EXCEPTIONS
            OTHERS     = 1.

If useful reward.

Vasanth

Read only

former_member150733
Contributor
0 Likes
1,926

This FM is used to get the domain values for a particular domain name that you pass to this function module.

This FM is not directly used for validation.

Read only

Former Member
0 Likes
1,926

yes you can use that for validating also