<?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 ALV creation Dynamic in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-creation-dynamic/m-p/6225377#M1379803</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on Material Group , i want to create field for Material Number dynamic .&lt;/P&gt;&lt;P&gt;Ex. Material Group 106 have 3 Material number , i want to create ALV field Dynamic for material number .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to Create it.&lt;/P&gt;&lt;P&gt;Plz provide me solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sanjeev verma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Sep 2009 05:12:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-30T05:12:48Z</dc:date>
    <item>
      <title>ALV creation Dynamic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-creation-dynamic/m-p/6225377#M1379803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on Material Group , i want to create field for Material Number dynamic .&lt;/P&gt;&lt;P&gt;Ex. Material Group 106 have 3 Material number , i want to create ALV field Dynamic for material number .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to Create it.&lt;/P&gt;&lt;P&gt;Plz provide me solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sanjeev verma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 05:12:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-creation-dynamic/m-p/6225377#M1379803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-30T05:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: ALV creation Dynamic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-creation-dynamic/m-p/6225378#M1379804</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;Use Field Symbol and Dyanamic Internal table in following way:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Calling the method to create Dynamic Internal Table&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      it_fieldcatalog = g_t_fieldcat&lt;/P&gt;&lt;P&gt;    IMPORTING&lt;/P&gt;&lt;P&gt;      ep_table        = d_ref.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  ASSIGN d_ref-&amp;gt;* TO &amp;lt;fs_final_itab&amp;gt;.                        " Assigning the Final Table,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Create Dynamic Work Area and assign to FS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CREATE DATA dy_line LIKE LINE OF &amp;lt;fs_final_itab&amp;gt;.&lt;/P&gt;&lt;P&gt;  ASSIGN dy_line-&amp;gt;* TO &amp;lt;fs_wa_itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Swati&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 05:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-creation-dynamic/m-p/6225378#M1379804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-30T05:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: ALV creation Dynamic</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-creation-dynamic/m-p/6225379#M1379805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look below code. Change it according to ur requiremnet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ztest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: fcat_itab TYPE lvc_t_fcat,&lt;/P&gt;&lt;P&gt;            fcat_wa TYPE lvc_s_fcat,&lt;/P&gt;&lt;P&gt;            poi_itab TYPE REF TO data.&lt;/P&gt;&lt;P&gt;FIELD-SYMBOLS: &amp;lt;itab&amp;gt; TYPE STANDARD TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF mat_group OCCURS 0,&lt;/P&gt;&lt;P&gt;            matkl TYPE matkl,&lt;/P&gt;&lt;P&gt;            matnr TYPE matnr,&lt;/P&gt;&lt;P&gt;           END OF mat_group,&lt;/P&gt;&lt;P&gt;           wa LIKE mat_group,&lt;/P&gt;&lt;P&gt;            lin TYPE i.&lt;/P&gt;&lt;P&gt;DATA: str TYPE string,&lt;/P&gt;&lt;P&gt;            i TYPE i VALUE 1,&lt;/P&gt;&lt;P&gt;           ch(5) TYPE c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETERS: p_matkl TYPE matkl.  " Enter material group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;SELECT matkl matnr FROM mara INTO TABLE mat_group WHERE matkl = p_matkl.&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE mat_group LINES lin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO lin TIMES.&lt;/P&gt;&lt;P&gt;  ch = i.&lt;/P&gt;&lt;P&gt;  CONCATENATE 'MATNR' ch INTO str.&lt;/P&gt;&lt;P&gt;  CONDENSE str NO-GAPS.&lt;/P&gt;&lt;P&gt;  fcat_wa-fieldname = str.&lt;/P&gt;&lt;P&gt;  fcat_wa-ref_field = 'MATNR'.&lt;/P&gt;&lt;P&gt;  fcat_wa-ref_table = 'MARA'.&lt;/P&gt;&lt;P&gt;  APPEND fcat_wa TO fcat_itab.&lt;/P&gt;&lt;P&gt;  i = i + 1.&lt;/P&gt;&lt;P&gt;ENDDO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Create dynamic internal table&lt;/P&gt;&lt;P&gt;CALL METHOD cl_alv_table_create=&amp;gt;create_dynamic_table&lt;/P&gt;&lt;P&gt;  EXPORTING&lt;/P&gt;&lt;P&gt;    it_fieldcatalog           = fcat_itab&lt;/P&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;P&gt;    ep_table                  = poi_itab&lt;/P&gt;&lt;P&gt;  EXCEPTIONS&lt;/P&gt;&lt;P&gt;    generate_subpool_dir_full = 1&lt;/P&gt;&lt;P&gt;    OTHERS                    = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ASSIGN poi_itab-&amp;gt;* TO &amp;lt;itab&amp;gt;.    "   &amp;lt;itab&amp;gt;  contains material number as fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Sep 2009 05:39:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-creation-dynamic/m-p/6225379#M1379805</guid>
      <dc:creator>awin_prabhu</dc:creator>
      <dc:date>2009-09-30T05:39:27Z</dc:date>
    </item>
  </channel>
</rss>

