Skip to Content
0
Former Member
May 04, 2011 at 11:02 AM

B1UDT2B1UDT - markup in the document following the root element

62 Views

Hi All

I've deleopped a B1 UDT 2 B1 UDT (same table in 2 databases) scenario.

When I try it I obtain this error :

The markup in the document following the root element must be well-formed.

there are the payloads (here in delete case but i've the same in Update or Add case)

- <b1im:Body>

- <b1im:Payload ObjectTypeId="" ObjectRole="A">

- <b1ie:B1IEvent xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" SysId="0010000100" SysTypeId="B1.8.8" Task="D" LocalObjectType="DOR_COLLECTION" UserName="manager">

- <b1ie:PrimaryKeyList>

<b1ie:PrimaryKey Key="Code" Value="9" />

</b1ie:PrimaryKeyList>

</b1ie:B1IEvent>

</b1im:Payload>

- <b1im:Payload ObjectTypeId="Z.B1.8.8_DOR_COLLECTION" ObjectRole="S">

- <DOR_COLLECTION>

- <row>

<Code />

<Name />

</row>

</DOR_COLLECTION>

</b1im:Payload>

- <b1im:Payload ObjectTypeId="Z.B1.8.8_DOR_COLLECTION" ObjectRole="R">

- <B1SQL xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" xmlns:jdbc="urn:com.sap.b1i.adapter:jdbcadapter" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:targetxsl="http://TargetXSLPrefixAlias" autocorrect="true">

- <Table action="delete" id="@DOR_COLLECTION">

<key id="Code" value="9" />

</Table>

</B1SQL>

- <B1SQL xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" xmlns:jdbc="urn:com.sap.b1i.adapter:jdbcadapter" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:targetxsl="http://TargetXSLPrefixAlias" autocorrect="true">

- <Table action="delete" id="@DOR_COLLECTION">

<key id="Code" value="9" />

</Table>

</B1SQL>

</b1im:Payload>

</b1im:Body>

I'm in B1 8.81 PL04 and B1i 8.8 PL04

I also do not understand why I have two B1SQL section...

If someone has an idea ?

Edited by: JULIEN LANCEAU on May 4, 2011 1:02 PM