Skip to Content
avatar image
Former Member

sender communication channel

Hi..

We were doing File to File scenario. In that we have to give 2 physical files as input and one output.

InputFile1---Name,Place

InputFile2----Id,company

Outputfile----Name,Place.Id,company.

Can this scenario is possible without using bpm?

And in sender communication channel how to give the two input filenames in source directory?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

7 Answers

  • Best Answer
    avatar image
    Former Member
    May 15, 2008 at 09:45 AM

    Can this scenario is possible without using bpm?

    You cannot do this N:1 scenarios without using BPM.

    And in sender communication channel how to give the two input filenames in source directory?

    If you are using the same comunication channel for 2 sender agreements....specify *.xml in the file path.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 15, 2008 at 10:12 AM

    Hi

    it will be good if u use two communication channels and two sender agreements and it will avoid any confusions

    cheers

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi...

      you said that to create 2 communication channels and 2 sender aggrements. we have did the same. What about interface determination? I n Interface determination , while selecting Interface mapping it is showing "no objects found".

  • avatar image
    Former Member
    May 15, 2008 at 11:41 AM

    Maybe the combination of the outbound and inbound message interface is incorrect. Make sure that the namespace is valid as well.

    If you are convinced they are fine, check the cache notifications in IR.

    And also ,if you are using BPM...

    Then check this...

    why-no-interface-mapping

    *********Reward points,if found useful

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 15, 2008 at 09:47 AM

    Hi,

    your question #2.

    The easiest way is to create two communication channels and two sender agreements.

    Regards Mario

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 15, 2008 at 09:51 AM

    Hi,

    have a look at the below blog

    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter

    Thanks,

    Mahdu

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 15, 2008 at 09:51 AM

    Step one:

    If the different files have the same structure, read them with a sending file adapter and route the to an receiving file adapter which appends all messages to a new combined file.

    Step two:

    Read the new combined file with a sending file adapter and route the messages to your target interface.

    This approach of-course means that you can not do any correlations as you can in BPM. I.e. you will not "know" when all three files have arrived but just simply read the combined files at certain times and pick-up whatever content it holds.

    Note: reward points if solution found helpfull

    Regards

    Chandrakanth.k

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi...

      Thanx for ur reply. Do we need to create 2 sender agreements,2 communication channels. If it is the case then we need to create 2 interface determinations also. Please help in this regard.

  • May 15, 2008 at 12:23 PM

    Hi leelaratnam,

    Try to follow the steps below and go through the blogs u will get a clear idea of merging technique using BPM:

    1.Do the Message mapping and interface mapping with 2 source messages and 1 target msg.

    2.FORK with "2" branches to receive the 2 files. Each fork will contain a RECEIVE STEP with correlation.

    3.Transformation (call the N:1 interface mapping here which you had done)

    Then you will have 2:1 mapping where you will cominbe the 2 files into single file and send step to send the data to the target file.

    http://help.sap.com/saphelp_nw04/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm

    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

    Regards,

    Vinod.

    Add comment
    10|10000 characters needed characters exceeded