<?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: fieldcatalog in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860471#M670818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello srikanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to set gt_fieldcat = 'X' before the function. But it gives me an error that gt_fieldcat is a  table without header line therefore there has no component called HOTSPOT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Sep 2007 11:44:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-28T11:44:56Z</dc:date>
    <item>
      <title>fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860465#M670812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using the code below. Hi can I set the hotspot to 'X'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      i_program_name         = v_repid&lt;/P&gt;&lt;P&gt;      i_internal_tabname     = 'I_REPORT'&lt;/P&gt;&lt;P&gt;      i_inclname             = v_repid&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      ct_fieldcat            = gt_fieldcat[]&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      inconsistent_interface = 1&lt;/P&gt;&lt;P&gt;      program_error          = 2&lt;/P&gt;&lt;P&gt;      OTHERS                 = 3.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;         WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 11:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860465#M670812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-28T11:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860466#M670813</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;See this code sample&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-fieldname   = 'EBELN'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_m   = 'Purchase Order'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos     = 0.&lt;/P&gt;&lt;P&gt;  fieldcatalog-outputlen   = 10.&lt;/P&gt;&lt;P&gt;  fieldcatalog-hotspot   = 'X'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-key         = 'X'.&lt;/P&gt;&lt;P&gt;  fieldcatalog-do_sum      = 'X'.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; fieldcatalog-no_zero     = 'X'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  append fieldcatalog to fieldcatalog.&lt;/P&gt;&lt;P&gt;  clear  fieldcatalog.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;The fieldcatalog type is of slis_...&lt;/P&gt;&lt;P&gt;This condtains the hotspot.&lt;/P&gt;&lt;P&gt;types: begin of slis_fieldcat_alv_spec,&lt;/P&gt;&lt;P&gt;         key_sel(1)     type c,        " field not obligatory&lt;/P&gt;&lt;P&gt;         no_sum(1)      type c,        " do not sum up&lt;/P&gt;&lt;P&gt;         sp_group(4)    type c,        " group specification&lt;/P&gt;&lt;P&gt;         reprep(1)      type c,        " selection for rep/rep&lt;/P&gt;&lt;P&gt;         input(1)       type c,        " input&lt;/P&gt;&lt;P&gt;         edit(1)        type c,        " internal use only&lt;/P&gt;&lt;P&gt;         hotspot(1)     type c,        " hotspot&lt;/P&gt;&lt;P&gt;       end of slis_fieldcat_alv_spec.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;types: begin of slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;include type slis_fieldcat_main.&lt;/P&gt;&lt;P&gt;include type slis_fieldcat_alv_spec.&lt;/P&gt;&lt;P&gt;types: end of slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdevelopment.co.uk/reporting/alv/alvlist_code.htm" target="test_blank"&gt;http://www.sapdevelopment.co.uk/reporting/alv/alvlist_code.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 11:37:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860466#M670813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-28T11:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860467#M670814</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;ya u can do that while creating fieldcat like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  wa_fcat-tabname = 'ITAB'.&lt;/P&gt;&lt;P&gt;  wa_fcat-fieldname = 'MATNR'.&lt;/P&gt;&lt;P&gt;  wa_fcat-seltext_m = 'Material'.&lt;/P&gt;&lt;P&gt;  &amp;lt;b&amp;gt;wa_fcat-hotspot = 'X'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;  APPEND wa_fcat TO t_fcat.&lt;/P&gt;&lt;P&gt;  CLEAR wa_fcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 11:37:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860467#M670814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-28T11:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860468#M670815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi stripes,&lt;/P&gt;&lt;P&gt;the table gt_fieldcat[] has a field called &amp;lt;b&amp;gt;hotspot&amp;lt;/b&amp;gt;. you declare it as 'X'. that will activate the hotspot option. Reward if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 11:40:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860468#M670815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-28T11:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860469#M670816</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 this:&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Read table gt_fieldcat INTO WA_FIELDCAT with key fieldname = 'EBELN'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;   WA_FIELDCAT-HOTSPOT  =  'X'.&lt;/P&gt;&lt;P&gt;   MODIFY GT_Fieldcat from Wa_fieldcat index sy-tabix.&lt;/P&gt;&lt;P&gt;Endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_program_name = v_repid&lt;/P&gt;&lt;P&gt;i_internal_tabname = 'I_REPORT'&lt;/P&gt;&lt;P&gt;i_inclname = v_repid&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;ct_fieldcat = gt_fieldcat[]&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;inconsistent_interface = 1&lt;/P&gt;&lt;P&gt;program_error = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 11:40:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860469#M670816</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-09-28T11:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860470#M670817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To set the hotspot on, you need to create the field catalog in different way:&lt;/P&gt;&lt;P&gt;declare gx_fieldcat and gt_fieldcat.&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;      gt_fieldcat         TYPE slis_t_fieldcat_alv,&lt;/P&gt;&lt;P&gt;      gx_fieldcat         TYPE slis_fieldcat_alv,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;gx_fieldcat-fieldname = &lt;/P&gt;&lt;P&gt;  gx_fieldcat-seltext_s = &lt;/P&gt;&lt;P&gt;  gx_fieldcat-seltext_m =&lt;/P&gt;&lt;P&gt;  gx_fieldcat-seltext_l = &lt;/P&gt;&lt;P&gt;  gx_fieldcat-tabname   =&lt;/P&gt;&lt;P&gt;  gx_fieldcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  APPEND gx_fieldcat TO gt_fieldcat.&lt;/P&gt;&lt;P&gt;  CLEAR gx_fieldcat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 11:43:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860470#M670817</guid>
      <dc:creator>abdulazeez12</dc:creator>
      <dc:date>2007-09-28T11:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860471#M670818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello srikanth,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to set gt_fieldcat = 'X' before the function. But it gives me an error that gt_fieldcat is a  table without header line therefore there has no component called HOTSPOT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 11:44:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860471#M670818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-28T11:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860472#M670819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi White..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to declare a work area for this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Type-pools: SLIS.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Data : WA_fieldcat like line of GT_fieldcat.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read table gt_fieldcat INTO WA_FIELDCAT with key fieldname = 'EBELN'.&lt;/P&gt;&lt;P&gt;IF SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;WA_FIELDCAT-HOTSPOT = 'X'.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;MODIFY GT_Fieldcat from Wa_fieldcat index sy-tabix.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;i_program_name = v_repid&lt;/P&gt;&lt;P&gt;i_internal_tabname = 'I_REPORT'&lt;/P&gt;&lt;P&gt;i_inclname = v_repid&lt;/P&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;ct_fieldcat = gt_fieldcat[]&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;inconsistent_interface = 1&lt;/P&gt;&lt;P&gt;program_error = 2&lt;/P&gt;&lt;P&gt;OTHERS = 3.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 11:48:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860472#M670819</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-09-28T11:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860473#M670820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;stripes,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declare like this,&lt;/P&gt;&lt;P&gt;data : wa_fieldcat type slis_fieldcat_alv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fieldcat-hotspot = 'X'.&lt;/P&gt;&lt;P&gt;append wa_fieldcat to gt_fieldcat.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 11:48:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860473#M670820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-28T11:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: fieldcatalog</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860474#M670821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for everybody. I gave my points for the best posting &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2007 12:04:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fieldcatalog/m-p/2860474#M670821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-28T12:04:27Z</dc:date>
    </item>
  </channel>
</rss>

