<?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: Remove specific Profiles per user in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-specific-profiles-per-user/m-p/12161986#M1978106</link>
    <description>&lt;P&gt;Hi Veselina,&lt;/P&gt;&lt;P&gt;Ur scenario succes with Composite Profile, but not working with Generate Profile.&lt;BR /&gt;I have profile like this :&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1810591-19.png" /&gt;&lt;/P&gt;&lt;P&gt;SAP_ALL is Composite Profile&lt;/P&gt;&lt;P&gt;Why cannot Generate Profile?&lt;/P&gt;</description>
    <pubDate>Fri, 22 May 2020 09:31:43 GMT</pubDate>
    <dc:creator>yoppy_santoso</dc:creator>
    <dc:date>2020-05-22T09:31:43Z</dc:date>
    <item>
      <title>Remove specific Profiles per user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-specific-profiles-per-user/m-p/12161983#M1978103</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
  &lt;P&gt;Is there FM/BAPI for deleting specific Profiles in user ?&lt;BR /&gt;if it's not there, how to delete it using abap?&lt;/P&gt;
  &lt;P&gt;Thank's&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 06:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-specific-profiles-per-user/m-p/12161983#M1978103</guid>
      <dc:creator>yoppy_santoso</dc:creator>
      <dc:date>2020-05-14T06:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Remove specific Profiles per user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-specific-profiles-per-user/m-p/12161984#M1978104</link>
      <description>&lt;P&gt;I am not a developer, but maybe I would try this first (assuming that you meant local profiles):&lt;BR /&gt;1. Get the list of the currently assigned profiles to the user with BAPI_USER_GET_DETAIL.&lt;BR /&gt;2. Delete all assigned profiles with BAPI_USER_PROFILES_DELETE.&lt;BR /&gt;3. Assign the profiles which you need to keep with BAPI_USER_PROFILES_ASSIGN.&lt;/P&gt;&lt;P&gt;Frankly speaking, I would use SU10 unless there is a very good reason for custom development.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 07:36:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-specific-profiles-per-user/m-p/12161984#M1978104</guid>
      <dc:creator>VeselinaPeykova</dc:creator>
      <dc:date>2020-05-14T07:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Remove specific Profiles per user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-specific-profiles-per-user/m-p/12161985#M1978105</link>
      <description>&lt;P&gt;Okay Veselina&lt;/P&gt;&lt;P&gt;Initially I also thought that way, I thought there was an FM that covered all processes.&lt;BR /&gt;But, many thanks for your time&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 09:31:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-specific-profiles-per-user/m-p/12161985#M1978105</guid>
      <dc:creator>yoppy_santoso</dc:creator>
      <dc:date>2020-05-14T09:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Remove specific Profiles per user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-specific-profiles-per-user/m-p/12161986#M1978106</link>
      <description>&lt;P&gt;Hi Veselina,&lt;/P&gt;&lt;P&gt;Ur scenario succes with Composite Profile, but not working with Generate Profile.&lt;BR /&gt;I have profile like this :&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1810591-19.png" /&gt;&lt;/P&gt;&lt;P&gt;SAP_ALL is Composite Profile&lt;/P&gt;&lt;P&gt;Why cannot Generate Profile?&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 09:31:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-specific-profiles-per-user/m-p/12161986#M1978106</guid>
      <dc:creator>yoppy_santoso</dc:creator>
      <dc:date>2020-05-22T09:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Remove specific Profiles per user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-specific-profiles-per-user/m-p/12161987#M1978107</link>
      <description>&lt;P&gt;For generated profiles I think that a better approach is to add or remove these through role assignment.&lt;/P&gt;&lt;P&gt;While it is possible to delete generated profiles via BAPI_USER_PROFILES_DELETE it does not seem the right thing to do, because the role will still be present in the user data, but without any profile.&lt;/P&gt;&lt;P&gt;For generated profiles I would use BAPI_USER_ACTGROUPS_DELETE and &lt;/P&gt;&lt;P&gt;BAPI_USER_ACTGROUPS_ASSIGN.&lt;/P&gt;&lt;P&gt;So, if you have a combination of profiles linked to roles and you have SAP_ALL for an user:&lt;/P&gt;&lt;P&gt;1. Use BAPI_USER_GET_DETAIL to find this out (you have the roles in ACTIVITYGROUPS and the generated profiles are in PROFILES with BAPITYPE = 'G'. You also get the role validity, which you might need at a later stage if you want to assign them again.&lt;/P&gt;&lt;P&gt;2. Delete the role assignments with BAPI_USER_ACTGROUPS_DELETE.&lt;/P&gt;&lt;P&gt;3. Delete SAP_ALL with BAPI_USER_PROFILES_DELETE.&lt;/P&gt;&lt;P&gt;4. Add the roles which you need with BAPI_USER_ACTGROUPS_ASSIGN.&lt;/P&gt;&lt;P&gt;5. Add the composite profiles (if needed).&lt;/P&gt;</description>
      <pubDate>Fri, 22 May 2020 12:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-specific-profiles-per-user/m-p/12161987#M1978107</guid>
      <dc:creator>VeselinaPeykova</dc:creator>
      <dc:date>2020-05-22T12:06:11Z</dc:date>
    </item>
  </channel>
</rss>

