<?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: Is it possible to execute a program under a generic userid? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771504#M1306625</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, but is this possible if the user executes the program right away (not via a job)?  I have created a front-end screen to allow the user to input the printer details.  The user should hit the "execute" button and the printer will be added or removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jennifer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jennifer Alexander on Jun 15, 2009 4:11 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2009 14:10:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-15T14:10:42Z</dc:date>
    <item>
      <title>Is it possible to execute a program under a generic userid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771501#M1306622</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 created a program that calls transaction SPAD and adds/deletes printers from SAP (via BDC calls).  We want the help desk to execute this new program when adding/deleting printers from SAP (instead of using SPAD).  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since we don't want to give the users access to transaction SPAD, would be possible to execute this new program under a generic ID that would have write-access in SPAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Jen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 13:54:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771501#M1306622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T13:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to execute a program under a generic userid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771502#M1306623</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 you are running this in the background ..then you request the Basic team to create the Batch userid and assign this batch user id which scheduling your program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 14:03:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771502#M1306623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T14:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to execute a program under a generic userid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771503#M1306624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes very much, while defiening job in Sm36 you have to specify this generic userid. You can define the user type (Su01) as &lt;STRONG&gt;B&lt;/STRONG&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 14:05:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771503#M1306624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T14:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to execute a program under a generic userid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771504#M1306625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, but is this possible if the user executes the program right away (not via a job)?  I have created a front-end screen to allow the user to input the printer details.  The user should hit the "execute" button and the printer will be added or removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jennifer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Jennifer Alexander on Jun 15, 2009 4:11 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 14:10:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771504#M1306625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T14:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to execute a program under a generic userid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771505#M1306626</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;Yes..You can ask the Basic team to create the generic user id to execute the program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 14:15:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771505#M1306626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T14:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to execute a program under a generic userid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771506#M1306627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it doesn't matter for you whether its run in background or foreground. &lt;/P&gt;&lt;P&gt;By Generaic what do you mean? If everyone in service desk is going use the same ID then its good that you assign access to all of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you dont want give access to all, create a System user and have everyone to schedule job using that user only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 14:21:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771506#M1306627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T14:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to execute a program under a generic userid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771507#M1306628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jennifer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you call transaction within your program, it already ommits any authorization checks, so he (help desk user) can easily execute your program even without permission to called transaction. &lt;/P&gt;&lt;P&gt;Anyhow you can restrict his ability to call certain transactions (for those which are called within a program) using &lt;STRONG&gt;SE97&lt;/STRONG&gt; . There is nice documentation so you should have no problems how to setup it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 14:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771507#M1306628</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-06-15T14:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to execute a program under a generic userid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771508#M1306629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be possible via RFC. Try creating an RFC-enabled wrapper function module around your SPAD call, maintain an RFC connection to the same box with a technical user and password maintained, call the function in your program with addition STARTING NEW TASK (see ABAP help).&lt;/P&gt;&lt;P&gt;Make sure the technical user has authorization only for SPAD and related as well as RFC calls to the function group where your function module resides.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Marcin, authorization for tcode SPAD will not be enough, there is plenty of auth checks inside that transaction for the S_ADMI_FCD object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 14:25:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771508#M1306629</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-06-15T14:25:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to execute a program under a generic userid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771509#M1306630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for this suggestion.  I am not familiar with "RFC-enabled wrapper function module".  Would it be possible for you to show me an example of how this works?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 15:12:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771509#M1306630</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T15:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to execute a program under a generic userid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771510#M1306631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Too much to explain step by step for my lazy self, I hope you have an experienced developer at hand and he/she will probably know what I'm talking about and how to approach this.&lt;/P&gt;&lt;P&gt;There is also a chance that somebody else here has a better i.e. simpler idea how to solve this.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 15:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771510#M1306631</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-06-15T15:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to execute a program under a generic userid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771511#M1306632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, I have created an RFC-enabled function module that contains my BDC calls to SPAD.  What did you mean by "maintain an RFC connection to the same box with a technical user and password maintained"?&lt;/P&gt;&lt;P&gt;I reviewed all of the RFC documentation in the SAP Help and couldn't find anything regarding calling an RFC with a different userid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jennifer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 20:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771511#M1306632</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T20:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to execute a program under a generic userid?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771512#M1306633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Afer all....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check your licence contract...you may have trouble with it...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 22:16:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-it-possible-to-execute-a-program-under-a-generic-userid/m-p/5771512#M1306633</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T22:16:53Z</dc:date>
    </item>
  </channel>
</rss>

