2007 Mar 03 10:34 AM
Hi All,
I have a requirement in which i have to change the Value range of a domain while executing a program...
Is there any FM available to achieve this functionality.... Kindly provide pointers to achieve my requirement...
Regards,
Navin.
Hi All,
I have a requirement in which i have to change the Value range of a domain while executing a program...
Is there any FM available to achieve this functionality.... Kindly provide pointers to achieve my requirement...
Regards,
Navin.
2007 Mar 03 11:56 AM
Hi
<b>I have already replied this in my earlier post.</b>
<u>Use the following Function module - RPY_DOMAIN_READ to read the Domain values in a program and use them as per your requirements.</u>
<b>Sample code</b>
CALL FUNCTION 'RPY_DOMAIN_READ'
EXPORTING
activation_type_i = 'M'
doma_name = 'DOMAIN' <<<<<- UseYour domain name here
language = sy-langu
TABLES
doma_values = i_values <<<--- Returns domain values
EXCEPTIONS
cancelled = 1
not_found = 2
permission_error = 3
illegal_type = 4
OTHERS = 5.
IF sy-subrc <> 0.
ENDIF.Incase you need any other details, let me know.
Hope this will help.
Please reward suitable points, incase it suits your requirements.
Regards
- Atul
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |