cancel
Showing results for 
Search instead for 
Did you mean: 

Calling IDoc structure from IDOC metadata into Java mapping.

Former Member
0 Kudos

Hi All,

I have a requirement where we need to post an IDOC on target side, We are having to go for a Java Mapping ,so I need to create a Target XML with IDOC Structure, So i need to understand if we could import the structure from IDOC Meta Data in to the Java Mapping insted of creating the IDOC Structure, I am using DOM parser for my Java Mapping,

Really appreciate your response in this regard.

Best Regards

Jayaram

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Jayram,

In your requirement, get the xsd format of the idoc from idoc structure and using String xsdFormat ="xsd retrieved"; in the java mapping, you can create the xml structure using DOM parse APIs and then you can put values into the structure and pass it.

Thanks,

RK

RaghuVamseedhar
Active Contributor
0 Kudos

Hi Jayram,

Please explain the scenario end to end.

Regards,

Raghu_Vamsee

Shabarish_Nair
Active Contributor
0 Kudos

dont think the normal DOM supports such a feature but i think JDOM api might help you to create a XML based on an XSD.

Not sure.