Need F4 option so that the Date Calendar Popsup in my DMS characteristics.

Dear, Guys no matter which Table and Field I choose to attach to the characteristic the Data Type gets pulled automatically by the R/3 Abap repository and then conflicts with data type.
error=Data Format of Check table does not match data format of characteristic.
I even tried creating a new data type in CL02  031 as DATS but still the system once you enter a table and field picks the data type automatically and it chooses date for example and conflicts.
How can I get the the calendar to popup in my characteristics under the title Date______[ ]?

Chiris,
I follwed your steps and created 2 fms as ZTEST_DATE and ZTEST_DATE_F4.and here is my code for F4, when i use characteristics as CHAR data type in CT04 it returns the date, but when i use Characteristics as DATE Data type in CT04 it doesn't return any value , please let me know if i am missing somewhere.
FUNCTION Z_TEST_DATE_F4.
*"*"Local Interface:
*"  IMPORTING
*"     REFERENCE(CHARACT_NO) TYPE  CABN-ATINN
*"     REFERENCE(CHARACT) TYPE  CABN-ATNAM
*"     REFERENCE(ADDITIONAL_VALUES) TYPE  CABN-ATSON
*"     REFERENCE(MULTIPLE_VALUES) TYPE  RCTMV-ATLIS
*"     REFERENCE(LANGUAGE) TYPE  SY-LANGU
*"     REFERENCE(DISPLAY_WITH_LANGUAGE)
*"  TABLES
*"      VALUES STRUCTURE  RCTVALUES
*"  EXCEPTIONS
*"      NOT_FOUND
data: datum like sy-datum.
       DATA:datumtab like rctvalues.
CALL FUNCTION 'F4_DATE'
*EXPORTING
*  DATE_FOR_FIRST_MONTH               = ' '
* DISPLAY                            = ' '
*  FACTORY_CALENDAR_ID                = ' '
* GREGORIAN_CALENDAR_FLAG            = ' '
* HOLIDAY_CALENDAR_ID                = ' '
*  PROGNAME_FOR_FIRST_MONTH           = ' '
IMPORTING
     SELECT_DATE                        = datum
* SELECT_WEEK                        =
* SELECT_WEEK_BEGIN                  =
* SELECT_WEEK_END                    =
EXCEPTIONS
    CALENDAR_BUFFER_NOT_LOADABLE       = 1
    DATE_AFTER_RANGE                   = 2
    DATE_BEFORE_RANGE                  = 3
    DATE_INVALID                       = 4
    FACTORY_CALENDAR_NOT_FOUND         = 5
    HOLIDAY_CALENDAR_NOT_FOUND         = 6
    PARAMETER_CONFLICT                 = 7
    OTHERS                             = 8 .
IF sy-subrc <> 0.
ENDIF.
datumtab-value+4(4)  = datum(4).
datumtab-value(2)  = datum+4(2).
datumtab-value+2(2)    = datum+6(2).
datumtab-status = 'I'.
append datumtab to values.
ENDFUNCTION.

