<?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: what is sy-repid? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294364#M500820</link>
    <description>&lt;P&gt;No more a "variable": it's a constant in every program since ABAP 6.10 (~2001), as said in the official documentation &lt;A href="https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/index.htm?file=abennews-610-system.htm#&amp;amp;abap_modification_2@2@"&gt;https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/index.htm?file=abennews-610-system.htm#&amp;amp;abap_modification_2@2&lt;/A&gt;:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;The system field sy-repid is no longer a component of the structure SY in the ABAP program or the 
structured type SYST in ABAP Dictionary. Instead, from Release 6.10, every program contains the 
predefined constants sy-repid and syst-repid, which both contain the name of the current program. 
There are also two predefined types sy-repid and syst-repid. The obsolete type references 
LIKE syst-repid and TYPE sy-repid are, therefore, still possible. &lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 23 Jul 2019 07:06:08 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2019-07-23T07:06:08Z</dc:date>
    <item>
      <title>what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294349#M500805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is sy-repid? Is it predefined constant in ABAP? How can i search for predefined constants?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294349#M500805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T14:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294350#M500806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is a system variable which will hold the value of report name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report test.

write : sy-repid.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can find all these variable in table &amp;lt;b&amp;gt;SYST&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:06:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294350#M500806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T14:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294351#M500807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-repid is a system variable that stores the current program name. all the system variables can be found in the table 'SYST'(tcode se11-&amp;gt;SYST) these variables hold the values at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vidya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:06:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294351#M500807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T14:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294352#M500808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SY-REPID is use for REPORT ID.&lt;/P&gt;&lt;P&gt;These are system commands and can be find in the Structure SYST in SE11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:07:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294352#M500808</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-05-29T14:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294353#M500809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;its an system field.&lt;/P&gt;&lt;P&gt;which gives program id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward the helpful answers&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;shyam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:08:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294353#M500809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T14:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294354#M500810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-repid [system report identifier] is a system variable from which you can find your report program name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:10:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294354#M500810</guid>
      <dc:creator>former_member189631</dc:creator>
      <dc:date>2007-05-29T14:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294355#M500811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi abay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-repid is a system field which contains the current report prg name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can obtain all system fields in SYST structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;goto SE!11 -&amp;gt; in tables -&amp;gt; SYST -&amp;gt; display &lt;/P&gt;&lt;P&gt;then u ll get all system fields in that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;suresh babu aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:10:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294355#M500811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T14:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294356#M500812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sy-Repid is a system field which returns the current program....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294356#M500812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T14:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294357#M500813</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;SY-REPID&lt;/P&gt;&lt;P&gt;Name of the current ABAP program. For externally-called procedures, it is the name of the main program of the procedure. If you pass SY-REPID as an actual parameter to an external procedure, the formal parameter does not contain the name of the caller, but that of the main program of the procedure. To avoid this, assign SY-REPID to an auxiliary variable and use that in the call, or use the system field SY-CPROG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information, please check this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/7b/fb96c8882811d295a90000e8353423/content.htm&lt;/A&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:12:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294357#M500813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T14:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294358#M500814</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;         &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;sy-repid&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt; stores the Name of the current ABAP program. For procedures called externally, name of the framework program of the procedure. &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;sy-repid&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt; when transferring actual parameters to an external procedure, before release 6.10, the formal parameter was not set to the name of the caller, but to the name of the procedure instead. As of release 6.10, sy-repid can be transferred to procedures without help fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this may help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Jitendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:17:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294358#M500814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T14:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294359#M500815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     Sy-repid is nothing but the system variable to return the report name..&lt;/P&gt;&lt;P&gt;This variable is often  used to generate ALV Reports...&lt;/P&gt;&lt;P&gt;If you wanna see all system variable just Goto SE11 and type SYST as table name you will get all the system variables available...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IT IF USEFUL....!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:25:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294359#M500815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T14:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294360#M500816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but i was confused because when i doubleclick the sy-repid, its showing its a predefined constant instead of gng to the syst structure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:31:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294360#M500816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T14:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294361#M500817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What version are you on? I guess since 47 &amp;amp; upward REPID is no longer part of the SYST structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294361#M500817</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2007-05-29T14:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294362#M500818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  yes suresh is righh..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  in 4.6 , if you double click on sy-repid it will take you to SYST structure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in ECC 5.0 try with SY-CPROG  , it will take you to SYST structure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2007 14:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294362#M500818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-29T14:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294363#M500819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------" /&gt;&lt;P&gt;REPORT ZCHKSYREPID.&lt;/P&gt;&lt;P&gt;break-point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;write : / sy-repid, sy-cprog.&lt;/P&gt;&lt;P&gt;submit ZCHKSYREPID2 and return.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM r2 in program ZCHKSYREPID2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------" /&gt;&lt;P&gt;REPORT ZCHKSYREPID2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;write : / sy-repid, sy-cprog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;------ Form r2 -&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;form r2 .&lt;/P&gt;&lt;P&gt;write : / sy-repid, sy-cprog.&lt;/P&gt;&lt;P&gt;endform. " r2&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Sep 2007 18:25:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294363#M500819</guid>
      <dc:creator>aashish_anchlia2</dc:creator>
      <dc:date>2007-09-14T18:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: what is sy-repid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294364#M500820</link>
      <description>&lt;P&gt;No more a "variable": it's a constant in every program since ABAP 6.10 (~2001), as said in the official documentation &lt;A href="https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/index.htm?file=abennews-610-system.htm#&amp;amp;abap_modification_2@2@"&gt;https://help.sap.com/doc/abapdocu_753_index_htm/7.53/en-US/index.htm?file=abennews-610-system.htm#&amp;amp;abap_modification_2@2&lt;/A&gt;:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;The system field sy-repid is no longer a component of the structure SY in the ABAP program or the 
structured type SYST in ABAP Dictionary. Instead, from Release 6.10, every program contains the 
predefined constants sy-repid and syst-repid, which both contain the name of the current program. 
There are also two predefined types sy-repid and syst-repid. The obsolete type references 
LIKE syst-repid and TYPE sy-repid are, therefore, still possible. &lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 23 Jul 2019 07:06:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-sy-repid/m-p/2294364#M500820</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-07-23T07:06:08Z</dc:date>
    </item>
  </channel>
</rss>

