on 06-29-2015 9:19 AM
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 ?
Hi Zevik,
As you are populating target Item node based on source node E1EDP01, can you please put context of QUALF & IDTNR to E1EDP01, and keep the same logic as it is and check the outcome.
Try this and let me know if you still having issues.
Regards
Vishnu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Zevik,
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 :
Can you give a complete sample input/output to completely visualize what should happen?
Regards,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.