cancel
Showing results for 
Search instead for 
Did you mean: 

sender communication channel

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi...

I have created 2 communication channels and 2 sender aggrements. In interface determination, while selecting interface mapping , it is showing "no objects found". Please suggest an idea for solving that issue.

Former Member
0 Kudos

In interface determination, while selecting interface mapping , it is showing "no objects found". Please suggest an idea for solving that issue.

I guess you are using BPM and you used transformation step in BPM to call your interface mapping.

If yes....then no need to select the interface mapping in interface determination for this scenario...

Former Member
0 Kudos

Hi shekar,

i have not used bPM in my scenario.

Former Member
0 Kudos

You cannot do this scenario without using BPM.

and you dont get IM if you select wrong combinations of source and inbound message interfaces.

Former Member
0 Kudos

Hi...

Please can u send the step by scenario with using BPM.

Former Member
0 Kudos

Design Part :

1)Create 2 source DT , 2 Source MT and 1 target DT,MT

2)Craete 6 Message interfaces

a) S_DT1_OB b)S_DT2_ABS

c)S_DT2_OB b)S_DT2_ABS

e)T_DT_IB c) T_DT_ABS

3)create the mapping b/w S_MT1,S_MT2 and T_MT

4)create the Interface mapping b/w S_DT1_ABS,S_DT2_ABS and T_DT_ABS

5)BPM Flow :

a)Fork with 2 receive steps(you have to make correlation b/w 2 receive steps)

b)Transformation (call the N:1 interface mapping here which you is implemented in (a))

c)Send (asynch....send the o/p to the target)

Do the necessary config....

Former Member
0 Kudos

Hi,

By using BPM its possible, but there should be a common field in the both files for correlation.

Answers (6)

Answers (6)

former_member537867
Active Contributor
0 Kudos

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.

Former Member
0 Kudos

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...

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

Former Member
0 Kudos

Hi

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

cheers

Former Member
0 Kudos

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".

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

your question #2.

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

Regards Mario