How to pick the file which is created with current date

Hello All,
I have an FTP server where files are created with current date as PO_CONFIRM_20100701.txt.
Need to pick the file based on current date. How to pick the above file format using file sender adapter. i.e what file pattern can we use so that file will be picked only on today's date
Regards,
Sreenivas.

Hi Srinivas,
It depends upon the OS you are using. If unix you can see an example script here:
http://www.computing.net/answers/dos/batch-file-to-rename-files-by-date/5517.html
If windows an example here:
http://en.kioskea.net/forum/affich-87157-finding-and-using-file-date-in-batch-command
You may need to change slightly to fit your exact requirements. But this would make you to start. Else you can also google to get the script. Here is one link:
http://www.google.com/#hl=en&source=hp&q=scripttorenamefileshavingtodaysdate&aq=f&aqi=m1&aql=&oq=&gs_rfai=CRE9SwTMsTNjiDpzGhgTm65iFCwAAAKoEBU_QC2i-&fp=e0fa4b5da4f245a4
Regards,
---Satish

Similar Messages

  • How can be delete file which is created with spool command on Oracle Server

    Dear Experts,
    we have ccreated a file in oracle with DBMS_SQL Package now i want to remove this file from Server with oracle commend or Scheduler .
    Please help us.

    user8725480 wrote:
    Host Script i am not aware about that. Could you please tell me about the same.Using the DBMS_SCHEDULER package you can launch an external executable. Using this you can launch a host script in a language of your choice (BASH, VBS, etc) to perform the actions you require.

  • How tp Pick the File on Specified days?

    Hi SapAll,
    I have searched every where regarding this, but i could not find it out
    could any one provide me a solution for this.
    *In my case, i have to pick the file on specified days like Monday , Friday in a week. * 
    Where does i need to schedule this?

    >*In my case, i have to pick the file on specified days like Monday , Friday in a week. *
    >Where does i need to schedule this?
    Go to Runtime workbench->component monitoring-> communication channel
    See the various options provided by "Avaliability Time Planning".  You can schedule to pick the file for a specfic day or week or month over there.

  • How to get the document which is associated with a process having specific Guid value?

    when a PDF file is opened, AcroRd32.exe is started automatically, and we get the GUID value of that adobe reader.
    In c#, can't we get the document associated with the GUID value,  I mean the total PDF file which is opened in adobe reader at runtime.
    Here I'm struck up in code, can anyone suggest how to where I was missing something.
    Acrobat.CAcroAVDoc AcroAvDoc;
    Type AcrobatCAcroType;
    AcrobatCAcroType = Type.GetTypeFromCLSID(new Guid("{CA8A9780-280D-11CF-A24D-444553540000}"));  This CLSID is of adobe reader's.
    ///////Here I think I'm missing something
    Object obj = Activator.CreateInstance(AcrobatCAcroType);
    AcroAvDoc = (Acrobat.CAcroAVDoc)obj;
    I think I can get the full PDF document with AcroAvDoc.GetPDDoc();
    Thank you...

    Post your question in the forum for Acrobat SDK.

  • Adobe: How to print the documents more than once with different data.

    Hi Experts,
    I have a requirement to print the document of minimum 5 employee's at a time.
    First we are displaying the list of employee's and then the user is provided an option to select the employee's and print their details.
    A form has been created. We are able to print the document for a single employee. But now the requirement is to select multiple employee's and print their details at one time.
    I am able to get the contents all the employee's in an internal table. But i am not getting to combine the contents together and print the document.
    So could some one help me how to get the contents of all the selected employee's and print the document's.
    Thanks.

    I don't understand whether you want to print several different documents in a row each with  an employee or one pdf document with several employees in it.
    If you want to print one document with multiple employees inside, then you have to recode your PDF to be able to handle a table containing each employee data.
    If you want to print multiple pdf documents each containing one employee info, then this is done in abap. [see BC480]
    i.e.
    DATA:
    gt_customers TYPE TABLE OF scustom,
    gs_customer LIKE LINE OF gt_customers,
    gt_bookings TYPE ty_bookings, "table of sbook
    gt_sums TYPE flprice_t,
    gv_image_url TYPE string,
    gv_fm_name TYPE rs38l_fnam,
    * parameters for calling the generated function module
    gs_docparams TYPE sfpdocparams,
    gs_outputparams TYPE sfpoutputparams,
    Event START-OF-SELECTION:
    * Please note that the error handling implemented here is very
    * rudimentary!
    *>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    * Get name of the generated function module
    TRY.
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
    EXPORTING
    i_name = pa_form
    IMPORTING
    e_funcname = gv_fm_name.
    CATCH cx_root.
    MESSAGE e004 WITH pa_form.
    * No active form &1 available
    ENDTRY.
    *>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    * Optional: Set output parameters
    gs_outputparams-nodialog = space.
    gs_outputparams-preview = 'X'.
    gs_outputparams-dest = pa_prnt.
    *>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    * Open print job
    CALL FUNCTION 'FP_JOB_OPEN'
    CHANGING
    ie_outputparams = gs_outputparams
    EXCEPTIONS
    OTHERS = 1.
    IF sy-subrc <> 0.
    MESSAGE e020.
    * Form processing could not be started
    ENDIF.
    LOOP AT gt_customers INTO gs_customer.
    * Set form language and country (->form locale)
    gs_docparams-langu = pa_lang.
    gs_docparams-country = pa_cntry.
    PERFORM find_bookings_for_customer.
    *>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    * Now call the generated function module
    CALL FUNCTION gv_fm_name
    EXPORTING
    /1bcdwb/docparams = gs_docparams
    is_customer = gs_customer
    it_bookings = gt_bookings
    it_sums = gt_sums
    iv_image_url = gv_image_url
    iv_sending_country = pa_cntry
    EXCEPTIONS
    OTHERS = 1.
    IF sy-subrc <> 0.
    MESSAGE e021.
    ENDIF.
    ENDLOOP.
    *>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    * Close spool job
    CALL FUNCTION 'FP_JOB_CLOSE'.
    In the above pay attention to the loop.
    Cheers,

  • How to auto populate a column/SharePoint list with Current Date?

    I have a SharePoint list and I created a column called ‘CurrDate’. 
    I need this column to;
     Display the current      date,
    Auto populate all rows with the current date in the      SharePoint list
    Dynamically update with the current date
    I first tried creating the column using the default SharePoint interface Date Time but it’s not doing any of the steps listed above:
    I even tried entering =[Today] in the Calculated Value field. 
    Still nothing…
    So, I’m sure you will toss out a code snippet to make this work, which is great. 
    However, I’m a total noob with SPD, where the heck do I insert this snippet?
    Always in need of help.

    Hi ,
    I understand that you want to add a column  to a list to hold current date. Here is a workaround:
    Add a single line of text column to the list. Name the list as Today.
    Add a calculated column to the list. Use the [Today] as the formula. Set the calculated column to be Date and Time type.
    Delete the Today column from the list.
    Thanks,
    Entan Ming
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please [email protected]
    Entan Ming
    TechNet Community Support

  • Consolidating itunes media library-how to shorten file names or how to find the file that is creating the problem?

    Hi I've switched to Mac for six months now, so is still new to mac and I am using my old 1TB windows PC side by side for my music collection. Now I have seen the posts already in apple community about consolidating itunes music library but could not get the proper way of doing it. My system and itunes is also saying 'file name is too long' and it stops but the questin is how do I know which file is creating the problem and how do I shorten it?
    If anybody can answer I'll be obliged to him/her, because its my 6/7 years of music collection stuck in an old pc. Thanks in advance.
    - Javed

    By 'it stops' I meant the consolidation process in itunes stops.

  • How to copy the bookmarks which are created in SAP BW 7.3 to New SAP BW on Hana System?

    Hi,
    We have requirement of moving the Bookmarks from SAP BW 7.3 system to New  SAP BW on Hana System.
    Please let me know if it is possible?  If possible  how to do it.?
    Thanks,
    tms

    Hi TMS,
          Are you talking about Web template bookmark or QueryDesigner bookmark?
    If yes then in both the cases its is stored in your client machine as a browser favourite.This has nothing to do with HANA or BW system.So you can transfer browser favourite file from one system to other.
    If you are talking about in anyother context please be precise and more elaborate .
    Thanks & Regards
      A.Dinesh

  • Linn kinsky does not show all music folders - only the one which was created with wma but not the flac files wich where created with winamp

    Who can give me advice - do i have to change settings in i pod touch or in the folders from my computer ?

    Linn Kinsky is a app which helps you to control your LINN  audio - streamer
    This Kinsky programm is available for computers and apple products as well.  So the Kinsky programm runs perfectly on my windos computer and after reading articles i decided to purchase a more handy ipod touch to control my audio-streamer instead of using the notebook.
    unfortunately wma files are shown only. Meanwhile i ripped some cds as AIFF because I expected the problem here but nothing has changed.
    Anyway thanks for your answer Matthias

  • The ReFS File System Silently Deletes Folders Without Your Consent? How to Make the File or Folder Disappear with a Simple Rename Operation

    While solving issues with ReFS not deleting some nested folders when I delete its parent, I've noticed that ReFS automatically
    removes the folder without even asking you after you rename it by adding the exclamation mark to the beginning of its name.
    For example:
    In Windows Explorer press Ctrl+N to create a new folder and name it somehow, like Test
    Select this folder and hit F2, then add the ! mark at the beginning renaming the folder to !Test.
    Hit ENTER to change the name.
    Hit F5 to refresh Windows Explorer.
    Voila! The folder disappeared without your consent.
    Why is that?
    Well this is the world we live in And these are the hands we're given...

    Is that specific to Windows TP? Even a specific build?
    I could not repro on Windows 2012 R2.
    I have no unused space on my Win TP system, so could not try there.
    -- SvenC

  • How to set the file path dynamically based on sytem, username, and date

    Hi All,
    My requirement is upload the data into one  structure like xyz that is related to t.code MCSZ.
    file will be in  UNIx SERVER .
    PATH IS: /sapif
    file name is xy789 load .txt
    I have  to write code in one user-exit
    how can i set the file path for this.
    shall i put hard code file path?
    because i have to writecode in user-exit.
    plz tell me how to set the file path based ons syetem, username, date
    Thanks in advance
    Ram.A

    Concatenate the field SY-SYSID, SY-UNAME and SY-DATUM for the file path

  • How to find which communication channel is picking the file

    Hi
    Can any one tell me, how can i  find which communication channel is picking the file from the source directory?
    I have a file scenario. File is coming to directory but it disappears even after I STOP the communication channel, I am using for this scenario
    I want to find out which communication channel is picking the file.
    How can i do it?

    Hi,
    you can try this:
    Go to Communication Channel monitoring in Runtime Workbench.
    Select all file adapters and check cluster node for each Channel. If the file is picked by the channel you will see processing details or errors related to channel here.
      Since as you say the message is not seen in sxmb_moni then the communicaition channel would be red. Files that are picked from directories but not visible in sxmb_moni are usually in error at channel level.
    Hope this helps.
    Regards,

  • How to use the DLLs which created from c++ in Java?

    And How to use the DLLs which created from JNI in C++?

    Huh?
    Are you asking how to do JNI - you should read the tutorial.
    Are you asking how to load it - then use System.loadLibrary()
    Are you asking what to do with the output from javah - put it in a C file and write some code, compile it into a dll.

  • I have Reader ver 9.0. If I receive a file which is created in ver 8.00, how can I open it ver 9.0 ?

    I have Reader ver 9.0. If I receive a file which is created in ver 8.00, how can I open it ver 9.0 ?

    All Adobe Reader versions are backwards compatible, so you should be able to open Acrobat 8 and earlier documents with Reader 9.
    Do you have a specific problem with a document and Reader 9?  If so, please give more details.

  • My music files etc were all located on my old laptop which was stolen. I have just plugged my iphone in to my new computer and it has deleted all my files. Has anybody got any ideas on how to retrieve the files?

    My music files etc were all located on my old laptop which was stolen. I have just plugged my iphone in to my new computer and it has deleted all my files. Has anybody got any ideas on how to retrieve the files?

    WINDOWS?
    Connect the iPod to your PC. If iTunes starts syncing (ie erasing) your music automatically, hit the X in the upper right hand corner of iTunes display, to the left of the search box, to stop it.
    In Control Panel, Portable Media Devices, double-click your iPod.
    In the Tools menu -> Options, in the View Tab, check "Show hidden files and folders."
    Navigate to the Music folder. On my 'pod, the full path is
    Portable Media Devices\NAME of IPOD (F:)\iPod_Control\Music
    Select all the music folders, and drag and drop them into a folder on your hard drive, or directly into iTunes.
    And you're done! The iPod music folder structure is strange and inexplicable, but once you move your files into iTunes you can set it to automatically organize your folder by artist and album to clean that up. (To do this, in iTunes Edit menu, choose Preferences and in the Advanced tab, check "Keep iTunes Music Folder organized."
    might be out of date worth a try

