on 01-15-2009 9:31 AM
Hi! I have a tricky one here.
I have this mapping structure :
HEADER -
> HEADER
IDOC -
> IDOC
FIELD -
> FIELD
If a certain input occurs in the FIELD element I want a new IDOC segment to appear.
for example:
(Source) (Target)
HEADER -
> HEADER
IDOC -
> IDOC
FIELD (xxx) -
> FIELD
IDOC -
> IDOC
FIELD -
> FIELD
I assume that i need to write an user-defined function?? I don't want to duplicate the subtree because if that certain input does not occur i don't want the new IDOC segment to appear.
// Thanks
Edited by: Sonny Chaos on Jan 15, 2009 10:31 AM
hi,
>If a certain input occurs in the FIELD element I want a new IDOC segment to appear.
there is nothing tricky in this one
just write a UDF map field - segment
and your UDF will create the segment when a value of field will be.. something
it's a common requirement
Regards,
Michal Krawczyk
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.