<?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 Programatically releasing a background job by passing authorization. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/programatically-releasing-a-background-job-by-passing-authorization/m-p/10620507#M1863546</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement wherein&amp;nbsp; the End users will have to run a report in background mode because the amount of data is high.&lt;/P&gt;&lt;P&gt;The issue that im facing here is that the end users can schedule a background job but don't have the authorization to release it,&lt;/P&gt;&lt;P&gt;We also cannot assign the authorization to the end users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Could there be a workaround where I can handle it programatically. i.e. If the end users execute that report in background ,we &lt;/P&gt;&lt;P&gt;can schedule and release the report programatically using some others username who has the access/authorization??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me your valuable inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Faiz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Sep 2014 09:32:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-09-15T09:32:19Z</dc:date>
    <item>
      <title>Programatically releasing a background job by passing authorization.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programatically-releasing-a-background-job-by-passing-authorization/m-p/10620507#M1863546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement wherein&amp;nbsp; the End users will have to run a report in background mode because the amount of data is high.&lt;/P&gt;&lt;P&gt;The issue that im facing here is that the end users can schedule a background job but don't have the authorization to release it,&lt;/P&gt;&lt;P&gt;We also cannot assign the authorization to the end users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, Could there be a workaround where I can handle it programatically. i.e. If the end users execute that report in background ,we &lt;/P&gt;&lt;P&gt;can schedule and release the report programatically using some others username who has the access/authorization??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me your valuable inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Faiz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 09:32:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programatically-releasing-a-background-job-by-passing-authorization/m-p/10620507#M1863546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-15T09:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically releasing a background job by passing authorization.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programatically-releasing-a-background-job-by-passing-authorization/m-p/10620508#M1863547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could create a periodic job that get the list of unreleased jobs and modify/release them depending on your exact requirement (&lt;A href="http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4b/26e702f89c74fee10000000a421937/content.htm?current_toc=/en/83/996cec716d42459bd24ddd765cac77/plain.htm&amp;amp;show_children=true"&gt;Background Processing&lt;/A&gt;, &lt;A href="http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4d/95304dd1b83c46e10000000a42189e/content.htm?frameset=/en/4d/906689eba36e73e10000000a15822b/frameset.htm&amp;amp;current_toc=/en/83/996cec716d42459bd24ddd765cac77/plain.htm&amp;amp;node_id=54&amp;amp;show_children=false"&gt;Programming with the Background Processing System (BC-CCM-BTC)&lt;/A&gt;, &lt;A href="http://help.sap.com/saphelp_nw73ehp1/helpdata/en/4d/906689eba36e73e10000000a15822b/content.htm?frameset=/en/4d/906689eba36e73e10000000a15822b/frameset.htm&amp;amp;current_toc=/en/83/996cec716d42459bd24ddd765cac77/plain.htm&amp;amp;node_id=118"&gt;Background Processing Function Modules&lt;/A&gt;.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 09:38:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programatically-releasing-a-background-job-by-passing-authorization/m-p/10620508#M1863547</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-09-15T09:38:07Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically releasing a background job by passing authorization.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programatically-releasing-a-background-job-by-passing-authorization/m-p/10620509#M1863548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Hi Raymond ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per your suggetsion Im trying to execute it in backround however Im getting an error : Maximin number of internal session reached.This possible is due to the recursice calling of the program by itself. How do I handle this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;SUBMIT &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;cprog&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;s_matnr &lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;s_matnr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;s_attr &lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;s_attr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;s_date &lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;s_date&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;s_time &lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;s_time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;s_crby &lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;s_crby&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;s_chdby &lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;s_chdby&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; VIA JOB gv_job &lt;SPAN class="L0S52"&gt;NUMBER &lt;/SPAN&gt;gv_count &lt;SPAN class="L0S52"&gt;AND &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;RETURN&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;TO &lt;/SPAN&gt;SAP&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;SPOOL WITHOUT SPOOL &lt;SPAN class="L0S52"&gt;DYNPRO&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DESTINATION sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;pdest&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMMEDIATELY lc_x&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; KEEP &lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;SPOOL lc_x&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;CALL &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FUNCTION &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'JOB_CLOSE'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;Faiz&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 10:00:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programatically-releasing-a-background-job-by-passing-authorization/m-p/10620509#M1863548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-15T10:00:24Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically releasing a background job by passing authorization.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/programatically-releasing-a-background-job-by-passing-authorization/m-p/10620510#M1863549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Faiz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A simple option can be you define a parameter on selection screen with no-display and when you are scheduling your program via submit simply pass this as X and when you get X just skip this call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Out of curiosity you are scheduling the same program in background?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Sep 2014 10:05:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/programatically-releasing-a-background-job-by-passing-authorization/m-p/10620510#M1863549</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2014-09-15T10:05:06Z</dc:date>
    </item>
  </channel>
</rss>

