<?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: Regarding Finding the Z program name when processing session in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-finding-the-z-program-name-when-processing-session/m-p/7352947#M1540905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try SY-BATCH field check in your F-04 enhancement. If SY-BATCH field is not initial that means F-04 is running in background session assuming being called from your custom BDC program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Pranav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Oct 2010 15:46:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-22T15:46:44Z</dc:date>
    <item>
      <title>Regarding Finding the Z program name when processing session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-finding-the-z-program-name-when-processing-session/m-p/7352945#M1540903</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;I have a BDC program which creates a session in SM35.In Bdc program we have used the tcode F-04.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an requirement that when I pass an FI Document to F-04 it ll display all line items under  that document and if same document number present for other year which are not cleared are also get displayed.So i have to restrict it to current year and enhancement for same is done.But this functionality should carry out only if transaction is called by Z program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, can anyone help me with giving logic to find the Z program name from which session is created while processing it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards,&lt;/P&gt;&lt;P&gt;Sneha Kumari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 11:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-finding-the-z-program-name-when-processing-session/m-p/7352945#M1540903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T11:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Finding the Z program name when processing session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-finding-the-z-program-name-when-processing-session/m-p/7352946#M1540904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you mark a document header field or a document text from the Z-program and read the value in the enhancement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 15:25:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-finding-the-z-program-name-when-processing-session/m-p/7352946#M1540904</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-10-22T15:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Finding the Z program name when processing session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-finding-the-z-program-name-when-processing-session/m-p/7352947#M1540905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try SY-BATCH field check in your F-04 enhancement. If SY-BATCH field is not initial that means F-04 is running in background session assuming being called from your custom BDC program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Pranav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 15:46:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-finding-the-z-program-name-when-processing-session/m-p/7352947#M1540905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-22T15:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding Finding the Z program name when processing session</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-finding-the-z-program-name-when-processing-session/m-p/7352948#M1540906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try SY-BATCH field check in your F-04 enhancement. If SY-BATCH field is not initial that means F-04 is running in background session assuming being called from your custom BDC program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's a bad assumption - and what happens if the user runs the session in foreground?  SY-BINPT is much better but still not a good idea...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Oct 2010 15:57:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-finding-the-z-program-name-when-processing-session/m-p/7352948#M1540906</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2010-10-22T15:57:16Z</dc:date>
    </item>
  </channel>
</rss>

