Skip to Content
0
Aug 30, 2017 at 06:46 PM

Product Description from SAP ERP is not storing properly in Hybris

138 Views

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