<?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: Explain: Why we need Tcode for ALV report? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194610#M1375136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Khanh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the values for v_repid and v_incl, i guess here you are passing the wrong names. you can directly pass sy-repid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Sep 2009 08:57:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-25T08:57:50Z</dc:date>
    <item>
      <title>Explain: Why we need Tcode for ALV report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194601#M1375127</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 copied one of my ALV report to a local program to add one more column into ALV display.&lt;/P&gt;&lt;P&gt;+ When I tested my local program I used F8 to run directly my report - I CAN NOT see my added column.&lt;/P&gt;&lt;P&gt;+ If I created a Tcode for my local program and ran it from Tcode - The added column is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain for me the reason why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khanh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 06:35:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194601#M1375127</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T06:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Explain: Why we need Tcode for ALV report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194602#M1375128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested carefully and found that my new column is only displayed in the local program if:&lt;/P&gt;&lt;P&gt;  + I create a TCode for my local program&lt;/P&gt;&lt;P&gt;  + I have to run this report using this Tcode at least one time (after that my new column will always be displayed)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khanh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 07:03:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194602#M1375128</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T07:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Explain: Why we need Tcode for ALV report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194603#M1375129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no difference between calling a report by SE38 or by a transaction code that calls the same report.&lt;/P&gt;&lt;P&gt;The transaction code is like a short cut for that report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe the problem has to do with activating/generating the code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Hans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 08:30:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194603#M1375129</guid>
      <dc:creator>h_senden2</dc:creator>
      <dc:date>2009-09-25T08:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Explain: Why we need Tcode for ALV report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194604#M1375130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Senden,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree with you that TCode is just the shortcut for the program but my case is a bit different:&lt;/P&gt;&lt;P&gt;I debugged and found that my report used FM &lt;STRONG&gt;REUSE_ALV_FIELDCATALOG_MERGE&lt;/STRONG&gt; to build field cat. &lt;/P&gt;&lt;P&gt;If no Tcode is created and run for this report at least one time this FM can not generate the new column in output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still don't know the reason why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khanh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 08:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194604#M1375130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T08:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Explain: Why we need Tcode for ALV report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194605#M1375131</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;there is no difference using SE38 or by Tcode.... We create transaction codes inorder to go directly to the selection screen, instead of typing the program name and executing it which is not needed for endusers....also tcode gives easy navigation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagarak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 08:48:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194605#M1375131</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2009-09-25T08:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Explain: Why we need Tcode for ALV report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194606#M1375132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you please show how you are calling the FM fieldcat merge?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 08:50:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194606#M1375132</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T08:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Explain: Why we need Tcode for ALV report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194607#M1375133</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;Have u passed the program name correctly...when u copy a program , please see the REPORT program name is ur copied one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use SY-CPROG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 08:51:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194607#M1375133</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2009-09-25T08:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Explain: Why we need Tcode for ALV report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194608#M1375134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mishra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code to call the FM&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
       EXPORTING
            i_program_name         = v_repid
            i_internal_tabname     = v_tab
            i_inclname             = v_incl
       CHANGING
            ct_fieldcat            = i_field[]
       EXCEPTIONS
            inconsistent_interface = 0
            program_error          = 0
            OTHERS                 = 0.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where: v_tab stores the name of output internal table&lt;/P&gt;&lt;P&gt;            v_repid stores the name of my report&lt;/P&gt;&lt;P&gt;            v_incl stores the name of the include (here the include name and program name are the same)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khanh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 08:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194608#M1375134</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T08:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Explain: Why we need Tcode for ALV report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194609#M1375135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you have to pass sy-repid in include name and program of that FM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 08:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194609#M1375135</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T08:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Explain: Why we need Tcode for ALV report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194610#M1375136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Khanh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;see the values for v_repid and v_incl, i guess here you are passing the wrong names. you can directly pass sy-repid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 08:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194610#M1375136</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T08:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: Explain: Why we need Tcode for ALV report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194611#M1375137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Before calling the FM I also add the new column in I_FINAL definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;v_tab = 'I_FINAL'.

*

MOVE sy-repid TO : v_repid,
                     v_incl.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is not at passing parameters. All are correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Khanh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 09:01:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194611#M1375137</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T09:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Explain: Why we need Tcode for ALV report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194612#M1375138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;and the v_tab has the new table columns?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Sep 2009 09:05:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194612#M1375138</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-25T09:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Explain: Why we need Tcode for ALV report?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194613#M1375139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Closed.&lt;/P&gt;&lt;P&gt;Not answered.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Sep 2009 04:14:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/explain-why-we-need-tcode-for-alv-report/m-p/6194613#M1375139</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-28T04:14:20Z</dc:date>
    </item>
  </channel>
</rss>

