Problem in merging two files using BPM
Hello Frens,
I am doing a scenario for merging of two files N:1 using BPMu2026
I have to merge two files into one file. The two input files are as below :
File1 : Id, Name, Age, Place
File2 : ID, Street, Adrress
And output File is : ID, Name, Age,place, street, Address
For this scenario I have defined three datatypes , message types and the message interfaces as below :
For File1: Mi_file1_ob, Mi_file1_abs
For File2: Mi_file2_ob, Mi_file2_abs
For output : mi_output_ib, mi_ouput_abs
In interface mapping I have selected two source interface and one targetu2026
For Integration process I have selected two receives as two branches of fork and transformation to collect them and a send..
In IR part I have defined three communication channels sender1, sender2 and a receiver . I have imported the integration from IP and rest is sameu2026
I am facing a problem for getting the outputu2026
When I checked in sxmb_moni everything is fine and sxi_cache and the return code is also 0 but I am not getting the outputu2026
Can anyone help me in finding out the problem..
Thanks in advance...
Hi,
Have a look into these blogs and links
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
you can design the ccBPM. To know more about Correlation -with e.g
http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
Re: Correlation
http://help.sap.com/saphelp_nw04/helpdata/en/a5/64373f7853494fe10000000a114084/content.htm
i hope this will help you.
Regards
Aashish Sinha
PS : reward points if helpful
Similar Messages
-
Hello frens,
I have to do a scenario which will merge to files into one file using BPM....
Means for example :
File 1 contains these fields:
First Name
Last Name
File 2 :
First Name
Last Name
The output File which I required is :
First Name
Last Name
First Name
Last Name
Can anyone send me the step by step procedure fr this scenario?
Thanks in advanceHI go through these links,
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
Many other examples can be found under the following link at help.sap.com
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
And some weblogs
https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
/people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****
/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
/people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
Also have a look at these seminars,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
go through these links,
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
Many other examples can be found under the following link at help.sap.com
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
And some weblogs
https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
/people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****
/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
/people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
Also have a look at these seminars,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
go through these links,
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
Many other examples can be found under the following link at help.sap.com
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
And some weblogs
https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
/people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****
/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
/people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
Also have a look at these seminars,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
Note: reward points if solution found helpfull
Regards
Chandrakanth.k -
Problem merging two files in BPM
Hi everybody,
I need to develop the following scenario:
I have File_A and File_B.
File_A:
xxx 0001 xxx xxx xxx ...
xxx 0002 xxx xxx xxx ...
xxx 0003 xxx xxx xxx ...
File_B:
xxx 0001 xxx xxx xxx ...
xxx 0001 xxx xxx xxx ...
xxx 0001 xxx xxx xxx ...
xxx .... xxx xxx xxx ...
xxx 0002 xxx xxx xxx ...
xxx 0002 xxx xxx xxx ...
xxx .... xxx xxx xxx ...
xxx 0003 xxx xxx xxx ...
xxx .... xxx xxx xxx ...
After reading these files I need to send several IDOCs (REMADV) as follow:
In this case it would be 3 IDOCs:
IDOC1: One line from File_A and every lines from File_B related by the Key field with the File_A. In this case key field = 0001
IDOC2: Key field = 0002.
IDOC3: Key field = 0003.
In conclusion, I need to send an IDOC for each correlation between one line in File_A and several lines in File_B.
I tried to develop a BPM correlation with the second file but it didn`t work as the second field of the File_B is not always the same.
Any idea?
Thanks in advance.
Regards,
CarlosHi,
This will help you
http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/56373f7853494fe10000000a114084/frameset.htm
Error when trying to merge two files
/people/shabarish.vijayakumar/blog/2005/12/07/transformation-error-and-still-stuck
BPM: Messager Merge - Transformation Mapping Problem
Regards
Agasthuri Doss -
Issue with Merging two files in BPM
Hi,
I need to merge two files (Balance and transaction) with correlation is defined from ID, Date and Accountnumber..
Sometimes, when there are no transaction records, then balanace file will come up number "0"
Balance file:
MDk;1728;175;02.09.11;781961.09;0.00;0.00;781961.09;;;;;;;;;0
MDk;8574;175;02.09.11;4462;1112;104098800;104102150;;;;;;;;;2
from the above file, two accounts..
MDk;1728; --- with zero transaction record
MDk;8574; --- with two transaction records
Transaction file:
MDk;8574;175;02.09.11;;DEBIT;;;;;-1112;;0;02.09.11;;;;20555;;;037;
MDk;8574;175;02.09.11;;CREDIT;;;;;104098800;;0;02.09.11;;;;;;;099;
We are using Correlation to merge the files by using the fields (MDk;8574;175;02.09.11)
Now the issue is the BPM is not working as the correlation is not matching as the balance file consists of a row (with zero transaction record) which is not present in transaction file.
I have to ignore the first record in balance file as it contains 0 transaction data which means there are no records for this account in transaction file.
How can I delete those records before going to merge condition? Is there any thing i can do in balance file adapter?
Any suggestions please?
Thanks
DeepthiHi Ramesh,
This is the problem at the first step of the BPM where we will receive the files.
Start> FORK (Rec1 & Rec 2)>TransforMap( Merge_to_targetfile )-->SendtoReceiver -->END
It is failing at step1 (Fork), where the files are not matching according to correlation condition which we set.
ie. ID, Date, Accountnumber.
As the transaction file doesn't contain the record "MDk;1728;175;02.09.11" which is present in Balance file, the correlation is not matching. Hence it is failed. It is not even reaching to map
As correlation is mandatory to receive two matching files, it is failing here.. -
Error when trying to merge two files
Hi
I am working with the scenario merging two file using Fork and join construct ie using bpm I have struck with an error I have mentioned the error below
Unable to deliver event 'Received' of object
Error handling for work item 000000001197
Parsing error before mapping : unexpected Symbol; expected '<'. '</',entity reference character
Work item 000000001197 : object CL_SWF_XI_MSG_BROKER Method
Call Transformation cannot be executed
Any suggestion how to resolve the errorHi
Thanks for the valuable Suggestions
The issue was solved by me itself
Thank you -
Merging files using BPM-Prod Issue - JDBC to File.
Hi all,
We had a scenario in which data is available in two database tables and that data needs to be merged and dropped in a File system.
To meet this requirement we have developed a BPM with constant correlation and it was working fine.
But some days one file wont get generated as the JDBC adapters are polling the DB tables based on date.So there are chances that records wont be present in DB for that particular date and file may not be created.So if only one file is generated my entire business scenario fails as the fork step used to merge two files will not be completed.
The records which is pulled from DB table is based on data an i have written UDF based on these dates.
Could someone help me in finding a solution.
Thanks & Regards,
Lekshmi.Hi ,
I have included a deadline and exception branch in my scenario and it seems to be working fine.Need to do some more testing in this regard.
But i have one doubt regarding this issue.In the transformation step i have used multi message mapping where i have mentioned the occurrence of both input messages as 1. I was expecting this scenario to throw an error at transformation step (since only one message was given as input )once i have made the changes but surprisingly it didnt happen.Could you pls tell me why this didnt happen..
Rgds,
Lekshmi. -
In BPM merge of two files scenario based on the correlation we merge two files and send to target, but my requirement is if any message comes then that data goes to target.
data types
send1
id
name
address
send2
marks
university
state
receiver
id
name
address
marks
university
statet
-
Kindly help in this regards.. its a file to file Bpm collect message scenario
1) my ? is i am having two sender data types i combined in message mapping and mapped to target structure but when i want to send file how can i send two diffrent files.
1) wht i did is when i press test button i gave details of datatype1 and removed the other xml code and paste it in notepad and anmed as file1 and i repeat the same thing for file 2 aslo.
2) i did this scenario by seeing saptechnical (file to file using bpm)
plz help me out how to achieve this probs.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="BPE_ADAPTER">MESSAGE_NOT_USED</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Message is not used by any processes</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>Hi Raju,
As per my understanding you want to merge two files and send it to the target. Then you can do it with and without BPM. But, since you are using BPM then you have to create Integration Process in IR and design it like:
2 receiver step
1 sender step and 1 transformation step
Follow these steps:
Create 2 Source DT, 1 Target DT
Create 2 Source MT, 1 Target MT
Create 2 Outbound MI, 2 Abstract MI for Source MT, create 1 Inbound MI and 1 Abstract MI for Target MT.
Create Message Mapping. Insert 2 Outbound Source and One Inbound Target and MAp it whatever you want.
Create Interface mapping in same way as Message mapping only difference will be use Abstract interface in both sides.
Now go to BPM.
Create BPM with steps like this
Start -> Fork -> Two receive (define co relation)-> after fork Transformation step (Give IM) -> Receiver Dtrm -> Send -> end.
Configure ID -
Create 2 sender Agreement (2 communication channel (Bus Sys to IP )), 1 receiver agreement (1 CC, IP to Business System)
I hope it will be helpful for you.
Thanks
Nutan -
Multiple IDocs to File using BPM
Hi All,
I have configured a scenario of multiple IDocs to file using BPM. In this scenario while I am triggering IDoc from R/3 system it is sent to the external program. I am getting in the status record of WE05 as IDoc is sent to an external system with status code 03. But I am unable to view the same message in moni of the XI system.
Also I have checked the ALE settings on both the sender and receiver side and it is fine.
Also in SM58 nothing is there in queue.
Can anyone solve this issue of mine?
Cheers,
Neethu.Hi,
in many cases it's a problem with the RFC connection. You should try an authorization test in SM59 of the R/3 system.
This might also be useful:
http://help.sap.com/saphelp_nw04s/helpdata/en/6a/e6194119d8f323e10000000a155106/frameset.htm
Regards
Patrick -
How can i make calculation in two file using two parameter
how can i make calculation in two file using two parameter
Solved!
Go to Solution.i am having two differnt file, both file having no and time , i want to make programme that when, number and tiome is same in both file give that index onle in , i am going to attached the file
Attachments:
iisc11-jan2010extract.txt 1253 KB
sp3.xlsx 12 KB -
Hi,
Can any body send the file to file scenario using BPM and also some other typical scenario's on BPM with screenshots.
Thanks in advance .
Regards,
Prem.Shi
these r some useful blogs for bpm scenarios.
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
FILE TO FILE SCENARIO USING BPM
Interface mappin in File to File using BPM
/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
/people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
Regards
rajesh -
How to merge two repositories using(MUD)
hi all,
how to merge two repositories using mude, for example i have sh rpd and paint rpd how to merge two repositories using Multi user development(mud), please don't give venkat forums link and oracle's training doc links.
Is this possible? if it is possible please help me .
Thanks
NareshHi Naresh,
What you could do is:
1. do a ontime command line merge of both repository using the nqudmlexec tool
2. In the mergerd repository created two project (sh and paint) and assign one bussiness model to each project.
3. Make this the master repository for your MUD.
4. Check the projects in and out.
regards
John
http://obiee101.blogspot.com -
Regarding file 2 file using BPM
Hi Experts,
In file to file using BPM scenario my file is being picked in the server but it is not displaying again after polling interval. please help me one this issue as early as possible.Hi,
File is picked up from the server is ok, but it does not mean that it reached to IE.
Just go to RWB-Component MonitoringAdapter EngineCommunication Channel MOnitoring. and check the Sender File adapter from there and let us know the status??
If it is in Error it cannot be delievered to IS and BPE, so first check it
Thanks
Farooq. -
Merge xls files using powershell
is there any way to merge xls files using powershell ?
What does "merge" mean? Copy cells? Copy Sheets? Copy formulas? Copy Data?
"Merge"is way too vague.
¯\_(ツ)_/¯ -
Joining data in multiple files into a single file using BPM
Hello All,
Can someone kindly give me any documentation or step by step procedure to join data in multiple file and display it all in one single file, using BPM.
Thanks in advance,
XI_Novicehi,
Check this blog also...
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
regards
Maybe you are looking for
-
Error with JDEV upgrading from 11.1.1.3 to 11.1.1.7
Hi We have portal application built on Jdev version 11.1.1.3 (Weblogic 10.3.3 and jdk 1.6.0_18). Recently we started upgrading to Jdev version 11.1.1.7 (weblogic 10.3.5 and jdk 1.6.0_24). we built the application with 11.1.1.7 middleware, during the
-
Read From Measurement File... removes X Values of first column?
During one of our tests, two instruments were switched at the terminal by accident. I need to read in the massive lvm files, remove the wrong scaling and apply the correct scaling, while switching the values in the columns and right it all to new fil
-
Video messages are not received
caludius ive been trying to send video messages for days and they have not been received. i have been communicating with the person on my PC but the video messages were sent with my iPhone through the Skype iOS app. if i communicate with her on Mobil
-
ACE Redirect. Configuration Problem?
Hi, I´m configuring Redirect in ACE 4710 and it doesn´t work fine. The client has two real servers and he wants redirect the traffic when both real servers are down. They have other server with static content (http) for redirect the trafic. The confi
-
Any problems with Web Tool Project (WTP)?
Hi The Web Tool Project has just been released. http://www.eclipse.org/webtools/ Has anyone tried installing webtool and Nitrox together and if there are any conflict between the two? I have not installed it myself but would like to get feedback from