<?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: Sapscript Authorization in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-authorization/m-p/1512562#M236288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SAPSCRIPT, the checks are valid only for st texts..PL check this &amp;lt;a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/d6/0db682494511d182b70000e829fbfe/frameset.htm"&amp;gt;SAP Help&amp;lt;/a&amp;gt; for more info..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Aug 2006 17:30:17 GMT</pubDate>
    <dc:creator>suresh_datti</dc:creator>
    <dc:date>2006-08-14T17:30:17Z</dc:date>
    <item>
      <title>Sapscript Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-authorization/m-p/1512561#M236287</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;     How can i check if a user has authorization in sapscript?. Sample code will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2006 17:25:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-authorization/m-p/1512561#M236287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-14T17:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-authorization/m-p/1512562#M236288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SAPSCRIPT, the checks are valid only for st texts..PL check this &amp;lt;a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/d6/0db682494511d182b70000e829fbfe/frameset.htm"&amp;gt;SAP Help&amp;lt;/a&amp;gt; for more info..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2006 17:30:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-authorization/m-p/1512562#M236288</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-08-14T17:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-authorization/m-p/1512563#M236289</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;  You can use the perform statement to check for authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/EN/d1/803048454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/EN/d1/803048454211d189710000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this works..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2006 17:34:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-authorization/m-p/1512563#M236289</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-14T17:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-authorization/m-p/1512564#M236290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to programmaticlly check whether another user is authorized for editing sapscript forms, then you can use the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0001.

parameters: p_uname type sy-uname.

data: subrc type sy-subrc.

call function 'SUSR_AUTHORITY_CHECK_SIMULATE'
  exporting
    user_name             = p_uname
    object                = 'S_SCRP_FRM'
    field1                = 'FORMNAME'
    val1                  = '*'
    field2                = 'LANGUAGE'
    val2                  = 'E'
    field3                = 'ACTVT'
    val3                  = '02'      "Edit Mode
 importing
    sy_subrc              = subrc
 exceptions
   not_authorized        = 1
   user_not_exists       = 2
   internal_error        = 3
   others                = 4.

if subrc &amp;lt;&amp;gt; 0.
  write:/ 'User is not authorized for editing sapscripts'.
else.
  write:/ 'User is authorized for editing sapscripts'.
endif.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2006 17:44:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-authorization/m-p/1512564#M236290</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-08-14T17:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Sapscript Authorization</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-authorization/m-p/1512565#M236291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   I want to restrict on users how can run the sapscript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Aug 2006 18:17:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-authorization/m-p/1512565#M236291</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-14T18:17:02Z</dc:date>
    </item>
  </channel>
</rss>

