on 12-05-2006 11:56 AM
Hi All,
I need to send the Target structure to a file,
scenario is IDOC to FILE
Let me explain in detail
I am having more than 100 fields in Taget Structure.. and only 40 fields are mapped w.r.t Source structure... eventhough the taget fields are not mapped how can i send a blank in the reciveing file for all the non mapping target fields..
I have done this way by using a constant with blank and assigned to all the non mapping fields ...
it works fine ... But is there an alternate without using to map all non mapping fields for target..?
Help is appreciated and rewarded
Thanks and Regards,
sridhar Reddy
Or use a generic outbound java mapping to generate the output file..:)..by passing the metadata of the idoc to the mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sridhar,
Can u trz this?
Ur message mapipng which maps the IDoc fields to ur target structure.
create a generic Java Mapping which takes the output of ur previous mapping and creates a target structure which will be the IDoc structure itself.
Anil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think there is no other way .. but only map with constant to all fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try out built-in function mapWithDefault in the mapping. anyway you need to do this for each every field..
We have done similarly whatever you have done long back..
Regards,
moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sridhar,
we faced a similar problem. Our solution was same as yours:
You have to map every field to a constant.
Regards Mario
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 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.