Using subdirectories in file sender
Hi there
Is is possible to search in all subdirectories in your file sender adapter's source directory? I know you can specify the different directories using the Advance Selection for Source File but i'd like to know if you can specify somehow to have it search the source directory and all it's subdirectories?
Thanks,
Jan
There is no standard way to do this. You may however have some OS script to perform this. The script may search the file and copy it at one location from where PI can pick it up.
Regards,
Prateek
Similar Messages
-
PI 7.1 using FTPS as File Sender Adapter: Problem connecting to Server!
Hi
We are using SAP PI 7.1 and I am trying to connect to an FTPS Server, but always get the following Error in the log: "Channel FileReceiver: Error connecting to ftp server 'hostname': com.sap.aii.adapter.file.ftp.FTPEx: The control connection to the FTP server hostname timed out while reading the server reply."
I checked all the parameters and they seem to be ok! When I am using the same parameters with a WS_FTP Client Tool on the same server, I can establish the connection! Hostname, Port, User, Pass, etc must be ok ... I also imported the CA Certificate into the "TrustedCAs" KeyStore ...
We also checked if on FTPS Server side we can see anything in the logfiles, but it seems that PI (Fiel Adapter) does not send anything to the FTPS Server. On OS Level we see that a TCP Connection is established tho the Server on the correct Port and we also used a tool to analize if data is sent over the established connection, but there was no data :-o
Can anybody help me?
Thanks
ChristophHi Pavan
Access rights are ok ... how do I check if my PI Sysem supports FTPS? We have installed the crypto extensions and I also can select the FTPS Option on the file adapter. Is there anything else that must be enabled or configured?
Regards
Christoph -
Since using FF 5, my File Send link.. has quit working
Since using FF5, the File > Send Link... has quit working.
Also, FF 5 takes a log time to start and a really long time to Exit.You are singing to the choir! I absolutely agree.
The only thing that I can think of is the update to 10.4.11 that was made a while back. (don't have the exact date in front of me) Potentially it took this long for all of the adjustments to work there way through - but other than that, nothing has changed.
THe LAG link comes up and appears to be "up" but no data gets passed. Both the server and the switch are reporting that the link is up.
I am stumped. -
Users for File sender/reciever Channel
Hi,
As i understand, there is a user that is used internally in file sender/reciever channel to read/write a file.
Can someone tell me what are those users?Hi
Genral rule for any adapter needs username / login == destination system username / password which has credentials to perform u r required action.
So bettter use that user pass and check in the destination system and use the same in XI it will work as it is
rgds
srini -
What is the use of additional file(s) in sender file adapter?
Hi experts,
what is the use of additional files parameter in sender file adapter?
give me some example.......
Thanks & Regards
E.Ravi Chandra ReddyHi,
please check the below link,
you can specify additional files to be included in the XI message as attachments.
http://help.sap.com/saphelp_tm90/helpdata/en/44/692ab8a4b633eae10000000a1553f6/content.htm
Regards -
Error Archiving File in File Sender Adapter using AF_Modules/PayloadZipBean
Hi everybody.
I have to pick a zip file up from ftp server, unzip an convert the file in xml.
Im using this modules in file sender adapter:
AF_Modules/PayloadZipBean --> To unzip de file
AF_Modules/MessageTransformBean --> file to xml
The problem is when I try to archive de file. Im getting this error and I dont know why (This path exists /out/ProcesadosSinError/)
Could not archive file 'test.zip' as '/out/ProcesadosSinError/20100518-091029-155_test.zip' after processing: java.io.FileNotFoundException: /out/ProcesadosSinError/20100518-091029-155_test.zip (A file or directory in the path name does not exist.)
Could it be that is not possible to archive with AF_Modules/PayloadZipBean?
Thank u so muchHi Stefan.
Absolutely. This path exists. It's an absolute path from root. I can´t understand the error!!!!
Thanks!!!
Edited by: Christian Abad Chico on May 18, 2010 9:35 AM -
Cant do a file get from external server using file sender adapter with ftp
Hi all,
Up until now our company has only used the file sender adapter with ftp protocol to get a file from our XI server for processing and input the file into an integration process
I have a requirement to do an ftp file get from an external server
From our XI development server I can ftp directly to the external server and view the required directory using the command window via a DOS prompt (FTP open ...). So all firewall issues and communications are fine
Unfortunately I cannot currently pull files from the external server using the XI file adapter with ftp protocol from the XI development server AWB017
FTP Connection Parameters: External server name using port 21, Data Connection is Passive, No security, I supply a userid and password
Processing Parameters: Processing Mode is Archive (I tried test but this did not work either)
No messages appear in the RWB
Is there something else that I need to set up in order for the external ftp get to work via the XI file adapter?
Regards,
MikeThanks for your responses.
I have found the error messages in the File Adapter Monitor
Scenario 1
When I prefix the source directory with a forward slash, eg <b>/Folder/Subfolder</b> the error message is as follows
<b>EST: Error: Error connecting to ftp server 'ip address': FTPEx: /Folder/Subfolder: The system cannot find the path specified</b>
Scenario 2
When I DO NOT prefix the source directory with a forward slash, eg <b>Folder/Subfolder</b> a different error message is returned
<b>Error: Retrieving file 'FILENAME.XML' failed unexpectedly: FTPEx: Folder/Subfolder: The system cannot find the path specified</b>
At least in this scenario the adapter has been able to identify the file on the external FTP site but cannot retrieve it
Questions
I thought that the backslash prefix for the source directory was mandatory but I am receiving an error in each scenario
I receive the same error message whether the Processing Mode is 'Archive' or 'Test'
The logs on the external ftp server seem to indicate that I am simply connecting, sending username and password then quiting straight away. I am not issuing any commands that they can see
I thought that being a Sender adapter it would inherently execute a Pull or Get command
To recap, from our XI development server I can ftp directly to the external server and view the required directory using the command window via a DOS prompt (FTP open ...). So all firewall issues, communications, userid and password are fine
Has anyone experienced these issues?
Please advise on next course of action?
Regards,
Mike -
Using TEST mode in sender file channel to trigger jdbc receiver channel
Hi
In order to call a jdbc receiver channel every 15 minutes I intended to use a file sender channel as a trigger where I set the Processing Mode to TEST. However, I would like to make multiple simultaneous different calls to the jdbc receiver channel, so I have multiple files in the folder, where the file sender channel is listening. Quality of Service in the file sender channel is set to Best Effort as the call is syncroneous.
However, because the messages in the folder are not deleted, only the first message is being processed no matter whether I choose Processing Sequence "By Date" or "By Name".
I would like to avoid having to create 15 folders containing one message each, so is there another way of doing it?
By the way, I redirect the response from the jdbc receiver channel to a different folder, but I think this is irrelevant in this case.
I use PI 7.11
/MikaelThanks for your answer, but I would like to avoid using Availability planning.
Right now I am thinking about using "Advanced selection for source file" and then just specify 14 different folders here each containing one trigger message, but it seems that only the oldest message (if I choose Processing Sequence = Date) or the first message alfabetically (if I choose Processing Sequence = Name) is being processed across the many folders which I think is very weird! -
File, Send link doesn’t open a new email. Running Firefox 11.0. Outlook 2010 is the Mailto default and the W7 default email program. On the About:config page, network.protocol-handler.external.mailto is set to regular font (not bold) “default Boolean true”.
I assume you have tried toggling the setting in Firefox between Outlook and, say, Gmail:
orange Firefox button ''or'' classic Tools menu > Options > Applications
In the search box, type or paste '''mailto''' and pause for the list to filter.
Change the setting and OK to save it, then return to the dialog, change back, and OK again.
You also might want to toggle the setting at the OS level between Microsoft Outlook and the native Windows Mail client in a similar fashion. In Windows XP you could use IE's Options dialog, Programs tab, for this, but I'm not sure in Windows 7.
Since one possibility is a problem in your Firefox settings (including the possibility of interfering add-ons), and another is a problem at the Windows level (e.g., Registry settings), it would be useful to try to identify which one it is. One quick way to distinguish is to create a new Firefox profile. It will start up with all factory settings. You can switch back to your existing profile after testing.
First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
After closing Firefox, start up again in the Profile Manager as described in this article: [http://support.mozilla.com/kb/Managing+profiles Managing profiles].
With the new profile, can Firefox successfully create a message in Outlook? -
Error using Message Transform Bean in SimplePlain2XML in file sender
Hi guys.
Im using Message Transform Bean to convert from file to xml in file sender.
My structure look like this:
ROW (1..n)
>TRANSPORTES (1)
>ENTREGAS (1..n)
And I have configured the module like this:
AF_Modules/MessageTransformBean - transform
transform - Transform.Class - com.sap.aii.messaging.adapter.Conversion
transform - xml.ENTREGAS.endSeparator - 'nl'
transform - xml.ENTREGAS.fieldFixedLengths - 1,30
transform - xml.ENTREGAS.fieldNames - TIPO,NUM_ENTREGA
transform - xml.ENTREGAS.keyFieldValue - E
transform - xml.TRANSPORTES.endSeparator - 'nl'
transform - xml.TRANSPORTES.fieldFixedLengths - 1,30
transform - xml.TRANSPORTES.fieldNames - TIPO,NUM_TRANSPORTE
transform - xml.TRANSPORTES.keyFieldValue - T
transform - xml.conversionType - SimplePlain2XML
transform - xml.documentName - MPrueba_Zip
transform - xml.documentNamespace - http:/XXXXXX.es/XXXX/sap/prueba
transform - xml.keyFieldName - TIPO
transform - xml.processFieldNames - fromConfiguration
transform - xml.recordsetName - row
transform - xml.recordsetStructure - TRANSPORTES,1,ENTREGAS,*
Im getting this error and I don´t know why:
Error: com.sap.aii.messaging.adapter.trans.TransformException: Transformer Conversion3.0.5227 Error initializing Class: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408) Parameter 'xml.fieldFixedLengths' or 'xml.fieldSeparator' is missing (4409) Parameter 'xml.fieldNames' is missing (4403) ; nested exception caused by: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: (4408) Parameter 'xml.fieldFixedLengths' or 'xml.fieldSeparator' is missing (4409) Parameter 'xml.fieldNames' is missing (4403)
Why am i doing wrong?????
Thanks a lot!!!Hi
For Complex conversion you have to use xml.conversionType as "StructPlain2XML"
http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
Regards
Ramg -
How to specify source directory in File sender adpate using (NFS)?
Hello experts,
I am doing File-PI-Proxy scenario.
Input file is available on machine which is within the Network area and FTP is not available on that machine.
For this reason I am using the NFS Transport Protocol.
In ID File sender I have specified Source Directory:-
IP Address\Directory
I am geeting the Error in RWB as 'Configured source directory '
IP Address\Directory' does not exist'.
Please suggest how to specify the Source Directory path.
Regards,
JageshHi,
If you want to use NFS protocol, then the file needs to be within the a folder in the XI server and not outside it, In your case if you need to use the file in a different machine which is on a network then try to use the FTP protocol.
Refer this blog:
/people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang which shows the details of how you can install a local FTP and use it
Regards,
Nithiyanandam
Edited by: Nithiyanandam A.U. on Mar 18, 2009 10:43 AM -
Send a flat file with fixed lengths to XI 3.0 using a Central File Adapter?
Hello,
I'm wondering if someone have experience setting up conversion for different record structures. The example shown,
/people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter,
(in a greate way) only picture one kind of structure.
How should it be done if the file would contain
10Mat1
20100PCS
The first record structure has columns
ID(2),Material(10)
The second redcord structure has columns
ID(2),Quantity(3), Unit of messure (3)
Brgds
Kalle
Message was edited by: Karl BergstromThe configuration would be like follows:
Content Conversion Parameters:
Document Name: <your message type name>
Document Namespace: <your message type namespace>
Document Offset: <leave empty>
Recordset Name: <any name>
Recordset Namespace: <leave empty>
Recordset Structure: row1,,row2,
Recordset Sequence: any
Recordsets per Message: *
Key Field Name: ID
Key Field Type: String
Parameters for Recordset Structures:
row1.fieldNames ID,Material
row1.fieldFixedLengths 2,10
row1.keyFieldValue 10
row2.fieldNames ID,Quantity,UOM
row2.fieldFixedLengths 2,3,3
row2.keyFieldValue 20
Instead of row1 and row2 you can choose any name.
Regards
Stefan -
Deletting the file that has been used in 'Additional Files' in FILE SENDER
Hi people.
I've developed an interface that has to send a ZIP file to an email address.
I pick that file using a dummy file. This file is picked as an attachment and has been defined in 'additional parameters' of SENDER FILE.
My problem is that i want to delete that 'additional file' once it has been procesed. I think that this could be done running an operating system command.
My problem is that i don't know how to do this in UNIX systems.
Can anyone tell me how to delete (in UNIX) a file with name dummy.zip located in folder /usr/sap.../ ?
Regards,
InigoYou can probably do this by executing a shell script on the server!
You can only run commands on the PI Server
See here for details and help on writing shell scripts!
http://www.injunea.demon.co.uk/pages/page205.htm -
How to pick the sender files dynamically using the same File CC
hi,
My requirements is like , Same Sender File communication Channel has to pick up the different file which are having differnt file conventions and which are placed in different directories .. then it has to send to diffentn directories in the receiver side..
how to do this?
Regards,
BalajiHi Stefen,
They have tried the Generic Sender File adapter concept to handle filenames with different names and from different directories instead creating many file channels. In my project many channels are configured as generic File sender channel.. And Eventhough the Generic file sender channels processing the filenames from different directories, all processed files are archieved in one common directories.. now they wanna generic solution to archieve the processed files in a particular folder based upon the directories they got processed from....
and There are no such message mapping or Operation mapping since they used AAE concept. So do you have any idea to make Generic File sender channels to archieve the files as per requirements i said before??
Two doubts can we use like Module programming or can we do any OS level command acchieve this ? if yes please explain in detail .... Please help me out here
please refer the following link .. exact way we used in our project
http://wiki.sdn.sap.com/wiki/display/XI/SingleSenderFileCCForMultipleDirectories
Regards,
Balaji
Edited by: Balaji Pichaimuthu on Feb 5, 2010 5:55 AM -
How to Test, Inbound idoc ,with out the Sender System, using a Text File
Hi Guru's .
we wanted to test BLAORD03 inbound idoc (Message Type BLAORD).with out the SENDER SYSTEM.
on the same client.
we wanted to test this idoc with text file from our local machine.
Can anyone give us detail steps.like how to create File layout
with Segment name,and values for the fields.how to pass this file to the system.
Thanks in advance.Hi Aparna.
My requirement is to test the idoc with Inbound File.
Generate a file with the data entered through segments through we19 ,and use the same file for processing through we16.
when i am trying to do this syst complaing about
Partner Profile not available, and some times
port not available. and some times with
'No further processing defined'.
but i maintained part profiles and port perfectly.
Can you help me in testing with test 'File' port.
Maybe you are looking for
-
i made a dual boot of windows 7 and mac os x lion in my macbook pro .i installed m icrosoft support software also. now, can i install windows updates? do i turn on the automatic updating of updates? does hot fix of microsoft i.e, " support.microsoft.
-
PDF´s won´t open in Safari... Wazzup?
Hi! I seem to be unable to open any PDF´s in Safari- when ever I encounter a pdf, I have to copy the link, and paste it in Opera, in order to open it... Am I totally blond and beyond, or what?? I have the same problem on both my Imacs and my MacBook
-
Setup: - Oracle 10.2.0.4 EE on HP-UX 11.23 Two weeks ago we got our DG physical standby setup working, initial tests looked good, I could tail both primary and standby alert logs and see results of log switches, everything looked good for about a wee
-
Please help....need clarification
I am running FCP version 6.0.5 and I am trying to export using Quicktime conversion to Flash Video. On my Mac at work I have this option, I do however have CS3 creative suite installed. My Mac at home I do not have CS3 installed and I don't have that
-
IPod Touch not turning on!
I use my IPod all the time and i was in the middle of playing a game on one of my applications and then it shut down, i tried to turn it back on but it wouldn't, i reset it and i am trying to charge it now but the apple symbol appears and then it tur