on 08-25-2010 11:17 AM
Hi,
My Scenario is File to File Scenario, in which i need to drop the 2 target file in the ftp server in the same directory.
For Eg:
Source Fields:
EMPNO
ENAME
Address
Department
ContactNumb
2 OUt PUt files that to be dropped as below:
In the 1 st output file
ENO
ENAME
Department
In the 2nd output file
ENO
ENAME
Address
ContactNumb
i dont have any condition for splitting the messages,
IR OBJECTS
I have created 3 data types, 3 message types, 3 Services Interfaces, 1 Message Mapping ( Through Signature in PI7.1 i have called the 2 output message types), 1 Operation Mapping.
ID OBJECTS
1 Sender Comm Channel, 1 Rceive Comm Channel, 1 Sender Agreement, 1 Receiver Determination, 1 Interface Determination, 1 Reciever Agreement,
When i search with multimapping there they suggest to go for enhanced Interface Determination, but in PI 7.1 i didn't find the Enhanced Interface Determination.
My Question:
1. HOw many Receiver communication Channels are required. With one can we use Dynamic File Naming Conf.. UDF whethr it will drop multiple file names in the directory of FTP , Please suggest how to handle this..
Expecting your valuable inputs ..
Thanks,
Sai
Hi Sai
u can only create 2 datatypes and 2 messagetypes and 2 message interface
now creat 2 message mapping and 2 interface mappings
for the 1st message mapping just map the fields
ENO
ENAME
Department
and for the second Mapping
ENO
ENAME
Address
ContactNumb
in the Integration Directory creat 2 communication channels under 2 different business services.
and 2 interface determination
2 receiver determination
1 sender aggement
2 receiver aggrements
Vankadoath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In PI 7.1 and above, you won't find Extended Receiver Determination as a separate option as in till PI 7.0.
You have to use the same standard interface determination for multimapping and it will work.
You have to create 2 receiver channels and hence 2 receiver agreements.
In each channel you can use Variable substitution method to generate the file name.
-Supriya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Supriya and thanks for your speedy reply!
If I understand you correct, I would have to create another ServiceInterface corresponding to my outgoing XML-structure which will be used together with the second communication channel in the second Receiver Agreement. I assume that I have to create a 2nd Message Mapping and Operation Mapping since this will differ from that of the IDoc mapping, is this right?
A question:
Why and how do I use Variable substitution method to generate the file name?
Kind regards,
Joe
Hi
you may refer to the following link for variable substitution:
http://wiki.sdn.sap.com/wiki/display/XI/CombiningthreedifferentaspectsofPIinoneshot
/people/jin.shin/blog/2007/04/27/sap-netweaver-xi-variable-substitution-with-adapter-specific-message-attributes-via-dynamicconfigurationbean
Regards
Ridhima
>
> i dont have any condition for splitting the messages,
> IR OBJECTS
> I have created 3 data types, 3 message types, 3 Services Interfaces, 1 Message Mapping ( Through Signature in PI7.1 i have called the 2 output message types), 1 Operation Mapping.
>
You can create 3 service interface or create one service interface for sender and one for receiver , and use multi ple operations in receiver interface, so it avoids using other one.
even different one also work.
> When i search with multimapping there they suggest to go for enhanced Interface Determination, but in PI 7.1 i didn't find the Enhanced Interface Determination.
>
There is no radio button such in PI7.1 wwhen you use Multi Mapping by defulaut it work like that..so you no need to select anything in ED,just add your operation mapping.
> My Question:
> 1. HOw many Receiver communication Channels are required. With one can we use Dynamic File Naming Conf.. UDF whethr it will drop multiple file names in the directory of FTP , Please suggest how to handle this..
Create Two receiver Communication Channels and Two receiver Agrements .
Regards,
raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Raja,
As per our discussion i have created ESR objects and ID objects, with 2 reciever communication channels and 2 receiver agreements,
With Respect to ER:
Message Mapping: I have usind multi mapping using signature tab. Have called 2 message types at the target.
But while mapping i didnt map any element to the headers of the target.
as a result the output files are generated with out any data.
Later i have mapped the target headers with the only one source header.
Source Header -- Target Header1
Source Header -- Target Header2
When i test the scenario at Message mapping level it is working fine but when i test the complete scenario
throwing following error in moni..
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Request Message Mapping
-->
- <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="MAPPING">GENERIC</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MM_mulout_</SAP:P1>
<SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
<SAP:P3>on: Cannot create target element /ns0:Messages/ns0</SAP:P3>
<SAP:P4>:Message1/ns1:MT_output1. Values missing in queue~</SAP:P4>
<SAP:AdditionalText />
<SAP:Stack>com/sap/xi/tf/_MM_mulout_com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:Messages/ns0:Message1/ns1:MT_output1. Values missing in queue~</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
indicate target header is unable to create i have mapped with all possiblities,
Please suggest me towards getting the solution..
Thnks,
--Sai
User | Count |
---|---|
84 | |
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.