Search code examples
sap-commerce-cloudimpex

error while importing data through impex


I am trying to insert into ProductFeature table in which product object is used. But unable to do it. How to insert values to the below impex header?

insert_update ProductFeature; product(code,catalogVersion(catalog(id[default=hpeCatalog]),version[default=Staged]))[unique=true];qualifier;value[translator=de.hybris.platform.catalog.jalo.classification.impex.ProductFeatureValueTranslator] 
;J007007;abcd;efgh

Solution

  • Adding to @dj_frunza answer, since value is Object type, you need to give object type followed by its value both separated by comma (,)

    INSERT_UPDATE ProductFeature; product(code,catalogVersion(catalog(id[default=hpeCatalog]),version[default=Staged]))[unique=true];qualifier;value[translator=de.hybris.platform.catalog.jalo.classification.impex.ProductFeatureValueTranslator] ;
    ;J007007;abcd;String,efgh