<?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: Function module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496668#M230565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is any standard function module to get the description of the material group, you just need to get that from the master table of the material group (Text table for material group).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Jul 2006 14:18:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-07-31T14:18:17Z</dc:date>
    <item>
      <title>Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496666#M230563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an internal table which has three fields. for example,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table name   |   filed   |  Value&lt;/P&gt;&lt;P&gt;vbap         |   matkl   |  62&lt;/P&gt;&lt;P&gt;mara         |   matnr   |  1000000023&lt;/P&gt;&lt;P&gt;kna1         |   kvgr2   |  04&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to find out the description of the value filed. Means what is mean by 62 for material group( matkl). IS there any function module for this? or any easy way to find out? please help me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 14:08:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496666#M230563</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-31T14:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496667#M230564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use FM DDIF_FIELDINFO_GET.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report zrich_0001.

data: idfies type table of dfies with header line.


clear idfies. refresh idfies.
call function 'DDIF_FIELDINFO_GET'
     exporting
          tabname   = 'VBAP'
          fieldname = 'MATKL'
     tables
          dfies_tab = idfies.
read table idfies index 1.
if sy-subrc = 0.
  write:/ idfies-fieldtext.
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 14:10:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496667#M230564</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-31T14:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496668#M230565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is any standard function module to get the description of the material group, you just need to get that from the master table of the material group (Text table for material group).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 14:18:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496668#M230565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-31T14:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496669#M230566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this thread out&lt;/P&gt;&lt;P&gt;Check FM DDIF_FIELDINFO_GET&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="713526"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 14:18:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496669#M230566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-31T14:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496670#M230567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This function module gives me what is VBAP-MATKL, But I need what is 62 for MATKL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 14:19:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496670#M230567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-31T14:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496671#M230568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh, I see.  Well in that case, I think I agree with Ravi.  You will need to code this yourself.  You can find the values of the material groups from table T023T.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 14:21:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496671#M230568</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-31T14:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496672#M230569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for me it is not only vbap and matkl it may be any table and any filed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 14:24:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496672#M230569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-31T14:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496673#M230570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;*Validation for Material Group - MATKL&lt;/P&gt;&lt;P&gt;      SELECT SINGLE matkl INTO lws_matkl FROM t023&lt;/P&gt;&lt;P&gt;             WHERE matkl = '193891'.&lt;/P&gt;&lt;P&gt;      IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prakash.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 14:25:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496673#M230570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-31T14:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496674#M230571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a given material group, you can get the description from &amp;lt;b&amp;gt;T023T&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 14:26:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496674#M230571</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-31T14:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496675#M230572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can use some of this code to find the text table that you need to read, then maybe read it dynamically.  Not all text tables are set up with the same fields, this would be a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;


report zrich_0001.


data: xchecktable type dd08v-tabname .
data: xtexttable type dd08v-tabname.
data: idfies type table of dfies with header line.

parameters: p_tab type  ddobjname,
            p_fld type  dfies-fieldname.

call function 'DDIF_FIELDINFO_GET'
     exporting
          tabname   = p_tab
          fieldname = p_fld
     tables
          dfies_tab = idfies.
read table idfies index 1.
if sy-subrc = 0.
  xchecktable = idfies-checktable.
endif.


call function 'DDUT_TEXTTABLE_GET'
     exporting
          tabname   = xchecktable
     importing
          texttable = xtexttable.



write:/ p_tab,
      / p_fld.
write:/ xchecktable.
write:/ xtexttable.


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 14:36:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496675#M230572</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-07-31T14:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496676#M230573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are some functions modules to get material group descriptions (like T023T_SINGLE_READ, /SAPNEA/SMAPI_MAT_GRP_GETLIST, and others), but a SELECT SINGLE from T023T seems to be the easiest and fastest approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 14:37:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496676#M230573</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-31T14:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Function module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496677#M230574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. This will help me a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Jul 2006 16:14:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module/m-p/1496677#M230574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-31T16:14:48Z</dc:date>
    </item>
  </channel>
</rss>

