Reg SFTP Communication channel
Hello Fellow Consultants,
I have a situation here where in a folder there are 2 different file names Eg: v110-prod- chennai1PS & v110-prod-chennai9PS, now i want to know if can pick these 2 files with One SFTP sender communication channel.
I know this can be done with FTP with masking and stuff but i want to know if there is anyother way to do with Single sender SFTP Cc else i have to configure with Two Sftp channels
Regards
Vijay
Hi,
From single file adapter(1 communication channel) you can read multiple files.
Just use special charater in the file name scheme and activate the adapter specific parameters
Note: The internal structure of the files should be same
Regards,
Shradha
Similar Messages
-
REG: Receiver Communication channel
Hi All,
What are different receiver communication channels used to send data to a SAP system?
Thanks in advance,
Siva.Hi,
in XI3.0/PI7.0 the available adapters from XI to R/3 are IDOC, RFC and XI for proxy communication.......
in PI7.1 all of the above and WS for Web Service Reliable Messaging is also available.........
Regards,
Rajeev Gupta -
Reg jdbc communication channell proccessing
I have scenario i.e JDBC to RFC
but i need small calrification like is it possible to trigger the jdbc sender communication channel automatically whne the file tirggerd from the orcle Database
like without giving the any polling intervals CC should poll when the file triggerd.
i am not going to use that file its just a flag to start the communication channel
can we achive this through OS commands ???
thanks in advance....
Edited by: katakoti on Nov 9, 2011 2:18 PM
Edited by: katakoti on Nov 9, 2011 2:19 PM
Edited by: katakoti on Nov 9, 2011 2:20 PMcan we achive this through OS commands ???
Yes you can write script and control the channels externally like give start or stop command at your specified requirement time.
Please see this link
Control Communication Channels Externally without using RWB
Also you can use wget or curl command in the script followed by http url string.
Example:
wget http(s)://host:port/AdapterFramework/ChannelAdminServlet?party=party&service=service&channel=channel&action=start -
Error in communication channel FIle to SFTP
Hi All,
My scenario is File to file. Sender is File and receiver SFTP.
I am getting below error in RWB communication channel monitoring
Could not process due to error: java.lang.NullPointerException: while trying to get the length of an array loaded from local
variable 'dirList'
Please provide you suggestions on this. Why does this error occurs. Earlier it works fine. Today only I am getting this error.
Regards,
SaravananHi
Can you please check access right of SFTP folder please also check notes 1673907 - ERROR:while
Regards,
Amit -
Communication channel Failure of SFTP adapter type.
Hi,
I have a communication channel failure while sending data from a system using SFTP adapter.But when i cross checked in SXMB_MONI i am unable to find any errors.
Error is : Current transaction is marked for rollback: Trace of setRollbackOnly() invocation. (Software version: 3.0.17).
Do anyone face this error previous?
Thanks,
KumarHi,
i am using advantco SFTP adapter at sender side, it is giving the following error in Runtime workbench
Error: Cannot connect to SFTP server. Host: #######; port:##; username: ######; home directory: ; current directory: ; ; private key store: ####; private key alias: ###; ; server version: SSH-2.0-Connect:Enterprise_UNIX_2.4.02:
connection is closed by foreign host (Software version: ###)
cross checked the SFTP connection, it is working fine.
Can anyone have an idea about SFTP adapter?
Regards,
Kumar -
Reg:To control the communication channel actions externally
Dear All,
My scenario is File to File. Can anyone suggest me how to start and stop a communication channel without using communication channel monitoring in RWB and ATP in component monitoring,since there is no time frame has been set.
Thanks in Advance,
Lavanya .BHi,
Try this ... just a sample, modify as per your requirement.
import java.net.*;
import java.io.*;
class ExternalChannelControlPI
public static void main(String[] args)
try
//Give Host Name, Port and Channel Name
URL server = new URL("http://<Host:port>/AdapterFramework/ChannelAdminServlet?party=*&service=*&channel=" + <ChannelName> + "&action=start");
//Hard code User Name & Password
String userPassword = "<USERNAME>" + ":" + "<PASSWORD>";
URLConnection uc=server.openConnection();
uc.setRequestProperty ("Authorization", "Basic ");
BufferedReader br = new BufferedReader(new InputStreamReader(uc.getInputStream()));
String inputLine = "";
String output = "";
while (( inputLine = br.readLine()) != null)
output+=inputLine;
System.out.print(output);
br.close();
catch (Exception e)
e.printStackTrace(); -
Reg: Communication Channel Template
Hi All,
i have done file to file scenario using communication channel template.
What i understood from that is
i created Communication channel Template in IR, and in ID part also then
The sender agreement,receiver agreement,interface determination, receiver determination generated automatically.
is it the only use for Communication channel Template?
Is there any chance to import the Communication channel Template from IR to ID?
Regards,
AjayHi ajay,
Yes this the only use.CCT is the template i.e. its a guide which tells how CC will be in ID.
to better understanding see sachin's weblog..in part 2..... u r doub't will be clear....
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
regards
biplab
<i>***Reward with points if it helps you</i> -
Reg- End of communication channel
Dears,
I have a remote database which is located in other region, But i can ping the database at client place and Even i can able to connect with Sqlplus..and i can able to create user.
But.
If i check the userlist from dba_users it will wait and it throw error end of file communication channel how do i rectify it?No version number.
No DDL.
No error message.
No information as to how you are connecting to the remote db.
I guess your car won't start because you forgot to turn the key.
If you want help post information that someone can use to help you. -
File sender communication channel stop working
Hi Guru,
I have a file sender communication channel. It usually works good. But sometimes it just stop working. And In RWB, it shows no error. If I stop it and restart it in RWB, it immediately works again. This happens once a while. Any ideas?
Thanks,
MeiyingHi,
option 1--
Do some dummy changes and activate channel and try and perform cache refresh.
If still not working then stop and restart SFTP service,if still no luck then restart JAVA stack
option 2
try to put timeout value in the channel.
Regards.
Mastan -
Adding SCP encryption to FTP in communication channel
Hello,
Is there an easy way to have files SCP (secure copy protocol) encrypted as they are output using FTP communication channel such that if the SCP were to fail for some reason, it would register as an adapter engine error and show up as system error in runtime workbench?
We are currently doing this by executing a script (that does the SCP on the output file) in the command execution feature of the communication channel after the file is created on the server. However if the SCP fails, the message is still marked as complete with no error as it is not possible to capture the failure in the script and communcate back to communication channel.
Is there some easy way that file adapter could be enhanced by adapter module development or by module processor development so as to include the SCP encryption step in the code? That way if the SCP fails, it would show up as an error in adapter engine during runtime?
Thanks
JBHi Sabita,
If you wish to use Port 22 only, then you can use FTPS option instead of SFTP.
FTPS is readily available with the standard FTP adapter, Please refer the below blog:
/people/rajasekhar.reddy14/blog/2010/04/13/how-to-configure-ftps-in-file-adapter
But to implement this the Third part should be capable of handling Explicit FTP (FTPS) protocol.
Please refer the below thread, this may help you:
what is the port for FTPS communication in File Adapter
-Supriya. -
Sender SFTP Adapter channel is not polling for files
Hello All,
Couple of SFTP sender adapter channel was failing in Developent system with u201Cdirectory listingu201D error.All SFTP sender channels stopped polling for the files in Developent system . We were unable to find the reason for adapter failure, Hence we restarted the j2ee server and adapter started polling files. Later we are facing the same issue in Quality system. THe adapter cahnnel is not polling files in Quality system even.
All lean tool adapters were showing the u201CHost key was not accepted erroru201D on 27th of Feb . As per the other channel trace, the time stamp of last successful polling and error time stamp of lean tool sender channels are exactly same
Eventhough two communication channels access the same SFTP adapter, one communicationchannel is getting 'Host key was not accepted error' but in other communication channel, files are getting picked.
Please let me know the solution if you have come accross this issue previously
Regards,
DilipKumarHi Mike,
Thanks for your reply.
Its not a standard SFTP adapter rather its a C-BURGER SFTP adapter.
Sorry I did not mention this in my previous post
Regards,
DilipKumar -
Communication channel not working -- No Adapter Registered for this channel
Hi Experts,
I see the status of one of my Communication Channels (In RWB Communication Channel Monitoring) as
"No Adapter Registered for this channel".
I saw one of the threads related to this but could not fins a suitable reason for it as our issue seems to be different here.
We have recently deployed the SFTP adapter and PI team is testing this communication channel and they got this error.
I checked and found that SFTP adapter (in the JAVA EE applications) was not working and when I tried to start ,its giving error
failed to start.
additional status message as
Status Details: Cannot load class "com.advantco.pi.af.adapter.sftp.SPIManagedConnectionFactory". Possible reasons: 1) class file cannot be found in the JARs located in the RAR file,
2) class file cannot be found in referenced loaders,
3) failed to initialize some static block(due to unhandled exception),
4) failed to load or there is incompatibility with some native parts, or
5) cannot load a class related to it, due to some reasons above.
Could you guys suggest from where exactly is it trying to pick up the files.
is it u201Cu2026/j2ee/cluster/apps/xxxxxxx/SFTP Adapteru201D ????
Can anyone suggest the possible reasons and the root cause of it
Regards,
YogiHi Yogi,
i am glad you solved the problem.
If you have any issue with the Advantco SFTP adapter, best is to send an email to "support at advantco.com" directly.
Peter Ha * SAP NetWeaver PI Architect * Advantco International LLC
www.advantco.com -
Hi Team,
I have a problem.
I have a scenario using the the Sender Adapter. HTTP_AAE
When I am trying to use the function "Display WSDL" I am receiving the following.
Error:
Selected communication channel HTTP_AAE_In_SAPII is assigned to the wrong adapter type HTTP_AAE Supported adapter types: HTTP, SOAP, XI, WS.
Somebody knows this problem?
ThanksHi,
am also getting same error.
think that feature is not supported.
have look on Configuring the Java HTTP Adapter on the Sender Channel - Advanced Adapter Engine - SAP Library for sending a message.
reg,avinash M -
Open and close communication channel in one link
Hello,
I implement with successful the scenario that described in this blog:
Control Communication Channels Externally without using RWB
Right now I use with this link to start the CC
http://aaaa:50000/AdapterFramework/ChannelAdminServlet?party=*&service=Open_Friday_Service_Sender&channel=Open_Friday_Sender&action=start
And with this link to stop the CC
http://aaaa:50000/AdapterFramework/ChannelAdminServlet?party=*&service=Open_Friday_Service_Sender&channel=Open_Friday_Sender&action=stop
I looking for the way to start and stop the communication channel in one link.
Eladhi elan
i think you need to write an abap program and schedule it..
abap program will call this HTTP link as The URL has no dependency on where it is called.
regards
kummari -
Using a variable in communication channel
Hi,
I have a lot of Communication Channels looking for files in the same directory. This directory's path will be changed soon and so I assume I'll have to change all my Communication Channels.
I was wondering whether there was a means of using a variable for the Source Directory in order to just have to change its value where it is defined and not every where it is used...
Regards
YannHi,
Is this a sender file adapter? or a receiver file adapter?
You can make a change / make the receiver file adapter's directory dynamic by setting the value during runtime in the mapping.
Use this blog and the code in the blog to acheive this,
/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
Sender File adapter, I dont think this is possible.
Regards,
Bhavesh
Maybe you are looking for
-
The following is reproducible on my iMac: • make a copy of a .tif (e.g. A.tif ) • make a copy of another .tif (e.g. B.tif ) • in the Finder, select both A.tif and B.tif and double-click to open both at the same time in Preview (the window title
-
Create automatic indexing( id) in the DB
what snippet should i use to create automatic indexing( id) in the DB ? like 1 2 3 4 5... not by count++ but by triggering DB ...how it is done ?
-
When did javascript to Resize windows stopped working?
I just upgraded from Fx3.6.8 to Fx16.0.2, and now my javascript bookmarklets are not working. There doesn't appear to be any way to resize a window quickly by clicking a bookmark containing a javascript function, such as: javascript:(function(){windo
-
[svn:fx-] 21428: Removed flex/sdk/trunk
Revision: 21428 Revision: 21428 Author: [email protected] Date: 2011-06-21 08:34:23 -0700 (Tue, 21 Jun 2011) Log Message: Removed flex/sdk/trunk Removed Paths: flex/sdk/trunk/
-
How do you compile for flash player 11.3 in Flash Professional CS6?
I can add a new AIR SDK and compile for AIR 3.3, but I can't figure out how to compile for Flash Player 11.3. Thanks