<?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: Programes with no tcodes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066665#M1177185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just want to point out that even if there is no transaction code assigned directly to a report, it does not mean that this report is not used in any transaction. It might be called dynamically by another report. I ran into this situation a couple of times.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Feb 2009 22:21:16 GMT</pubDate>
    <dc:creator>Jelena_Perfiljeva</dc:creator>
    <dc:date>2009-02-05T22:21:16Z</dc:date>
    <item>
      <title>Programes with no tcodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066660#M1177180</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; Can you please tell me how can I get the list of all the custom programes those who have no Tcodes assigned to them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, &lt;/P&gt;&lt;P&gt;Rajeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 22:05:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066660#M1177180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-05T22:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Programes with no tcodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066661#M1177181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do a select on TSTC with program name, if it fails then there's no TCODE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 22:14:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066661#M1177181</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-05T22:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: Programes with no tcodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066662#M1177182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One way I can think of is read all data from TRDIR in one internal table for Z Programs and from TSTC in another program then compare and delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For alternates refer this -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Total Questions:  249 (84 unresolved)  &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are reminded so many times about this earlier also......alas!!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 22:16:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066662#M1177182</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2009-02-05T22:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Programes with no tcodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066663#M1177183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In table TADIR with OBJECT = 'PROG' you have all the programs, if this program isn't in table TSTC then don´t have TCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 22:18:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066663#M1177183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-05T22:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Programes with no tcodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066664#M1177184</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 this program..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: t_trdir TYPE STANDARD TABLE OF trdir,
      t_tstc  TYPE STANDARD TABLE OF tstc,
      s_trdir TYPE trdir.

SELECT * FROM trdir
       INTO TABLE t_trdir
       WHERE ( name LIKE 'Z%' OR name LIKE 'Y%' )
       AND   subc = '1'.

SELECT * FROM tstc
       INTO TABLE t_tstc
       WHERE tcode LIKE 'Z%' OR tcode LIKE 'Y%'.
SORT t_tstc BY pgmna.

WRITE: / 'List of programs with no tcodes'.
SKIP 1.

LOOP AT t_trdir INTO s_trdir.
  READ TABLE t_tstc
             TRANSPORTING NO FIELDS
             WITH KEY pgmna = s_trdir-name.
  IF sy-subrc &amp;lt;&amp;gt; 0.
    WRITE: / s_trdir-name.
  ENDIF.
ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 22:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066664#M1177184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-05T22:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Programes with no tcodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066665#M1177185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just want to point out that even if there is no transaction code assigned directly to a report, it does not mean that this report is not used in any transaction. It might be called dynamically by another report. I ran into this situation a couple of times.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 22:21:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066665#M1177185</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2009-02-05T22:21:16Z</dc:date>
    </item>
    <item>
      <title>Re: Programes with no tcodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066666#M1177186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot for the solution Naren.... I have got one more query where i need to get the list of all the t-codes that doesn't have any program name and for this I have written the following code with your help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: t_tstct TYPE STANDARD TABLE OF tstct,&lt;/P&gt;&lt;P&gt;      t_tstc  TYPE STANDARD TABLE OF tstc,&lt;/P&gt;&lt;P&gt;      s_tstct TYPE tstct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM tstct&lt;/P&gt;&lt;P&gt;       INTO TABLE t_tstct&lt;/P&gt;&lt;P&gt;       WHERE ( tcode LIKE 'Z%' OR tcode LIKE 'Y%' ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM tstc&lt;/P&gt;&lt;P&gt;       INTO TABLE t_tstc&lt;/P&gt;&lt;P&gt;       WHERE tcode LIKE 'Z%' OR tcode LIKE 'Y%'&lt;/P&gt;&lt;P&gt;       AND pgmna = ' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*SORT t_tstc BY pgmna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'List of tcodes with no program names'.&lt;/P&gt;&lt;P&gt;SKIP 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_tstct INTO s_tstct.&lt;/P&gt;&lt;P&gt;  READ TABLE t_tstc&lt;/P&gt;&lt;P&gt;             TRANSPORTING NO FIELDS&lt;/P&gt;&lt;P&gt;             WITH KEY tcode = s_tstct-tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc  = 0.&lt;/P&gt;&lt;P&gt;    WRITE: / s_tstct-tcode.&lt;/P&gt;&lt;P&gt;   SKIP 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   WRITE: / s_tstct-ttext.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but somehow the program is skippinjg the condition where I have put that if the tstc-pgmna = ' ' " (space )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and it's pulling all the custom codes irrespective if there is any program name attached to it or not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please tell me... where I am doing it wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks, &lt;/P&gt;&lt;P&gt;Rajeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 02:46:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066666#M1177186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-06T02:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Programes with no tcodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066667#M1177187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM tstc
INTO TABLE t_tstc
WHERE tcode LIKE 'Z%' OR tcode LIKE 'Y%'
AND pgmna = space.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 03:40:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066667#M1177187</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-02-06T03:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Programes with no tcodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066668#M1177188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jay, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THanks for the reply.... but it's still behaving in the same way... do you have any idea what might be wrong !!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rajeev&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 03:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066668#M1177188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-06T03:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Programes with no tcodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066669#M1177189</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;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM tstc
INTO TABLE t_tstc
WHERE (tcode LIKE 'Z%' OR tcode LIKE 'Y%')
AND pgmna = space.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Surinder&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 04:31:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066669#M1177189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-06T04:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Programes with no tcodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066670#M1177190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM tstc
INTO TABLE t_tstc
WHERE tcode LIKE 'Z%'
  OR tcode LIKE 'Y%'
AND pgmna = space
  AND cinfo = '00' .&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 16:17:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066670#M1177190</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2009-02-06T16:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Programes with no tcodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066671#M1177191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;DEL&gt;Rajeev is looking for programs without a tcode, not tcodes without a program&lt;/DEL&gt; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, I see now that the question switched half way down. Perhaps Rajeev is massaging the requirement... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Feb 6, 2009 7:08 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 18:06:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066671#M1177191</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-06T18:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Programes with no tcodes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066672#M1177192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change the where clause in the 2nd select.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT * FROM tstc
INTO TABLE t_tstc
*WHERE ( tcode LIKE 'Z%' OR tcode LIKE 'Y%' )*
AND pgmna = ' '.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But why do you need a Program as SE16/SE16N on TSTC would give the result ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suresh Datti on Feb 6, 2009 7:19 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Feb 2009 18:14:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programes-with-no-tcodes/m-p/5066672#M1177192</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2009-02-06T18:14:52Z</dc:date>
    </item>
  </channel>
</rss>

