Skip to Content

Values for a domain

Hi All,

I already searched through the threads but did not find an answer to my problem so I am raising it here. Is there a function module or class-method using which I can find the allowed values for a domain. I only know the name of the domain and the domain can have fixed values or the values might come from a value table attached to the domain. I also require the texts for these values.

Thanks & Regards,

Saurabh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    Posted on Dec 19, 2008 at 05:23 AM

    hi,

    DD07T table.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 05:29 AM

    Hi

    Use Fm RPY_DOMAIN_READ

    it will get the details as below:

    ACTIVATION_TYPE_I M

    DOMA_NAME KOSTL

    LANGUAGE EN

    WITH_DOCU

    DOCUTYPE U

    Export parameters Value

    DOMA_INF KOSTL ENCHAR 000010000010000000 CSKS ALPHACost center

    ACTIVATION_TYPE_O A

    Regards

    Shiva

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 05:30 AM

    To search for text table , include 'T ' at the last of the value table . Most of the text tables name end with 'T'

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 19, 2008 at 05:38 AM

    Hello,

    From the table DD01L, you get if the Domain has a value table (field ENTITYTAB) or has fixed values (field VALEXI).

    If DD01L-VALEXI = 'X' (has fixed values) you can use the FM: GET_DOMAIN_VALUES to get the values as well as the texts.

    Hope this helps.

    BR,

    Suhas

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 19, 2008 at 05:51 AM

    >

    > Hi All,

    >

    > I already searched through the threads but did not find an answer to my problem ...

    Don't forget that searching through SE37, as already mentioned, is a REALLY good way of finding function modules.

    matt

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 19, 2008 at 06:05 AM

    Hello Saurabh,

    You can use the following Fumction module

    RPY_DOMAIN_READ .. you will get all the values and text for the domain.

    To check if the value is present in the domain you can use the following FM.

    SHOW_DOMAIN_VALUES

    Regards

    Arindam

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.