Skip to Content
avatar image
Former Member

Multiple XML Type, Same filename, Single Comms Channel

I am using a file sender comms channel to pick up a files and have a single sender agreement to point the files towards an interface. However, the files can contain one of three different types of XML document and I need to point them towards different message interfaces. According to SAP's documentation I can only have a single sender agreement associated with a sender file comms channel. An example is below

File 1: input_feedback_20080916001 contents: XML_Type One

File 2: input_feedback_20080916001 contents: XML_Type Two

File 3: input_feedback_20080916001 contents: XML_Type Three

File 4: input_feedback_20080916001 contents: XML_Type Two

File 5: input_feedback_20080916001 contents: XML_Type Three

My problem how do I process these documents in this scenario. How do I use a single comms channel to process these files and then get them to the right message interface. Obviously the easiest solution is to have a unique name so that I can identify the three different XML types. However, the partner will not rename the files.

I appreciate your help

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Sep 16, 2008 at 10:04 AM

    Hi,

    Use the file name as *.xml in the Sender Communication channel. so that all the Files will be picked up which are having the .xml extension

    Regards

    Seshagiri

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Seshagiri,

      That is what I thought - One file receiver, one sender agreement = ONE XML document.

      I shall go back to my partner and see what I can do.

      Thanks

  • Sep 16, 2008 at 10:09 AM

    HI,

    One solution to your problem is to create three more outboiund interfaces with different names and then three communication channels with three sender agreements.Although this is not recommended solution but Do this if nothing works for your problem. Do necessary changes in mappings at repository side.

    Thanks!

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      sudhir, I'm not sure how that would work and what I'm supposed to do with it.

      What I need to do is find some way of determining what documents I have and then getting them to the appropriate interfaces.