cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Error: A row already exists with this key / Fiori

Former Member
0 Kudos

Hi all,

we are actually trying to configure SAP SRM Fiori Apps Wave 2.

As they are just available through the Launchpad we have tried to make it run, but there is an error.

After Login it says "Failure - Unable to laod groups"

/IWFND/ERROR_LOG

RFC Error: A row already exists with this key

ST22

The current ABAP program "/UI2/CL_NWBC_RUNTIME35========CP" had to be

terminated because it has come across a statement that unfortunately cannot be executed.


User has role "SAP_UI2_USER_700".

Does someone know how to solve it?

Thank and regards,

Özlem

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

the problem was a heavy inconsistency within the role menus.

Deleting the unneeded roles solved the issue.

Thank you both.

Regards,

Özlem

Answers (2)

Answers (2)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ozlem,

Please look at SAP Fiori - UI Add-on SP09 update troubleshooting.

Regards, Masa

SAP Customer Experience Group - CEG

Kumaranl
Explorer
0 Kudos

Hi Özlem,

At a first glance on this post, it looks like the RFC (function module) is trying to insert a record in a table which already contains the key. Please check the table and then try to insert with a new primary key.

If this does not solve, please provide more information with the complete ST22 dump for this transaction.

Best Regards,

Kumaran

Former Member
0 Kudos

Hi Kumaran,

the error occurs in method get_nodes in line lt_nodes_h = et_nodes

lt_nodes_h is a hashtable, blank at this point. et_nodes is filled before. So at this line it breaks and again calls some programs and methods. And the call stack completely changes.

lt_nodes_h is still empty, never filled. When the line is called for the second time after it breaked up here, it gives the error. 

Hope I could explain.

ST22 gives information that the row with primary key 146 is the duplicate one. But what I can see is just an empty Hashtable, where I can not change or delete anything. Table rt_nodes is filled and has primary key 146 in.

Thank you

Özlem

Kumaranl
Explorer
0 Kudos

One question: When you look at the ST22 dump does it refer to any transparent tables that might have a record you are trying to insert using the hashtable ?