Communication channel name
hi experts,
can two communication channels in different scenarios have same name? i had configured two different channels with same name in diffent scenarios ? does this work? please help
Hi Srinivas,
I don' think you can create two CC with same names with in the same Business Services. At runtime it will throw an error which one should it pick.
Unless these are in Different Business Services that you specify in Collaboration Agreements.
Try to follow some naming convetions that makes it easier to avoid confustion.
Best Regards
Praveen
Similar Messages
-
Communication channel name in message mapping ?!
Hi,
I have the problem that I have to know the sender channel name in a message mapping.
The reason is, that I have to set a flag if the message comes via one sender channel.
Of course a solution would be to use differnt Services but I won't do that. Is there any smart solution?
Thank you for your help
ThomasThere are a few weblogs on gettign the filename. Check whether that would suffice for you.
If you really need cc name try the following.
Write a small module function for the adapter.
(Check this note - 819761)
See whether you can get the channel name using the object of type Channel (may be getName() or something similar, I'm not sure about this)
If not,
See whether you can define an additional parameter in the channel and access it in the adapter module and send it to the IE. Then make an additional parameter and set the value as cc name. (Here I'm not sure whether unrecognized additional parameter will affect the adapter functionality)
Maybe you can give a try and let us know!
Regards,
kk -
Dynamic Configuration for two file adapters communication channels
Hello Experts!!!!!!
In one of the interface in my landscape, I am using two file adapters for creating two files with different names and at two different destination on F.T.P.
However the receiver service for both the communication channel are same.
In message mapping I am using multi mapping to create two files out a single message.
Now i have a requirement of changing file path and file name using dynamic configuration for both the comm channel.
When i doing dynamic coniguration for both the comm. channel. My interface is creating two files but with same name and on same destination which is set for second communication channel through dynamic configuration.
Here, I guess the second dynamic configuration is over writing the first dynamic configuration and hence creating two files with same name and at same destination.
Please suggest, if separate dynamic configuration for separate communication channel of same receiver service can be done?
Thanks & Regards,
AmolThanks for your prompt responses!!!!!
Is there any way, By which in dynamic configuration I can find out the communication channel name and then change its parameter.
I mean if iam using say comm. channel A and B.
Then in dynamic configuration for A, I will first take communication channel A by calling it and then change its path/file name.
and then do samething for comm. channel B in its dynamic conf.
Regards,
Amol -
Communication channel Availability
Hi All,
I am having a File to File scenario wherein there is no mapping involved.You can say as good as using a FTP.I am using XI in this scenario purely because of client requirement.
Problem Statement :
I need to pick up the source file from a particular folder and send it to target folder at a paticular time say 8:00 am daily.
Steps taken:
To take in this requirement, I have configured the Sender communication channel (Type File) availability to 8:00am - 8:15am daily.This was done by going to RWB>CC Monitoring>Control data(Automatic)
Settings :
Details Tab:
1)Description: Just any characters here
2)Active: Checked
3)Availability Time - Daily
At (Time):8.00 For (Duration): 15 Minutes
Series Start: Start Date Series End: End Date
Availability Times From : -same as above-
Communication channel Tab:
Communication Channel:<Sender Communication channel Name>
All above config is saved.
Problem encountered:
Now when I do the above steps, XI does take not only the file from source for 8-8:15 duration but also outside it. So file which comes in source folder after 8:15 am say at 9:00 is also picked up by XI, which ideally should not be the case.
My Query :
Am I going wrong somewhere while configuring the availability of Comm channel?
Regards,
ShibenHi Shiben,
Could you please check the Control Data state of Communication channel, it should be Automatically (not Manually)
● Manual
You control the communication channel by choosing Start or Stop.
● Automatic
The communication channel is controlled by availability times.
● External
The communication channel is controlled by an HTTP request.
http://help.sap.com/saphelp_nw04/helpdata/en/44/2a1a8620323f0ee10000000a114a6b/content.htm
Cheers,
Jag
Edited by: jag on May 7, 2008 5:41 PM -
Communication channel creation - Adapter typr missing
Hi
Im trying to create a communication channel between XI and ECC system and also XI and third part application.
I imported the .TPZ file and Im trying to create a communication channel between XI and ECC.I click on create communication channel under the business system ECC.
But after giving the communication channel name im unable to get any adapter type. There are no adapters here. Where should I configure this?
Thanks
SubbuHi,
To see the List of all the Adapter in Adapter list while creating the CC in ID, we have to Import the SAP BASIS 7.00 .TPZ file into IR
Steps
1) Download XI7_0_SAP_BASIS_7.00_10_00.tpz which is available in a zipped format from the SAP Service Market Place.
2) Unzip the contents and copy the file XI7_0_SAP_BASIS_7.00_10_00.tpz (if you are using PI 7.0 or else download the file for your XI version) to
/usr/sap/<SAPSID>/SYS/global/xi/repository_server/import/
3) Goto Repository (Design)
4) Choose -> Tools -> Import Design Objects
Now the adapters should get displayed.
Thanks
Vikranth -
Hi
i have created a receiver idoc communication channel, and when i want to check whetehr its working fine or not in Runtime Work Bench , when giving the receiver communication channel name it is saying " Communication Channel" does not exist??
plz help meHi,
As you said you have created the receiver idoc communication channel and if you are monitoring the idocs in IDX5 for the same then the idoc will be outbound and not inbound....
if you are confused with directions then check with out giving the directions in filter criteria....
Also are you sure that the idocs have generated successfully in PI for sending..check the interface message in MONI for the same...
Hope this clears you
Regards
Rajesh -
Dynamic File name in FTP Communication Channel
Hi All,
We have requirement where ,we create a filenames dynamically ( runtime).These filenames whihc do change for every execution needs to be added in FTP communication channel.
1. How can we add the this generated file name in FTP CC Communication Channel.
2. Does this file needs to part of target structure during graphical mapping ?
3. Can we also dynamically append the Directory name to file names aswell ?
Please provide your valuable sugestions.
Thanks for your support.1. How can we add the this generated file name in FTP CC Communication Channel.
3. Can we also dynamically append the Directory name to file names aswell ?
to get the FileName:
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
To get the Directory:
DynamicConfigurationKey key1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","Directory");
Then append:
key+key1
And then in the CC select the Directory checkbox under the ASMA properties...
2. Does this file needs to part of target structure during graphical mapping ?
The file which is sent using the CC will have the FileName as configured in the UDF of the graphical mapping....and if i am not wrong then the target structure resembles the file (if there is no FCC done)....
Regards,
Abhishek. -
Variable file name through Receiver mail Communication channel
I need to send a file through receiver communication channel with the following name ( YYMMDD schema) . The YYMMDD is current date . I know how to create these file names throug FCC ( file communication channel) , I tried in the same manner to create this file through Receiver Mail CC , but it did not work . If you have any ideas , can you please share with me ?
ABC_MMYYDD.TXT
Thanks.
RitvikHi Ritvik,
Also, Please look at this link and see if it helps you. It is generating variable file name through a UDF
Re: Problem in dynamically file name generation procedure
Best Regards -
Dynamic file name in communication channel
hello
is it possible to give in the communication channel, under the 'File Access Parameters', a dynamic file name?
to get it out of a table or something?
Thanks
KfirHi,
Yes its bit possible to use the dynamic file name at File access paramters
The dynamic filename generation concept is as follows.
In your filename field. just give a variable with % symbols. (eg: %file% ).
Now, under the option Variable Name Substitution, you can give how the value has to be created.
It can be your interface name, sender service name, etc or it can be some value dynamically from your payload.
For the former, your give
message:interface_name ,etc
and for the payload part you give,
Payload: "your element root which u wanna acecss"
Just check this link out,
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
And read the contents under variable substitution and it will help you understand the concepts better.
If you have any clarifications, do get back,
Refer below links for more in depth details about it
Re: Dynamic file name in Receiver File Adapter
http://help.sap.com/saphelp_nw2004s/helpdata/en/21/6faf35c2d74295a3cb97f6f3ccf43c/frameset.htm
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
/people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
/people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
/people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
/people/michal.krawczyk2/blog/2006/02/23/xi-dynamic-name-in-the-mail-attachment--pseudo-variable-substitution
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
Check out this URL
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
Check these weblogs as well...
/people/sravya.talanki2/blog/2005/08/11/solution-to-the-problem-encountered-using-variable-substitution-with-xi-sp12
/people/sameer.shadab/blog/2005/09/23/an-interesting-usage-of-variable-substitution-in-xi
Thanks
Swarup -
Multiple communication channels for file adapter based on user name
I am using this Idoc-to-File scenario, using FTP for sending the files to file server. Target directory is determined by user id which is unique for a field called ASC. Field ASC is a part of incoming Idoc. There are 40 ASC; that means I have 40 user ids/password. Is there way of creating a file communication channel where user id/password can be supplied dynamically. Or there is an alternative to creating 40 different channels, one for each ASC.
Thanks,
DehraHi,
you need to create 40 channels if you have users
as dynamically you can only create:
File Name
Directory
File Type
File Encoding
Temporary Name Scheme for Target File Name
with FTP adapter
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
Dynamic name for attachment in the Receiver Mail Communication Channel
Hi All,
I want to dynamically set the name of attachment in receiver mail Communication Channel.
Example: IN__9907211000004_4048454000005_20081211_01000000002643
The first two numbers 9907211000004 & 4048454000005 I want to read it from the message
20081211 this is the date and
And againg this number 01000000002643 is read from message.
What is the procedure to create Adapter Module? I am new to Adapter Module.
Any Ideas ideas?
Thank You,
MukhtarHi Michal,
I had a look to your blog and tried to modify according to my requirement.
Here is the code
import javax.ejb.CreateException;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;
import com.sap.aii.af.mp.module.*;
import com.sap.aii.af.ra.ms.api.*;
@ejbHome <{com.sap.aii.af.mp.module.ModuleHome}>
@ejbLocal <{com.sap.aii.af.mp.module.ModuleLocal}>
@ejbLocalHome <{com.sap.aii.af.mp.module.ModuleLocalHome}>
@ejbRemote <{com.sap.aii.af.mp.module.ModuleRemote}>
@stateless
public class SetAttachmentName implements SessionBean, Module{
private SessionContext myContext;
public void ejbRemove() {
public void ejbActivate() {
public void ejbPassivate() {
public void setSessionContext(SessionContext context) {
myContext = context;
public void ejbCreate() throws CreateException {
public ModuleData process(ModuleContext moduleContext, ModuleData inputModuleData)
throws ModuleException{
try {
Message msg = (Message) moduleData.getPrincipalData();
//creating parsable XML document
InputStream XIStreamData = null;
XMLPayload xmlpayload = msg.getDocument();
XIStreamData = xmlpayload.getInputStream();
DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
Document doc = docBuilder.parse(XIStreamData);
//finding the tag's name from the Modules tab in the Directory that will hold the attachment's name
String SenderIDTag = null;
SenderIDTag = moduleContext.getContextData("SenderIDTag");
//finding the content of the tag that will be used as the attachment's name (assuming it's the only tag with this name)
Element element = doc.getDocumentElement();
NodeList list = doc.getElementsByTagName(SenderIDTag);
mailFileName += "_" + list.item(0).getFirstChild().toString();
String anIDTag = null;
ReceiverIDTag = moduleContext.getContextData("ReceiverIDTag");
element = doc.getDocumentElement();
list = doc.getElementsByTagName(ReceiverIDTag);
mailFileName += "_" + list.item(0).getFirstChild().toString();
Date date= new Date(System.currentTimeMillis());
//Add date to the Message
SimpleDateFormat dateFormat= new SimpleDateFormat("yyyyMMdd");
mailFileName += "_" + dateFormat.format(date);
String BillNrTag = null;
BillNrTag = moduleContext.getContextData("BillNrTag");
element = doc.getDocumentElement();
list = doc.getElementsByTagName(BillNrTag);
mailFileName += "_" + list.item(0).getFirstChild().toString();
//creating the attachment
byte by[] = xmlpayload.getText().getBytes();
XMLPayload attachmentXML = msg.createXMLPayload();
attachmentXML.setName(mailFileName);
attachmentXML.setContentType("text/pdf");
attachmentXML.setContent(by);
//adding the message to the attachment
msg.addAttachment(attachmentXML);
inputModuleData.setPrincipalData(msg);
} catch (Exception e) {
throw new ModuleException(e);
return inputModuleData;
I hope this is right Adapter Module coe for my requirement.
Thank you in Advance,
Mukhtar -
JMS ReplyTo Queue Name parameter in the receiver JMS communication channel
Hi All,
Can any please explain the use of JMS ReplyTo Queue Name parameter in the receiver JMS communication channel?
Thanks
Karthik.Hi karthik,
JMS ReplyTo Queue Name parameter is used for Specify the name of the queue to which the responses are to be sent.
Thanks
Govind. -
Adapter Engine Name is not displayed in Communication channel
Hi All,
In Integration Directory -- Service without party -- Business system -- communication channel -- when we create new communication channel then go ahead selecting File , JDBC, Mail adapter. ADAPTER ENGINE IS DISPLAYED BLANK.
Please let me know your valuable inputs.
Regards
ShivaI have performed all the above given instructions, but the issue is still pending.
Steps followed :
1. Performed all the steps in RZ70 as instructed.
2.Downloaded the TPZ file and assigned it in the required path
3.Adapter Engine is already assigned in the SLD.
Can you let me know, whether to assign hostname, IPaddress or fully qualified domain name in the exchange profile( where exactly in JAVA stack and ABAP stack)
Kindly request you to provide further inputs.
Thanks for your valuable inputs
Regards
Shiva -
Change the host name of communication channel at runtime
Hi,
I am connecting to an SQL server using a JDBC receiver communication channel.
The vendor who is managing this SQL server says that he has a primary server with the ip <IP1> and a secondary server with ip <IP2>.
He wants me to switch to IP2 when IP1 is down.
Is there any possibility of to achieve this ?
regards,
PiyushI dont think there is any options available in JDBC adapter to change the host name dynamically...
what u can do is - u create a dummy scenario which will just check whether the database is up or not and store the flag values in PI ABAP stack..
Now before u send data to JDBC u do look up and check which server is up...and based on that u divert ur message to required system.
thats what I can think of now...
chirag -
Error in the SOAP Receiver communication channel
Hi ,
My scenario is RFC - to -SOAP (synchronous ) i have specified the TARGET URL inthe SOAP receiver comminication chanel.. but while testing the interface by providing the test data from R/3 .. I'm not getting any Respose.. ..
If I check in the SXMB_MONI in i'm getting the following message .. but the URL whicjh i provided that is fine.. but my doubt is through XI may be it's not able to connect the Target System... .. so, please suggest me...
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: www.webservicex.net</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
regards
JainBy default, the SOAP adapter sends the SOAP message with the content type text/xml.
When you check "Do not use SOAP envelope", the default contnet type is application/xml.
You can change the content type like this: Go to the SOAP receiver communication channel module tab. Add the module "localejbs/AF_Modules/MessageTransformBean" before the standard module. Add the parameter name Transform.ContentType and value text/xml.
Check out this
/people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
One way of testing ur scenario
/people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible
Also have a look here
SAP Note 856597
reward points if solution found helpfull
regards
chandrakanth
Maybe you are looking for
-
Error while running OA Framework (HelloWorld.jpr) in Jdeveloper 10g
Hi all, I have a created sample HelloWorld Page thru Jdeveloper 10g with OA Extension on R12 Instance. I am running to following error when I run the page from Jdeveloper 10g. Can you please help me out in resolving this issue? I would really appreci
-
I cannot open a pdf on mac - am running 17.0.1 on mac os 10.6.8
Hi, I cannot open a pdf on mac - am running 17.0.1 on mac os 10.6.8. I followed the instructions here: http://support.mozilla.org/en-US/kb/pdf-files-are-blank-and-cant-be-downloaded-mac?esab=a&s=pdf+mac&r=0&as=s but the problem is not fixed - I just
-
Building PDF file very slow when pmd file contains many eps files
I have a 64 page publication which contains a placed .eps file on each page. (The .eps files are the output of a music notation program and average about 60KB). I have a new computer with a fast quad pentium processor. It takes 10 minutes to expo
-
Categories Column Missing After Import
After importing some photos from my camera my iPhoto window is left in a strange state which I cannot seem to get out of even if I restart iPhoto or reboot the machine. It doesn't show the categories on the left at all and it shows a big blank grey w
-
Pix OSPF load balancing question
I have a pix 515e with two default routes, learned via OSPF from two routers on the "outside" interface. Currently router#2 is being preferred way much more than router#1. There are many thousands of destinations for the traffic. These two routers ar