<?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: Z function module execution in other user id on same server. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-function-module-execution-in-other-user-id-on-same-server/m-p/3671580#M884279</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi micky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is a background job. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the MODE in CALL TRANSACTION is N, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this will MODE as A, it is working fine but not with N Mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Apr 2008 12:57:30 GMT</pubDate>
    <dc:creator>former_member515797</dc:creator>
    <dc:date>2008-04-03T12:57:30Z</dc:date>
    <item>
      <title>Z function module execution in other user id on same server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-function-module-execution-in-other-user-id-on-same-server/m-p/3671578#M884277</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 having a Z function module which is created by using SHDB (BDC recording). this FM creats an excel file and sends some data into it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is  : when I am excuting the program that is accessing this FM from other USER ID &amp;amp; PWD  it is throughing sy-subrc =1,001. and it is not creating the excel file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you pls help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ameen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 11:47:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-function-module-execution-in-other-user-id-on-same-server/m-p/3671578#M884277</guid>
      <dc:creator>former_member515797</dc:creator>
      <dc:date>2008-04-03T11:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: Z function module execution in other user id on same server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-function-module-execution-in-other-user-id-on-same-server/m-p/3671579#M884278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;when you are running this function module, is that in foreground of background?&lt;/P&gt;&lt;P&gt;If in background, check your mode when calling CALL TRANSACTION 'XXX' MODE 'X'? Could cause the problem???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 12:20:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-function-module-execution-in-other-user-id-on-same-server/m-p/3671579#M884278</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2008-04-03T12:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: Z function module execution in other user id on same server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-function-module-execution-in-other-user-id-on-same-server/m-p/3671580#M884279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi micky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is a background job. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the MODE in CALL TRANSACTION is N, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried this will MODE as A, it is working fine but not with N Mode.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 12:57:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-function-module-execution-in-other-user-id-on-same-server/m-p/3671580#M884279</guid>
      <dc:creator>former_member515797</dc:creator>
      <dc:date>2008-04-03T12:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Z function module execution in other user id on same server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-function-module-execution-in-other-user-id-on-same-server/m-p/3671581#M884280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;it is a background job.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;the MODE in CALL TRANSACTION is N,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I tried this will MODE as A, it is working fine but not with N Mode.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Background.&lt;/P&gt;&lt;P&gt;Are you creating the File on Frontend. If it is On Frontend then it will fail for obvious reasons. &lt;/P&gt;&lt;P&gt;In background frontend operations will fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In foreGround it will work, because Frontend is accessible here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 13:10:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-function-module-execution-in-other-user-id-on-same-server/m-p/3671581#M884280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T13:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Z function module execution in other user id on same server.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/z-function-module-execution-in-other-user-id-on-same-server/m-p/3671582#M884281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Micky &amp;amp; Yesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is frontend job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;complete description of my problem.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is : Sending data from spool to excell sheet using spool request id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used SHDB on Tcode SP01 did the recording and saved the process as FM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODE = N, UPDATE = 'A'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am executing the FM in other USER ID area not on created area  It's sy-subrc = 1,001 and it is not sending data to excell sheet .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so, this is my problam. can u please help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ameen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ameen Basha Md on Apr 4, 2008 11:52 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 13:17:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/z-function-module-execution-in-other-user-id-on-same-server/m-p/3671582#M884281</guid>
      <dc:creator>former_member515797</dc:creator>
      <dc:date>2008-04-03T13:17:55Z</dc:date>
    </item>
  </channel>
</rss>

