cancel
Showing results for 
Search instead for 
Did you mean: 

message mapping!

Former Member
0 Kudos

Hi all,

I am doing a Idoc to file scenario.The XSD for target side i have got has more than 5000 fields :(.

Out of these 5000 i have to map only 200+ fields...

now problem is that.. there exits more than 2000 mendatory fields which i must map..with any default value

is there any way to map remaining mendatory fields with some default value in a single shot...rather selecting each and evry field and doing mapping???

i can't disable the unwanted fields since i need the tag in the XML...

Regards

Biplab

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I wish there was a "single shot" for your situation, but only developing a Java mapping program can get the task easier for you.

Regards,

Gökhan

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

If you want to do this kind of things better to use

UDF/JavaMapping/XSLT mapping.

Try for UDF.

Reward points if needful.

Thanks,

RamuV

Former Member
0 Kudos

I don't think you can achive this with UDF. Can you give a sample code Ramu?

Former Member
0 Kudos

Hi,

I think we can achieve this using XSLT mapping too.

These are XSLT elements available. Check if this helps.

http://www.w3schools.com/Xsl/xsl_w3celementref.asp

Thanks,

Vijaya.

prateek
Active Contributor
0 Kudos

U may write a java mapping code wherein u may assign constants to a series of nodes. A generic code could solve ur purpose

Regards,

Prateek