cancel
Showing results for 
Search instead for 
Did you mean: 

Getting Error "XXX element with that name already exists" with SAP NCo 3

Former Member
0 Kudos

Hi Guys,

I have tried to use NCo 3.0 to calling RFC/BAPI that working well with some function but

the function "BAPI_ABSENCE_SIMULATECREATION" that not working. The exception message

is "Cannot add EMPLOYEENUMBER to FUNCTION BAPI_ABSENCE_SIMULATECREATION: an element with that name already exists". This is error from NCo 3.0. right ? or I do something wrong. Could anyones please suggest ?

Thank you in advance.

My code error at the line:

sapFunc = sapRfcDest.Repository.CreateFunction("BAPI_ABSENCE_SIMULATECREATION")

My dll version:

sapnco = 3.0.0.42

sapnco_utils = 3.0.0.42

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Stefan,

Thank you very much for your help. My fault is install file "NCo302_Net20_x86.msi" instead of "NCo305_Net20_x86.msi".

Former Member
0 Kudos

HI,

I think your using .net framework version3.5. please update the .net framework version to 4.0.

Best Regards,

Harish.Y

Former Member
0 Kudos

Hi Stefan,

Where can i find the patch NCo 3.0.5 ? Any suggestions or link ?

Thank you in advance.

stefan_offermann
Explorer
0 Kudos

"If you want to download the .NET Connector 3.0 and you have a user in the SAP Service Marketplace you can download the new NCo and its documentation here: https://service.sap.com/connectors -> SAP Connector for Microsoft .NET. "

Link:

stefan_offermann
Explorer
0 Kudos

Try to update to version 3.0.5, it fixes many bugs since 3.0.0.42. I had some trouble with the old version.