on 07-07-2011 10:03 PM
Hi All,
(This is an IDoc to IDoc scenario)
I am working on a scenario where I need to send a mapped IDoc to four local folders. (The local folders are for archived copies of the IDoc and for pick up by third party systems. We are not concerned with the IDocs after deposit in the folders) The key is to have 4 identical copies of the IDoc in 4 different folders after mapping through PI. This is not for xml versions of the IDoc, this is for the flat text version of the IDoc.
I have already mapped the IDoc and have also taken care of the 1:N issue on the outbound IDoc. What is the best way to get 4 copies of the mapped IDoc to four different folders? Couldn't seem to find a definitive answer anywhere!
Thanks!
Don
Hi,
Step 1)
You Have to use a file port instead of HTTP port to create a TXT file on a file server.
Step 2)
Create a scenario in PI system which picks the file and moves to multiple receivers (PUt no condition in the RX determination).
For this you have to create multiple receivers and multiple receiver communicatoin channels.
Best Regards,
Ravikanth Talagana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
I currently have 4 file ports configured in PI, one for each target directory location. Since I knew this was going to be part of the solution I had them created already.
Could you please be a little more specific when you say "Create a scenario in PI system which picks the file and moves to multiple receivers (PUt no condition in the RX determination). For this you have to create multiple receivers and multiple receiver communicatoin channels."
Thanks!
Hi,
Since you require identical copies of the idoc in 4 different locations, use a 1:1 mapping and 4 different receivers as mentioned by Ravi.
So your receiver determination would contain 4 receiver systems.
btw, how are you converting the Idoc to the text format? using Abap mapping or module bean (this is possible if you are o Pi 7.1 Ehp 1)
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all and thanks for all the answers so far. I have all receivers configured in Receiver Determination as business services, each with their own communication channel and each channel to its own target directory. However, at runtime I receive the following error in receiver identification:
SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code
<SAP:Stack>No receiver could be determined</SAP:Stack>
Can anyone shed some light on this?
Thx!
Edited by: donald.meredith on Jul 8, 2011 10:55 AM
Hi Donald,
What i mean is, when you configure the receiver determination , you have to specify the interface name where you can find the basic type and idoc type ( usually it will be like <BasicType>.<IdocType>
Compare these values with the values that you see in the idoc control record in the payload (SXMB_MONI).
If it does not help, you can try deleteing the idoc meta data using IDX2 and try reloading the metadata.
best Regards,
Ravi
Hi Ravi,
I am sending PAYEXT.PEXR2002.PEXR2002 and the payload confirms this as below:
<IDOCTYP>PEXR2002</IDOCTYP>
<CIMTYP>PEXR2002</CIMTYP>
<MESTYP>PAYEXT</MESTYP>
<STDMES>PAYEXT</STDMES>
<SNDPOR>SAPDEV</SNDPOR>
<SNDPRT>LS</SNDPRT>
<SNDPRN>DEVCLNT400</SNDPRN>
<RCVPOR>PIDDEV100</RCVPOR>
<RCVPRT>LS</RCVPRT>
<RCVPRN>SAPXI</RCVPRN>
<CREDAT>20110707</CREDAT>
<CRETIM>150248</CRETIM>
<SERIAL>20110420145801</SERIAL>
</EDI_DC40>
- <E1IDKU1 SEGMENT="1">
<BGMTYP>PEX</BGMTYP>
<BGMNAME>EXTENDED PAYMENT ORDER</BGMNAME>
I will delete the metadata again in IDX2 and re-load. Is there anything else you can think of or may need from me in order to diagnose/resolve the issue? Thanks in advance for your help thus far!
Donald
Hi,
try with multi mapping in PI , you have to convert IDoc to Flat file, so use FCC in Receiver File channel, but you required multiple File channels(4) here.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
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.