on 09-16-2009 9:31 AM
Hi all,
We are using Idoc Orders Change,our requirement is that if EIDEP01->E1EDP19001->IDTNR is null then out come should be null else if EIDEP01->E1EDP19001 has some value in it ,BP(constant)
must be sent.
Graphical mapping
if IDTNR EQuals(text function) constant [] then IDTNR else BP(Const)----->target.
The issue is that even though IDTNR Value exists BP is not seen in the output file for every alternative record.
Eg:Rec1--->IDTNR exists----->BP
Rec2--->IDTNR exists----->Null
Rec3--->IDTNR exists----->BP
Rec4--->IDTNR exists----->Null
Rec5--->IDTNR exists----->BP
Rec6--->IDTNR exists----->Null
Rec7--->IDTNR exists----->BP
Rec8--->IDTNR exists----->Null
I am really confused why this is happening.Any help would be appreciated
Thanks,
Srinivasa
Hello ,
Try below code,
for(int i = 0; a.length>i;i++)
{
for(int j = 0; b.length>j;j++)
{
if(c[j] == "")
result.addValue(c[j]);
else
c[j] = "BP";
result.addValue(c[j]);
}
Pass a As EIDEP01
Pass b As E1EDP19001
Pass c As ADTNR
Edited by: Siddhesh Pathak on Sep 16, 2009 11:02 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> if IDTNR EQuals(text function) constant [] then IDTNR else BP(Const)----->target.
The mapping seems correct. Try to close your IR and then open it again and then test. This could be some temporary memory issue.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
constant[BP]/----> then
IDTNR --->Notequals---->if------------------->Target filed
constant[]/ constant[]----> else
if the issue is still not resolved try removeContext after IDTNR(or change the contect explicitly to the higher node.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try This:
<IDTNR> IfExist then BP(Const) else constant [] -
>target.
Shweta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.