Configuring a multiple IDOC-File using BPM
HI,
My scenario involves 2different idocs which are to be mapped to a file structure,the steps that i have followed in IR is ,
1.Create target MesageType
message Interfaces.
2.Create 2 Abs interfaces based on IDOC
3.Create 1 Abs for o/p of BPM.
4.Create 1 Inb for target.
Message mapping.
5.Two dummy mappings for outbound idocs to abstract idocs.
6.One multimapping(two idocs-->File)
7.One Dummy mapping for Abstract Intf(output of BPM) to target Filestructure(inbound).
Interface Mapping.
8.Two Mesage intf for changing Outbound idocs to Abstract using the dummy mapping programs)
9.One Message Intf using 2 abs Idocs to One Abs File(using the multimapping pgm)
10.one msg Intf for BPM Out --> Inb File (using the dummy mapping pgm)
Integration Process.
I have used a fork step under which there are 2 recieve steps to recieve the IDOCS and then a Transformation step that would multi-map the idocs to the file,then a send step.
Please let me know if the approach is right.
Also Could anybody please let me know what steps do i need to take in the Configuration part and should i use the wizard or should i do it manually.
the problem using the wizard is it doesnt let me choose 2 Message interfaces for the sender ie; IDOCS,
Please help me on this.Thank you waiting for a reply....)
John,
<i>5.Two dummy mappings for outbound idocs to abstract idocs.
7.One Dummy mapping for Abstract Intf(output of BPM) to target Filestructure(inbound).</i>
These dummy mappings are needed. As both the Abstract Message Interfaces and the Idoc / Inbound interface will use the same message type, no dummy mapping needed. In the interface determination for these, no interface mapping needs to be mnetioned.
ID.
Receiver Determaintions
1. Sender Service -- IDOC1 and Reciver Service is -- BPM. Sender Interface will be IDOC1 and Receiver Interafce will be The IDOC abs interface . No Interface mapping.
2. Sender Service --- IDOC2 and Receiver Service is -- BPM. Sender Interface will be IDOC2 and Receiver Interafce will be The IDOC abs interface . No Interface mapping.
3. Sender Service is BPM , and receiver servcice is File. Sender Interface is File Abs interface and reciver interface is the Inbound File interface.
1 Reciver Agreement for the File adapter.
Regards,
Bhavesh
Similar Messages
-
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 -
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 -
File to IDOC Scenario using BPM
Hi Experts,
I am working on file-Bapi-Idoc scenario using BPM.
I have two conditions
1. If the Sonumber is populated then need trigger an Bapi_change
2.If the Sonumber is not populated from the file then need to trigger a Bapi_Createfromdat to create the sales order and receive the salesorder number as response from Bapi
and the response of these BAPIs should be validated whether the Bapi is successful or not.
If it is successful message then need to trigger IDOC or else should throw an alert message.
let me know the steps involved in this scenario.
can i send alert message to other email IDs or can i send it to only XI admin?
Please let me know u r inputs.
Thanks in advance
PraveenHey,
You need to have a BPM for this.
BPM design.
Recieve step(abstract asynchronous) for file structure
Switch Case(condition whether sonumber is populated or not)
if populated
Branch 1(of switch)
transforamtion step:- mapping between File and Bapi_Change(Request structure)
Send step(abstract syncronous) To send the BAPI_change
Branch 2(of switch)
transformation step:-mapping between file and BApi_Create
Send step(abstract synchronous) To send the BAPI_Create
Block step(which will include the Switch step)
trigger an Execption in case of an error(in any of the two branches) through the block
The Exception will trigger an alert.
Now after the Block step there will be a transformation step(which will have the mapping between RFC response and Idoc)
Next is the send step(abstract asynchronous) for the idoc
In case if there is no exception the Idoc will be triggered or the exception branch will trigger the alert
rewards points if useful
regards,
Milan -
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 -
Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process. I have a client application which will prepare number of source files and some meta data information (in .XML) which will be used in header/footer. Is it possible to put a run time generated DDX file in the watch folder and use it in Process. If possible how can I pass the file names in the DDX. Any sample Process will be very helpful.
If possible, make use of Assembler API in your client application instead of doing this using watched folder. Here are the Assembler samples : LiveCycle ES2.5 * Programming with LiveCycle ES2.5
Watched folder can accept zip files (sample : Configuring a watched folder to handle multiple input files and write results to a single folder | Adobe LiveCycle Blog ). You can also use execute script to create the DDX at runtime : LiveCycle ES2 * Application Development Using LiveCycle Workbench ES2
Thanks
Wasil -
Multi-Mapping in IDOC without using BPM ?
Hi ,
Please check ..
Can below given blog can be used to achive Multi-mapping in IDOC without using BPM ?
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
Regards
PSSolved .. Thx every one .
Approache Used :
1. Created mapping with Change signature on target Message type(idoc) with 1..N Occurence.
2. Operation mapping with change Occurence on Target Operation(1..Unbounded) .
3. Used same Operation mapping in Interface Determination with 0..unbounded(Multiplicity). -
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 -
Collecting Idocs without using BPM
Hi Experts,
I am working on a sceanrio, where Idocs are coming from sap and we need to generate a single Flat file out of them.
For this scenario first we need to collect the Idocs and then process them to make a single file output.
To achieve the same I am using the BPM to first collect the Idocs and make a packet out of them and then processs it to generate a single flat file.
Can someone please suggest me that, How can we achieve the same without the BPM.
If yes, how can we do that?
Thanks in advance.
Regards
PradeepPradeep ,
Option 1 : /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
here you collect them as a file and file is picked up and sent to the target
Option 2 :
in WE20 in ERP set idoc package to 50
in XI sender idoc channel - package to 50
XI will receive 50 IDOCs at once...
(courtesy Michal....till then i thought there is no sender idoc adapter )
Option 3 : collect using BPM.
Option 4 : This is what i woould suggest....no need of collecting you can send one idoc at a time generate the file.....why do u want to collect?
Edited by: Tarang Shah on Mar 20, 2009 7:38 AM -
Post Author: markeyjd2
CA Forum: Exporting
Greetings forum members,
My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records. When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record. The file names would be based on the table's primary key.
Is this possible?Post Author: Micha
CA Forum: Exporting
Hi,
you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
Here's an abstract of the ASP code I use:
First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
Micha -
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 -
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. -
Open multiple pdf files using Acrobat Reader?
Can we open and switch between multiple pdf files using Acrobat Reader?
Of course, but if it's Reader X or later each file will appear in its own window. This can't be changed.
-
Collect Multiple IDOC(Single IDOC type) to single file using BPM
Hi All,
When i am generating multiple IDOC for the same message type, i am getting multiple payload for the same as a result i used to get multiple files generated in application server.
Now if i use BPM only to collect multiple IDOC to a file then what all the steps that i need to follow for the same.
Ex: I want to post 10 IDOC for a single IDOC type,, Now using BPM in XI i want to collect all the 10 IDOCs with multiple payload into one single message and then want to process this in XI to generate the file.
It would be glad if anyone refer me a good step by step blog for the same.
Thanks in advance,
JayThanks a lot Abhisek.
I have also got a blog explaining the exact thing. But in the blog the ID part was missing which is present in the link you have provided.
I will be glad if you can through some light on the ID part,, however the IR part and the BPM part is now mostly okay to me.
I will configure this today only,, and may seek your help for any huddle.
Thanks a lot once again.
Regards,
Jay. -
File to multiple IDOC split without BPM
Hi expert,
I have a flat file to IDOC scenario. In flat file, I have thousands of rows. Each row need to create one IDOC. In IDOC, I have 3 segments(seg2 is the child of seg1, seg3 is the child of seg2). Each field in flat file will be mapped to the same name in IDOC. Here is my example structure:
MT_Flatfile
row--0:unbounded
seg1a --0:1
seg1b --0:1
seg2a - 0:1
seg2b - 0:1
seg3a - 0:1
seg3b - 0:1
Sample_IDOC_name
IDOC - 0:unbounded
EDI_DC40
seg1 - 1:1
seg1a - 0:1
seg1b - 0:1
seg2 - 0:unbounded
seg2a - 0:1
seg2b - 0:2
seg3 - 0:unbounded
seg3a - 0:1
seg3b - 0:1
I mapped row to IDOC. It did create multiple IDOCs. But each IDOC only contain seg1. Then I mapped row to seg2 and seg3 node. The first IDOC has three segments and the rest still only have seg1. And in first IDOC, the seg1 is filled correct. seg2 and seg3 have multiple records. Can anyone tell me how I do mapping without using BPM for this case to make each IDOC has one seg1, one seg2 and one seg3?
Thanks a lot.
Charles
Edited by: Charles M Gates on Nov 22, 2011 4:08 PM
Edited by: Charles M Gates on Nov 22, 2011 4:09 PMHi,
Your issue come from certainly to the fact that in source file, for at least one row, there is a segN which is missing (see occurence "0..1").
And so after that, you have a bad behavior to the target Idoc segment, due to the fact you did not manage properly the Context. In Message Mapping, use the right click to display your context, and you will see a difference of context between your source and the desired target.
the error certainly appears for a sub-segment which exist whereas its highest level is missing (in your source).
regards
Mickael
Maybe you are looking for
-
Loading Data Error while using SQL Loader
Hi All, I am facing another issue while loading the data from text file to oracle db. I have a table in which data is loaded from multiple files. What i want the when i load the data i want to load the filename as well in the table in front of the re
-
Hi all, I am new to SAP FI. Can any one suggest me names of some goods books which would provide me indepth knowledge of all the sub modules. Regards.
-
Web Service issue in moving to TST
Initially created web services using web service creation wizard in SE37 . Released and tested using tcode WSCONFIG and WSADMIN. After patch update in our DEV system, the tcodes WSCONFIG and WSADMIN become obsolete, so used tcode SOAMANAGER . But wh
-
I did some update on nokia software and currently lost all previous default themes? how do I recover to last known working state;
-
Why does the music on my iPhone take bigger than in iTunes
As topic, I'm not really sure why. On my iPhone the music take up 11.3 Gb but in iTunes it is 10.34 Gb.