Skip to Content

split one source file to multiple files to different target locations

Hello experts,

I get a file generated from NW BPM with around 4000+ invoice line items for several Business Units. Before posting them to FI, those have to reviewed by respective Business Unit users. So, I want to split the single source file into multiple files based on the Business Unit and place them at different target locations. What is the best way to implement this? Please note that we have around 50 business units? I have been thinking about splitting based Operation Division (higher level to Business Unit) and dynamically place the files (based on a field value from the source) at different target locations? Is this possible using the File receiver adapter? We are on PO 750 SP16.

Also is it better to implement this iFlow with these many interface splits or should I split them at the BPM level? Please share your solutions or thoughts around this. Thanking you in advance.

Regards,

Sai

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Nov 07, 2019 at 06:56 AM

    Hello Sai,
    You can split the file into multiple messages using multi mapping. Please see this link and other related link the same blog -

    https://blogs.sap.com/2010/03/16/multi-mapping-with-a-simple-scenario-fledgling-kit/

    But handling different directories in Multimapping will be tricky and not sure if that is possible at all.

    In that case, you can split the scenario in to two separate iFlow using SOAP loopback approach.

    1st iFlow will be BPM to internal PI with multi mapping and 2nd iFlow will be PI to target FTP directories.

    Thanks

    Sugata

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 08, 2019 at 08:15 AM

    Hi Sugata,

    Thank you for the response. I have used the multi-mapping and generating multiple messages based on the Cost Centres in the payload. This seems to be the better solution than looping within the BPM.

    Regards,

    Sai

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.