[ABAP/4 Study Notes-5.13] check user authorization

Source: Internet
Author: User

Most data in the R/3 system must be protected to prevent unauthorized access. Therefore, appropriate authorization is required before a user can perform an operation in the system. After logging on to the R/3 system, the system checks the user's master record to see which ones are available
Transaction. Authorization checks must be performed for each sensitive transaction.
If you want to protect your own programmed transactions, you must perform the authorization check. This means:

? Allocate authorization objects in the transaction definition;
? Program authority-check.

Authority-check object <authorization Object>
ID <authority-field1> Field <field-value1>
ID <authority-field2> Field <field-value2>
...
ID <authority-fieldn> Field <field-valuen>.
The object parameter specifies the authorization object.
The ID parameter specifies the authorization field (in the authorization object ).
The field parameter specifies the value of the authorization field.

The authorization object and its fields must be suitable for transactions. In most cases, existing authorized objects can be used to protect data. However, newly developed projects may need to define new authorization objects and fields.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.