Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

inserting a record in backend using syncbo

Hi,

I have a header table and item table like,

EmpHdr-- fields 1) empno

2)ename

EmpItem--fields 1) empno

2)designation

how can I insert a record in the tables using syncbo.Can any body provide me the detail code.I am new to MI.Please help me.

MerepMeta.xml

-


<?xml version="1.0" encoding="utf-8"?><MeRepApplication schemaVersion="1.1" id="ZNEWEMPMCD" version="1.0"><Property name="CLIENT.BUILDNUMBER"></Property><Property name="C_APPLRESOLVE"></Property><Property name="DATA_VISIBLE_SHARED">X</Property><Property name="E_APPLRESOLVE"></Property><Property name="HOMEPAGE.INVISIBLE"></Property><Property name="INITVALUE"></Property><Property name="RUNTIME">JSP</Property><Property name="TYPE">APPLICATION</Property>

<SyncBO id="ZNEWEMP" version="3" type="twoWay" allowCreate="true" allowModify="true" allowDelete="true" reqDirectSync="true" downloadOrder="1">

<TopStructure name="TOP">

<Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true"><Input type="create">false</Input><Input type="modify">false</Input></Field>

<Field name="ZEMPID" type="C" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false"/>

<Field name="ZEMPNAME" type="C" length="20" decimalLength="0" signed="false" isKey="false" isIndex="false"/>

<ChildStructure name="010">

<Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true"><Input type="create">false</Input><Input type="modify">false</Input></Field>

<Field name="ZEMPID" type="C" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false"/>

<Field name="ZDESIG" type="C" length="15" decimalLength="0" signed="false" isKey="false" isIndex="false"/>

</ChildStructure>

</TopStructure></SyncBO></MeRepApplication>

Regards,

Srikanth Reddy.T

Edited by: Srikanth Thatipally on Oct 21, 2008 8:22 AM

Not what you were looking for? View more on this topic or Ask a question