cancel
Showing results for 
Search instead for 
Did you mean: 

Bundling multiple files and sending it through BPM to a file adapter

former_member187447
Participant
0 Kudos

hi,

i am trying to send multiple files(N:1) through a BPM to a file adpater. i am having some problems. i would like to know how many message interfaces i need and how many container variables do i need and what are they.

kalyan.

Accepted Solutions (0)

Answers (5)

Answers (5)

ravi_raman2
Active Contributor
0 Kudos

is this fixed or are you still stuck, let me know , i can send u the java program if u need it

Regards

Ravi

former_member187447
Participant
0 Kudos

hey raman,

thanks for the concern, i am doing it without using java but please do send me the code, i will also try that way.

thanks

kalyan.

moorthy
Active Contributor
0 Kudos

Hi,

All these inputs are of same type ? If so, you can check out this:

http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm

if you have multiple file formats for .eg. 2 different file formats, then you can go with this solution:

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

These are present in BPM patterns in your Integration Repository

Hope this helps,

Regards,

Moorthy

justin_santhanam
Active Contributor
0 Kudos

Kalyan,

In IR open SAP BASIS 6.40 , Namespace :http://sap.com/xi/XI/System/Patterns

Integration Process:BpmPatternCollectMultiIf

Look the pattern, it describes wht u looking for.

Best regards,

raj.

ravi_raman2
Active Contributor
0 Kudos

Alternatively, you can use custom function in java to merge all the files........

1) Open and read file(BufferedReader) as String,

File[] files = {file1, file2, file3};

iterate over array and read all files, append them to a string buffer then use that to create a file and post it to the file adaptor

Let me know if this helps atleast point u in the right direction

Regards

Ravi

former_member187447
Participant
0 Kudos

hi,

i am new to java mapping so i dont how to try it that way.

kalyan.

Former Member
0 Kudos