<?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: ***********Query regarding ALV************* in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-alv/m-p/1858942#M362806</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;By exporting the ur structure name to the field i_structure_name to the FM LVC_FIELDCATALOG_MERGE  wont help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value to be passed to the  i_structure_name should be the standard database table /structure. The internal table name is to be passed to the i_internaltable_name field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a fieldcataog as per the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA :  gt_fieldcat          TYPE slis_t_fieldcat_alv ,&lt;/P&gt;&lt;P&gt;        gwa_fieldcat         TYPE LINE OF slis_t_fieldcat_alv ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;             rec_num(6)   TYPE c,&lt;/P&gt;&lt;P&gt;             mesgtyp      TYPE c,&lt;/P&gt;&lt;P&gt;             message(50)  TYPE c,&lt;/P&gt;&lt;P&gt;             icon(4)     TYPE c,           "NOTE&lt;/P&gt;&lt;P&gt;          END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Field catalog&lt;/P&gt;&lt;P&gt;REFRESH gt_fieldcat .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR gwa_fieldcat.&lt;/P&gt;&lt;P&gt;gwa_fieldcat-fieldname = 'REC_NUM'.&lt;/P&gt;&lt;P&gt;gwa_fieldcat-seltext_l = 'REC_NUM'.&lt;/P&gt;&lt;P&gt;APPEND gwa_fieldcat TO gt_fieldcat .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR gwa_fieldcat.&lt;/P&gt;&lt;P&gt;gwa_fieldcat-fieldname = 'ICON'.&lt;/P&gt;&lt;P&gt;gwa_fieldcat-seltext_l = 'ICON'.&lt;/P&gt;&lt;P&gt;*gWA_FIELDCAT-ICON = 'X'.                          "NOTE&lt;/P&gt;&lt;P&gt;APPEND gwa_fieldcat TO gt_fieldcat .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR gwa_fieldcat.&lt;/P&gt;&lt;P&gt;gwa_fieldcat-fieldname = 'MESSAGE'.&lt;/P&gt;&lt;P&gt;gwa_fieldcat-seltext_l = 'MESSAGE'.&lt;/P&gt;&lt;P&gt;APPEND gwa_fieldcat TO gt_fieldcat .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jan 2007 11:40:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-17T11:40:59Z</dc:date>
    <item>
      <title>***********Query regarding ALV*************</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-alv/m-p/1858940#M362804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have defined a structure in the code using TYPES.&lt;/P&gt;&lt;P&gt;I want to build a field catalog for the structure.&lt;/P&gt;&lt;P&gt;To build the field catalog I use the Function Module LVC_FIELDCATALOG_MERGE and I am exporting the structure to the field i_structure_name .&lt;/P&gt;&lt;P&gt;But i find that the field catalog is not getting created.&lt;/P&gt;&lt;P&gt;If I pass a standard structure then the field catalog is geting created.&lt;/P&gt;&lt;P&gt;please tell me how to build the field catalog for a structure defined in the code.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;P&gt;*************&lt;STRONG&gt;ENTRIES WILL SURELY BE REWARDED&lt;/STRONG&gt;******&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2007 17:44:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-alv/m-p/1858940#M362804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-16T17:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: ***********Query regarding ALV*************</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-alv/m-p/1858941#M362805</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 REUSE_ALV_FIELDCATALOG_MERGE in combination with LVC_TRANSFER_FROM_SLIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jan 2007 17:50:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-alv/m-p/1858941#M362805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-16T17:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: ***********Query regarding ALV*************</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-alv/m-p/1858942#M362806</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;By exporting the ur structure name to the field i_structure_name to the FM LVC_FIELDCATALOG_MERGE  wont help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The value to be passed to the  i_structure_name should be the standard database table /structure. The internal table name is to be passed to the i_internaltable_name field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a fieldcataog as per the following code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPE-POOLS slis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA :  gt_fieldcat          TYPE slis_t_fieldcat_alv ,&lt;/P&gt;&lt;P&gt;        gwa_fieldcat         TYPE LINE OF slis_t_fieldcat_alv ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : BEGIN OF itab OCCURS 0,&lt;/P&gt;&lt;P&gt;             rec_num(6)   TYPE c,&lt;/P&gt;&lt;P&gt;             mesgtyp      TYPE c,&lt;/P&gt;&lt;P&gt;             message(50)  TYPE c,&lt;/P&gt;&lt;P&gt;             icon(4)     TYPE c,           "NOTE&lt;/P&gt;&lt;P&gt;          END OF itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Field catalog&lt;/P&gt;&lt;P&gt;REFRESH gt_fieldcat .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR gwa_fieldcat.&lt;/P&gt;&lt;P&gt;gwa_fieldcat-fieldname = 'REC_NUM'.&lt;/P&gt;&lt;P&gt;gwa_fieldcat-seltext_l = 'REC_NUM'.&lt;/P&gt;&lt;P&gt;APPEND gwa_fieldcat TO gt_fieldcat .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR gwa_fieldcat.&lt;/P&gt;&lt;P&gt;gwa_fieldcat-fieldname = 'ICON'.&lt;/P&gt;&lt;P&gt;gwa_fieldcat-seltext_l = 'ICON'.&lt;/P&gt;&lt;P&gt;*gWA_FIELDCAT-ICON = 'X'.                          "NOTE&lt;/P&gt;&lt;P&gt;APPEND gwa_fieldcat TO gt_fieldcat .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLEAR gwa_fieldcat.&lt;/P&gt;&lt;P&gt;gwa_fieldcat-fieldname = 'MESSAGE'.&lt;/P&gt;&lt;P&gt;gwa_fieldcat-seltext_l = 'MESSAGE'.&lt;/P&gt;&lt;P&gt;APPEND gwa_fieldcat TO gt_fieldcat .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jan 2007 11:40:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/query-regarding-alv/m-p/1858942#M362806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-17T11:40:59Z</dc:date>
    </item>
  </channel>
</rss>

