on 01-06-2014 3:59 PM
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
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..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Friends,
My Scenario is Text file(fixed lenth) we r using SFTP here.
my data split based on condition
if company code is US then transfer to sap(bapi) r system
if company code is uk then transfer to sap(bapi) D system here we r using RFC
one more Scenario:
data coming from sap(Bapi) R and D systems
Sap r system(USing Bapis) data comeing 10 clock
Sap D system (using bapis) data coming 12 clock thes two bapis merged and send single file to file server (here using SFTP ADAPTER) fixed lenth
Thanks®ards
Hi Bhanu
For the first scenario use the below step
1. Do content conversion in adapter.
2. Use condition in the receiver determination, choose the xpath of company code and use the condition
U need to create two interface determination and two receiver agreement and one sender agreement.
For the second scenario
You need to use BPM. You will get lots of blog on message merging in BPM.
For second scenario.
with ccBPM.
ref http://scn.sap.com/thread/913427
With out BPM.
Ref http://scn.sap.com/thread/3332737
br, avinash
Hi Bhanu,
if company code is US then transfer to sap(bapi) r system
if company code is uk then transfer to sap(bapi) D system here we r using RFC
--> One always be for US or UK or it can be for both (multiple message in one file)? If it is for one country then you can route the message from RD (receiver determination) else you need to use multiple flow (one flow to split the multiple message and second flow to route the message).
for your second scenario you need to use the BPM.
regards,
Harish
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.