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
" 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
SAP Manage Israel.
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>
Also make sure that you do not have an open instance Enterprise Manager.
HTH Lutz Morrien