PI sender communication channel not reading files from NFS directory
Hello,
I have a sender communication channel configured to read file from NFS directory which is on ECC server. A program in ECC generates the file and puts it on the ECC server in the output directory. PI sender communication channel is supposed to pickup this file and process it. If I give the NFS path as the source directory, I am getting error: Configured source directory '//Server/DIR/OUT' does not exist. I tried putting '
Server\DIR\OUT' too but same error. Do I have to add the NFS path of ECC into PI as logical path?
Any suggestions?
Thanks,
Sangita
Hello Sangita,
Your ECC server is an external system, therefore you need to activate FTP service in that system and use the transport protocol FTP:
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
You can use NFS protocol when you have a local directory in XI server.
Best Regards,
.Luis Bernal.
Similar Messages
-
How can One sender communication channel pick two file from two location
Hello
I have a requirement that how can One sender communication channel pick two file from two location.Both the file has same name...How to configure the one receiver communication channel.i dont have any IR,no mapping..Please help me...>
Soumitra Sinha wrote:
> Hello Vijay
> I already done the adapter specific message attribute.i am getting the file name properly.but that is nothing to do with my req.i am again clearing my problem:
> i have two folder folder a,folder b.Both has the same file credit0002. i have two destination folder i have one sender and one receiver channel.I dont have any IR.How one sender channel can pick file from two location and how one receiver channel can put in two location.please help me..
Ok now I get your requirement.
you cant achieve this - how one receiver channel can put in two location if you dont have a dynamic configuration defined i.e Adapter specific attributes.
easy way - involve IR mapping
else
have a adapter module to define your dynamic configuration.
Ref: /people/daniel.graversen/blog/2006/10/05/dynamic-configuration-in-adapter-modules & /people/michal.krawczyk2/blog/2006/10/09/xi-dynamic-configuration-in-adapter-modules--one-step-further
Set the dynamic directory/file name etc for your receiver adapter. -
Reading file from oracle directory at client side
Hi,
I have a SWING app. which connects to an Oracle db.
My goal is to read files from oracle directory with java through JDBC. I export some dumps with datapump and they need to be transferred to a client machine. There is no access to oracle directory at network filesystem level.
Please advice!
TIA, SandorAn Oracle Directory has an underlying OS directory associated with it, Oracle just overlays it's control structure onto an existing folder in the OS. You can manipulate the files with stored procedures in Oracle or at the OS level from outside of Oracle.
If you manipulate the files from the OS level, outside of Oracle, you may need a refresh of the Oracle Directory structure. -
Inactive Sender Communication Channel still processing Files?
We de-activated the Sender Communication Channel of an interface. However, the file adapter keeps processing?
Anybody know what is going on?
Thank-You.Hi Tom,
1) Check out Whether you have De-activated the Right Adapter.
2) Refresh the Cache,
a)Start transaction SXI_CACHE.
b)From the context menu XI Runtime Cache select Start Complete Cache Refresh.
c)Call transaction SM58 to check the status of the refresh process.If no entry for function module SAI_CACHE3_REFRESH_BACKROUND is Present any more the cache update is finished.
If you still face issue try this .
Many actions require to access System Landscape Directory content from the Integration Builder. To optimize performance, this content is loaded into a cache so that the System Landscape Directory does not have to be accessed directly each time that System Landscape Directory content is required.
However, this cache is not automatically updated if changes are made to the content of the System Landscape Directory. For this reason that we delete the System Landscape Directory cache if changes have been made to content in the System Landscape Directory. The cache is then filled each time that the System Landscape Directory is accessed. If we log on to the Integration Builder after we have made a change in the SLD, we do not need to delete the SLD cache.
To clear the SLD cache, from the Integration Builder main menu, choose Environment ® Delete Cache for SLD Data.
Once we have deleted the cache for SLD data, accessing objects in the SLD may take longer than usual initially.
Regards
Agasthuri Doss -
Why is a sender communication channel not required for IDOC and PROXY ?
Hello,
In case of IDOCs, metadata will be available in PI for the IDOCs used both at inbound and outbound.
Why is a sender communication channel is not required in case of IDOC and PROXY outbound scenarios (i.e. IDOC to File or PROXY to file ..) when a receiver channel is required for scenarios like file to IDOC or file to PROXY.
Though this might be a regular question, I am not able to find a proper reason.
Please let me know the reason for the above request.
Thanks & Regards.You will create RFC destination in ECC , it will have details about PI system details, when ever you send IDoc, ECC will use Port and RFC destination to connect PI Integratiion engine to deliver data to PI.
But when receiver side you will create RFC destination in PI with ECC details, but to call RFC destination and Port we need medium that was the reason we create IDoc communication channel.
Even the same case for Proxy also, but HTTP deastination establish the conection between ECC and PI, but receiver side you have to create XI channel with PI integratioin engine adress to post data.
Regards,
Raj -
Reading Files from client directory folder using servlets or struts.
HI All,
Could you please help me out int the below query.
I want read all files from paricular directory folder from the client machine in web application. I am able to do it from my local machine. but when I am try to do it from some other machine I am not able to get the file list.
It is very urgent ..please hep me ASAP.It should be problem with the file permissions in your client machine ???Hardly.
@OP: a servlet executes at the server. It doesn't haved any access whatsoever to the client machine. -
File Sender Communication Channel not working
Hi All,
We have one file sender channel which sends file after every 3 hours.
But currently it has stopped the processing of file.
If we see in RWB it shows that "Correctly configured and started",but if we start and stop the chanel it doesnt show any processing started message.
File is there in the folder but the channel doesnt poll the folder to pick up the file.
We have refreshed the cache and activated the channel again.
But still no luck,does anybody have any idea?Hi Shweta,
Please check the parameters of your File adapter. There can be following possibility if File adapter is not picking the file :
1. File adapter is not active
2. Incorrect File name, Directory name or path,
3. File does not exist in the source directory.
4. If you are accessing file from other server (use FTP protocol) check you have READ and WRITE access.
Thanks
Farooq.
<b>*Rewards points if you find it useful*</b> -
I have this code for loadbitmap() function:
String s = getCodeBase()+sdir+sfile;
System.out.println("codeBase is=" + s);
URL url = new URL(s);
InputStream fs = url.openStream();
BufferedInputStream bs = new BufferedInputStream(fs);
And the file is a .bmp file, so I go on decoding this etc. It works fine within VisualCafe.
When I created a virtual directory in IIS and run this applet from
http://localhost/ImageApplet/ImageApplet.html address:
I get in 1.3.1 Plug-in this error:
codeBase is=http://localhost/ImageApplet/duke/some1.BMP
Caught exception in loadbitmap!java.io.FileNotFoundException: http://localhost/ImageApplet/duke/some1.BMP
If a type this as address in browser, it shows the image.
Could any one tell me what I am doing wrong here?You can try this, even though it is not supposed to be different from your original code:
URL url = new URL(getCodeBase(), sdir+sfile);
System.out.println("getting image from " + url);
InputStream fs = url.openStream();
BufferedInputStream bs = new BufferedInputStream(fs);
I could understand a SecurityException but a FileNotFoundException... A FileNotFoundException... You are reading from a stream originating from a URL, not a file!!!
Which line causes the exception? -
Mail Sender Communication channel not polling
Dear all,
In our PI 7.1 Sever, we have observed a issue.
Sender mail communication channel status is green in RWB-->Channel monitoring but the channel does not pick up any mails form the mailbox.
After we stop and then start the channel, it is picking up the mails.
Any pointers on the root casue for this issue and any resolution steps or any SAP Notes to implement will be of great help.
Regards,
YounusHi,
Is it like everytime you have to restart the mail channel again and again?
Sometimes it happens, a quick restart will refresh the adapter cache and the messages are processed.
So, its not a problem.
Regards,
Sushama -
Hi experts ,
I am using the method 'cl_gui_frontend_services=>file_exist' to check whether a file exists in frontend machine or not. This method works fine and gives corerct result when i keep the file on desktop and provide the path of the files as parameter to the program but it is unable to check the existance of the same file if kept in C drive under folder program files e.g.(C:/Program files/Documware/Barcode.exe). Is this a limitation of the method or is due to some restriction/access permitions at system level that files could not be read from program files in C drive . kinldy provide your useful inputs if any one faced same issue and what is the solution for this problem .
Regards
PriyankALL FUNCTION 'DX_FILE_EXISTENCE_CHECK'
EXPORTING
filename = file
pc = 'X'
* SERVER =
IMPORTING
file_exists = file_exist
IF NOT ( sy-subrc = 0 and file_exist = 'X' )
MESSAGE 'the input file does not exist.' TYPE 'E'.
ENDIF. -
PI Sender JMS channel not reading data
Hello All,
Scenario is JMS to Proxy. I have configured the JMS PI sender channel as per the details given by legacy team and they validated and confirmed that the channel configuration is correct.
Also PI JMS Sender channel is with green status and no there are no errors observed on PI channel monitoring page. Legacy team said that they placed 2 messages on the Queue for SAP PI to read. But there is no data flow observed into PI (on Adapter Engine/IE).
I have restarted and reactivated the channel also.
Can you please tell me what might be issue here
Thanks,Hi Naresh,
Are you able to ping the channel from the Java stack? Normally if it is screen it means that is working but try and ping it and see what response you get back.
What are they using? MQSeries? JNDI? SonicQ?
Use the connection details that they gave you and log onto the queue and check if you can see the messages? Download a free JMS viewer and connect and see if you are able to see those messages? It might that they placed it in the wrong queue or that you are looking at the wrong queue.
Regards,
Jannus -
How to read files from current directory for applet
I have an applet that needs to read some audio files located in its current directory on the server and I just can't seem to figure it out...maybe I am being dumb...any help?
You can use the ListSorter File Adapter Configuration property to sort based on timestamp. Basically add the following property to the inbound JCA file:
<property name="ListSorter"
value="oracle.tip.adapter.file.inbound.listing.TimestampSorterAscending"/>
<property name="SingleThreadModel" value="true"/>
More info see section 4.2.6 in http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm -
FILE SENDER COMMUNICATION CHANNEL DOESN'T GET FILE
Hi,
I have create a new sender communication channel with ftp file configuration. Server parameter and source directory are correct.
I have also checked file and directory permission (chmod 777)
Poll interval is 600 secs.
There is no error in communication channel monitor (returned log: CC is correctly configured and started).
Process started every poll interval, but no file is picked up.
Why?
CarmeHi,
What type of file are you processing. Check whether the file type is binary or text mode.
Also check whether the file name you have specified in the CC and the exact file in the directory are the same.
Also check the file processing mode, whether it is read only, delete or in test mode.
If the file is in read only mode when the file first processed, then once the file was processed it would be in read only mode, so if you place the new file it should process, so try deleting the existing file in the directory and place a new file with exact file name along with the correct extension and try to process it.
Also I would suggest you check the exact file extension, by unchecking the radio button in the folder option under the menu tools> Folder options> view-->hide extension for file type.
Regards,
Nithiyanandam -
FtpAdapter not reading files consistently
I'm using Ftp Adapter to read files from ftps server. It is not reading files consistently. All of a sudden it stops reading the files. Once I restart the run time instance, it starts reading again. There are no errors in logs.
The wsdl configurations and oc4j-ra.xml is given below. Is there any configurations to be done for clustered environment? There are 2 run time instances trying to read files from same directory in the same ftps server.
WSDL
<message name="Get_msg">
<part name="opaque" element="opaque:opaqueElement" />
</message>
<portType name="Get_ptt">
<operation name="Get">
<input message="tns:Get_msg" />
</operation>
</portType>
<binding name="Get_binding" type="tns:Get_ptt">
<pc:inbound_binding />
<operation name="Get">
<jca:operation FileType="ascii" PhysicalDirectory="/users/PCGFTPS/test/inbound/272" ActivationSpec="oracle.tip.adapter.ftp.inbound.FTPActivationSpec" DeleteFile="true" IncludeFiles="saf272\.d.*\.t.*c.*" PollingFrequency="5" MinimumAge="0" OpaqueSchema="true" />
<input>
<jca:header message="hdr:InboundHeader_msg" part="inboundHeader" />
</input>
</operation>
</binding>
<service name="readFileFromFTPS">
<port name="Get_pt" binding="tns:Get_binding">
<jca:address location="eis/Ftp/edi/FtpAdapter" UIincludeWildcard="saf272.d*.t*c*" />
</port>
</service>
<plt:partnerLinkType name="Get_plt">
<plt:role name="Get_role">
<plt:portType name="tns:Get_ptt" />
</plt:role>
</plt:partnerLinkType>
</definitions>
oc4j-ra.xml
<config-property name="host" value="ftps.qa.com"/>
<config-property name="port" value="21"/>
<config-property name="username" value="ftps"/>
<config-property name="password" value="8888"/>
<config-property name="ftpAbsolutePathBegin" value="/"/>
<config-property name="ftpPathSeparator" value="/"/>
<config-property name="changeDirectory" value="false"/>
<config-property name="enforceFileTypeFromSpec" value="false"/>
<config-property name="keepConnections" value="true"/>
<config-property name="keepAlive" value="false"/>
<config-property name="serverType" value="win"/>
<config-property name="serverLocaleLanguage" value=""/>
<config-property name="serverLocaleCountry" value=""/>
<config-property name="serverLocaleVariant" value=""/>
<config-property name="serverEncoding" value=""/>
<config-property name="defaultDateFormat" value="MMM d yyyy"/>
<config-property name="recentDateFormat" value="MMM d HH:mm"/>
<config-property name="serverTimeZone" value=""/>
<config-property name="listParserKey" value="WIN"/>
<config-property name="timeParserKey" value="default"/>
<config-property name="useFtps" value="true"/>
<config-property name="useImplicitSSL" value="false"/>
<config-property name="walletLocation" value="/tools/da/oracle/swinstall/product/10.1.3.1/OAS11/opmn/conf/ssl.wlt/interfaces/ewallet.p12"/>
<config-property name="walletPassword" value="oc4jadmin"/>
<config-property name="channelMask" value="both"/>
<config-property name="securePort" value="990"/>
<config-property name="keyStoreProviderName" value="oracle.security.pki.OraclePKIProvider"/>
<config-property name="keystoreType" value="PKCS12"/>
<config-property name="keystoreAlgorithm" value="OracleX509"/>
<config-property name="enableCipherSuits" value=""/>
<config-property name="pkiProvider" value="OraclePKI"/>
<config-property name="jsseProvider" value="OracleJSSE"/>
<config-property name="proxyHost" value=""/>
<config-property name="proxyPort" value=""/>
<config-property name="proxyUsername" value=""/>
<config-property name="proxyPassword" value=""/>
<config-property name="proxyType" value=""/>
<config-property name="proxyDefinitionFile" value=""/>
<config-property name="useProxy" value="false"/>
<config-property name="useSftp" value="false"/>
<config-property name="authenticationType" value="password"/>
<config-property name="preferredKeyExchangeAlgorithm" value="diffie-hellman-group1-sha1"/>
<config-property name="preferredCompressionAlgorithm" value="none"/>
<config-property name="preferredDataIntegrityAlgorithm" value="hmac-md5"/>
<config-property name="preferredPKIAlgorithm" value="ssh-rsa"/>
<config-property name="privateKeyFile" value=""/>
<config-property name="preferredCipherSuite" value="blowfish-cbc"/>
<config-property name="transportProvider" value="socket"/>
<connection-pooling use="none">
</connection-pooling>
<security-config use="none">
</security-config>The fact that two instances are reading the same directory doesn't look that good to me. In parallel, the DB Adapter, polling for new records must not have two instances polling for the same table! Another issue could be problems on the FTP server itself. FTP connections are in Passive mode. It could be that the FTP server runs into portnumbers that are blocked in the firewall. This can be read from FTP logging on the FTP server itself.
-
Reading file from AS with details
Hi guys,
I want to read files from a directory on AS.
I used the FM SUBST_GET_FILE_LIST.
It works fine, but I'd like to know the file creation date.
I have to use this date time to decide which file I have to manage.
I thought the MTIME field was the answer, but it returns to me a number that I don't understand.
Any idea about it, or is there a FM that give to me the file creation date, modification date ecc
Regards
JampierreFrom the description MTIME is the Unix time - "last modification date, seconds since 1970"; Meaning this number is time in seconds from 1970; Did you check out the MOD_DATE and MOD_TIME fields in the same output table?
There are lot of threads in SDN regarding this and conversion of unix time to std date/time... please search in SDN,
Convert UNIX timestamp into Date and Time
Retrieve File creation date
Maybe you are looking for
-
I had a bookmark folder & decided to add two more. When I went to my folders I could only find one new folder. When I clicked on it, it brought me to the second new folder. I couldn't get all three to appear under the bookmarks section. I retitled th
-
Can't make alias in Applications folder
Something has suddenly changed on my MacBook Pro (running 10.5.1), and I can't create an alias for anything in the Applications folder. If I do "Command-L", nothing happens. "Make Alias" on the File menu is grayed out. I am logged in as an Admin. I'v
-
SAMSUNG LE32R87BD connect to Mini Mac via HDMI - HELP!
Can anyone confirm that the Mini Mac can connect to the LE32R via HDMI? IF so - can anyone give me some instructions - I cant get it to work. When I boot up the black and white DOS like commands come up, but then it goes blank and says "no signal" It
-
I am having trouble with the initial connection of the apple tv. I have isolated the problem to the cable/connection. My new hdmi cable has a resolution up to 1080p...does the resolution matter?is this the right hdmi cable for the apple tv?
-
Sort sequences in a sequence file
I just copied a bunch of sequences from different files into a common sequence file. I think there were multiple versions of some of the sequences, but sonce there's such a long list of them now, it's difficult to compare. If I could sort the sequenc