Similar Messages

  • I need to ensure that the data environment is restored when user is returned to the main form

    Greetings...
    VFP 9.0 SP2, Win7 workstations, Server 2008
    I have a form that contains many grids, the various tables have a relationship and everything works as it should.  
    The main form gives users the ability to run other forms and programs. When a user is returned to the main form, is there a way to ensure that the data environment is back to the way it was prior to call to
    the other form/program?  I have tried create view/set view and I believe that would do what I want but when the set view command is issued, the grids are empty.   
    As always, any advice/suggestions are greatly appreciated.
    Thank you.

    Bob has it in very short.
    If you want something to stay as it is, you don't do anything to it.
    That sounds easy, but it means all your other forms have to use private data sessions to not disturb any state in the main form.
    A forms dataenvironment is its definition of data to be opened. CREATE VIEW / SET VIEW is really just very basic and won't reconstruct everything, eg no record positions. While it reestablishes relations, this won't give you the situation you left, simply
    because record positions are not saved, cursors are not saved, so all data queried while working is lost.
    You may save more info, if you really want to reconstruct a situation after restarting the application. Then you have to save IDs (better than saving recnos) and reconstruct everything.
    What is more workable is saving query parameters to find and navigate to the the same data again.
    Bye, Olaf.
    Edit: Don't take "query parameters" too literal. This might be view parameters, but can be anything you use as search criteria to let users get to their current display of data.
    Olaf Doschke - TMN Systemberatung GmbH
    http://www.tmn-systemberatung.de

  • How can i download old settings with firefox sync ? i formatted my computer thinking that the data will be restore on login , but it's only letting my sync firefox with mobile device , can someonr please help my ?

    how can i download old settings with firefox sync ? i formatted my computer thinking that the data will be restore on login , but it's only letting my sync firefox with mobile device , can someonr please help my ?

    '''Did you backup whatever bookmarks you did have on the computer ? '''
    Remember any restoring of bookmarks overwrites whatever he current set is, and you may not want to loose them.
    Even if up until now you have not made any backups of Desktop bookmarks Firefox will have backed up some of them into sets of daily bookmark backups. Once you have backed up your current set you could look at what it has by restoring those bookmarks, you may find one of those sets is fairly complete.
    By the way if you look at the profile files and folders that you should now have on the desktop you should see it contains a bookmarks backup folder, the size of the files within should indicate whether they contain anything.
    You need to go into the bookmarks library and try the restore option. Backup each set that you look at if it has anything of use in it, before trying the next set. With look one of those will be a fairly complete set of bookmarks.
    * USE '''Show All Bookmarks -> Import and Backup -> Restore '''
    ** see [[Restore bookmarks from backup or move them to another computer#w_restoring-from-backups]]_restoring-from-backups
    I do not use Firefox on mobiles, but before you try anything further you do need to backup the desktop bookmarks and learn what existing backups you have. Unless you master that you are in continual danger of overwriting and loosing bookmarks.
    Presumably you have already found this listing of help articles for mobiles
    * [/products/mobile/bookmarks]

  • Is there a routine one can use to shift the column of data by one each time the loop index increments? In other words, increment the columns that the data is being saved by using the index?

    The device, an Ocean Optics spectrometer in columns of about 9000 cells.I'm saving this as a lvm file using the "write to measurement file.vi". But it doesn't give me the flexibility as far as I can tell.
    I need to move the column by the index of the for loop, so that when i = n, the data will take up the n+1 column. (the 1st column is used for wavelength). How do I use the "write to spreadsheet file.vi" to do this? Also, if I use the "write to spreadsheet file.vi", is there a way one can increment the file name, so that the data isn't written over. I like what "write to measurement file.vi" does.
    I'd really appreciate any help someone can give me. I'm a novice at this, so the greater the detail, the better. Thanks!!!

    You cannot write one column at a time to a spreadsheet file, because a file is arranged linearly and adding a column would need to move (=read and rewwrite elsewhere) almost all existing elements to interlace the new data. You can only append new rows without having to touch the already written data.
    Fields typically don't have fixed width. An exception would be binary files that are pre-allocated at the final size. In this case you can write columns by setting the file positions for each element. It still will be very inefficient.
    What you could do is append rows until all data is written, the read, transpose, and write back the final file.
    What you also could to is build the final array in a shift register and write the entire things to file at once after all data is present.
    LabVIEW Champion . Do more with less code and in less time .

  • HT201413 suddenly itunes will not open and I get a message that the "Data Execution Prevention" is blocking itunes from opening....why????

    itunes will not open and I get a message that the "Data Execution Prevention (DEP)" feature in Windows is preventing it from opening. (this is after I've been using itunes for years???? If I try to manually deselect itunes from the DEP filter, of course I get a message that itunes cannot operate without the DEP active...another Catch 22 from the evil program designers....

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • TS2634 What if your iPod touch is reading that the date is in the 1800s and will no longer update the web and music that is "recent"?

    My iTouch is reading that the date is in the 1800s and will no longer update my "recently purchased" songs or update websites.

    Go to Settings>General>Date & Time and correct the times/date. Also, in Settings>General>International make sure the Calendar is set to Gregorian.

  • I create report in HR. With F1 got   message that the data is in structure.

    Hai I am new to ABAP.
    I try to create a report using HR table. I want to retrieve some data from PA0006 table (fields are stras, pstlz,ort01,telnr). For employee number i want to display his address , telephone number. But what I am getting is that these are structures. But when I click of the fields in PA30 the technical information says that the datas are from Structure.
    My question is structure don't have values but on F1 it shows structure. can any one explain me and give some useful code so that I can display the address.
    In HR table most of the data that I want to retrive says in structure. please anyone explain me.

    Actually I added the coding that I used. Pls reply me because I coudn't fetch the data.
    REPORT  Zreport NO STANDARD PAGE HEADING LINE-COUNT 30(3) LINE-SIZE
    160.
    TABLES : PA0002, PA0006.
    DATA : BEGIN OF ITAB OCCURS 0,
           PERNR LIKE PA0002-PERNR,
           NACHN LIKE PA0002-NACHN,
           VORNA LIKE PA0002-VORNA,
           STRAS LIKE PA0006-STRAS,
           PSTLZ LIKE PA0006-PSTLZ,
           ORT01 LIKE PA0006-ORT01,
           TELNR LIKE PA0006-TELNR,
           END OF ITAB.
    SELECT-OPTIONS PER FOR PA0002-PERNR.
    INITIALIZATION.
    PER-LOW = 0.
    PER-HIGH = 9999999.
    APPEND PER.
    START-OF-SELECTION.
    SELECT PA0002~PERNR
           PA0002~NACHN
           PA0002~VORNA
           PA0006~STRAS
           PA0006~PSTLZ
           PA0006~ORT01
           PA0006~TELNR
           INTO ITAB
           FROM PA0002
           INNER JOIN PA0006
           ON PA0002PERNR = PA0006PERNR
           WHERE PA0002~PERNR IN PER.
    LOOP AT ITAB.
    WRITE :/(1) SY-VLINE,
             (18) ITAB-PERNR COLOR 2,
             (1) SY-VLINE,
             (20) ITAB-NACHN,
             (1) SY-VLINE,
             (20) ITAB-VORNA,
             (1) SY-VLINE,
             (20) ITAB-STRAS,
             (1) SY-VLINE,
             (20) ITAB-PSTLZ,
             (1) SY-VLINE,
             (20) ITAB-ORT01,
             (1) SY-VLINE,
             (20) ITAB-TELNR,
             (1) SY-VLINE.
    HIDE ITAB-PERNR.
    ENDLOOP.
    ENDSELECT.
    ULINE.
    TOP-OF-PAGE.
    WRITE :/15 'EMPLOYEE DETAILS', 41 'PAGE NUMBER', SY-PAGNO.
    ULINE.
    WRITE :/(1) SY-VLINE,
            (18) 'EMPLOYEE NUMBER',
            (1) SY-VLINE,
            (20) 'INITIAL',
            (1) SY-VLINE,
            (20) 'EMPLOYEE NAME',
            (1) SY-VLINE,
            (20) 'ADDRESS',
            (1) SY-VLINE,
            (20) 'CITY',
            (1) SY-VLINE,
            (20) 'POSTAL CODE',
            (1) SY-VLINE,
            (20) 'PHONE NUMBER',
            (1) SY-VLINE.
    WRITE :/ SY-ULINE.
    END-OF-PAGE.
    ULINE.

  • Everytime I try to update my iPhone 4s I am told that the data downloaded was corrupted and I should try again later. What to do?

    I keep being told that the data has been corrupted and that I need to try again. It is rather annoying!

    How do you do that? please tell me as i am having the exact same problem.

  • I want to give away or sell a 6500/250 running 7.6.1. How can the hard disk be erased so that the data are gone, not recoverable? thanks, LifeisRich

    I want to give away or sell a 6500/250 running 7.6.1. How can the hard disk be erased so that the data are gone, not recoverable? thanks, LifeisRich

    I'd recommend that you check for Mac User Group(s) in Orange County.  That's where you'd likely find a diehard Mac fanatic who might want to add your 6500 to his/her collection.  Even if you got nothing for it, it would be better than e-cycling it.  I upgraded my 6500/275 with what was a "large" hard drive at the time (15 GBs), maxed the memory at 128 MBs, installed the 512K L2 cache card, a better ATI Rage Pro PCI graphics card, a USB PCI card, and an internal 56K modem.  With it running OS 9.1, it did all of the pre-OS X stuff I needed it to do.  As I previously mentioned, it's a nice-sounding MP3 player.  Internet Explorer 5.1.7 (the final release from 2001) kept it useful for surfing the web up until 2005, when it became too outdated/incompatible with many web sites.  Unfortunately, the demands of the internet and the need for a modern browser, as well as faster processing to digest it all, are what retired many older Macs from active duty.  So my (2) 6500s and (3) 6400s (same tower design) sit in storage.  There is one concern that I'll pass along: The motherboard has a 4.5-volt alkaline battery, that's a small, black plastic cube, secured in place by velcro.  If your 6500 has been disconnected from electricity for a long time, the battery will undoubtedly be dead.  Unlike the many Apple computers that used a small ½AA lithium battery (that I've never seen leak when completely dead), the 6500's battery can and usually does start leaking.  Because the motherboard sits vertically oriented on its side edge when installed, the leaking battery will drip alkaline solution down the board, corroding any components in it path.  I've seen motherboards ruined from this.  If you're going to give it away or sell it, you might want to pull the motherboard (remove the two machine screws on the rear I/O panel, next to the pull tabs).  Slide out the board and unplug the battery's small connector (has red & black wires), then lift up on the battery, while holding down the "toothed" velcro mount with something non-conductive, like a popsicle stick.  Once it's free, dispose of the battery.  If you're interested, a replacement can be purchased for about $5-$7 from battery specialty retailers - it's a Rayovac 870 or 871.  Even if you don't replace it, removing one that will eventually leak is a good idea, (hopefully) before any damage is done. 

  • I need to clear out all the data on my phone so I can give it to someone

    I need to clear out all the data on my phone so I can give it to someone

    There are two ways you could do this.
    1. Go to settings>general>reset then select the option "erase all content and settings"
    2. Restore to factory settings with iTunes on a PC/Mac. The article below can show you how to do this:
    http://support.apple.com/kb/ht1414
    Hope this helps

  • Process the result so that the dates are ordered by date

    I am retrieving a query result from a sql database of which
    one column contains a string of this format:
    09/08/2008
    How can I process this result so that the dates are ordered
    by date?
    Thanks for anu help :)

    what's your db and version?
    pretty much all dbs have built-in string and date functions,
    a
    combinations of which will let you update your field to be
    date/datetime.
    you will probably want to create a new field in the table to
    store the
    converted dates, then check that they all have been converted
    correctly,
    then delete the current date field and rename the new field
    to the old
    date field's name.
    using your db's string functions you will need to extract
    day, month and
    year parts of your date text, and pass them to your db's date
    creation
    function.
    if your db is MySQL, it has a very handy STR_TO_DATE(str,
    format)
    function... check details in mysql ref manual.
    Azadi Saryev
    Sabai-dee.com
    http://www.sabai-dee.com/

  • I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date is created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    I have made a burn folder with photos exported from I-photo.  It now shows in information, that the date  created and modified is different from the original digitized date.  How can I get the original date to show in the info from Finder?

    The Finder reports File information. The date and time of the photo are in the Photo's Exif metadata. The Finder has no awareness of this. All photos apps on any system do.
    Regards
    TD

  • When I start iTunes on my home computer (Not a MAC), it automatically shuts down, and gives me the message that the Data Execution Prevention security feature has shut it down...what to do?

    When I start iTunes on my home computer (Not a MAC), it automatically shuts down, and gives me the message that the Data Execution Prevention security feature has shut it down...what to do?

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it, which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • In my opinion, the real solution is for Apple to offer us a choice of the photo sort order in ITunes. My preference would be filename, perhaps with options to choose the Date Taken attribute, file timestamp or date modified filestamp (EXIF date fields as

    I tryed to sort my pictures with buying Apps and following suggestion from apple, but without any success. In my opinion, the real solution is for Apple to offer us a choice of the photo sort order in ITunes. My preference would be filename, perhaps with options to choose the Date Taken attribute, file timestamp or date modified filestamp.

    Not a problem when using iPhoto on a Mac, which the transfer of photos is primarily based on - not manually managing photo storage as seems to be common with Windoze.
    The same should be available with a supported photo management app on a PC.
    http://support.apple.com/kb/HT4221

  • We want to update our second iPhone 4 on one single iMac, but are afraid that the data of the 1st phone will be overwritten when syncing.

    We want to update our second iPhone 4 on one single iMac, but are afraid that the data of the 1st phone will be overwritten when syncing the 2nd phone. What to do?

    Create a separate user account for the second phone. See http://support.apple.com/kb/HT1495 (and http://support.apple.com/kb/HT2542).

Maybe you are looking for