Skip to Content
0
Former Member
Dec 01, 2004 at 04:44 PM

Creating new Syncbo in MAM25

20 Views

Hi, So far this is what I have done.

<b>1</b>. Generate new meRepMeta.xml file with the following additional SyncBO tag.

..

<SyncBO id="ZMAM25_N01" version="1" type="upload" allowCreate="true" allowModify="false" allowDelete="false">

..

<b>2</b>. Created the following files

MamN01, MamN01Item010, MamN01manager in com.sap.mbs.mam.bo and

MamN01Impl, MamN01Item010Impl, MamN01managerImpl in com.sap.mbs.mam.bo.impl

<b>3</b>.In file syncbonamelist.properties, added ZMAM25_N01=ZMAM25_N01

<b>4</b>.In mapping.xml, added the following

<SyncBO id="ZMAM25_N01" name="MamN01" package="com.sap.mbs.mam">

<Item id="010" name="MamN01Item010" /></SyncBO>

<b>Tested</b> with the following code

MamN01Manager mng = (MamN01Manager)naming.lookup (MamN01Manager.class.getName());

-First problem was com.sap.mbs.mam.application.impl.MAMNamingService line 112

where s1 = java.lang.System.getProperty(s) returned null.

I placed "com.sap.mbs.mam.bo.impl.MamN01ManagerImpl" in s1 via debugger and that was resolved.

But it still doesnt work because in MamN01ManagerImp SYNC_BO_DESC=DESC_FACADE.getSyncBoDescriptor(SYNC_BO_NAME) returns null.

What am I missing?

Thanks in advance.