<?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: Run time error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913265#M1146895</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I used fm like this&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           = p_tabname&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_BYPASSING_BUFFER           = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_BUFFER_ACTIVE              = 'X'&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;Plz give me advice&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Dec 2008 07:02:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-17T07:02:41Z</dc:date>
    <item>
      <title>Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913263#M1146893</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;It was working properly in 4.6C after upgradation into EEC 6.0 When we excute this ALV Report it is going to dump.&lt;/P&gt;&lt;P&gt;Plz tell me the reason i am attaching screen shot here with,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rror analysis&lt;/P&gt;&lt;P&gt;   An exception occurred that is explained in detail below.&lt;/P&gt;&lt;P&gt;   The exception, which is assigned to class 'CX_SY_READ_SRC_LINE_TOO_LONG', was&lt;/P&gt;&lt;P&gt;    not caught in&lt;/P&gt;&lt;P&gt;   procedure "K_KKB_FIELDCAT_MERGE" "(FUNCTION)", nor was it propagated by a&lt;/P&gt;&lt;P&gt;    RAISING clause.&lt;/P&gt;&lt;P&gt;   Since the caller of the procedure could not have anticipated that the&lt;/P&gt;&lt;P&gt;   exception would occur, the current program is terminated.&lt;/P&gt;&lt;P&gt;   The reason for the exception is:&lt;/P&gt;&lt;P&gt;   There was an attempt to read program "ZFINRR2012" from the database.&lt;/P&gt;&lt;P&gt;   The READ REPORT statement allows you to copy a program text into an&lt;/P&gt;&lt;P&gt;   internal table. The occupied line length in the program text must not&lt;/P&gt;&lt;P&gt;   exceed the width of the internal table.&lt;/P&gt;&lt;P&gt;   The internal table "\FUNCTION=K_KKB_FIELDCAT_MERGE\DATA=L_ABAP_SOURCE[]" is 72&lt;/P&gt;&lt;P&gt;    characters wide. The program line is&lt;/P&gt;&lt;P&gt;   82 characters wide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 06:33:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913263#M1146893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T06:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913264#M1146894</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;Please have a look into this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The internal table "\FUNCTION=K_KKB_FIELDCAT_MERGE\DATA=L_ABAP_SOURCE[]" is 72&lt;/P&gt;&lt;P&gt;characters wide. The program line is&lt;/P&gt;&lt;P&gt;82 characters wide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I think you are calling a new program by using READ REPORT....&lt;/P&gt;&lt;P&gt;When ever we are reading a report, the entire code will be stored in the form of an internal table whose width will be 72 characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So better format your called program to adjust below 72 lines. I think then it will not give any errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 06:38:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913264#M1146894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T06:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913265#M1146895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I used fm like this&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           = p_tabname&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_BYPASSING_BUFFER           = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     I_BUFFER_ACTIVE              = 'X'&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;Plz give me advice&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 07:02:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913265#M1146895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T07:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913266#M1146896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What part of "your code contains lines with at least 82 characters in length but the FM only allow 72 characters" you didnt understand?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 07:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913266#M1146896</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-12-17T07:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913267#M1146897</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;Are you getting any more run time errors ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkatesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 07:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913267#M1146897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T07:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913268#M1146898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;My program code does not contain more than 72 char but comments have more than 72 char eventhough&lt;/P&gt;&lt;P&gt;it will be get dump.&lt;/P&gt;&lt;P&gt;plz give me suggession&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, 17 Dec 2008 07:11:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913268#M1146898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T07:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913269#M1146899</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;Check the settings click the check box Downward Comp Length length 72.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then also use Pretty printer and try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 07:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913269#M1146899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-17T07:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913270#M1146900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; Hi,&lt;/P&gt;&lt;P&gt;&amp;gt; My program code does not contain more than 72 char but comments have more than 72 char eventhough&lt;/P&gt;&lt;P&gt;&amp;gt; it will be get dump.&lt;/P&gt;&lt;P&gt;&amp;gt; plz give me suggession&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; thanks&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are kidding, arent you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, what part of "your code contains sourcelines with 82 chars abut only 72 chars are allowed" you didnt understand?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2008 11:35:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913270#M1146900</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2008-12-17T11:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913271#M1146901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, what have you used in w_repid variable???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 11:43:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913271#M1146901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T11:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913272#M1146902</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;This kind of an error occurs if in your source code you have exceeded the length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cut short all your lines of code to that maximum or still even lesser than that and it will work fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is with creating the Field Catalog using the REUSE_ALV_FIELDCATALOG_MERGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So ensure that all your lines are within the range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even if you build your filed catalog not using this FM it would work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Radhika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 11:10:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913272#M1146902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T11:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: Run time error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913273#M1146903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivas,&lt;/P&gt;&lt;P&gt;I also came across through same run time error, if possible for u , u can try this, copy all your code into another new report and execute it, might be it will work, as it worked for me.&lt;/P&gt;&lt;P&gt;regrds&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2009 11:27:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/run-time-error/m-p/4913273#M1146903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-16T11:27:50Z</dc:date>
    </item>
  </channel>
</rss>

