cancel
Showing results for 
Search instead for 
Did you mean: 

Error xml handling

Former Member
0 Kudos

Hello,

Wanted to discuss a scenario.

There is a java bean which picks word files and converts into xml files.

2 kinds of xml files can be generated ( Either of 2): In case its second kind of file ,need to send it as an email.

how can we achieve this?

Thank You.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey

Once you get the XML file,you can do a simple check in Receiver determination and route the file to correct receiver based upon message content.

Thanks

Aamir

Former Member
0 Kudos

how do we do this receiver determination ?

one xml file will be taken and an idoc be generated... second xml needs to be sent as an email to support team.

Former Member
0 Kudos

Receiver determination is the first step in message processing after sender adapter picks the file.

specify the condition in receiver determination.

when the first condition is satisfied,message will be routed to correct interface determination and receiver agreement,this will do the correct message mapping,invoke the IDOC receiver communication channels and post in ECC

Same thing happens when message is roited to mail adapter configuration.

Former Member
0 Kudos

Just another thought : can something be done in receiver determination to check nodes of xml tags.

Both the different files hav a particular format for xml tags.