<?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 for displaying the fieldnames when a table is given in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-displaying-the-fieldnames-when-a-table-is-given/m-p/1500776#M231964</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can use the below logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT fieldname into table ltab &lt;/P&gt;&lt;P&gt;from DD03L where tabname = ptable.&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE LTAB LINES LREC.&lt;/P&gt;&lt;P&gt;   IF LREC &amp;gt; 0.&lt;/P&gt;&lt;P&gt;       LSR = LSC = 15.&lt;/P&gt;&lt;P&gt;       LER = LSR + 1 + LREC.&lt;/P&gt;&lt;P&gt;       LEC = LSC + 50.&lt;/P&gt;&lt;P&gt;       call function 'POPUP_WITH_TABLE'&lt;/P&gt;&lt;P&gt;         exporting&lt;/P&gt;&lt;P&gt;          endpos_col = LEC&lt;/P&gt;&lt;P&gt;          endpos_row = LER&lt;/P&gt;&lt;P&gt;          startpos_col = LSC&lt;/P&gt;&lt;P&gt;          startpos_row = LSR&lt;/P&gt;&lt;P&gt;          titletext = TEXT-027&lt;/P&gt;&lt;P&gt;         importing&lt;/P&gt;&lt;P&gt;          choice = lchoice&lt;/P&gt;&lt;P&gt;         tables&lt;/P&gt;&lt;P&gt;          valuetab = ltab.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---Here lchoice would have your selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assign points for helpful answers !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anurag Bankley&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Aug 2006 09:22:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-31T09:22:55Z</dc:date>
    <item>
      <title>function module for displaying the fieldnames when a table is given</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-displaying-the-fieldnames-when-a-table-is-given/m-p/1500773#M231961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to display the fields of a table which will be taken as a input. how to use MC_POPUP_TO_SELECT_FIELDS function module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 09:09:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-displaying-the-fieldnames-when-a-table-is-given/m-p/1500773#M231961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T09:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: function module for displaying the fieldnames when a table is given</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-displaying-the-fieldnames-when-a-table-is-given/m-p/1500774#M231962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use FM REUSE_ALV_FIELDCATALOG_MERGE to get all the fields for a table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can wrie select on DD03L table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select fieldname into table it_fields from dd03l where tabname = 'MARA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Chandrasekhar Jagarlamudi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 09:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-displaying-the-fieldnames-when-a-table-is-given/m-p/1500774#M231962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T09:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: function module for displaying the fieldnames when a table is given</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-displaying-the-fieldnames-when-a-table-is-given/m-p/1500775#M231963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;   use function module 'NAMETAB_GET' to get filed names&lt;/P&gt;&lt;P&gt;   of table&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Amole&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 09:20:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-displaying-the-fieldnames-when-a-table-is-given/m-p/1500775#M231963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T09:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: function module for displaying the fieldnames when a table is given</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-displaying-the-fieldnames-when-a-table-is-given/m-p/1500776#M231964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can use the below logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT fieldname into table ltab &lt;/P&gt;&lt;P&gt;from DD03L where tabname = ptable.&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE LTAB LINES LREC.&lt;/P&gt;&lt;P&gt;   IF LREC &amp;gt; 0.&lt;/P&gt;&lt;P&gt;       LSR = LSC = 15.&lt;/P&gt;&lt;P&gt;       LER = LSR + 1 + LREC.&lt;/P&gt;&lt;P&gt;       LEC = LSC + 50.&lt;/P&gt;&lt;P&gt;       call function 'POPUP_WITH_TABLE'&lt;/P&gt;&lt;P&gt;         exporting&lt;/P&gt;&lt;P&gt;          endpos_col = LEC&lt;/P&gt;&lt;P&gt;          endpos_row = LER&lt;/P&gt;&lt;P&gt;          startpos_col = LSC&lt;/P&gt;&lt;P&gt;          startpos_row = LSR&lt;/P&gt;&lt;P&gt;          titletext = TEXT-027&lt;/P&gt;&lt;P&gt;         importing&lt;/P&gt;&lt;P&gt;          choice = lchoice&lt;/P&gt;&lt;P&gt;         tables&lt;/P&gt;&lt;P&gt;          valuetab = ltab.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---Here lchoice would have your selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assign points for helpful answers !!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Anurag Bankley&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 09:22:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-displaying-the-fieldnames-when-a-table-is-given/m-p/1500776#M231964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T09:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: function module for displaying the fieldnames when a table is given</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-displaying-the-fieldnames-when-a-table-is-given/m-p/1500777#M231965</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;Check the Program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Include         &amp;lt;b&amp;gt; L0C15F01   &amp;lt;/b&amp;gt;              &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;      &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 11:22:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-displaying-the-fieldnames-when-a-table-is-given/m-p/1500777#M231965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T11:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: function module for displaying the fieldnames when a table is given</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-displaying-the-fieldnames-when-a-table-is-given/m-p/1500778#M231966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;use function module &amp;lt;b&amp;gt;'NAMETAB_GET'&amp;lt;/b&amp;gt; to get filed names&lt;/P&gt;&lt;P&gt;of the particular table....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Aug 2006 11:32:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-displaying-the-fieldnames-when-a-table-is-given/m-p/1500778#M231966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-31T11:32:45Z</dc:date>
    </item>
  </channel>
</rss>

