<?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 to find program name from session name ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877862#M51067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey have u find out to backtrack the program's name from the BDC's session?&lt;/P&gt;&lt;P&gt;I was trying to get the program's name but unable to find one. Looked into APQI table too. Also, looked into TBTCP table but of no use. Can u suggest smthing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Dec 2006 09:23:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-29T09:23:34Z</dc:date>
    <item>
      <title>How to find program name from session name ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877856#M51061</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;We are converting the session names in production system as it is open to all and we are going to restrict it to users .So we have to convert the name of the session .This is our need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For that we are preparing one excel sheet with the new session which we are going to rename and for renaming we need the program name . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only I am having the session name in SM35 .with that I have to find the prgm name from which the session is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will be a creation prgm in sm35 but it will  not be the orginal prgm from which the session is created. Sometimes it will be the same prgm which created the session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we run one &amp;#145;Z&amp;#146; prgm for eg, I am running ZFCBSINT , it will submit to some other prgm and it will create the session with the created prgm name RFBIBL01. Now I want the first prgm name &amp;#133;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any way to get the original program name say ZFCBSINT in our case ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kavitha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 09:08:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877856#M51061</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-07T09:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to find program name from session name ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877857#M51062</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 in Table APQI &amp;amp; D0300, you may find the link between the session name &amp;amp; the program created the session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  If this helps please close the question by giving reward points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 09:40:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877857#M51062</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-07T09:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to find program name from session name ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877858#M51063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is not resolved . I couldn't get the original program name from the above table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 09:56:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877858#M51063</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-07T09:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to find program name from session name ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877859#M51064</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;  Can you please elaborate on your requirement, I am able to get the original program name using the table APQI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  For ex. if you use a program ZBDC ( Which has an include bdcrecx1 )and create the session by name Rose after executing you will find an entry in table APQI, the field for session name is Groupid &amp;amp; the field for program name is progid, get back for further clarifications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 10:30:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877859#M51064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-07T10:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to find program name from session name ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877860#M51065</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;If this concern only your Z* programs you can modify them and store association of session names with programs in custom db table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Krzys&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 10:31:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877860#M51065</guid>
      <dc:creator>krzysztof_konitz4</dc:creator>
      <dc:date>2005-06-07T10:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to find program name from session name ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877861#M51066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kavitha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have never thought about this before, but your question has been quite clear. Especially your example part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now consider this a little more clearly...There's a Z-program of yours (let's call it Program A) from which you are calling another program (may or may not be a standard program). Let us call this one Program B. When you SUMBIT program B from A, then inside program B can you find out the name of the program A? The answer is No! (sy-cprog does not work in this case).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So even if you are not preparing the batch input session in program B, there's no way of keeping track of the name of the Program A automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if program B is a Z-Program, then you can write the code in it to fetch the name of program A using the memory IDs. but if it is a standard program that you are submitting, then you will not have this option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the best thing is to keep a track of this yourself, for example in some Z-table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot think of anything more elegant for now. Let us see if some one has got a better idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jun 2005 10:34:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877861#M51066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-07T10:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to find program name from session name ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877862#M51067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey have u find out to backtrack the program's name from the BDC's session?&lt;/P&gt;&lt;P&gt;I was trying to get the program's name but unable to find one. Looked into APQI table too. Also, looked into TBTCP table but of no use. Can u suggest smthing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Dec 2006 09:23:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-find-program-name-from-session-name/m-p/877862#M51067</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-29T09:23:34Z</dc:date>
    </item>
  </channel>
</rss>

