<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DDIF_FIELDINFO_GET  Replace class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236987#M1381556</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use CL_ABAP_ELEMDESCR=&amp;gt;GET_DDIC_FIELD. (Look at [Run Time Type Services in Release 6.40 |http://help.sap.com/abapdocu_70/en/ABENNEWS-640-RTTI.htm])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Oct 2009 13:42:55 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2009-10-12T13:42:55Z</dc:date>
    <item>
      <title>DDIF_FIELDINFO_GET  Replace class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236986#M1381555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is class or method which replace the FM DDIF_FIELDINFO_GET ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Joy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 13:37:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236986#M1381555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-12T13:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: DDIF_FIELDINFO_GET  Replace class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236987#M1381556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use CL_ABAP_ELEMDESCR=&amp;gt;GET_DDIC_FIELD. (Look at [Run Time Type Services in Release 6.40 |http://help.sap.com/abapdocu_70/en/ABENNEWS-640-RTTI.htm])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 13:42:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236987#M1381556</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-10-12T13:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: DDIF_FIELDINFO_GET  Replace class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236988#M1381557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Raymond &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the FM i provide  in field ls_domain_name-domain_type&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;domain_type  domain_index
DATFM	        1

and in LT_DOMAIN_VALUES i get :

1		EQ	E	DD.MM.YYYY
2		EQ	E	MM/DD/YYYY
3		EQ	E	MM-DD-YYYY


      CALL FUNCTION 'DDIF_FIELDINFO_GET'
        EXPORTING
          tabname        = 'USDEFAULTS'
          langu          = sy-langu
          lfieldname     = ls_domain_name-domain_type
        TABLES
          fixed_values   = lt_domain_v
        EXCEPTIONS
          not_found      = 1
          internal_error = 2
          OTHERS         = 3.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a way to use it the same since i dont see where i can put the table name and the field name .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for quick replay .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 14:00:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236988#M1381557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-12T14:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: DDIF_FIELDINFO_GET  Replace class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236989#M1381558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;- Use CL_ABAP_STRUCTDESCR=&amp;gt;GET_DDIC_FIELD_LIST to get the field list of table/structure&lt;/P&gt;&lt;P&gt;- Use CL_ABAP_ELEMDESCR=&amp;gt;GET_DDIC_FIXED_VALUES to get the value list of data element (of its domain)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 14:07:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236989#M1381558</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-10-12T14:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: DDIF_FIELDINFO_GET  Replace class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236990#M1381559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u provide an example how to use it since i don't know where I put The input data&lt;/P&gt;&lt;P&gt; such as table name and domain types .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;         &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;tabname        = 'USDEFAULTS'
          lfieldname     = ls_domain_name-domain_type&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Joy S&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Joy Stpr on Oct 13, 2009 8:06 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 18:14:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236990#M1381559</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-12T18:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: DDIF_FIELDINFO_GET  Replace class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236991#M1381560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try with the following alternative FMs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DDIF_FIELDLABEL_GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DDIF_NAMETAB_GET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DD_INT_UPDATE_DDFTX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Deeba&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 06:18:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236991#M1381560</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-13T06:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: DDIF_FIELDINFO_GET  Replace class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236992#M1381561</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks but i want to use the classes instead the function do u have an idea how to provide the table  ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 08:39:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236992#M1381561</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-10-13T08:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: DDIF_FIELDINFO_GET  Replace class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236993#M1381562</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look via SE24 at the parameters of the methods, a little sample for fields description of structure/table:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: lcl_abap_structdescr TYPE REF TO cl_abap_structdescr,
      lt_ddic_info         TYPE ddfields.

FIELD-SYMBOLS: &amp;lt;ddic_info&amp;gt; TYPE LINE OF ddfields.

lcl_abap_structdescr ?= cl_abap_structdescr=&amp;gt;describe_by_name( 'MARA' ).

lt_ddic_info = lcl_abap_structdescr-&amp;gt;get_ddic_field_list( ).

LOOP AT lt_ddic_info ASSIGNING &amp;lt;ddic_info&amp;gt;.
* Here select your field
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Another for a single field description&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;  DATA:
    lo_descr      TYPE REF TO cl_abap_elemdescr,
    ls_field      TYPE dfies,
    lt_domvalue   TYPE ddfixvalues.
  lo_descr ?= cl_abap_elemdescr=&amp;gt;describe_by_name( 'MARA-MATNR'  ).
  ls_field  = lo_descr-&amp;gt;get_ddic_field( ).
  lt_values = lo_descr-&amp;gt;get_ddic_fixed_values( p_langu = sy-langu )&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2009 09:13:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/ddif-fieldinfo-get-replace-class/m-p/6236993#M1381562</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-10-13T09:13:02Z</dc:date>
    </item>
  </channel>
</rss>

