To find whether a date is b/n a date range.

Hi All,
         I want to find  whether the system date  falls between from_date and to_date fields of a table.  Pls help me.
Thank you,
praveena

one option is
<b>CSCP_PARA1_GET_PERIODS
I_DATUV                         01.02.2005
I_DATUB                         31.12.2010
I_TIMEUNIT                      D
Tables                          Value
ET_DATES                           0 Entries
                 Result:           2,161 Entries</b>
after that check this table with current date.
Regards
Prabhu

Similar Messages

  • How to find whether an Invoice is been posted for a particular PO

    Hi,
    How to find whether an Invoice is been posted for a particular PO.
    I have a scenario where I fetch data into an internal table T_CDHDR(It has PO and other details). For each and every entry(PO) in that internal table I have to see whether an Invoice is been posted or not. They told to use <b>EKBE(Purchasing document history)</b> table. But, I don't know which field to check for and based on what conditions.
    Can someone help me with sample code or some valuable inputs.
    Thanks in advance.
    Regards,
    Paddu.

    HI,
    TABLE IS RIGHT.
    IN THAT TABLE FOR THE FIELD BEWTP CHECK WHETHER ENTRY IS "Q".
    Q STANDS FOR IR-L THAT MEANS INVOICE IS DONE.
    ON THE SELECTION SCREEN OF EKBE TABLE ENTER THE PO NUMBER.
    THEN CHECK WHETHER IT HAS ENTRY FOR BEWTP 'Q'.
    YOU CAN CROSS-CHECK THIS DATA FROM TABLE WITH THAT IN ACTUAL PO IN T.CODE - ME23N.
    ENTER PO NUMBER ,THEN IN ITEM DETAILS , IN HISTORY TAB SEE FOR THAT INVOICE NO.

  • The Finder can't complete the operation because some data can't be read or written. (Error code -36)

    Since the upgrade to 10.9 I have the most annoying issue when copying files. I have a secondary drive for media in which I keeo my media on / Samples / Video etc. I keep an exact copy on 2 external drives.
    95% I can't copy the the new media across my drives without a few restarts. I get the following:
    The Finder can’t complete the operation because some data can’t be read or written.
    (Error code -36)
    This is not a permissions issue. I've checked every folder down the the exact file it calls on. Everyone has READ & WRITE. If I restart the computer after getting this message it will do a little bit more then get stuck on another folder or file and pop the message.
    If I do smaller chuncks, it seems to do better but not all the time.
    PLEASE someone, tell me you have seen this before and you have a workaround. This is killing me,
    All HD are OS Extended Journaled - No FAT
    MacBook Pro I7
    16GB RAM
    250SSD
    450SSD
    2TD Lacie FW800 External
    is the equation right now
    thanks in advance for any help

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem. You must hold down the shift key twice: once when you turn on the computer, and again when you log in.
    Note: If FileVault is enabled, or if a firmware password is set, or if the startup volume is a Fusion Drive or a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem?
    After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How to find whether remote database is up or not (connected via dblink)

    Hi,
    I am using dblink to connect Biz database from Dev database.(Biz, Dev - database names)
    Running dbms job using the dblink from the Dev database to update data on Biz database...
    Problem is dbms job should run if and only if the Biz database is up for which i created the dblink...
    1) How to make sure or implement the check to find whether the Biz is database is up or not in Pl/sql or sql...
    2) How to reschedule the dbms jobs once the database is up
    pls suggest me how to find whether the database is up or not b4 running the dbms job?
    Using- Oracle 10g

    The only way to know whether the remote database is up (and whether the network between the two databases is up and whether the remote database's listener is up and whether the password configured in the database link is correct and whether the local TNS alias is correct, etc) would be to actually run a query against the remote database over the database link. In other words, the way to figure out whether the link is up is to let the job run and catch & handle exceptions when there are problems.
    By default, a job scheduled via DBMS_JOB will automatically reschedule itself if there is an unhandled exception by geometrically backing off (it waits 1 minute after the first failure, 2 minutes after the second, 4, 8, 16, 32 minutes, etc until it's marked as broken after 16 failures). You could, of course, catch appropriate exceptions and handle them in a reasonable fashion and manually reschedule jobs at intervals that make more sense for your particular job.
    Justin

  • To find whether a number is divisible by another number.

    Hi All,
              In ABAP how to find whether a number is divisible by another number?
    Thank you in advance.
    With Regard,
    Sridhar

    Hi
    Welcome To SDN
    Use MOD
    e;g
    2 MOD 3
    if the result is equal  to zero the it is divisible by the second number
    check this snippet
    PARAMETERS :
      p_n1 TYPE i,
      p_n2 TYPE i.
    DATA :
      w_temp TYPE i.
    w_temp  = p_n1 MOD p_n2.
    IF w_temp EQ 0.
      WRITE :
       / 'Divisible'.
    ELSE.
      WRITE :
       /'Not divisble'.
    ENDIF.
    Regards
    pavan

  • I want to upgrade my storage plan in icloud. Before that i want to know whether synchronization of data in my PC and data in one of the applications of ipad is possible through icloud or not

    I want to upgrade my storage plan in icloud. Before that i want to know whether synchronization of data in my PC and data in one of the applications like "phone drive" of ipad is possible through icloud or not?

    The Photos app doesn't currently support subfolders, it only has the one level of folder/album. You will either need to change your folder structure on your computer to be just one level, see if there is a third-party photo app in the store that copes with subfolders, or just make do. You can try leaving feedback for Apple : http://www.apple.com/feedback/ipad.html

  • Hi guys, an empty folder is stuck in my trash & I get this message: "The Finder can't complete the operation because some data in the folder can't be read or written. (Error code -36). It won't shift no matter how I try to Secure Empty trash. Any ideas?

    Hi guys, an empty folder is stuck in my trash & I get this message: "The Finder can’t complete the operation because some data in the folder can’t be read or written. (Error code -36). It won't shift no matter how I try to Secure Empty trash. Any ideas?

    The Time Machines Backup is formated as Mac OS Extended (Case Sensitive, Journaled), my mac is formated as Mac OS Extended (Journaled).
    The names on the file are all Uppercase
    When I try to copy the Aperture file, it copies about 70% of the file (it's about 33GB in size), and halfway through I get this error.
    I'm able to copy 99.99% of all of the images if I open the Aperture Folder using the "show package contents" under the backups using finder (Time Machine Backups>Backups.backupdb>CQ Macbook Air>2012-04-30-070933>HD.....>Pictures>Aperture Library). The only file I can't copy is that picture, which I'm totally ok with deleting, but Finder won't delete it for me. If nothing else works, I could copy the individual masters and re-create the folders, however I'd hate to do this as I would have to go through 10,000+ pics

  • I have been exporting lightroom webgaleries to my iweb site without any problem.  Suddenly I get the error message "finder can't complete the operation because some data can't be read or written" - error code -36 - thoughts?

    i have been exporting lightroom web galleries to my iweb site without any problem.  Suddenly I get the error message "finder can't complete the operation because some data can't be read or written" - error code -36 - and the move to the sites folder on my idisk fails..... thoughts?

    Try this community: MobileMe on my Mac: MobileMe: Apple Support Communities.
    And you can continue to use iWeb for some time to come. The following will explain:
    It's now confirmed that iWeb and iDVD have been discontinued by Apple. This is evidenced by the fact that new Macs are shipping with iLife 11 installed but without iWeb and iDVD.
    On June 30, 2012 MobileMe will be shutdown. HOWEVER, iWeb will still continue to work but without the following:
    Features No Longer Available Once MobileMe is Discontinued:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    ◼ MobileMe Gallery
    All of these features can be replaced with 3rd party options.
    I found that if I published my site to a folder on my hard drive and then uploaded with a 3rd party FTP client subscriptions to slideshows and the RSS feed were broken.  If I published directly from iWeb to the FPT server those two features continued to work correctly.
    There's another problem and that's with iWeb's popup slideshows.  Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
    Click to view full size
    However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone.  How to is described in this tutorial: #26 - How to Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued.
    In addition the iLife suite of applications offered on disc is now a discontinued product and the remaining supported iApps will only be available thru the App Store from now on.
    HOWEVER, the iLife 11 boxed version that is still currently available at the online Apple Store (Store button at the top of the page) and those copies still on the shelves of retailers will include iWeb and iDVD.

  • Help with "The Finder can't complete the operation because some data in "iPhoto Library" can't be read or written. (Error code -36)" Any ideas on how to fix this?

    While trying to copy my iPhoto Library (49.61 GB) to an external hard drive, I receive the error message "The Finder can’t complete the operation because some data in “iPhoto Library” can’t be read or written. (Error code -36)"
    I need to move my library because I have no more disk space.  This was going to be step 1 followed by backing up to another EHD.
    More details: iPhoto version 9.6 (910.29) OX X Yosemite Version 10.10.1 (Mid 2011 Mac Book Air).  EHD= WD Elements 1 TB (purchased at B&H Photo where the sales associate formatted it for a Mac).
    Any step by step ideas for help are appreciated!  I've read through a few threads but need more step by step directions.

    That error message is an I/O error which can mean a number of things, among them a bad file.  Here's a couple of fixes you can try:
    1 - use the free version of  iPhoto Library Manager  to rebuild the library with the rebuild being created on the  EHD as follows:
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.>Click on the Add Library button,
    2 -  select the library you want to add from those in the selection window.
    3 - make sure that in the rebuild window the checkbox  "Scavange orphaned photos" is checked.
    4 - now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option
    5 - in the next  window name the new library and select the location you want it to be placed. Click on the Create button.
    Note 1: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments. However, books, calendars, cards and slideshows will be lost.
    Note 2:  Your current library will be left untouched for further attempts at a fix if so desired.
    When iPLM finishes it will display a log file entry showing which files it was unable to use in the rebuild.  Open the old library with iPhoto, locate and delete the photos that iPLM listed in its log.  Then try dragging the library to the EHD again.
    If the above fails continue with:
    2 - create a new, empty library on the EHD.  Use the paid version of iPhoto Library Manage to copy the events (1-2 at a time) to the new library on the EHD.  At one point iPLM may run into the bad file and be unable to copy the event.  You can check iPLM's log to see what file it is.  Then open that library, delete the file and either try to copy the entire library by dragging and dropping or contine with the copying of events from the old library to the new library.

  • "The Finder can't complete the operation because some data in "For Desta 008 SUR-BPBO-00019.tif" can't be read or written. (Error code -36)

        i'm trying to backup MacBook white 10.6.3 manually to my external HD but it gives me this error,"The Finder can’t complete the operation because some data in “For Desta 008 SUR-BPBO-00019.tif” can’t be read or written. (Error code -36). i tried taking the HD out, but it gives me the same error, so pls tell me what to do, i need the backup fast.

    Aint you quick to jump to conslusions? So becasue one thing isn't working of the hundreds of things I donwloaded doesnt work, my drivers are broken?
    Ok then, let me download some other things to make sure
    Minecraft: it worked ✓
    Firefox: it worked✓
    Synthesia: it worked✓
    iExplorer: it worked✓
    Pencil: it worked✓
    Flash: it worked✓
    Synfig was made in 2006, so it's not unlikely that it might not work for some people. By 'some people', I mean me. I was just asking if it was something on my side, but if that's all you got, I think it's highly unlikely that it's my fault. I don't even want it anymore, I got Flash Professional. I was just wondering. I could have sworn you used to write more detailed answers before jumping striaght to conclusions. 'Did this happen to you on anything else?' or maybe even 'Why don't you complain to them?' would have been fine.

  • The finder can't complete the operation because some data on iPhoto Library can't be read or written. Error code -36

    Hi,
    Installed a new startup drive and cannot access my photos. While copying/pasting iPhoto library from old to new drive I get,
    The finder can't complete the operation because some data on iPhoto Library can't be read or written.
    Getting help from Apple senior advisor caused more problems, was unable to boot up for a while. Back up now but still can't transfer iPhoto Library.
    Anyone seen this before?
    Thank you

    Linc and Larry, could you please have a look at this thread? Sorry, it is in German:
              Re: Fehlermeldung beim Verschieben von iPhoto
    The OP is trying to copy the iPhoto library to an external drive and getting "The finder can't complete the operation because some data on iPhoto Library can't be read or written. Error code -36". This happens even when copying to the same drive.  The destination drive is correctly formatted.
    The Console is showing a message I don't understand:
    03.06.14 18:26:40,990 Finder[1154]: NSFileCoordinator: Sending of a providerCheckin message was interrupted. Details: Connection interrupted
    Any idea what this means?

  • The Finder can't complete the operation because some data in "Adobe Acrobat" can't be read or written. (Error code - 36)

    I recently did a clean install on a 2011 MacBook Pro with Mavericks. Went to install Adobe Acrobat 9 with the DVD media and about 3/4 of the way through the install, the install stopped and the following window appeared:  The Finder can't complete the operation because some data in "Adobe Acrobat" can't be read or written. (Error code - 36).  I've tried to install a few times and get the same message.  Is Adobe Acrobat 9 incompatible with Mavericks.  I've seen some posts on Apple Support Communities indicating that it is indeed compatible, but no explanation why the error pops up. 

    The hard drive may be dying anyway, or the directory damaged because it is so full.  You should never let the hard drive get over 85% full.
    A -36 error is a read/write error.
    All you did with the power is reset the SMC.  Does nothing to reset everything to factory settings. 
    Do you have your original 10.4 installer discs for the MacBook?
    Is your data backed up?

  • The Finder can't complete the operation because some data in "Chronicles" can't be read or written. (Error code -36)

    The Finder can’t complete the operation because some data can’t be read or written.
    (Error code -36)
    What does this error code mean?

    I faced the same problem and i fixed it by going to applications - utility - disk utility and fixing the errors.

  • The finder can't complete the operation because some data in "VIDEO_TS.BUP "can't be read or written (error code-36)

    the finder can't complete the operation because some data in "VIDEO_TS.BUP "can't be read or written (error code-36)

    I faced the same problem and i fixed it by going to applications - utility - disk utility and fixing the errors.

  • The Finder can't complete the operation because some data in "iPhoto Library" can't be read or written.(Error code -36)

    I have a backup from Time machine of my iPhoto and I get the above error when I try to restore them. Thae backup was done with Mountain Lion and I upgraded to Mavericks. The backup is on an external drive.
    Again this is the error:
    The Finder can’t complete the operation because some data in “iPhoto Library” can’t be read or written.(Error code -36)
    I have also tried going to earlier dated backup and get the same error.
    Any help would be greatly appreciated. Thank You

    That error message is an I/O error which can mean a number of things, among them a bad file.  Here's a couple of fixes you can try:
    1 - use the free version of  iPhoto Library Manager  to rebuild the library with the rebuild being created on the  EHD as follows:
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.>Click on the Add Library button,
    2 -  select the library you want to add from those in the selection window.
    3 - make sure that in the rebuild window the checkbox  "Scavange orphaned photos" is checked.
    4 - now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option
    5 - in the next  window name the new library and select the location you want it to be placed. Click on the Create button.
    Note 1: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments. However, books, calendars, cards and slideshows will be lost.
    Note 2:  Your current library will be left untouched for further attempts at a fix if so desired.
    When iPLM finishes it will display a log file entry showing which files it was unable to use in the rebuild.  Open the old library with iPhoto, locate and delete the photos that iPLM listed in its log.  Then try dragging the library to the EHD again.
    If the above fails continue with:
    2 - create a new, empty library on the EHD.  Use the paid version of iPhoto Library Manage to copy the events (1-2 at a time) to the new library on the EHD.  At one point iPLM may run into the bad file and be unable to copy the event.  You can check iPLM's log to see what file it is.  Then open that library, delete the file and either try to copy the entire library by dragging and dropping or contine with the copying of events from the old library to the new library.

Maybe you are looking for