Transformations using BPM - File -webservice-merge-File
Friends,
I have a requirement something like this.
1. i get the file through the sender file adapter
2. one field out of those sent by the sender will be used to make a webservice call to get dateofbirth and name details.
3. i need to merge these data (from file + webservice response) and send it to the receiver using FTP
Can you please elaborate as to how we can achieve this?
Thanks and Regards,
Pavan
Use a SOAP lookup;
/people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
More about the lookup api - https://help.sap.com/javadocs/NW04S/current/pi/index.html
Similar Messages
-
1:N mapping without using BPM -- IDOC to multiple files
Hi all,
I am facing a problem while sending multiple files,
I need to send files ( File1, File2 or FIle3) ...
I was able to successfully send the first 2 files and along with it the 3rd file is being created without any data... How to stop this file( either file2 or file 3 should be created) in creating..
I have done the sceanrio like this, )ALL the source and target files are XSD's imported)
In the Message Mapping <b>Messages Tab</b>
<b>Source is AFS_DELVRY03 occurence is 1,
Target files
rootI8 occurence is 1,
rootI9 occurence is 0...1,
rootIB occurence is 0...1</b>
I have done all the maping part , problem is all 3 files are being created(eventhough 2nd or 3rd has no data) , I need rootIB, either rootI9 or rootIB based on condition,
So any one has done the similar scenario, If please suggest me how to hadnle so that only 2nd or 3rd file should be created,
In Interface Determination i have selected the extended option also...
Should i do any specific handling in the Configuration part or should i create more than one mapping?..
U r suggestions are welcome and will be rewarded with points,
Regards,
sridharVenu,
Using a BPM, you can do the mapping / Split as needed and then send the files individually, using a Sens Step as needed. There are multiple ways in which this can be done with a BPM.
But, for a solution without a BPM, as the requirement is such that only 2 of the 3 target messages need to be created, multimapping would not work and the need for conditional routing occurs.So, this would require additional mappings.
The solution is either use a BPM or do the logic using Conditional Routing. Ofcourse the second solution requires 3 mapping programs , but you are avoiding a BPM which can cause a perfromance bottle neck.
If perfromance cannot become a bottle neck, then using BPM would make much more sense , but again it all boils down to the exact requirements and the feasibilty of the solutions!
Regards,
Bhavesh -
Need to use BPM for proxy tp file
Hi All,
i am using proxy to file . in this i taking the hole data from sap tables and sending to file.
i am sending from R3 side is near abt more than 100KB so it is not reaching to pi it failing it self in R3 side.
for this can we use pi andfor this can i spilt the source message into 50KB ,50 KB and then collect into BPM and send it to in one file.
Regards
Edited by: gangadhar kh on Dec 7, 2009 12:10 PMHi Gangadhar,
Performance wise we don't suppose to send that large amount of files at a time through XI, what we can do is we have to split those large messages into smaller messages and send to PI and sap recommended this.
Check this links
/people/alessandro.guarneri/blog/2007/02/21/sap-xi-acting-as-a-huge-file-mover
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID0036274150DB10726721545819601349End?blog=/pub/wlg/14425 (check second option here)
/people/udo.paltzer/blog/2008/11/03/real-life-customer-examples-for-high-volume-scenarios-with-sap-netweaver-process-integration
http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417300)ID0036274150DB10726721545819601349End?blog=/pub/wlg/5899 - (Zipping the file after receive unzip the file)
Regards
Ramesh -
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 -
Hi All,
In my current scenario I have 2 dependent sources (Proxy and File system) from which data is being sent to a common target service. The sources are dependent on Proxy/ECC to File System. Please let me know how I need to pick the file from File system because lot of files are there in File System. Based on my ECC/Proxy message details on field of ABN, according ABN number I need to be pick the file from the File system but I have lot of files in File system. Please let me know how to pick multiple files from one correct file based on my first file message.
After that picking the files I need merge the two messages and send to target file system.
Using fork I can merge files, no issues. But here problem to pick file dynamically Based on content .
Please provide your input......
Regards,
RameshHi Ramesh Sir,
You can go for JAVA Type Message Mapping.
ECC - > JAVA BASED MESSAGE MAPPING ( HERE WE WILL PERFORM FILE LOOKUP) - > RECEIVER .
Is This approach sounds fisible to you ?
Please provide Sender DataType XML / Receiver DataType XML + any 1 csv file in which lookup has to perform.
and this approach is only possible , if your Flat file is on FTP Server which is on the same network.
Regards
Prabhat Sharma. -
Sequential mapping without using BPM
I have a requirement where i need to do a sequential mapping without using BPM. IDoc to file is the first mapping.A few fields of the IDoc are transformed in this mapping. Output of this first one should contain the transformed as well as rest of the fields of the IDoc as it is coz they will be used in the second mapping.
Is this possible any way?yes soumen...u can do it.in the interface mapping option is there to do that...
but u can do it in a single mapping!!!
go thro' this general Idoc to file scenario...u may get some help
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539 -
How to restrict to process a File until another File gets processed
Hi Gurus,
we have a sceario in our system where PI system picks unicode Text files which has product and Forecast data information which is also a Flat File (unicode Text) and updates in SNP System.
For updating forecast information we need to have products to be set first in SNP system.. with out that Forecast signal are geting failedi in SNP system.
in our scenarios, we receive both product and Forecast files at the same time..(which cant be changed) which has different Processes in PI and poll interval is set as 60 secs for both.
But i want to restrict the Forecast Mapping Program process to be on hold for a certain time( say half an hour),so that Product mapping process will run sucessfully and updates all the products in the SNP System.
Worst case is :
Both files are getting updated at the same time, so that some Forecast signals are getting failed in SNP as product not found actually which is in the other file, because of that and we need to do lot of Recovery for those.. can some one please help me on this.
any refernces on this is highly appreciated....!
regards
SowseelHi,
you can use BPM if both the files have different processes. you can use switch steps with two
transformation steps and use wait step in one of the branch.
although 30 mins wait will consume much resources.
thanks -
Async-Sync scenario with out using BPM
Hi All,
With SP19 we can implement File-RFC-File scenario with out using BPM.
But can any one suggest how can I implement the following File-RFC-File scenario without using BPM.
My input file has five elements. A1,A2,A3,A4,A5
The RFC (BAPI) needs A2 and A3 as input and it produces the output R6.
Now in the destination I need to populate D1,D2,D3,D4,D5,D6.
D1 has to be mapped from A1 and so on till fifth element. D6 will be mapped from R6. In order to achieve this we need to store the value of source interface before calling the RFC so that when we get the response back we can populate the entire destination structure.
Can anyone advise how to go about it. I don't want to use a BPM here.
Thanks
AbinashHi
the following thread may help you
Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken]
File - RFC - File without a BPM - Possible from SP 19.
Thanks,
Ram -
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 -
Problem: Merging same Files into 1 File using BPM, Receiver File empty.
Hi All,
I am trying a scenario where I need to merge two similar files into one single file (Append) using BPM
I am following the same structure as defined in the predifined BASIS Namespace i.e. http://sap.com/xi/XI/System/Patterns for Integration Process BpmPatternCollectPayloads. The only thing I changed is that inside my loop I am having a container dat counts till 2.
Now when m testing d interface, the file @ reciver directory is generating, but without any data i.e an empty xml is generating. PI is also not showing any error anywhere.
My Message mapping structure is as follows:
Sender Side:
<Message> (1..1)
<Message1> (1..1)
<MT_myMessageType> (0..unbounded)
<Records> (1..1)
<Id(Used for correlation)> (1..1)
<Name> (1..1)
<Address> (1..1)
Receiver Side:
<Message> (1..1)
<Message1> (1..1)
<MT_myMessageType> (1..1)
<Records> (0..Unsbounded)
<Id(Used for correlation)> (1..1)
<Name> (1..1)
<Address> (1..1)
Can anyone plz help me.Inbound Message after PE, is empty, so the Request Message Mapping (Technical routing) step is also showing a Empty XML without any structure.
So you mean to say The inbound Message for BPM -
> File is empty?.....this clearly means that
1) the transformation step in BPM is not producing the required XML
2) some validation is imposed in the mapping...which if not satisfied is not creating the target structure.....
Can you ensure that the transformation step outside the block is working properly....and that your BPM design is exactly same as in BpmPatternCollectPayload (except the number of times the loop is executed)......
just few days back even i was stuck in a similar situation....the transformation step outside a Block was not producing a particular element in the target......i made some dummy changes in the mapping and then again included in the transformation step and then my BPM worked fine.......so the conclusion is either the data from block is not going into the transformation step or the transformation step is not creating the target.....
Regards,
Abhishek.
Edited by: abhishek salvi on Jun 30, 2009 12:10 PM -
Merging files in BPM using correlation
Hi all,
I am dng a file merging senario using BPM.Please let me knw any blogs or some help in dng the same.
Rgds
AdityaHi aditya
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
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
Refer to that link. you will find the BPM in your SAP BASIS (SWCV) in the namespace patterns
Pls reward if useful -
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 -
Hi,
I am trying to merge few files using BPM . I have tried for splitting the files . Can any one guide me how to proceed with the correlation and Receiver Determinations.hi,
chek the below blogs,
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
Using a BPM to collect messages for a set interval of time
/people/daniel.graversen/blog/2006/09/07/using-a-bpm-to-collect-messages-for-a-set-interval-of-time
Illustration of Multi-Mapping and Message Split using BPM in SAP Exchange Infrastructure
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
Various multi-mappings and Optimizing their Implementation in Integration Processes (BPM) in XI.
/people/narendra.jain/blog/2005/12/30/various-multi-mappings-and-optimizing-their-implementation-in-integration-processes-bpm-in-xi
regards
chandra -
Dear Friends,
Kindly give me some walkthrough doucment for File to Webservice Using BPM
it is urgent. Kindly help./people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
refer that to design your interface. Note that instead of RFC you will require to use a WSDL for the WS call.
Fotr more about WSDL and its usage in a scenario ref:
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2 -
Need inputs for FILE-Webservice-File using BPM scenario
Hello All,
can any one tell me how to do the file-webservice(soap adapter)-file with out BPM.
If we cant do with out BPM then, please let me know after importing the WSDL file, how many Message interfaces i need to create what are they.
Thanks and Regards,
chinnaHi Chinna,
Check this links for the receiver side SOAP configuration
http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
/people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2
Sender side File adapter configuration is as usual
> please let me know after importing the WSDL file, how many Message interfaces i need to create what are they.
It is a synchronous scenario so you need to create the two message interfacess for the sender (one is for request message and another is for response message). For receiver you don't need to create any message interfaces, because the WSDL internally having the two messages (request and response).
Regards
Ramesh
Maybe you are looking for
-
Please help me!!!! I have got a new Mac, I am trying to share my itues on it as well as my old mac, I have had two itunes accounts in my life, one is current now (this account) one I have not had access to the email for years. Since I have bought mus
-
I have a new ipad and have used the community to answer questions for myself. Your help has been great! I don't know how you got my sailsalot name from my Skype account but I signed in with you as "gags76" and got help with my new ipad. I discover
-
I need baby steps to understand where to go and what to do. I can't figure out how to do a diagnostic report. Seems like Windows would have links to click and open? Do I type the information in the address bar or what? Then, how do I submit the r
-
AS2 File name preseve - can we force the file name to be in Content-Type
Ref: http://www.b2bgurus.com/2007/11/as2-file-name-preserve-feature.html Our TP wants file name to be part of Content-Type of MIME rather than Content-Disposition. is this possible in Oracle B2B? Thanks, Kalyan
-
I've got a ton of digital media (photos, movies) scattered across my iMac's hard drive and need to do some cleanup. The problem is finding those files. I've read numerous posts saying all I have to do is change Finder's search criteria to "Size" and