<?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: Error while using BAPI_USER_ACTGROUPS_ASSIGN in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-user-actgroups-assign/m-p/9086411#M1704768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthi , &lt;/P&gt;&lt;P&gt;Thanks for the reply . we want to use same BAPI for assigning roles... we just wanted to know how to solve this issue.. By adding any code/parameter or any SAP notes available .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: system is ECC 6.0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Saravana.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Oct 2012 05:41:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-10-04T05:41:27Z</dc:date>
    <item>
      <title>Error while using BAPI_USER_ACTGROUPS_ASSIGN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-user-actgroups-assign/m-p/9086409#M1704766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In OIM (oracle identity manager) ,&amp;nbsp; when we are creating the&amp;nbsp; users in Oracle and assigning 4&amp;nbsp; roles to the users &lt;STRONG&gt;(For assigning roles to the users we are using BAPI_USER_ACTGROUPS_ASSIGN&lt;/STRONG&gt;&amp;nbsp; bapi ) , we are getting the below error , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;TT&gt;&lt;EM&gt;Caused by: RfcException: [PRO|amendoim]&lt;/EM&gt;&lt;/TT&gt;&lt;TT&gt; &lt;/TT&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Courier New';"&gt;&lt;BR /&gt; &lt;TT&gt;&lt;EM&gt;message: The ABAP/4 Open SQL array insert results in duplicate database&lt;/EM&gt; &lt;/TT&gt;&lt;BR /&gt; &lt;TT&gt;&lt;EM&gt;records. records in the data base.&lt;/EM&gt; &lt;/TT&gt;&lt;BR /&gt; &lt;TT&gt;&lt;EM&gt;Return code: RFC_SYS_EXCEPTION(3)&lt;/EM&gt; &lt;/TT&gt;&lt;BR /&gt; &lt;TT&gt;&lt;EM&gt;error group: 104&lt;/EM&gt; &lt;/TT&gt;&lt;BR /&gt; &lt;TT&gt;&lt;EM&gt;key: RFC_ERROR_SYSTEM_FAILURE&lt;/EM&gt; &lt;/TT&gt;&lt;BR /&gt; &lt;TT&gt;&lt;EM&gt;message class: 00&lt;/EM&gt; &lt;/TT&gt;&lt;BR /&gt; &lt;TT&gt;&lt;EM&gt;message type: X&lt;/EM&gt; &lt;/TT&gt;&lt;BR /&gt; &lt;TT&gt;&lt;EM&gt;message number: 341&lt;/EM&gt; &lt;/TT&gt;&lt;BR /&gt; &lt;TT&gt;&lt;EM&gt;message parameter 0: SAPSQL_ARRAY_INSERT_DUPREC&lt;/EM&gt;&lt;/TT&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when we created users and assigning 1 role at a time . we are not gettign any error . So what could be the problem for this issue.&lt;/P&gt;&lt;P&gt;Kindly suggest some ideas to resolve .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Saravana.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 05:04:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-user-actgroups-assign/m-p/9086409#M1704766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-04T05:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using BAPI_USER_ACTGROUPS_ASSIGN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-user-actgroups-assign/m-p/9086410#M1704767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Saravana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using the FM 'PRGN_USER_ASSIGNMENT_CHANGE' &lt;STRONG style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;For assigning roles to the users&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 05:37:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-user-actgroups-assign/m-p/9086410#M1704767</guid>
      <dc:creator>former_member286481</dc:creator>
      <dc:date>2012-10-04T05:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using BAPI_USER_ACTGROUPS_ASSIGN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-user-actgroups-assign/m-p/9086411#M1704768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthi , &lt;/P&gt;&lt;P&gt;Thanks for the reply . we want to use same BAPI for assigning roles... we just wanted to know how to solve this issue.. By adding any code/parameter or any SAP notes available .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: system is ECC 6.0 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Saravana.S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 05:41:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-user-actgroups-assign/m-p/9086411#M1704768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-04T05:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error while using BAPI_USER_ACTGROUPS_ASSIGN</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-user-actgroups-assign/m-p/9086412#M1704769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Saravana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problems seems like there is duplicate entries when you are creating multiple roles.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually when you are passing 4 roles then it is giving this error because an entry already exists but in case of single roles as far as I know the functionality of this BAPI it deletes the roles which are not a part of activitygroups table. So when you are doing it by passing single role at a time the next time the previous role which was assigned is deleted and new one is created that is why not giving the duplicate entry error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may be you can check once again all the four roles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 07:24:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-while-using-bapi-user-actgroups-assign/m-p/9086412#M1704769</guid>
      <dc:creator>sandeep_katoch</dc:creator>
      <dc:date>2012-10-04T07:24:33Z</dc:date>
    </item>
  </channel>
</rss>

