{"id":16849,"date":"2024-03-20T08:25:33","date_gmt":"2024-03-20T08:25:33","guid":{"rendered":"https:\/\/www.walkme.com\/blog\/?p=16849"},"modified":"2025-06-23T07:06:54","modified_gmt":"2025-06-23T07:06:54","slug":"create-authorization-object-sap","status":"publish","type":"post","link":"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/","title":{"rendered":"How to Create an Authorization Object in SAP"},"content":{"rendered":"\n<p>An Authorization Check Scenario and Creation is the process of a programmer wondering how to create an authorization object in <a href=\"https:\/\/www.walkme.com\/blog\/integrated-successfactors-solutions\/\" target=\"_blank\" rel=\"noreferrer noopener\">SAP<\/a>.\u00a0\u00a0<\/p>\n\n\n\n<p>This is done to check authorization before any bookings for business customers can be altered or changed. To begin, the programmer needs to create an authorization field (ACTVT and CUSTTYPE) and then assign, for each field,&nbsp; the defined value to be checked (02, B).<\/p>\n\n\n\n<p>The programmers must create an authorization object (here S_TRVL_BKS ) and assign it to an object class. You can generate authorization fields under Tools &gt;&gt;ABAP Workbench &gt;&gt;Development &gt;&gt;Other tools&gt;&gt; Authorization objects&gt;&gt;Objects (transaction SU21).&nbsp;<\/p>\n\n\n\n<p>You can create authorization objects in the Object Navigator (transaction SE80). As a programmer, you program the authorization check by using the ABAP statement AUTHORITY-CHECK: &gt;&gt;AUTHORITY-CHECK OBJECT \u2018S_TRVL_BKS\u2019 &gt;&gt;ID \u2018ACTVT\u2019 FIELD \u201902\u2019 &gt;&gt;ID \u2018CUSTTYPE\u2019 FIELD \u2018B\u2019. &gt;&gt;IF SY-SUBRC &lt;&gt; 0. &gt;&gt;MESSAGE E\u2026 &gt;&gt;ENDIF.&nbsp;<\/p>\n\n\n\n<p>The work of AUTHORITY-CHECK is to check whether a user has the required authorization to execute an activity. The system checks the user\u2019s master record for authorization profiles and matching authorization objects (S_TRVL_BKS ). The check is successful if found to be positive and with the correct values.&nbsp;<\/p>\n\n\n\n<p>The following authorizations have been defined for the authorization object by the system administrator S_TRVL_BKS: S_TRVL_CUS1 with these values: customer type ( CUSTTYPE field) 02 for activity (field: ACTVT ). Users who have this authorization can change bookings for all customers. S_TRVL_CUS2 with these values: B for customer type ( CUSTTYPE ), 03 for activity ( ACTVT ).&nbsp;<\/p>\n\n\n\n<p>Any user with this authorization can display all customer bookings. Remember that the system administrator assigned different authorizations to various users when assigning profiles. Suppose a user was assigned a profile with both authorizations ( S_TRVL_CUS1 and S_TRVL_CUS2 ). That user can, therefore, change bookings for business customers.&nbsp;<\/p>\n\n\n\n<p>Other users are authorized to display the records only ( S_TRVL_CUS2 ) and cannot change bookings. Creating Authorization Fields What you must understand in authorization objects is that authorization fields represent the respective values to be tested appropriately during authorization checks. As such, to create authorization fields, select Tools &gt;&gt;ABAP Workbench&gt;&gt;Development&gt;&gt;Other tools&gt;&gt;Authorization objects&gt;&gt;Fields.&nbsp;<\/p>\n\n\n\n<p>In addition, create an authorization field: Select Create authorization field. Then, on the next screen, key in the field&#8217;s name, which must be unique, and begin with the letter \u201cY\u201d or \u201cZ.\u201d Then, assign a data element (from the ABAP Dictionary) to the field.&nbsp;<\/p>\n\n\n\n<p>If needed, enter a check table for the possible entries. Remember that when created, each authorization object must be assigned to a specific object class. Choose Tools&gt;&gt;ABAP Workbench&gt;&gt;Development&gt;&gt;Other tools&gt;&gt;Authorization objects&gt;&gt;Objects. You can also create authorization objects using the Object Navigator (SE80).&nbsp;<\/p>\n\n\n\n<p>Creating\/Choosing Object Classes At this point, the system displays a list of object classes that exist, organized in line with the components of the system. Before creating a new object, define the object class for the specific component you are working on. However, these objects are not overwritten whenever you install updated\/new releases.&nbsp;<\/p>\n\n\n\n<p>If you wish, you can also define your own object classes. If you do so, choose class names that start with Y or Z to avoid any conflicts with SAP names. Create an Object&nbsp; Start by entering a unique object name and the respective fields that belong to that object.&nbsp;<\/p>\n\n\n\n<p>Object names must start with the letter Y or Z to comply with the naming convention for the program\u2019s customer-specific objects. You may enter up to 10 authorization fields within an object definition.&nbsp;<\/p>\n\n\n\n<p>Also, enter a description of that object and create documentation for it. Ensure the object definition matches the appropriate AUTHORITY-CHECK calls that refer to that particular object.&nbsp;<\/p>\n\n\n\n<p>How do you create authorization objects in SAP? Just do not change\/alter or delete authorization objects that SAP defines because this disables SAP programs from using the objects. After you create an authorization object, you can regenerate the profile SAP_ALL.<\/p>\n","protected":false},"excerpt":{"rendered":"An Authorization Check Scenario and Creation is the process of a programmer wondering how to create an authorization object in<span class=\"moretag\">&#8230;<\/span>","protected":false},"author":246,"featured_media":16850,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":true,"mobile_image_id":0,"tablet_image_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8489],"tags":[8160,8495],"class_list":["post-16849","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sap","tag-sap","tag-system-application-and-products"],"acf":{"__coauthors":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create an Authorization Object in SAP<\/title>\n<meta name=\"description\" content=\"Learn the step-by-step process of creating an Authorization Object in SAP for secure data access and management.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create an Authorization Object in SAP\" \/>\n<meta property=\"og:description\" content=\"Learn the step-by-step process of creating an Authorization Object in SAP for secure data access and management.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/\" \/>\n<meta property=\"og:site_name\" content=\"WalkMe Blog\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-20T08:25:33+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-23T07:06:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.walkme.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/create-authorization-object-sap_065fa9d4.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"583\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"WalkMe Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"WalkMe Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/\",\"url\":\"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/\",\"name\":\"How to Create an Authorization Object in SAP\",\"isPartOf\":{\"@id\":\"https:\/\/www.walkme.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.walkme.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/create-authorization-object-sap_065fa9d4.jpg\",\"datePublished\":\"2024-03-20T08:25:33+00:00\",\"dateModified\":\"2025-06-23T07:06:54+00:00\",\"author\":{\"@id\":\"https:\/\/www.walkme.com\/blog\/#\/schema\/person\/b6803cf6ff5d66cf789ea833bbddfa31\"},\"description\":\"Learn the step-by-step process of creating an Authorization Object in SAP for secure data access and management.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/#primaryimage\",\"url\":\"https:\/\/www.walkme.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/create-authorization-object-sap_065fa9d4.jpg\",\"contentUrl\":\"https:\/\/www.walkme.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/create-authorization-object-sap_065fa9d4.jpg\",\"width\":1200,\"height\":583,\"caption\":\"Create authorization object SAP\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.walkme.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SAP\",\"item\":\"https:\/\/www.walkme.com\/blog\/category\/sap\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Create an Authorization Object in SAP\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.walkme.com\/blog\/#website\",\"url\":\"https:\/\/www.walkme.com\/blog\/\",\"name\":\"WalkMe Blog\",\"description\":\"Digital adoption &amp; Change Management Blog\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.walkme.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.walkme.com\/blog\/#\/schema\/person\/b6803cf6ff5d66cf789ea833bbddfa31\",\"name\":\"WalkMe Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.walkme.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d15d25a7d13fc1ba31b0187a32b2f27936e975e166da929698db9971a322a63d?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d15d25a7d13fc1ba31b0187a32b2f27936e975e166da929698db9971a322a63d?s=96&d=monsterid&r=g\",\"caption\":\"WalkMe Team\"},\"description\":\"WalkMe pioneered the Digital Adoption Platform (DAP) for organizations to utilize the full potential of their digital assets. Using artificial intelligence, machine learning and contextual guidance, WalkMe adds a dynamic user interface layer to raise the digital literacy of all users.\",\"url\":\"https:\/\/www.walkme.com\/blog\/author\/walkme-team\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create an Authorization Object in SAP","description":"Learn the step-by-step process of creating an Authorization Object in SAP for secure data access and management.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/","og_locale":"en_US","og_type":"article","og_title":"How to Create an Authorization Object in SAP","og_description":"Learn the step-by-step process of creating an Authorization Object in SAP for secure data access and management.","og_url":"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/","og_site_name":"WalkMe Blog","article_published_time":"2024-03-20T08:25:33+00:00","article_modified_time":"2025-06-23T07:06:54+00:00","og_image":[{"width":1200,"height":583,"url":"https:\/\/www.walkme.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/create-authorization-object-sap_065fa9d4.jpg","type":"image\/jpeg"}],"author":"WalkMe Team","twitter_card":"summary_large_image","twitter_misc":{"Written by":"WalkMe Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/","url":"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/","name":"How to Create an Authorization Object in SAP","isPartOf":{"@id":"https:\/\/www.walkme.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/#primaryimage"},"image":{"@id":"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/#primaryimage"},"thumbnailUrl":"https:\/\/www.walkme.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/create-authorization-object-sap_065fa9d4.jpg","datePublished":"2024-03-20T08:25:33+00:00","dateModified":"2025-06-23T07:06:54+00:00","author":{"@id":"https:\/\/www.walkme.com\/blog\/#\/schema\/person\/b6803cf6ff5d66cf789ea833bbddfa31"},"description":"Learn the step-by-step process of creating an Authorization Object in SAP for secure data access and management.","breadcrumb":{"@id":"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/#primaryimage","url":"https:\/\/www.walkme.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/create-authorization-object-sap_065fa9d4.jpg","contentUrl":"https:\/\/www.walkme.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/create-authorization-object-sap_065fa9d4.jpg","width":1200,"height":583,"caption":"Create authorization object SAP"},{"@type":"BreadcrumbList","@id":"https:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.walkme.com\/blog\/"},{"@type":"ListItem","position":2,"name":"SAP","item":"https:\/\/www.walkme.com\/blog\/category\/sap\/"},{"@type":"ListItem","position":3,"name":"How to Create an Authorization Object in SAP"}]},{"@type":"WebSite","@id":"https:\/\/www.walkme.com\/blog\/#website","url":"https:\/\/www.walkme.com\/blog\/","name":"WalkMe Blog","description":"Digital adoption &amp; Change Management Blog","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.walkme.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.walkme.com\/blog\/#\/schema\/person\/b6803cf6ff5d66cf789ea833bbddfa31","name":"WalkMe Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.walkme.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d15d25a7d13fc1ba31b0187a32b2f27936e975e166da929698db9971a322a63d?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d15d25a7d13fc1ba31b0187a32b2f27936e975e166da929698db9971a322a63d?s=96&d=monsterid&r=g","caption":"WalkMe Team"},"description":"WalkMe pioneered the Digital Adoption Platform (DAP) for organizations to utilize the full potential of their digital assets. Using artificial intelligence, machine learning and contextual guidance, WalkMe adds a dynamic user interface layer to raise the digital literacy of all users.","url":"https:\/\/www.walkme.com\/blog\/author\/walkme-team\/"}]}},"parsely":{"version":"1.1.0","canonical_url":"https:\/\/walkme.com\/blog\/create-authorization-object-sap\/","smart_links":{"inbound":0,"outbound":0},"traffic_boost_suggestions_count":0,"meta":{"@context":"https:\/\/schema.org","@type":"NewsArticle","headline":"How to Create an Authorization Object in SAP","url":"http:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/","mainEntityOfPage":{"@type":"WebPage","@id":"http:\/\/www.walkme.com\/blog\/create-authorization-object-sap\/"},"thumbnailUrl":"https:\/\/www.walkme.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/create-authorization-object-sap_065fa9d4.jpg","image":{"@type":"ImageObject","url":"https:\/\/www.walkme.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/create-authorization-object-sap_065fa9d4.jpg"},"articleSection":"SAP","author":[{"@type":"Person","name":"WalkMe Team"}],"creator":["WalkMe Team"],"publisher":{"@type":"Organization","name":"WalkMe Blog","logo":""},"keywords":["sap","system application and products"],"dateCreated":"2024-03-20T08:25:33Z","datePublished":"2024-03-20T08:25:33Z","dateModified":"2025-06-23T07:06:54Z"},"rendered":"<script type=\"application\/ld+json\" class=\"wp-parsely-metadata\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@type\":\"NewsArticle\",\"headline\":\"How to Create an Authorization Object in SAP\",\"url\":\"http:\\\/\\\/www.walkme.com\\\/blog\\\/create-authorization-object-sap\\\/\",\"mainEntityOfPage\":{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/www.walkme.com\\\/blog\\\/create-authorization-object-sap\\\/\"},\"thumbnailUrl\":\"https:\\\/\\\/www.walkme.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/03\\\/create-authorization-object-sap_065fa9d4.jpg\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.walkme.com\\\/blog\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/03\\\/create-authorization-object-sap_065fa9d4.jpg\"},\"articleSection\":\"SAP\",\"author\":[{\"@type\":\"Person\",\"name\":\"WalkMe Team\"}],\"creator\":[\"WalkMe Team\"],\"publisher\":{\"@type\":\"Organization\",\"name\":\"WalkMe Blog\",\"logo\":\"\"},\"keywords\":[\"sap\",\"system application and products\"],\"dateCreated\":\"2024-03-20T08:25:33Z\",\"datePublished\":\"2024-03-20T08:25:33Z\",\"dateModified\":\"2025-06-23T07:06:54Z\"}<\/script>","tracker_url":"https:\/\/cdn.parsely.com\/keys\/walkme.com\/p.js"},"lang":"en","translations":{"en":16849},"jetpack_featured_media_url":"https:\/\/www.walkme.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/create-authorization-object-sap_065fa9d4.jpg","featured_image_src":"https:\/\/www.walkme.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/create-authorization-object-sap_065fa9d4.jpg","featured_image_src_square":"https:\/\/www.walkme.com\/blog\/wp-content\/uploads\/sites\/2\/2024\/03\/create-authorization-object-sap_065fa9d4.jpg","author_info":{"display_name":"WalkMe Team","author_link":"https:\/\/www.walkme.com\/blog\/author\/walkme-team\/"},"jetpack_sharing_enabled":true,"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.walkme.com\/blog\/wp-json\/wp\/v2\/posts\/16849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.walkme.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.walkme.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.walkme.com\/blog\/wp-json\/wp\/v2\/users\/246"}],"replies":[{"embeddable":true,"href":"https:\/\/www.walkme.com\/blog\/wp-json\/wp\/v2\/comments?post=16849"}],"version-history":[{"count":0,"href":"https:\/\/www.walkme.com\/blog\/wp-json\/wp\/v2\/posts\/16849\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.walkme.com\/blog\/wp-json\/wp\/v2\/media\/16850"}],"wp:attachment":[{"href":"https:\/\/www.walkme.com\/blog\/wp-json\/wp\/v2\/media?parent=16849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.walkme.com\/blog\/wp-json\/wp\/v2\/categories?post=16849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.walkme.com\/blog\/wp-json\/wp\/v2\/tags?post=16849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}