on 05-25-2007 1:23 PM
Hi all
in my scenario i am mapping an IDOC interface to a file..
at runtime one segment E1EDKA3 is repeated 2 times..like
E1EDKA3.ort01
E1EDKA3.ort01
i <b><b>want a field value of ort01 of the 2nd segment not the first</b></b>... to be mapped to file..
by default it is taking value of the first segment ort01 field
can any one have the user defined function coding...as i am not from java background..
Regards,
ashutosh
Hi Try this out
UDF Context type
Input ort01
Code
result.addValue(ort01[1])
Mapping
ort01 --- removecontext -- UDF --- Target
Mudit
Award points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
You can achieve it in two ways
one is by copyvalue and second is UDF
copyvalue
source -- copyvalue(double click enter 1) -- target
with UDF -- take queue option
source -- remove context -- UDF -- target
in UDF
result.addValue(1)
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Just to add
User defined function(UDF) will be context type
and remove context is a node function.
Mudit
Award points if it helps
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.