Skip to Content
avatar image
Former Member

How to find the text-id

Hi,

in EINE table i was displaying the field ESOKZ (Purchasing info record category) in my alv output.

Now cusstomer want to display the text also in output.Here the text were subcontrat ,consignment etc..

How to achieve this??

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 25, 2010 at 09:09 AM

    Hello

    Use FM DOMAIN_VALUE_GET for this.

    Just pass

    I_DOMNAME = 'ESOKZ' -> your domain name

    I_DOMVALUE = '1' -> indicator value ('1' or '2' etc)

    You will have text like:

    0 - Standard

    1 - Chargeable

    2 - Consignment

    etc.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 25, 2010 at 08:59 AM

    In FM READ_TEXT pass ID and object.

    Manas M.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello

      Try to declare:

      data:t_ab LIKE  DD07V-DOMNAME.
      data:r_ab LIKE DD07V-DOMVALUE_L.
      data:a_ab LIKE DD07V-DDTEXT.
      

      BTW: domain EKORG have no domain-level values. It have values table T024E.