Maybe you are looking for

  • Screen enhancement with table control

    Dears, I'm using enhancement IWO10018 to add a new tab on IW32 screen. I've added a table control to this tab. The problem is that retreived data from database do not appear on the table and it is appeared as empty fields. When tring to add any other

  • Samsung 55" Plasma TV

    I have a Samsung 55" plasma TV that is less than two years old. I had the geek squad come out and calibrate the TV and color. When the color on the TV is white I've developed a horizontal bar that has a pinkish/purple hue that runs the length of the

  • 8 months of photos lost --  PLEASE help

    Last night when I opened up iPhoto, all my photos since 10/30/2006 are gone. I read to try deleting the com.apple.iPhoto.plist file, but this didn't work. Where could these pictures have gone? And why just this chunk of pics after 10/30/2006?. Please

  • White Balance & Post Production

    Hi, My client gave me an interview she conducted to edit. The white balance is horrible. Is there anyway for me to fix this problem during post-production? I've been playing around with color correction and desaturation. I'd appreciate any feedback.

  • I'd use Safari's bug report function instead of posting here, but...

    ...it crashes Safari. lol. So here are my reports: - If Google is set as the default search engine, setting the home page to www.google.com crashes the program. - Bookmarks... seems like this topic has been covered well enough. I actually had no prob