<?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: Execute K_BATCH_REQUEST function with another user in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-k-batch-request-function-with-another-user/m-p/8392965#M1644104</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose the FM signature looks like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION ztest.
*"----------------------------------------------------------------------
*"*"Interface locale :
*"  IMPORTING
*"     REFERENCE(PAR1) TYPE  C
*"  TABLES
*"      TAB1 STRUCTURE MARA
*"----------------------------------------------------------------------&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;A wrapper program could look like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ztestwrapper.
TYPES tmara TYPE mara OCCURS 10.
* no-display allows much more flexibility here
PARAMETERS: par1 TYPE c NO-DISPLAY,
            tab1 TYPE tmara NO-DISPLAY. 
CALL FUNCTION 'ZTEST'
  EXPORTING
    par1 = par1
  TABLES
    tab1 = tab1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;For the scheduling of the job read [Task Overview: Full-Control Job Scheduling|http://help.sap.com/saphelp_470/helpdata/en/fa/096cf2543b11d1898e0000e8322d00/frameset.htm]&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, 14 Nov 2011 15:14:02 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2011-11-14T15:14:02Z</dc:date>
    <item>
      <title>Execute K_BATCH_REQUEST function with another user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-k-batch-request-function-with-another-user/m-p/8392962#M1644101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I would like to execute the function K_BATCH_REQUEST with another user-name (a batch name) but I do not found any option to execute this function with another user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone can help me ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;lt;removed by moderator&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks a lot in advance for your help.&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Nov 14, 2011 3:02 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 13:55:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-k-batch-request-function-with-another-user/m-p/8392962#M1644101</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-14T13:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Execute K_BATCH_REQUEST function with another user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-k-batch-request-function-with-another-user/m-p/8392963#M1644102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can schedule jobs to run under a different user ID (if you have the authorization to do so), so you could create a wrapper program that calls this function module and schedule it as a background job.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 14:04:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-k-batch-request-function-with-another-user/m-p/8392963#M1644102</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-11-14T14:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: Execute K_BATCH_REQUEST function with another user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-k-batch-request-function-with-another-user/m-p/8392964#M1644103</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;I am new in abap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understand well, if I execute this function in a wrapper program, I can execute this function with another user BUT,&lt;/P&gt;&lt;P&gt;What is a wrapper program ?&lt;/P&gt;&lt;P&gt;How do I execute a function in this program ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tx for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Nov 2011 14:16:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-k-batch-request-function-with-another-user/m-p/8392964#M1644103</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-14T14:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Execute K_BATCH_REQUEST function with another user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/execute-k-batch-request-function-with-another-user/m-p/8392965#M1644104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose the FM signature looks like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FUNCTION ztest.
*"----------------------------------------------------------------------
*"*"Interface locale :
*"  IMPORTING
*"     REFERENCE(PAR1) TYPE  C
*"  TABLES
*"      TAB1 STRUCTURE MARA
*"----------------------------------------------------------------------&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;A wrapper program could look like&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ztestwrapper.
TYPES tmara TYPE mara OCCURS 10.
* no-display allows much more flexibility here
PARAMETERS: par1 TYPE c NO-DISPLAY,
            tab1 TYPE tmara NO-DISPLAY. 
CALL FUNCTION 'ZTEST'
  EXPORTING
    par1 = par1
  TABLES
    tab1 = tab1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;For the scheduling of the job read [Task Overview: Full-Control Job Scheduling|http://help.sap.com/saphelp_470/helpdata/en/fa/096cf2543b11d1898e0000e8322d00/frameset.htm]&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, 14 Nov 2011 15:14:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/execute-k-batch-request-function-with-another-user/m-p/8392965#M1644104</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2011-11-14T15:14:02Z</dc:date>
    </item>
  </channel>
</rss>

