<?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: Calling program name. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633329#M605658</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;Please check SY-REPID and SY-CALLD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it doesn't work then perhaps you can use EXPORT/IMPORT TO/FROM MEMORY statement.&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, 24 Jul 2007 15:26:56 GMT</pubDate>
    <dc:creator>ferry_lianto</dc:creator>
    <dc:date>2007-07-24T15:26:56Z</dc:date>
    <item>
      <title>Calling program name.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633326#M605655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have called a program A from many programs say B and C.&lt;/P&gt;&lt;P&gt;In the the called program B, I have to find from which program it has been called either B or C?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any systenm field or way to find out?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 15:19:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633326#M605655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T15:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calling program name.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633327#M605656</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;Please check ABAP system field SY-CPROG.&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, 24 Jul 2007 15:23:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633327#M605656</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-07-24T15:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Calling program name.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633328#M605657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No sy-CPORG gives the called program name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 15:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633328#M605657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T15:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Calling program name.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633329#M605658</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;Please check SY-REPID and SY-CALLD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it doesn't work then perhaps you can use EXPORT/IMPORT TO/FROM MEMORY statement.&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, 24 Jul 2007 15:26:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633329#M605658</guid>
      <dc:creator>ferry_lianto</dc:creator>
      <dc:date>2007-07-24T15:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calling program name.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633330#M605659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check with :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-CALLD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X if the program was started using CALL TRANSACTION, CALL DIALOG, or SUBMIT &amp;#133; [AND RETURN]. Space if the program was started using LEAVE TO TRANSACTION or using a transaction code from a screen. SY-CALLD is always space when a batch input session is being processed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-CPROG&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The name of the calling program in an external routine, otherwise the name of the current program. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess if want to have calling program then you need pass the program name expliciltly in perform routine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any way check with below link:&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;To find out at runtime if a program is running as a called program, use the system variable sy-calld&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Seshu Maramreddy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Seshu Maramreddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 15:30:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633330#M605659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T15:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calling program name.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633331#M605660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you use SET PARAMETER ID with program name before call program C?.  And after this you can get name with GET PARAMETER ID&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 15:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633331#M605660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T15:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Calling program name.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633332#M605661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why do you use SET PARAMETER ID with program name before call program C?.  And after this you can get name with GET PARAMETER ID&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Jul 2007 15:37:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/calling-program-name/m-p/2633332#M605661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-24T15:37:04Z</dc:date>
    </item>
  </channel>
</rss>

