<?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: ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204523#M131768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi write 'itab' as 'ITAB'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u give a standard object in single quotes then always use capital letters otherwise error will come&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards..&lt;/P&gt;&lt;P&gt;Madan Gopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Apr 2006 09:48:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-10T09:48:47Z</dc:date>
    <item>
      <title>ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204515#M131760</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 am trying to create a FM which will handle all the things that are required to create an ALV Grid report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be supplying the data(header data, layout, field catalogue and the actual data to be displayed) required for the FM thru tables. &lt;/P&gt;&lt;P&gt;The function module is working fine when ever I try to use the standard tables like MARA/VBAP etc.., but its failing if I pass any internal table. For this I am using the FM REUSE_ALV_FIELDCATALOG_MERGE to create the catalogue, but the program is going for dump. Can anybody help me in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ganesh Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 09:21:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204515#M131760</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T09:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204516#M131761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u try to pass the internal table name to the structure field of fieldcatalog merge as it is, means, if it is declared as capital letters , then give like that as it is.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 09:23:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204516#M131761</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-04-10T09:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204517#M131762</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 did the same but its failing. one more thing is I coded the whole logic used in the FM in an sample program there its working fine. But when I moved the same to code to the FM its going for dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ganesh Prasanna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 09:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204517#M131762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T09:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204518#M131763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then, dont copy and paste the fn module from any program, just delete the whole fn module and call it again and check once again the name of the internal table is same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 09:30:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204518#M131763</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-04-10T09:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204519#M131764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'REUSE_ALV_FIELDCATALOG_MERGE'
 EXPORTING
  &amp;lt;b&amp;gt; I_PROGRAM_NAME               = sy-repid&amp;lt;/b&amp;gt;
  &amp;lt;b&amp;gt; I_INTERNAL_TABNAME           = 'ITAB'&amp;lt;/b&amp;gt;
   &amp;lt;b&amp;gt;I_INCLNAME                   = sy-repid&amp;lt;/b&amp;gt;
  changing
    ct_fieldcat                  = IT_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.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the above code in BOld is must,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 09:31:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204519#M131764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T09:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204520#M131765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FUNCTION YGTEST.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Local Interface:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(STRUC_TYPE) TYPE  DD02L-TABNAME OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(PROGRAM_NAME) LIKE  SY-REPID OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(ITABNAME) TYPE  SLIS_TABNAME OPTIONAL&lt;/P&gt;&lt;P&gt;*"     VALUE(INCLUDE_NAME) LIKE  TRDIR-NAME OPTIONAL&lt;/P&gt;&lt;P&gt;*"  TABLES&lt;/P&gt;&lt;P&gt;*"      OUTTAB&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;HR originaltext="-----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : fieldcat type SLIS_T_FIELDCAT_ALV,&lt;/P&gt;&lt;P&gt;       &lt;/P&gt;&lt;P&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               = PROGRAM_NAME&lt;/P&gt;&lt;P&gt;   I_INTERNAL_TABNAME           = ITABNAME&lt;/P&gt;&lt;P&gt;   I_CLIENT_NEVER_DISPLAY       = 'X'&lt;/P&gt;&lt;P&gt;   I_INCLNAME                   = PROGRAM_NAME&lt;/P&gt;&lt;P&gt;  CHANGING&lt;/P&gt;&lt;P&gt;    ct_fieldcat                  = 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 &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;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;           I_CALLBACK_PROGRAM       = sy-repid&lt;/P&gt;&lt;P&gt;           I_CALLBACK_USER_COMMAND  = 'USER_COMMAND_L'&lt;/P&gt;&lt;P&gt;           IT_FIELDCAT              = fieldcat&lt;/P&gt;&lt;P&gt;           I_SAVE                   = 'A'&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            T_OUTTAB                 = outtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my FM code. Correct me if I am doing anything wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 09:34:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204520#M131765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T09:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204521#M131766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;itabname should be given in single quotes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 09:36:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204521#M131766</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-04-10T09:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204522#M131767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CALL FUNCTION 'YGTEST'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; STRUC_TYPE         =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   PROGRAM_NAME       = id&lt;/P&gt;&lt;P&gt;   ITABNAME           = 'itab'&lt;/P&gt;&lt;P&gt;   INCLUDE_NAME       = id&lt;/P&gt;&lt;P&gt;  TABLES&lt;/P&gt;&lt;P&gt;    outtab             = ITAB .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how I call the FM in my program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab is declared in small letters only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 09:38:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204522#M131767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T09:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204523#M131768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi write 'itab' as 'ITAB'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u give a standard object in single quotes then always use capital letters otherwise error will come&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards..&lt;/P&gt;&lt;P&gt;Madan Gopal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 09:48:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204523#M131768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T09:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204524#M131769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An exception occurred. This exception is dealt with in more detail below. The exception, which is assigned to the class 'CX_SY_READ_SRC_LINE_TOO_LONG', was neither caught nor passed along using a RAISING clause, in the procedure "K_KKB_FIELDCAT_MERGE" "(FUNCTION)".                                                                    &lt;/P&gt;&lt;P&gt;Since the caller of the procedure could not have expected this exception to occur, the running program was terminated. The reason for the exception is:                                                      You tried to read the program "YGALVTEST" from the database. The READ REPORT statement allows you to copy a program's source code into an internal table. The lines of source code must not be longer than the width of the internal table. The internal table is 72 characters wide. The source code line is 87 wide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABOVE IS THE ERROR ANALYSIS WHICH I GOT WHEN I EXECUTED THE PROGRAM IN WHICH I HAVE CALLED MY FM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 10:08:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204524#M131769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T10:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204525#M131770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got it, there are lines in your program(which you are passing) is more than 72 chars length, try to reduce them by making them to two lines instead of one big line code.&lt;/P&gt;&lt;P&gt;then it won't dump.&lt;/P&gt;&lt;P&gt;check it.&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;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 10:17:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204525#M131770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T10:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204526#M131771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vijay,&lt;/P&gt;&lt;P&gt;  I dont have any code with line size greater than 72. &lt;/P&gt;&lt;P&gt;  Just now I checked the whole code.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 10:23:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204526#M131771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T10:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204527#M131772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;while calling 'REUSE_FIELDCATLOG_MERGE' as u copied and pasted above , i observe that u havent put ITABNAME in quotes, pls check once&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 10:27:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204527#M131772</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2006-04-10T10:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204528#M131773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok in the program you don't have a code lines more than 72 chars. but you may have comment lines more than 72 chars. once we faced the same issue.&lt;/P&gt;&lt;P&gt;may be comment line is more&lt;/P&gt;&lt;P&gt;**************************"this is more than 72check it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;P&gt;&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;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 10:31:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204528#M131773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T10:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204529#M131774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ganesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  In ur FM u r calling 'REUSE_ALV_LIST_DISPLAY' , in that change the sy-repid to PROGRAM_NAME and check out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;I_CALLBACK_PROGRAM = &amp;lt;b&amp;gt;PROGRAM_NAME&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;I_CALLBACK_USER_COMMAND = 'USER_COMMAND_L'&lt;/P&gt;&lt;P&gt;IT_FIELDCAT = fieldcat&lt;/P&gt;&lt;P&gt;I_SAVE = 'A'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;T_OUTTAB = outtab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFUNCTION.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 10:36:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv/m-p/1204529#M131774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-10T10:36:14Z</dc:date>
    </item>
  </channel>
</rss>

