on 10-26-2007 7:16 AM
hi , IT'S URGENT,
Aim of our scenario
the single file is splited according to company code and creates as separate file
previously it was sending to same server..
we have got the CHANGE REQUEST ON THIS SCENARIO that to route to TWO FTP servers which is splitting according to company code.
But we are not changing any objects in IR
we have only need to change in ID
as now we are using on BUSINESS SERVICE which we have created in ID itself we are not using the BUSINESS SYSTEM created in SLD
We are using ONLY one INBound interface , Interface MApping , Message MAPPing .(no cahnges in IR)
Sender XML Structure
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_FileEwadCompany occurence1-1
xmlns:ns1="http://bridgegcs.com/HR/EmployeeWorkforceAdminDataXI_IHR004">
<COMPANYEWADDATA> 0 -unbound occurence
<AUDIT_STAMP/>
<SEQNO/>
<SE_TYPE/>
<RECNAME_AUDIT/>
<FLD_NAME/>
<OLDVALUE/>
<NEWVALUE/>
<KEY1/>
<KEY2/>
<KEY3/>
<KEY4/>
<COMPANY/>
<SCE_PAYROLL_CODE/>
<ALTER_EMPLID/>
</COMPANYEWADDATA>
</ns1:MT_FileEwadCompany>
</ns0:Message1>
</ns0:Messages>
Receiver XML Structure
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_FileEwadCompany 0-to-unbound
xmlns:ns1="http://bridgegcs.com/HR/EmployeeWorkforceAdminDataXI_IHR004">
<COMPANYEWADDATA>0-unbound
<AUDIT_STAMP/>
<SEQNO/>
<SE_TYPE/>
<RECNAME_AUDIT/>
<FLD_NAME/>
<OLDVALUE/>
<NEWVALUE/>
<KEY1/>
<KEY2/>
<KEY3/>
<KEY4/>
<COMPANY/>
<SCE_PAYROLL_CODE/>
<ALTER_EMPLID/>
</COMPANYEWADDATA>
</ns1:MT_FileEwadCompany>
</ns0:Message1>
</ns0:Messages>
IN Integration Directory We have to route to 2 FTP servers based on Company code .
WE have used XPATH with particular company codes TO one target Business service which we have created in ID where we are using one FTP server(FTP server 1).
For all other company codes it has to send to second FTP server for Second business system which has been created in SLD .
previously they used INTERFACE DETERMINATION as ENHANCED TYPE
IF we change to STANDARD its not DISPLAYING INTERFACE MAPPING in pop up window.
As now we created now .
One receiver determination
Two Interface DETERMINATIONs(As enhanced type).
Two REceiver Agreements.
As now we have tested
it is sending all files to both servers.
But we need to send to specfied FTP servers on the basis of COmpany code which we declare in XPATH expression.
could any one can guide us
POINTS WILL BE REWARDED FOR BEST ANSWERS..It's urgent
THanks in ADvance
Nandan
Please have a look at the following blog
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
you need not go into the message mappin details he has given,simply look at the ID configurations
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nandan !
You can add the two destination business services in the Receiver Determination object in ID and set the XPATH condition there based on message content to choose your receiver system
Regards,
Matias.
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 | |
7 | |
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.