Is it possible to Schedule File Adapter to pick the files ?
Hi ,
I am planning to pick the files at particular time daily.. say 11AM.
Is it possible to schedule the Communication channel to pick the file daily at 11AM ?
Kindly suggest.
Thanks
Deepthi
Answered in this blog.
/people/shabarish.vijayakumar/blog/2006/11/26/adapter-scheduling--hail-sp-19-
Similar Messages
-
Sender File adapter not picking the file ABCD.PRN extension file
Hi
Am doing File to Abap Proxy scenario. My source will be in text format of fixed length of fileds 7.
My souce file will be generated by a third party machine with the extension EEE150809.PRN. In my scenario my file adapter should pick the file and update the same in ECC via a Proxy.
I have configured the Sender File adapter with Message Protocol - Content Conversion but file adapter is not picking the file. I have checked the Communication channel and status is fine. But the same Communication Channel works for .XML file.
What are the parameters that I have to consider with the file extension .PRN using File adapter?
Thanks.
S.Hi Swarna,
You dont need to worry about the extension when picking the file. You can try using EEE* so that is picks all the files starting with EEE. If you have the fixed name then you can try giving EEE150809.*. Also EEE150809.PRN should not have any issue. Try to see in sender commu ication cahnnel for anyerrors. Probably there might be some network issues or authorisation issues. If you are reading with NFS then ask them to give necessary permissions. If you are reading through FTP check the user id and pwd you are using.
Regards,
---Satish -
File Adapter Not picking the files
Hi All,
We have a process wherein the file adapter picks up the file from a particular location and it processed thereafter. We get the files once every month. We noticed that if the files that are being dazzled are of the same, i.e if the same nomenclature is there for the file that was dazzled the previous month, the adapter does not pick up the file. Only after renaming the file, it picks the file and processed them.
Any idea why the files that are dazzled with the same name are not being picked up.
Thanks in Advance...!!Hi,
While configuring file adapter to pick up the files cross verify with file name putting in the directory location against the
"Includes files with name pattern" "Excludes file with name pattern" file name..
let say if u kept .*txt if picks the files txt with any name and one more think once after picking up the file from particular location are u enabling (delete file once read) option in configuration(It all depends on ur req)..
cross check the schema element of the file pattern. -
JMS adapter not picking the file
Hello,
I am working jms to jms scenario on PI7.0 Service Pack13. file is not able to pick up sendar JMS Channel. I am using WebSphereMQ Transport Protocol. JMS drivers are installed.
I checked all parameters of JMS Adapter. no mistake in parameters. What is the problem. Please suggest as soon as possible.
ThanksHi,
Whether the Driver file has been mentioned in Provider XML file and check the messages are in the right sender Queue.
Check the Port and Protocol are right one.
Regards
Agasthuri Doss -
File Adapter not picking the file
Hi Experts,
I am trying to create a Legacy-XI-R/3 scenario. I am using a file adapter as the sender communication channel and a ABAP proxy at the receiver end. I have given the path of my input file in the legacy system, but the file is not picked up by the adapter. Can any one tell me where I might have gone wrong?Hi,
Just want to add one more suggestion.
Check the Host name, where the File is kept and try to use the directory path as
<HostName>\<DirName>.
Hope this help.
Aj. -
Query in schedule task adapter using FilestreamProvider
Hi,
Requirement: I need to use a dynamic file send port which appends the file every 2 hours after which is picked up by an ftp adapter on a daily basis on a fixed time.For
the above, I am using a scheduled task adapter to pick the from folder path( send port path) and via FTP adapter send to the destination.
Flowchart:
Direct Binding in Orchestration->Map-> Dynaminc File Send port-> File should be appended every two hour(for eg: suppose the file has to be picked up every day at 1pm,3pm: Until 1pm, all the files appended in the folder should be picked and
sent to the destination via schedule task adapter then the message should be deleted from the folder path then in between 1pm to 3pm how many every files come in should be appended aI have created a schedule task adapter using FileStreamProvider which should
pick files from a folder path in the interval of 5mins. The file gets appended every 2 hours and is sent to the destination. The adapter works fine but the file in the folder does not disappears after the schedule is over every 2 hours. Please provide
a resolution. nd send to the destination via ftp adapter and the file should be deleted from the folder path)->Picked up by schedule task adapter every 1 hour-> sent to the destination via FTP send port.
Problem:
I have created a schedule task adapter using FileStreamProvider which should pick files from a folder path in the interval of 2 hours. The file gets appended every 2 hours and is sent to the destination. The adapter sends the files at scheduled timee
but the file in the folder(i.e where the file sits after being processed by dynamic send port) does not disappears after the schedule is over every 2 hours and the content of the file is also not visible. Any kind of help would be appreciated.
Thanks in advance,
Ranjana>
Arpit Seth wrote:
> Hi All,
>
> We have an interface in which we are inserting data in Oracle server using JDBC Reciever Adapter.
> The interface ends up in error on adapter engine level whenever the we are sending long data in one of the field of target structure. The error which we get in communication channel monitoring is that "String too long", on googling i found that in oracle they solve such problem by making the field data type as CLOB.
>
> Thus can we define target structure field of CLOB type so that while inserting the data in Oracle server we never face the issue of this long string.
>
> Thanks
if the field contains very large data then yes, defining the target field in Oracle as a CLOB will solve your issue.
http://www.herongyang.com/jdbc/MySQL-CLOB-Overview.html -
Hi All,
<b>Is it possible to Schedule file adapter without using BPM.
Ex for same scenario:
file 1
field 1 = 'a'
file 2
field 1 = 'b'</b>
I want to post 'file 2' only after 'file 1' successfully posted in SAP.
If 'file 1' not posted successfully then 'file 2' will not post and wait in XI for 'file 1'.
<b>Note:</b>Thease two file's using same Message Type in SAP, i.e. both are belong's to same scenario's.As Udo said it is not possible without using (as of now).
If you have not seen these docs, check them out.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d458a870-0601-0010-caab-b99c79741964
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4f61fddf-0601-0010-7ab5-fb749538f6ab
regards
Shravan -
File adapter should pick a single file at a time
Hi,
I have File to RFC scenario.. in my source directory I'm getting bunch of files with the same name. at a time.. but i want to pick the one by one only. that means.. my file adapater poll interval is 30 seconds.. every 30 seconds it will pick the one file.. even though there are multiple files.. but my file adapter should pick a single file ata time..
but at present my file adapater was picking all the files ata time.. but i want to make my file adapter should pick single file ata time..
for this.. any special configuration we need to do.. or any ideas or suggestion .. will be.. appriciated..
regards
Babu>>any special configuration we need to do..
there is no default configuration to achieve this functionality.
I speculate that any of this should work.
1. Post the files to a intermediate directory and use a SCRIPT/Batch program to move only one file at a time frame to the source directory.
2. Uncheck the option Process Read only files in the sender CC to prevent the file adapter to pick the read only files. Use a script that changes the permission of one file at a time so that the file adapter will pick that file alone.
In both the cases the script needs to be scheduled at the OS level to run every 30 seconds.
Thanks
SaNv.... -
Schedule JDBC adapter in XI 3.0
Hi experts,
Is there any way to schedule the JDBC adapter to pick the data only on First day of a month.
Thanks in Advance.Hi it is possible anyway (maybe only if you have an Oracle DB) .
you can use a subselect in your JDBC Statement where you select the sysdate from dual an then extract the day and compare it with "1".
As an example:
and
(select substr((select to_char(systimestamp, 'mm/dd/yyyy HH24:mi:SS') from dual),4,2) from dual) = '01'
Regards Björn -
I want to Pick the Single file from The source Directory
Hi,
My Scenario is File to RFC .. I'm getting the files in the source Directory.. File names are SENDER_(TIMESTAP).XML .. but the problem is... When ever Files are available in the Source Directory Immediately XI was picking all the files at a time.. But I want to to Pick a single file at a time..
for Making this what we have to do.. After Processing the first file then only my Sender adapter should pick the next file... (even though Multiple files are available in my Source Directory)
Regards
JainHi,
the other option was use Adapter specific attributes in the Sender Communication channel..
or
while droping the files ask them to drop using time stamp in another directory and an external validation is required .. and after validation push single file to Source directory using batch file..
i.e use a batch file using run time operating system or make that batch file to run at OS level ..
where the batch files needs to validate the time interval of the file and needs to push a single file to the source directory.. where from there we can directly pick a single file and process..
regards,
Kishore -
Need Shell Script for picking the files
Hi,
I want to write a shell script for piking the files in a sequence order (according to filename with time stamp) from the sorce FTP server ..
Requirement is in the source directory I'm getting files (Jain_1.xml , Jjain_2.xml, Jain_3.xml .. ect..) at present my file adapter is picking all the files at a time but i want to pick one by one... that to first i want to Jain_1.xml after finish the processing of the file then only my file adapter should pick the next file ( Jain_2.xml ) .
so.. all the forum mates suggest me to write a shell script.. but where i have to write the s hell script. and where i have to deploy this script.... my Xi is running on UNIX ... so please sugest me the procedure ...
Regards
JainHi,
Why dont you use the option EOIO in which files will be picked up in order and will be proccessed in sequence....one after another....
Regards,
Sreeni. -
Scheduling File Sender Adapter
<b>Hai expertise,
We need to send image files from different local PC's (whose IP address is dynamic) to Document Storage System through XI.
1) we have to use HTTP sender (Java program which pick current IP address of system and file names from folder to XI in XML format).
2) XI has to pick the files and depends on response from BAPI files has to be moved to other folders in local machine (from where XI has picked the files)
Is there any way to pick the payload value to one feild of File sender adapter?
will it work through Adapter Specific Message Attributes?
But ASMA is for dynamic folders and dynamic filenames we need to set dynamic FTP IP address to FTP Server name of File Sender adapter.
Is this functionality be achieved without adapter module creation?
One more approach we though is that "XI will get XML data of IP address where file resides and file names in the form of XML, which we are polled by server proxy and using that IP address in proxy can we use do FTP copy and moving files from one folder to other depends on BAPI response". Will this work as the BAPI as to execute in backgroung to get files from local windows based machine to sever for FTP copy????
File sender adapter has to be triggered, when HTTP sender sends the data to XI, Is this possible???
Can we use File Sender adapter, when HTTP sender sends the data to XI in the same interface?
Picking files from static folders, filenames but dynamic FTP Servers, is this possible through standard File Sender Adapter?
Please advice.. its urgent...
Regards,
Pushparaju Bollapalli</b>try this
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d458a870-0601-0010-caab-b99c79741964
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4f61fddf-0601-0010-7ab5-fb749538f6ab
/people/sap.user72/blog/2006/06/04/starting-stopping-of-communication-channel-from-rwb -
Is it possible get special file in file sender adapter?
Hi every SDNer.
I want to get special file. for example like PJ<today>_return.dat
Well, to paraphrase Marx, One folder has too many files. but I want one file in that folder.
The rule is simple. if today is 20/07/2007 then I get the file as "PJ20070720_return.dat".
How can i configuration File Sender Adapter?Dont have an XI system in front of me, but if I recall correctly, your options are pretty limited. The list of parameters in Advanced Selection for Source File does not include a date Better selection parms with the receiver channels.
As such you may have to resort to writing a script on the OS that will do the following every minute... (basically run it more frequently than your channel)
- look in that directory through all the PJ* files containing date = 'today'
- rename the file to REAL_PJ_..... (for example)
In your channel, pick the file REAL* and archive accordingly so it's not picked again by your script.
If you find alternatives via cchannel - publish your results.
sincerely,
--NM -
File adapter to pick a single file
The scenario is PI File adapter would pick files from a 3rd party FTP location. The 3rd party is placing files with file names using date time stamp.
The requirement is to process one file at a a time - I have mentioned the Processing Sequence as 'By Date' which means the adpater would pick the files sequentially. But I want the adapter to pick only one file at a time rather than picking all the available files in the system.
Is that possible to do?
Thanks.
Anuradha.Hi Anuradha,
Could you please kindly provide answers to the queries below so that forum members can have a clear picture of your requirement
1. What is the operating system of your PI server?
2. What is the version of PI you are working on?
3. What exactly do you mean by statement " I want the adapter to pick only one file at a time rather than picking all the available files in the system." since adapter will actually pick up files one by one only in each polling interval. This goes in PI pipeline
one after another in quick succession.
4. Do you mean that you want to insert delays between successive file pick up then Baskar has already answered your question.
5. Do you want the channel to pick up only one file in a day out of all possible file?
6. Could you please kindly provide any sample file name you are receiving in PI ?
regards
Anupam -
These are Webi, user created reports.
Is it possible to schedule a Webi report based on another input, i.e. expose a time in which a process was finished (this can be obtained via a SQL call, service call, etc).
The issue is that if a user schedules a report for 9PM but a process to move data, etc has not completed then that forces the user to keep re-freshing the report hoping that the process has been complete.
Ideally, in the selection UI add to the dropdown for 'when' the option 'Use Process X completion Time' (since it is a daily report).
Then starting around 9PM check to see if that 'time" value is populated then refresh (run) the report. Or it could just be a flag that the process has finished.
User's in the webi environment are asking for this, and moving their reprots to BO is not an option. That's why they have the custom webi enviroment.
Thank you.There is no very good way to create a working event based on a file as the file will need to be deleted as soon as the event is triggered. However there are work around which can be done for this. Here is a link which is discussing about the process.. http://scn.sap.com/thread/1677109
Once you have created a file based even in CMC > Events> System Events and made a work around program to delete the file once the event is trigged all you would need to do in webi is in launchpad just schedule > Events > select the file based event from all available system events. Here is a screenshot how to make a report run based on a event..
Maybe you are looking for
-
Please Help! I am in desperate need to access my email. Thank you. whenever I sign in iCloud, this happens: APPLICATION NAME cloudos ERROR authDidNotConnect TYPE server APP STATECHART SC.Statechart:sc915 initialized: true name: cloudos-statechart
-
Can I use my Ipod on my PC and on my Ibook ?
Can I use my Ipod on my PC and on my Ibook ? At home I use my Ibook, at work I use a PC, running on XP prof. Can I use both computers without changing something on my Ipod. I'm a little bit scared to trie it, you never know what happens... thanks in
-
the finder can't complete the operation because some data in "VIDEO_TS.BUP "can't be read or written (error code-36)
-
Can anyone recommend an xliff editor i can use for the xml output from adobe captivate?
-
What is the life expectancy of the hp laser jet p3015 printer?
What is the life expectancy of the hp laser jet p3015 printer?