on 04-24-2006 8:34 PM
Hi,
I have a RFC -> XI -> File scenario.
Depending of a parameter information which I'll send to XI, I have to send a .XML or .TXT file in the Legacy System.
Is it possible? How and where can I configure this? In my Receiver communication channel?
Thanks,
Daniela
Thank you very much for helping me.
I still have one more question:
I understood that I have to create 2 communication channels, one for .xml and other for .txt
But where will I configure that:
If p_param = 'TXT', use cc_txt
If p_param = 'XML', use cc_xml?
Thanks,
Daniela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi daniel,
this is done using CONDITIONAL RECEIVER DETERMIANTION.
While doing your reciver determiantion, you can specify multiple receivers and also specify the condition on which the receiver is to be choosen.
Also, just check the last path of this blog for the same,
/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
Regards,
Bhavesh
Bhavesh and all you,
Thanks!
Regards,
Daniela
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Moorthy/Michal,
Can't we do this using variable substitution and hence avoid creating two communication channels.
The condition to generate .XML or .TXT file can be checked in the mapping and generate a tag which has the filename which can be used in the file adapater.
Regards,
Anish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You could achieve this using conditional receiver determination.
You would need to create two business systems/services on the receiver side. One for .txt and the other for .xml
In business system1 - use a receiver file adapter with the target file name as somefile.txt
and in business system2 - specify the target file name as somefile.xml
Regards,
Smitha.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Daniela,
<i>Is it possible? How and where can I configure this? In my Receiver communication channel</i>
It is possible.
You need to create 2 communication channels -
1) for .txt extension
2) for .xml extension
And you can achieve this using Conditional Receiever Determination.
For more~
/people/venkataramanan.parameswaran/blog/2006/03/17/illustration-of-enhanced-receiver-determination--sp16
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/a513f2632c332ce10000000a11466f/frameset.htm
Hope this helps,
regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>>Is it possible? How and where can I configure this? In my Receiver communication channel?
yes
you can have two receivers (receiver det based on XPATH for example)
based on the "parameter information which I'll send to"
and in one communication channel create txt
and in the other one xml type file
Regards,
michal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.