Skip to Content
0
Former Member
Jun 29, 2015 at 08:19 AM

E1EDP19 mapping issue in ORDERS05 IDOC

418 Views

Hi experts,

I'm mapping ORDERS05 IDOC to an XSD from a WSDL i'm using, each E1EDP01 creates a Order line int the target XSD

in E1EDP01 we've got E1EDP19 that gives us material number and description.


in my case in the 4 recurrence of E1EDP01 I've got 2 E1EDP19 with diferent QUALF, i'm performing :

if without else QUALF = 2 than pass IDTNR to material number, i get a suppress value for when QUALF=1 and it crushes the mapping.



I've treid using remove context but it messes up the order of data in the diferent Order lines (item in xsd), I've also tried using this UDF to remove suppress but it returns the value NULL instead of suppress which also crushes the mapping :


for (int i=0; i<a.length;i++)

{

if (!a[i].equalsIgnoreCase(ResultList.SUPPRESS))

{

result.addValue(a[i]);

}

}

can anyone help on how to simply preform this simple task ? what am I missing ?

Attachments

Untitled.png (53.4 kB)
Untitled.png (20.1 kB)
Untitled.png (73.7 kB)