cancel
Showing results for 
Search instead for 
Did you mean: 

Product Description from SAP ERP is not storing properly in Hybris

former_member664713
Active Participant
0 Kudos

Hi all, OOTB data hub extensions , product description is not coming so I added below code to get enter code herIn raw xml -------- RawMATMAS E1MARAM-E1MTXHM-E1MTXLM-TDLINE

         <item>
             <type>CanonicalProduct</type>
             <attributes>
                 <attribute>
                     <name>description</name>
                     <transformations>
                         <transformation>
                             <rawSource>RawMATMAS</rawSource>
                             <expression>E1MARAM-E1MTXHM-E1MTXLM-TDLINE</expression>
                         </transformation>
                     </transformations>
                 </attribute>
             </attributes>
         </item>
 --------
 In canonical xml
      <item>
             <type>CanonicalProduct</type>
             <attributes>
                 <attribute>
                     <name>description</name>
                     <model>
                         <localizable>false</localizable>
                         <collection>true</collection>
                         <type>java.util.List</type>
                         <primaryKey>false</primaryKey>
                     </model>
                 </attribute>
             </attributes>
         </item>
 --------------
 In target xml
      <attribute>
                             <name>description</name>
                             <transformationExpression>description</transformationExpression>
                             <exportCode>description</exportCode>
                             <mandatoryInHeader>false</mandatoryInHeader>
                             <collection>true</collection>
                         </attribute>e

After adding I am getting product description, that to Product Description from SAP ERP is not storing properly in Hybris. Suggest me if any idea on this issue. Thanks

former_member224482
Active Contributor
0 Kudos
 <type>java.util.List</type>

The only supported type in Data Hub is <type>String</type>.

The field description in commerce is not a collection.

You should read first on SAP ITF format before improvising its value processing.

Accepted Solutions (0)

Answers (1)

Answers (1)

VinayKumarS
Active Contributor
0 Kudos

As per my understanding the product description is a localized content. It comes as a local specific not as a list.