on 06-08-2009 2:48 PM
Dear All,
I am working on Idoc to File scenario and i have a requirement like..
INVOICE02
E1EDP01
E1EDP05
BETRG
E1EDP05
KSCHL
BETRG etc
condition :
If KSCHL not equals to space then map all BETRG's to a target field which is not mandatory. Sometimes E1EDP05 may not contain KSCHL and when i set the context to E1EDP05 level its not considering the BETRG values, it behaving lik taking up the condition part and summing part seperately.
It would be really great if anybody comes up with some ideas.
Thanks a lot
Hari
I such cases..I prefer to raise the context of all the fields under E1EDP05 , pass them to a Java function...THen in the function use conditions to check string not empty etc...and for the appropriate condition store the other fields in array lists...
U can use these array lists to populate the target fields...
Of course this method is usefull when u have relatively few fields...
Regards,
Arvind R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
KSCHL ----> exists
-----------------------> And ------->ifWithoutElse -------------> Target
KSCHL Then(BETRG)
-------> equalS ---> Not
Constant(blank)
Context of KSCHL should be above that of E1EDP05
I hope that Target node is repeating -
0...unbounded.
Regards,
Abhishek.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Abhishek,
Thanks for your reply.
I already tried it by setting the context to top level node E1EDP01 but didn't work.
for ex : KSCHL exists only 3 times where as BETRG exists for 5 times and for both context set to E1EDP01.
queue length does not match here.
(Condition : Add all EDP05-BETRG if E1EDP05-KSCHL is not equal Space and map directly into target field.)
Regards
Hari
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.