Showing results for 
Search instead for 
Did you mean: 

Create User Table from XML

Former Member
0 Kudos

Dear All,

I would like to ask wether anyone has ever use GetBusinessObjectFromXML to create UserTables and how to do it.

I have tried to do so but always getting error :

"The Mete Data for this object cannot be updated,

since it's ref count is bigger then 0." in return.

anyone knows what's the problem ?

thanks in advance


Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos


" ref count is bigger then 0" means you have another reference to the Metadata object but the one trying to update/add it.

If you're using V.Studio6 you need the clean the other objects...

If you're working on .NET environment you'll need to use the ReleaseCOMObject(object) method.

Please do not use the GC.Collect. see "SBO-SDK Consult : Releasing COM Object in .NET" Posted: July 29, 2004 7:53 AM


Yaniv G.

SDK Consultant,

SAP Manage Israel.

Former Member
0 Kudos


sounds like you have too many references pointing at the object.

you might need to call garbage collector, if using .Net. See SapNote # 676313

<i>Partner app dev.Net need to call garbage collector</i>

for detail.

Also make sure that you do not have an open instance Enterprise Manager.

HTH Lutz Morrien