<?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 BAPI_USER_ACTGROUPS_ASSIGN deleting roles in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-actgroups-assign-deleting-roles/m-p/7090635#M1507156</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are trying to create a process where we can change the "valid to" date on a role for about 400 users. this process will be done once a year. I have found a bapi "BAPI_USER_ACTGROUPS_ASSIGN" that I can call in a program. the process will be to use a csv file containing the data and read it in the program and call this bapi to update the date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am testing the bapi in SE37 with a user that has multiple roles. I add the role and the new date to the ACTIVITYGROUPS table and when I run the func module, the role gets updated with the new date but all of the roles there were assigned to the user are now gone. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have search SDN and I could find anything that references this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;has anyone else had this problem and were you able to correct it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I running the func module incorrectly which is cuasing the roles to get deleted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jul 2010 13:15:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-07-15T13:15:35Z</dc:date>
    <item>
      <title>BAPI_USER_ACTGROUPS_ASSIGN deleting roles</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-actgroups-assign-deleting-roles/m-p/7090635#M1507156</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we are trying to create a process where we can change the "valid to" date on a role for about 400 users. this process will be done once a year. I have found a bapi "BAPI_USER_ACTGROUPS_ASSIGN" that I can call in a program. the process will be to use a csv file containing the data and read it in the program and call this bapi to update the date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am testing the bapi in SE37 with a user that has multiple roles. I add the role and the new date to the ACTIVITYGROUPS table and when I run the func module, the role gets updated with the new date but all of the roles there were assigned to the user are now gone. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have search SDN and I could find anything that references this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;has anyone else had this problem and were you able to correct it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I running the func module incorrectly which is cuasing the roles to get deleted?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 13:15:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-actgroups-assign-deleting-roles/m-p/7090635#M1507156</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-15T13:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: BAPI_USER_ACTGROUPS_ASSIGN deleting roles</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-actgroups-assign-deleting-roles/m-p/7090636#M1507157</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have done some more searching and I think that this is only way to do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(1) Get current user roles using BAPI_USER_GET_DETAIL&lt;/P&gt;&lt;P&gt;(2) read the ACTIVITYGROUPS table and change the date for the role that I want&lt;/P&gt;&lt;P&gt;(3) run BAPI_USER_ACTGROUPS_ASSIGN using the updated ACTIVITYGROUPS table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if there is any other way to do this, please le  me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 13:33:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-user-actgroups-assign-deleting-roles/m-p/7090636#M1507157</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-15T13:33:19Z</dc:date>
    </item>
  </channel>
</rss>

