cancel
Showing results for 
Search instead for 
Did you mean: 

B1if can't update translation (MLT1, OMLT)

Stef5
Explorer
0 Kudos

Hey, 
hope somebody can help me finding the  root cause of my issue. 
I am trying to update translations in SAP via B1iF. 
Adding new translations works without any problems. But as soon as I try to update them, I am getting some errors. 

If i leave the numerator value empty: 

<Payload Role="C" id="atom13" system="0010000241" status="success" b1login="Technical User" method="Synchronous Update" objectid="224" payload="atom14" keyname="TranEntry" keyvalue="58" DIresult="failure" DImsg=" Exception : DI Error: (-2035) This entry already exists in the following tables (ODBC -2035)-The di call #1 did fail."/>

If I insert a numerator: 

Exception : Input values '["58" , "58"]' does not match with expected class names '["com.sap.smb.sbo.api.ICompany" , "java.lang.Integer"]' for SBO object type '224'-The di call #1 did fail."/>

This is the input for the Call: 
<BOM>
<BO>
<AdmInfo>
<Object>224</Object>
<Version>2</Version>
</AdmInfo>
<QueryParams>
<Numerator></Numerator>
</QueryParams>
<MultiLanguageTranslations>
<row>
<TableName>OITM</TableName>
<FieldAlias>ItemName</FieldAlias>
<PrimaryKeyofobject>123456</PrimaryKeyofobject>
</row>
</MultiLanguageTranslations>
<TranslationsInUserLanguages>
<row>
<LanguageCodeOfUserLanguage>8</LanguageCodeOfUserLanguage>
<Translationscontent>New Item Translation</Translationscontent>
</row>
</TranslationsInUserLanguages>
</BO>
</BOM>

 

Many thanks in advance. 
Kind Regards

Accepted Solutions (0)

Answers (0)