on 08-16-2016 4:14 PM - last edited on 02-04-2024 3:15 AM by postmig_api_4
Hi All,
I am trying to read the KUNNR attribute in COND_A04. (Price Feed), from Grouping handler to perform custom logic.
I am using 5.7 datahub and 5.5 version Hybris. Can you tell me if i am missing anything? I am getting the below error :
com.hybris.datahub.model.InvalidAttributeException: Field : E1KOMG-KUNNR is not defined for type : RawCOND_A and cannot be retrieved
My changes in Raw extension :
<dependency>
<extension>mycustom-canonical</extension>
<extension>sappricing-raw</extension>
<extension>sappricing-canonical</extension>
</dependency>
</dependencies>
<rawItems>
<item>
<type>RawCOND_A</type>
<attributes>
<attribute><name>E1KOMG-KUNNR</name></attribute>
</attributes>
</item>
</rawItems>
<canonicalItems>
<type>CanonicalPrice</type>
<attribute>
<name>priceType</name>
<transformations>
<transformation>
<rawSource>RawCOND_A</rawSource>
<expression>E1KOMG-KUNNR</expression>
</transformation>
</transformations>
</attribute>
</canonicalItems>
In Canonical extension :
<dependency>
<extension>sappricing-canonical</extension>
</dependency>
</dependencies>
<canonicalItems>
<item>
<type>CanonicalPrice</type>
<status>ACTIVE</status>
<attributes>
<attribute>
<name>priceType</name>
<model>
<localizable>false</localizable>
<collection>false</collection>
<type>String</type>
<primaryKey>false</primaryKey>
</model>
</attribute>
</attributes>
</item>
</canonicalItems>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.