Skip to Content
0
Sep 22, 2017 at 02:27 PM

Datahub Transformation Expression not working for E1EDKA1-PARVW as ship-to-party

178 Views

Hi Experts,

We have implemented Hybris(v6.3.0.0)-SAP(S/4 HANA) integration using datahub(v6.3.0.0). In our custom Order extensions, we are manipulation Partner Function(E1EDKA1-PARVW) to return it's corresponding Partner(E1EDKA1-PARTN). We are using below transformation expression in our custom Raw extension for various Partner Function(E1EDKA1-PARVW) scenario such as AG/RE/RG/WE:

 <expression spel="true">#root.getField('E1EDKA1-PARVW') == 'RE' ? #root.getField('E1EDKA1-PARTN') : null</expression>
 

Above expression works fine for AG & RE, and returns respective associated Partner. But expression for WE/RG, doesn't work and during publication it shows returned value as ignore

Interestingly, if i change Partner Function value from AG/RE to WE(in iDoC at runtime using WE19), it works fine for WE.

What might the issue here ? Is there anything specific required related to shipTo party ?

Thanks, Yaten