on 07-11-2017 12:23 PM
Hello Friends,
The scenario is IDOC to JDBC.
In IDOC I have a segment,
ZE1KNA1 cardinality 0:9999
I have field - ZTYPE under this. If ZTYPE has atleast 1 occurance of value 'Z1' then I have to supress all IDOC. Target message should not be generated.
Kindly suggest what kind of mapping logic need to be applied.
Thanks in advance.
Hari
Hi Hari!
Try this:
ZTYPE->RemoveContexts->FixValues("Z1" - 1; Default 0)->Sum->equalsS(0)->createIf->Target_Message_Root_Node.
Regards, Evgeniy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hari,
If I get the requirement not to generate a target message under certain circumstances, my first thought usually is to sort out the unwanted messages during receiver determination already and not even let them go to the mapping. You can send those filtered out IDocs to a dummy receiver, so you can later on easily see that they were filtered.
Regards,
Patrick
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.