on 08-08-2017 6:16 PM
Hi,
I am building an scenario for update some UDO Document type in SBO. I am using the B1 Service Call Atom for that. But it is giving me an error when the atom call i s executed.
My UDO name and Code in SBO is "NominationClients". I am using the service call atom with the Payload options.
I am getting the following error:
SapBobsCom.GeneralService.90.0 Description: Invalid XML. Expected collection name 'NominationClientssParams' but 'NominationClientsParams' provided
In the Service call atom I have the following options:
And in my previous atom transform I have this:
<Envelope>
<Header>
<Action DIServiceName="GeneralService" update="update" get="getByParams" throwException="true">update</Action>
</Header>
<Body>
<BS ServiceCode="NominationClients">
<GetOrDelete>
<xsl:element name="NominationClientsParams">
<xsl:element name="DocEntry">
<xsl:value-of select="$docEntry"></xsl:value-of>
</xsl:element>
</xsl:element>
</GetOrDelete>
<InsertOrUpdate>
<xsl:element name="NominationClients">
<DocEntry>
<xsl:value-of select="$docEntry"></xsl:value-of>
</DocEntry>
<U_B1C_NomNumber>
<xsl:value-of select="$nomClients/NomNumber"></xsl:value-of>
</U_B1C_NomNumber>
<B1CDR001Collection></B1CDR001Collection>
</xsl:element>
</InsertOrUpdate>
</BS>
</Body>
</Envelope>
Hi all,
Sorry about the delay. I solved the issue. When you register your UDO you have to make sure that the Object Name doesn't end with 's'. In my case I changed it from NominationClients to ClientsNomination, and in my xml replace NominationClientsParams for ClientsNominationParams. That made the trick.
Best regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
9 | |
5 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.