cancel
Showing results for 
Search instead for 
Did you mean: 

B1if General Service UDO update issue

Former Member

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>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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,

Answers (0)