on 03-23-2015 6:41 AM
Hi Experts,
I am working on a File to ECC(Proxy and IDOC) in one interface..
we get multiple files placed in the FTP server..PI reads all the files and send to ECC via IDOC and Proxy.
if the Po_Number = 1 then it creates IDOC and Po_Number = 2 then it sends the data via Proxy...means the receiver component in receiver determination is only one(SAP_ECC).
both the files have the same file naming conventions and placed in one folder..I have 2 separate mapping for IDOC and Proxy structures.
As the receiver component is only one (ECC)...how can i differentiate Porxy and IDOC in it.
Please advise.
Hi Smith,
First you need to have 2 different comm.channels.One for Proxy and one for IDOC.
Afterwards you can maintain the condition in reciever determination based on XPath.
Please try this nad let me know if helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Smith,
In addition, you can refer to the XPATH conditions as mentioned in following link (on similar lines you can define your condn in Interface Det)
http://wiki.scn.sap.com/wiki/display/XI/Xpath+Condition+in+Receiver+Determination
Regards,
Azhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Eng,
Sorry for the confusion over here. I totally agree with you.
The conditon need to be maintained in Interfcae determination.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
since the structure are different that means there would be 2 diff comm channel.. which in turn requires 2 receiver agrrement. your sender agreement would be 1, interfcae determination and recever determination would be again 1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Smith
You can add a condition in the Interface Determination step to choose the different mapping based on XPath condition of PO_Number. You will then need separate receiver agreement and receiver comm channel for IDoc and Proxy.
Rgds
Eng Swee
Message was edited by: Eng Swee Yeoh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.