Skip to Content

How to split file based on condition send to 2 sap systems(bapis) 7.3.1 verion

Hi friends,

How to split 2 file and based on condition then send to 2 sap systems. i need using bpmsbut explain sap pi 7.3.1 version

Thanks&Regards

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jan 06, 2014 at 04:16 PM

    Hi Bhanu,

    I assume you need to split one into two message and send to 2 SAP system.

    you can achieve this multiple flow in PI.

    source (file) -(source adapter)-> PI (split the file using multi map) -(SOAP adapter)-> PI (receiver via sender SOAP adapter) --> based on receiver determination send to two different system from PI.

    please let me know if my assumption is not correct.

    regards,

    Harish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 06, 2014 at 04:38 PM

    Hi Bhanu - Can you please provide some additional details?

    Is it an XML file/ is it a flat file?

    On what basis you want to split the file i.e. i mean is there any specific attribute?

    Is there any transformation (mapping) before we send it to target systems?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 06, 2014 at 05:07 PM

    If you are looking to merge two files at sender, its the same scenario as in 7.1 to use BPM or to use OS commands in sender channel.

    Regards,

    Pranav

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 06, 2014 at 08:22 PM

    You can use interface determination to check the condition for sending messages to different systems.

    Use this link for Multimapping and u can easily do it..

    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90dcc6f4-0829-2d10-b0b2-c892473f1571?overridelayout=t…

    Add a comment
    10|10000 characters needed characters exceeded

    • For the first one as everyone suggested

      Do FCC in SFTP sender channel using MTB

      Route the messages using RD(XPATH)

      For the second one, If you want to avoid BPM - Append the files on the local server(NFS).

      Then develop a pass through interface which will pick the appended file and post it to SFTP server.

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.