<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3145470#M747733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;                    i wnat to remove credit price from my alv list from were i can find it out &amp;amp; how to remove it plz help me,plz guide me Gurus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct answers will b appreciated with good ponits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM set_initial_field_catalog.

  DATA: wa_fieldcat TYPE slis_fieldcat_alv.

  FIELD-SYMBOLS: &amp;lt;wa_fieldcat&amp;gt; TYPE slis_fieldcat_alv.

  CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
            i_structure_name       = 'ZOS00090'
       CHANGING
            ct_fieldcat            = tg_fieldcat
       EXCEPTIONS
            inconsistent_interface = 1
            program_error          = 2
            OTHERS                 = 3.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

  LOOP AT tg_fieldcat ASSIGNING &amp;lt;wa_fieldcat&amp;gt;.

    CASE &amp;lt;wa_fieldcat&amp;gt;-fieldname.

      WHEN 'VKORG' OR 'VTWEG' OR 'FKDAT' OR 'NAME1_KUNRG' OR 'BZIRK' OR
           'KONDA' OR 'REGIO' OR 'UMVKZ' OR 'FKLMG' OR 'PRSDT' OR
           'VKBUR' OR 'KVGR1' OR 'KVGR2' OR 'KVGR3' OR 'KVGR4' OR
           'KVGR5' OR 'KNUMV' OR 'VBTYP'.

        &amp;lt;wa_fieldcat&amp;gt;-no_out = 'X'.

    ENDCASE.

    IF &amp;lt;wa_fieldcat&amp;gt;-fieldname(1) = 'Z'.

      &amp;lt;wa_fieldcat&amp;gt;-no_zero = 'X'.

    ENDIF.

  ENDLOOP.

ENDFORM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Dec 2007 09:01:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-14T09:01:01Z</dc:date>
    <item>
      <title>alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3145470#M747733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;                    i wnat to remove credit price from my alv list from were i can find it out &amp;amp; how to remove it plz help me,plz guide me Gurus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct answers will b appreciated with good ponits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
FORM set_initial_field_catalog.

  DATA: wa_fieldcat TYPE slis_fieldcat_alv.

  FIELD-SYMBOLS: &amp;lt;wa_fieldcat&amp;gt; TYPE slis_fieldcat_alv.

  CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
            i_structure_name       = 'ZOS00090'
       CHANGING
            ct_fieldcat            = tg_fieldcat
       EXCEPTIONS
            inconsistent_interface = 1
            program_error          = 2
            OTHERS                 = 3.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.

  LOOP AT tg_fieldcat ASSIGNING &amp;lt;wa_fieldcat&amp;gt;.

    CASE &amp;lt;wa_fieldcat&amp;gt;-fieldname.

      WHEN 'VKORG' OR 'VTWEG' OR 'FKDAT' OR 'NAME1_KUNRG' OR 'BZIRK' OR
           'KONDA' OR 'REGIO' OR 'UMVKZ' OR 'FKLMG' OR 'PRSDT' OR
           'VKBUR' OR 'KVGR1' OR 'KVGR2' OR 'KVGR3' OR 'KVGR4' OR
           'KVGR5' OR 'KNUMV' OR 'VBTYP'.

        &amp;lt;wa_fieldcat&amp;gt;-no_out = 'X'.

    ENDCASE.

    IF &amp;lt;wa_fieldcat&amp;gt;-fieldname(1) = 'Z'.

      &amp;lt;wa_fieldcat&amp;gt;-no_zero = 'X'.

    ENDIF.

  ENDLOOP.

ENDFORM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 09:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3145470#M747733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T09:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3145471#M747734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;  remove the field in the fieldcatalog&lt;/P&gt;&lt;P&gt;then u will not get that field in the output.&lt;/P&gt;&lt;P&gt;  &amp;lt;b&amp;gt;Plzz reward points if it useful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 09:07:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3145471#M747734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T09:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: alv</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3145472#M747735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Fields for the ALV is present in the fieldcatalog.In your case check in tg_fieldcat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shibin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 09:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/3145472#M747735</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-14T09:43:40Z</dc:date>
    </item>
  </channel>
</rss>

