<?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: Table Insert Authorization for  ZTABLE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775207#M1584868</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 understand that you want to provide authorization through your report.&lt;/P&gt;&lt;P&gt;For that you can create a Authorization Object with Activity and User Name and call that Authorization Object in your program.&lt;/P&gt;&lt;P&gt;You can control insert/Update with the User Name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Already a lot of threads are present in SDN regarding authorization Object, for reference you can search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arbind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Mar 2011 11:57:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-11T11:57:41Z</dc:date>
    <item>
      <title>Table Insert Authorization for  ZTABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775202#M1584863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a Ztable which is getting Inserted/Updated thru some Report.&lt;/P&gt;&lt;P&gt;I want to give Authorization for Insertion/Updation of that table through that program.&lt;/P&gt;&lt;P&gt;How can I proceed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My table has following Fields.&lt;/P&gt;&lt;P&gt;MANDT&lt;/P&gt;&lt;P&gt;WERKS&lt;/P&gt;&lt;P&gt;LGORT&lt;/P&gt;&lt;P&gt;MATNR&lt;/P&gt;&lt;P&gt;SEQ_NUM&lt;/P&gt;&lt;P&gt;STDAT&lt;/P&gt;&lt;P&gt;STTIM&lt;/P&gt;&lt;P&gt;EDDAT&lt;/P&gt;&lt;P&gt;EDTIM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to send request to BAsis Team for creating Authorization Object but I dont know what to send them&lt;/P&gt;&lt;P&gt;Plz Help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 10:33:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775202#M1584863</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2011-03-11T10:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Table Insert Authorization for  ZTABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775203#M1584864</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;Please find your solution from this address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1755405"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;points begging removed by moderator&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aahbha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Mar 11, 2011 1:47 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 10:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775203#M1584864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T10:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Table Insert Authorization for  ZTABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775204#M1584865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to update table from my Program and not thru SM30 transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 11:25:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775204#M1584865</guid>
      <dc:creator>Karan_Chopra_</dc:creator>
      <dc:date>2011-03-11T11:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table Insert Authorization for  ZTABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775205#M1584866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create One Screen  which have to fields User name and Passoword.  Create one z table for storing both these field&lt;/P&gt;&lt;P&gt;And Create one more screen to UPDATE and INSERT in the required Z table in program. you can set authorization only to &lt;/P&gt;&lt;P&gt;those users which you have maintaind in new z table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S Sonar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 11:27:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775205#M1584866</guid>
      <dc:creator>sandip_sonar</dc:creator>
      <dc:date>2011-03-11T11:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Table Insert Authorization for  ZTABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775206#M1584867</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;May be an approach would be have the WERKS fields in your selection screen and create a authority object which would check the WERKS and returns for a user whether they are authorized to edit the table for that werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For all the authorized WERKS you can call the table through the FM VIEW_MAINTENANCE_CALL specifying the filtering with the authorized WERKS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's one of the approach i can think of. You can more restrictions based on other fields as well. You need to provide this information about the fields on which you want to check authorizations. Also, you can specify what level of authorizations, for some users it can be display only and for some it can be Read/Write access to the table entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to generate the table maintenance before doing all these.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ranganath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 11:53:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775206#M1584867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T11:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table Insert Authorization for  ZTABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775207#M1584868</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 understand that you want to provide authorization through your report.&lt;/P&gt;&lt;P&gt;For that you can create a Authorization Object with Activity and User Name and call that Authorization Object in your program.&lt;/P&gt;&lt;P&gt;You can control insert/Update with the User Name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Already a lot of threads are present in SDN regarding authorization Object, for reference you can search.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Arbind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 11:57:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775207#M1584868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T11:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Table Insert Authorization for  ZTABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775208#M1584869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agere with Arbind, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create a Z authorization code from trx SU21and call it from your program&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 12:30:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775208#M1584869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-11T12:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Table Insert Authorization for  ZTABLE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775209#M1584870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Karan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you creating a table maintenance generator for this particular custom table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If yes, then i don't think you need to create an additional Auth. Obj. for this. You can make use of the existing obj. S_TABU_DIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you'll have to make create a new auth. group while defining the TMG &amp;amp; then in you program call the auth. object:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AUTHORITY-CHECK OBJECT 'S_TABU_DIS'
      ID 'ACTVT' FIELD '02' "Change
      ID 'DICBERCLS' FIELD 'ZAUTH'. "Custom Auth. Group

  IF sy-subrc = 0.
*  Add your logic
  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 12:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-insert-authorization-for-ztable/m-p/7775209#M1584870</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-03-11T12:46:41Z</dc:date>
    </item>
  </channel>
</rss>

