on 02-04-2009 5:46 PM
Hi all,
this is a file to idoc scenario.there are 2 parameters that may required to be passed to below udf.
taxamt,dtl
taxamt is a fieldname,dtl is rootnode which has about 15 fields.
int i = 0;
for ( int j = 0; j < b.length ; j ++)
{
if (b[j].equals(ResultList.CC))
{ result.addContextChange(); i = i + 2; }
else{
if (a<i>.equals("000000000"))
result.addValue("U0");
// else if (a<i>.equals(ResultList.CC)){}
else
result.addValue("U1");
}
}
taxamt----
dtl----
UDF tax_code
r1
r2
.
.
.
r15
the problem i am facing is that there are about 11 line items in my fileeg U1,U2......U11.
all these elements must be sent to the receiver Idoc.I could able to receive only 1 line item.
Please correct my code so that I can receive all the line items..
Thanks,
Srinivasa
Srinivas,
I can fix this, but i would need your source and expected target.
Regards
Ravi Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Potharaju
Did you check UDF type function is ? Context or Queue..
Or maybe need to verify the context for the field taxamt
..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
did you check the occurrance of the line item in target idoc structure? if it is 1:1 then change it to 1: unbound...
it shd work...
Karna,,,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.