<?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 ERROR in Function Module Fieldcatlog Merge . in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-error-in-function-module-fieldcatlog-merge/m-p/6437591#M1411840</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;I have added 2 more fileds in internral table . this is alv report there is no syntax error .&lt;/P&gt;&lt;P&gt;i have user function module &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 = w_repid&lt;/P&gt;&lt;P&gt;i_internal_tabname = 'T_BSIK'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I_STRUCTURE_NAME =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I_CLIENT_NEVER_DISPLAY = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i_inclname = w_repid&lt;/P&gt;&lt;P&gt;i_bypassing_buffer = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I_BUFFER_ACTIVE =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;ct_fieldcat = T_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;.&lt;/P&gt;&lt;P&gt;IF sy-subrc 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;LOOP AT t_fieldcat INTO wa_fieldcat.&lt;/P&gt;&lt;P&gt;CASE wa_fieldcat-fieldname.&lt;/P&gt;&lt;P&gt;WHEN 'ZFBDT'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-key = ''.&lt;/P&gt;&lt;P&gt;wa_fieldcat-reptext_ddic = 'Net Due Dt.'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-seltext_l = 'Net Due Dt.'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-seltext_m = 'Net Due Dt.'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-seltext_s = 'Net Due Dt.'.&lt;/P&gt;&lt;P&gt;WHEN 'KUNNR'.&lt;/P&gt;&lt;P&gt;IF p_kunnr IS INITIAL.&lt;/P&gt;&lt;P&gt;wa_fieldcat-no_out = 'X'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;WHEN 'LIFNR'.&lt;/P&gt;&lt;P&gt;IF NOT p_kunnr IS INITIAL.&lt;/P&gt;&lt;P&gt;wa_fieldcat-no_out = 'X'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'SHKZG'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-no_out = 'X'.&lt;/P&gt;&lt;P&gt;WHEN 'ZBD1T'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-no_out = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'BELNR'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-key = 'X'.&lt;/P&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;wa_fieldcat-key = ''.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;MODIFY t_fieldcat FROM wa_fieldcat.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;I am getting error on that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR is : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Internal table "\UNCTION= K_KKB_FIELDCAT_MERGE\DATA=L_ABAP_SOURCE[]" IS 72 CHARACTERS Wide&lt;/P&gt;&lt;P&gt;.the program line is 79 characters wide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Dec 2009 09:34:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-12-14T09:34:39Z</dc:date>
    <item>
      <title>ALV ERROR in Function Module Fieldcatlog Merge .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-error-in-function-module-fieldcatlog-merge/m-p/6437591#M1411840</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;I have added 2 more fileds in internral table . this is alv report there is no syntax error .&lt;/P&gt;&lt;P&gt;i have user function module &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 = w_repid&lt;/P&gt;&lt;P&gt;i_internal_tabname = 'T_BSIK'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I_STRUCTURE_NAME =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I_CLIENT_NEVER_DISPLAY = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;i_inclname = w_repid&lt;/P&gt;&lt;P&gt;i_bypassing_buffer = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;I_BUFFER_ACTIVE =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;CHANGING&lt;/P&gt;&lt;P&gt;ct_fieldcat = T_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;.&lt;/P&gt;&lt;P&gt;IF sy-subrc 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;LOOP AT t_fieldcat INTO wa_fieldcat.&lt;/P&gt;&lt;P&gt;CASE wa_fieldcat-fieldname.&lt;/P&gt;&lt;P&gt;WHEN 'ZFBDT'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-key = ''.&lt;/P&gt;&lt;P&gt;wa_fieldcat-reptext_ddic = 'Net Due Dt.'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-seltext_l = 'Net Due Dt.'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-seltext_m = 'Net Due Dt.'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-seltext_s = 'Net Due Dt.'.&lt;/P&gt;&lt;P&gt;WHEN 'KUNNR'.&lt;/P&gt;&lt;P&gt;IF p_kunnr IS INITIAL.&lt;/P&gt;&lt;P&gt;wa_fieldcat-no_out = 'X'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;WHEN 'LIFNR'.&lt;/P&gt;&lt;P&gt;IF NOT p_kunnr IS INITIAL.&lt;/P&gt;&lt;P&gt;wa_fieldcat-no_out = 'X'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'SHKZG'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-no_out = 'X'.&lt;/P&gt;&lt;P&gt;WHEN 'ZBD1T'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-no_out = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN 'BELNR'.&lt;/P&gt;&lt;P&gt;wa_fieldcat-key = 'X'.&lt;/P&gt;&lt;P&gt;WHEN OTHERS.&lt;/P&gt;&lt;P&gt;wa_fieldcat-key = ''.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;MODIFY t_fieldcat FROM wa_fieldcat.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;I am getting error on that. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR is : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Internal table "\UNCTION= K_KKB_FIELDCAT_MERGE\DATA=L_ABAP_SOURCE[]" IS 72 CHARACTERS Wide&lt;/P&gt;&lt;P&gt;.the program line is 79 characters wide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 09:34:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-error-in-function-module-fieldcatlog-merge/m-p/6437591#M1411840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-14T09:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: ALV ERROR in Function Module Fieldcatlog Merge .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-error-in-function-module-fieldcatlog-merge/m-p/6437592#M1411841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chandra,&lt;/P&gt;&lt;P&gt;For ALV reports the length should not be greater than 72. (please change the same)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also achive the same &lt;/P&gt;&lt;P&gt;Goto SE38&lt;/P&gt;&lt;P&gt;Open your program in edit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Utilities --&amp;gt; Settings --&amp;gt; Set "Downwards-Comp Line Length" falg to X and save. (This wil auotmatically set ur code to 72 chars)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Nag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 09:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-error-in-function-module-fieldcatlog-merge/m-p/6437592#M1411841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-12-14T09:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: ALV ERROR in Function Module Fieldcatlog Merge .</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-error-in-function-module-fieldcatlog-merge/m-p/6437593#M1411842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;'REUSE_ALV_FIELDCATALOG_MERGE' is scanning source code and reading all definitions. So if you want to use this function module all lines in your source code should be less or equal to 72 character (old abap editor value)/ &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gungor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Dec 2009 09:39:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-error-in-function-module-fieldcatlog-merge/m-p/6437593#M1411842</guid>
      <dc:creator>former_member194416</dc:creator>
      <dc:date>2009-12-14T09:39:58Z</dc:date>
    </item>
  </channel>
</rss>

