<?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: How can you determine the calling program? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-you-determine-the-calling-program/m-p/2554998#M582240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check   SY-CPROG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jul 2007 13:47:03 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2007-07-23T13:47:03Z</dc:date>
    <item>
      <title>How can you determine the calling program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-you-determine-the-calling-program/m-p/2554997#M582239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know if you want to determine the calling tcode you do sy-tcode but how can I determine what the calling program was?  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an output requirement and, right now, there is an if statement like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;if sy-tcode = 'vf01' or sy-tcode = 'vf02'
perform vf02_routine.
else.
perform va02_routine
endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add a check to see if the calling program was SAPMV60S, is there a way to do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 13:44:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-you-determine-the-calling-program/m-p/2554997#M582239</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T13:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can you determine the calling program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-you-determine-the-calling-program/m-p/2554998#M582240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check   SY-CPROG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RIch Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 13:47:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-you-determine-the-calling-program/m-p/2554998#M582240</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-23T13:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can you determine the calling program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-you-determine-the-calling-program/m-p/2554999#M582241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah, thanks.  I was trying sy-program.  Is there a listing of all sy-#### calls?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Davis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 13:48:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-you-determine-the-calling-program/m-p/2554999#M582241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-23T13:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can you determine the calling program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-you-determine-the-calling-program/m-p/2555000#M582242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/7b/fb96c8882811d295a90000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/7b/fb96c8882811d295a90000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 13:50:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-you-determine-the-calling-program/m-p/2555000#M582242</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2007-07-23T13:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can you determine the calling program?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-you-determine-the-calling-program/m-p/2555001#M582243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;open structure SYST in se11, you will get all SY variables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jul 2007 13:51:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-can-you-determine-the-calling-program/m-p/2555001#M582243</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2007-07-23T13:51:00Z</dc:date>
    </item>
  </channel>
</rss>

