Skip to Content

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Jun 06, 2007 at 05:49 PM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 06, 2007 at 06:06 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 06, 2007 at 06:27 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 06, 2007 at 06:42 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 10, 2007 at 02:32 PM

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

    Regards

    Ravi

    Add comment
    10|10000 characters needed characters exceeded