{"id":1672,"date":"2013-11-04T07:38:54","date_gmt":"2013-11-04T07:38:54","guid":{"rendered":"http:\/\/sapsecurityanalyst.com\/WP\/?page_id=1672"},"modified":"2015-05-03T07:29:36","modified_gmt":"2015-05-03T07:29:36","slug":"indirect-assignment-of-roles","status":"publish","type":"page","link":"https:\/\/sapsecurityanalyst.com\/WP\/indirect-assignment-of-roles\/","title":{"rendered":"Indirect Assignment of Roles"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>We know how roles are assigned directly to user id via SU01 tcode. This is called direct assignment of roles to the user.<\/p>\n<p>There is one more way by which roles can be assigned. This is done by assigning roles to a Position and then assignment of that position to the user id. This advantage of using this process is that it helps in reducing the overhead of assignment or removal of roles from user if he\/she changes position. This process is referred to as indirect role assignment or position based role assignment.<\/p>\n<p>Suppose a user A is assigned to position P1 and after some time moves to a different position P2 (due to promotion or change in responsibility or change in department etc). He automatically loses all his previous roles which was meant for position P1 and he gets new roles for position P2 (since he has been assigned to position P2 now).<\/p>\n<p>** Point to be noted &#8211; For this indirect role assignment to work, some prerequisite needs to be taken care of. The Infotype 0105 (Communication) and subtype 001 contain a relationship among user id, \u00a0user position and personnel number. This relationship (record) needs to be maintained. If this is not maintained, indirect role assignment will not work.**<\/p>\n<p>&nbsp;<\/p>\n<p>Steps for indirect assignment of roles:<\/p>\n<p>Assignment of position to user id:<\/p>\n<p>&nbsp;<\/p>\n<p>Go to PFCG -&gt; Goto -&gt; Settings<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1676  aligncenter\" src=\"https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/Complete-Views.jpg\" alt=\"\" width=\"513\" height=\"173\" srcset=\"https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/Complete-Views.jpg 513w, https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/Complete-Views-300x101.jpg 300w, https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/Complete-Views-290x97.jpg 290w, https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/Complete-Views-150x50.jpg 150w\" sizes=\"(max-width: 513px) 100vw, 513px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\">Under User tab, there is a button &#8220;Organizational Mgmt&#8221;:<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1678\" src=\"https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/Org-Mgmt.jpg\" alt=\"Org Mgmt\" width=\"137\" height=\"26\" \/><\/p>\n<p style=\"text-align: left;\">Click on Organizational Mgmt button. This will take you to the next screen. Click on\u00a0<img loading=\"lazy\" decoding=\"async\" width=\"24\" height=\"23\" class=\" wp-image-1679 alignnone\" src=\"https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/F5.jpg\" alt=\"F5\" \/>\u00a0icon\u00a0or execute F5 to create assignment.<\/p>\n<p style=\"text-align: center;\">You will get this screen:<\/p>\n<p style=\"text-align: center;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-1682 aligncenter\" src=\"https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/Change-Agent-Assignment.jpg\" alt=\"Change Agent Assignment\" width=\"298\" height=\"274\" srcset=\"https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/Change-Agent-Assignment.jpg 373w, https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/Change-Agent-Assignment-300x275.jpg 300w, https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/Change-Agent-Assignment-290x266.jpg 290w, https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/Change-Agent-Assignment-150x137.jpg 150w\" sizes=\"(max-width: 298px) 100vw, 298px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Select Position from the list (as shown in the above screenshot).<\/p>\n<p>Following dialog screen will open: \u00a0<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1685 alignnone\" src=\"https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/position.jpg\" alt=\"position\" width=\"226\" height=\"89\" \/>\u00a0Enter the position number and then click on\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1687 alignnone\" src=\"https:\/\/sapsecurityanalyst.com\/WP\/wp-content\/uploads\/2013\/05\/reconcile.jpg\" alt=\"reconcile\" width=\"22\" height=\"24\" \/>\u00a0(reconciliation button) to reconcile.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">Assigning Role to Position<\/span>:<\/p>\n<p>Infotype 1001 Subtype B 007 record is created between Position (S) and Role (AG). For creating relationship between Position(S) and Role(AG), tcodes PP01, PP02 or PO13 can be used.<\/p>\n<p>Steps using PP01 tcode:<\/p>\n<ul>\n<li>Execute transaction PP01 and select the Object type as Position.<\/li>\n<li>Provide the object id as Position Id.<\/li>\n<li>Select &#8220;Relationships&#8221; and click on create button. It will take you to the next screen.<\/li>\n<li>Select Relationship type as B 007 and Type of Related object as Role.<\/li>\n<li>ID of the related object is the Role name which needs to be assigned to the position.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; We know how roles are assigned directly to user id via SU01 tcode. This is called direct assignment of roles to the user. There is one more way by which roles can be assigned. This is done by assigning roles to a Position and&nbsp;<a class=\"read-more\" href=\"https:\/\/sapsecurityanalyst.com\/WP\/indirect-assignment-of-roles\/\">&hellip;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/sapsecurityanalyst.com\/WP\/wp-json\/wp\/v2\/pages\/1672"}],"collection":[{"href":"https:\/\/sapsecurityanalyst.com\/WP\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sapsecurityanalyst.com\/WP\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sapsecurityanalyst.com\/WP\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sapsecurityanalyst.com\/WP\/wp-json\/wp\/v2\/comments?post=1672"}],"version-history":[{"count":11,"href":"https:\/\/sapsecurityanalyst.com\/WP\/wp-json\/wp\/v2\/pages\/1672\/revisions"}],"predecessor-version":[{"id":2105,"href":"https:\/\/sapsecurityanalyst.com\/WP\/wp-json\/wp\/v2\/pages\/1672\/revisions\/2105"}],"wp:attachment":[{"href":"https:\/\/sapsecurityanalyst.com\/WP\/wp-json\/wp\/v2\/media?parent=1672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}