Alv + date field problem

Hi All
I have a screen with a date field and an alv grid.
When I hit the f4 help on the date field the date does not appear.
When I test this screen in the screen painter the date picker shows up, but when I run the program it does not, it is like something is overwritting it.
Can anyone help with this please
Thank you

Hi
setting the search help BU_DATE_CHAR didn't work.
When I press the button on the date field or do an F4 the alv seems to get the focus. 
Thanks anyway

Similar Messages

  • DATE FIELD PROBLEMS - URGENT

    I´m having trouble with FormsCentral.
    My form is running about 8 months with no problems.
    Yesterday people started to complain that the system doesn´t accept any date.
    That means the date field restricts date entries, from date dd/mm/aaaa (brazilian format) to another dd/mm/aaaa, but every date that users input in, is considered by the system as invalid, even it´s a correct and valid date right between the interval specified!
    I need Help Urgent!!!
    I depend on these forms to finish the payrol service from here.
    Thanks
    I´ll be waiting.
    Maurício Galletti
    Message was edited by: SNOWMAUSS
    It look like the system accepts just dates starting from the date of today.
    I´m testing.
    Please help.
    Thanks
    Message was edited by: SNOWMAUSS
    It looks like the system have some problem just with the date 20/10/2013?!
    I´ve fixed the problem change the interval from 20/10/2013 to another date  and used  21/10/2013 to another date and it works!
    But I think something is wrong with the 20/10/2013 date?!
    To reproduce the erros just create a new form with date feature with this exaclty configurations and the bug appears:
    I´ll keep waiting
    Message was edited by: SNOWMAUSS

    Hi
    I´ve concluded that the problem persist if the date interval starts at the
    specific date "20/10/2013". Don´t know why?!
    Look at the screen capture above, you aks for
    Thanks a lot
    image: Imagem inline 1
    Maurício P. Galletti
    Contador
    [email protected]
    ( 55 11 3331-5567
    www.cadt.com.br
    2013/10/29 Genevieve Laroche <[email protected]>
       Re: DATE FIELD PROBLEMS - URGENT  created by Genevieve Laroche<http://forums.adobe.com/people/Genevieve+Laroche>in
    FormsCentral - View the full discussion<http://forums.adobe.com/message/5797083#5797083

  • J1inqefile - Excel output - Date field problem

    Dear All,
           I am facing a problem while executing the tcode-J1IEQEFILE.
           When choosing excel file output and executing, 3 files are created. But the problem is, the value of date field in one of the files is not in date format.
        Please help me out on this regard.
    Thank you,
    S.Sridhar

    I am also facing same problem in text file as well as in Excel file also. kindly some one could help me ( Date on which Amount paid  and Date on which tax deducted).
    Thanks
    Venkat

  • Date field problem in MS Access

    Hi
    I am doing a program in which the requirement is i am storing the system date and time in a date field with name logindate, now i want to compare with that date, by taking into a string variable but it is showing an error like "data type mismatch in criteria expression", but i didn't any problem like this in using MY Sql(taking the date into the string variable and comparing).
    So i would like to know how can i compare the present sysdate with the stored date value in the databse(MS Access) for an emp id.
    Date format i am storing in to the databse is "yyyy-MM-dd HH:mm:ss", and while retriving i am getting as of my requirement but i am unable to compare only the date part(after parsing it), plz it is urgent reply asap
    can u plz send me the code.
    sasi.

    If you say a database column has SQL DATE type, then you need to bind it to a java.sql.Date.
    If your UI takes input as String, you have to convert it to a java.sql.Date first.
    Best to use java.sql.PreparedStatement and bind Dates properly. If you do that, formatting doesn't matter (as it should not).
    %

  • ITS Mobile Date Field Problem

    In ITS Mobile I developed a screen which contains a date field. I click question button to select a date, it opens a new screen which includes a calendar. But I can not select a date because no clickable days in new date selection screen. What can i do for this problem.
    Thanks...

    Parameters are:
    Service parameters..
    ~THEME              99
    ~TRANSACTION               LM01
    #MOBILE             This is a mobile service
    ~ITSMOBILE       1
    #SOURCES          Template search sequence
    ~SOURCES          Z_LM01,ITSMOBILE
    #POPUPS            Show popups, default is no
    ~POPUPS            1
    #ITSMOBILEDEVICEINCLUDE     include a device specific html
    ~ITSMOBILEDEVICEINCLUDE     devicesample
    #MESSAGE         SOUND Plays a background sound if a message appears
    ~ITSMOBILEMSGSOUND             1
    #SYSTEM             MODAL POPUPS Shows express mails / system messages
    ~SHOW_SYSTEM_MODAL          1
    İnternet sevice parameters (SE80)
    ~GENERATEDYNPRO     0
    ~THEME                              99
    ~TRANSACTION               LM01

  • ALV date format problem

    Hi ,
    I Created an ALV report in that I am getting the sales order details... and once I get the list I am moving to excel sheet ...
    Once I moved to excel sheet by creating the layout , I am getting DAT colums as 00.00.0000 if the cell is empty.. how to avoide this ....

    Try with NO_ZERO = 'X'. for the Date field in the fieldcatalog.
    I am not sure of this , Give a try once.

  • Date Field Problem

    Hi,
    I'm new to ApEx. In my previous life I've done web development, but am not an Oracle developer, so I don't know the in's and out's or Oracle or PL/SQL.
    I have a Updated_Date field in my table which is defined as a date field. I want that field to be updated with the current date and time when a record is updated, so I created a computation to populate the field. The item on my page that refers to the Updated_Date is defined as Displays As Text (Saves State).
    I was told my our resident Oracle developer that all I needed to use was SYSDATE to populate the field, but when I use SYSDATE it only populates the date portion (not the time).
    I have searched the forum and have found several examples of code for populating the date, but when I use them they either: 1. result in an invalid month error, or only populate the date.
    What am I doing wrong?
    Thanks, Tony

    Hi Joe,
    Sorry that I wasn't clear.
    I orignally had the item set as display only (save state) as you suggested. I was getting invalid month errors then when I tried to add the time to the on the computation.
    When I saw your response I thought I needed to change the Display As on the item to date picker with a format mask, so I did. That is what caused it to begin working for me, but I didn't know it at the time, because I changed the computation and the item.
    Then, when you said a display only (save state) would work I changed my code back, but didn't completely test. I thought it was still working, but it wasn't. When I later tried to do a save it got the invalid month error again.
    So, I changed it back to Display As - date picker. That's what I meant by changing it to a date field on the page. Sorry.
    Tony

  • DATE field problem in JSF code

    Hi,
    I am a newbie on JSF and working with a JSF application development. I have a problem with a data type: DATE. Here is what had happened; I tried to write a new record to a table, in my "write" paragraphs I have the following codes:
    tabelOneDataProvider.setValue("joindate", rowKey, joinDate1.getSelectedDate());
    tableOneDataProvider.commitChanges();
    The problem is when I was running the program to write a record, I got the following error:
    Cannot append new tableOne data: java.lang.RuntimeException: Number of conflicts while synchronizing: 1 SyncResolver.INSERT_ROW_CONFLICT row 1 Can't infer the SQL type to use for an instance of java.util.Date. Use setObject() with an explicit Types value to specify the type to use.
    At that point, I was trying to write a DATE value from a "calendar' component (joinDate1 field with MM/dd/yyyy format) into a field name: "joindate' (data type is DATE) in tableOne file.
    Any advice on resolving this problem? Please help me to get more knowledge on this. Thanks!

    Hi,
    You must use sql type. So instead of:
    tabelOneDataProvider.setValue("joindate", rowKey, joinDate1.getSelectedDate());
    tableOneDataProvider.commitChanges();try something like:
    java.util.Date date = joinDate1.getSelectedDate();
    java.sql.Date dateToInsert = new java.sql.Date(date.getTime());
    tabelOneDataProvider.setValue("joindate", rowKey, dateToInsert);
    tableOneDataProvider.commitChanges();best regards
    Grzegorz

  • PCR date field problem

    Hi All,
    When we open MSS PCR Forms the Date of Change field is populating in Arabic language. All other fields are fields correctly displayed.
    We are able to change the other fields except Date of Change field.
    Does anyone have a solution for this?
    Please advice.
    Regards,
    Srinivas
    Edited by: Srinivas Rao Srungarapu on Oct 14, 2008 9:39 PM

    Before saving the data to databse u should convert the dates into internal format using FM 'CONVERT_DATE_TO_INTERNAL' .
    EX:
    REPORT ZEXAMPLE.
    TABLES: MARA, MDKP.
    DATA V_DATE(30).
    SELECT * FROM MARA UP TO 100 ROWS.
      SELECT SINGLE * FROM MDKP WHERE MATNR EQ MARA-MATNR AND
                                      BEADA NE '00000000'.
      IF SY-SUBRC EQ 0.
        V_DATE = MDKP-BEADA.
        WRITE:/ 'DATE IN INTERNAL FORMAT:', V_DATE.
        CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
             EXPORTING
                  DATE_INTERNAL            = MDKP-BEADA
             IMPORTING
                  DATE_EXTERNAL            = V_DATE
             EXCEPTIONS
                  DATE_INTERNAL_IS_INVALID = 1
                  OTHERS                   = 2.
        IF SY-SUBRC EQ 0.
          WRITE:/ 'DATE NOW IN EXTERNAL FORMAT:', V_DATE.
        ENDIF.
        CALL FUNCTION 'CONVERT_DATE_TO_INTERNAL'
             EXPORTING
                  DATE_EXTERNAL            = V_DATE
             IMPORTING
                  DATE_INTERNAL            = V_DATE
             EXCEPTIONS
                  DATE_EXTERNAL_IS_INVALID = 1
                  OTHERS                   = 2.
        IF SY-SUBRC EQ 0.
          WRITE:/ 'DATE NOW BACK IN INTERNAL FORMAT:', V_DATE.
          ULINE.
        ENDIF.
      ENDIF.
    ENDSELECT.

  • Omni portlet - javascript - date field problem

    I want to manipulate a database date type field with javascript in omniportlet layout.
    In the source tab of omniportlet I use the SQL: (it's very simple for example)
    select id, to_char(enddate, 'DD/MM/YYYY HH24:MI') edate, enddate
    from tlh.auctionsession
    where id = 1
    In the layout tab (HTML form). I write this javascript code in Repeating Section: (it's very simple for example)
    <script type="text/javascript">
    document.write(##EDATE##);
    </script>
    It's not woking. Anytime I use the ##EDATE## or ##ENDDATE## in my javascript code, It's not working.
    If I put ##EDATE## of ##ENDDATE## in the HTML's body, it's display well.
    I am really mad with it.
    Do you have any idea? Please help me with it. Thank you very much.
    Sorry for my bad English.

    // custom vaildation scirpt for entered date being today or a future date;
    // date format for the field;
    var cDateFormat = "mm/dd/yyyy";
    // convert the entered value to a date objecta;
    var oEntered = util.scand(cDateFormat, event.value);
    // strip down to just the year, month and day
    oEntered.setFullYear(oEntered.getFullYear(), oEntered.getMonth(), oEntered.getDate());
    // convert todays date to a date object;
    oToday = util.scand(cDateFormat, util.printd(cDateFormat, new Date()));
    // strip down to just the year, month and day
    oToday.setFullYear(oToday.getFullYear(), oToday.getMonth(), oToday.getDate());
    // compare the date values
    if(oEntered.getTime() < oToday.getTime()) {
    // error message date before today's date
    app.alert("Date must be today's date or a futuer date!", 1, 0);
    // set return code to error status;
    event.rc = false;
    // validation is assumed to be true unless the event return code value is false;
    // end custom validation script;

  • SAP GUI 720 (patch level 6) - Date field problem

    Hello all,
    in selection screens (like transaction IW38) some users use the F4 help and the enter key to select a date (like field "Period"): they jump with the tab key to the field, delete the current entry and then press F4 and hit the enter key in the popup to get today's date. (Reason: faster than using the mouse, they say...)
    This does not work anymore with SAP GUI version 7.20: The enter key is not working in the popup. Does anyone know a fix for this or is it intended to work this way?
    Thanks in advance for an answer!
    Best regards
    Daniel

    Thanks for your reply. No, GuiXT is not active.
    Interesting is:
    I have a PC with an older version of SAP GUI 7.20 (patch level 2). There it works as previously with 7.10 (hitting the enter key in the calendar popup window works).
    The reason is (haven't noticed that before), that in 7.20_2 the focus in the calendar popup is in the calendar itself (the lower part). In 7.20_6 the focus is on the top line, where the current date is displayed (like 29.08.2011), and the day is highlighted. The user has to press the tab key to jump from there down to the calendar, and then can press the enter key.
    Now the question is: has this been changed from patch level 2 to 6, or is it an SAP GUI option, that can be changed (and that I cannot find)??
    Best regards
    Daniel

  • CRVS2010 beta -  date field not display in details section

    I use Visual stdio 2010 so i install crystal report 2010 for report.
    It work fine .
    but in report detail section there is date field then it will not be display.
    alos if we do group on date field it will give error when we try to open report.
    Plese geve me possible soluction for date field problem.
    Edited by: hitesh_tatva1 on Jun 22, 2010 11:35 AM
    Edited by: Don Williams on Jun 22, 2010 7:20 AM

    Solution Found
    Don't install sp2it sucksclassic case of the cure being worse than the disease.
    Downloading and installing the SP3 redisist fixed the issue.
    This link is probably appropriate:
    https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/bobj_download/main.htm
    Software Product->select Crystal Reports
    Version->select Crystal Reports 2008
    important part
    Software Type->Utility Click Search Download the redist install.
    Not very intuitive, but you'll need to do this so you download the runtime and not the full version.
    Hope that saves you the 5 hours it took me to figure this darn thing out...I hate unintuitive products--they aren't very professional.
    +
    SAP, where do I send the bill for supporting your own product?
    I too have the same problem. Hopefully we can get a solution to this soon as the delayed release of the 2010 runtime has us in a difficult place.
    The problem: I upgraded my project to Visual Studio 2010; therefore, I upgraded to the Crystal Reports for Studio 2010 beta.
    Everything worked fine until I modified the app.config so that I could deploy the application into our test environment. We do not have Visual Studio installed in this environment, so we needed to have a Crystal Reports Runtime. According to the SAP website deployment guide, currently the only way to deploy a 2010 app is to use the 2008 runtime by modifying the app.config file to redirect the bindings.
    __Now, none of my date fields appear on the reports.__
    Just to test, in my development environment, I commented out the redirects in the app.config and the dates appeared. I uncommented the redirects so that the 2008 runtime would be used and then my dates disappeared from the report.
    Here is the entry I put into the app.config:
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Shared" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.ReportSource" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Windows.Forms" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.2000.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Enterprise.Framework" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.1100.0"/>
          </dependentAssembly>
          <dependentAssembly>
            <assemblyIdentity name="CrystalDecisions.Enterprise.InfoStore" publicKeyToken="692fbea5521e1304" />
            <bindingRedirect oldVersion="14.0.2000.0" newVersion="12.0.1100.0"/>
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
    Your help is much appreciated.
    Thanks,
    Michael
    Edited by: SaganDraxan on Jul 16, 2010 8:23 PM

  • Date Field in Hierarchical ALV

    Hello Friends,
    I have a few fields in my Hierarchical ALV output which are initially hidden.
    When I choose to display these fields by changing the Layout the date fields come out in the form
    MMDDYYYY
    I need those fields as 
    MM/DD/YYYY
    The date fields which are NOT hidden initially  are in the format MM/DD/YYYY. No problem there.
    When I go to settings and choose column width optimize I am then able to see these date fields as MM/DD/YYYY.
    In My code I already set this col width to optimize. It is also working . But for fields which are hidden initially I have to explicitly set the width optimize again .
    This problem is not there in GRID ALV.
    Why is the HIER ALV not putting the date fields in MM/DD/YYYY format.

    Hi,
    Just pass the Edit option of the fieldcatalog for those specific fields...
    fcat-edit = 'X'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program       = sy-cprog
          i_callback_pf_status_set = 'PF_STATUS_SET'
          i_callback_user_command  = 'USER_COMMAND'    "<----  pass this
          i_callback_top_of_page   = 'TOP'
          is_layout                = it_layout
          it_fieldcat              = it_fcat
          i_default                = 'X'
          i_save                   = 'A'
          it_events                = it_event
        TABLES
          t_outtab                 = it_final
        EXCEPTIONS
          program_error            = 1
          OTHERS                   = 2.
    *&      Form  USER_COMMAND
    *       text
    *      -->R_UCOMM      text
    *      -->RS_SELFIELD  text
    FORM user_command USING r_ucomm LIKE sy-ucomm
                            rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN '&DATA_SAVE'.                "<-------check this
          PERFORM save_data.
      ENDCASE.
    ENDFORM.                    "USER_COMMAND

  • Average value for a Date Field in an OO Alv Grid.

    Hi Abapers.
    I've been searching for some info about averages in OO Alv grid lists but cannot find an answer to what I'm really need. The question is that, for getting an average, a 'C' value must be set in the field DO_SUM of the fieldcatalog structure for a field.
    Now, the problem is that I need the average of a date field (in 'normal' date format). I've tried it several times and read a lot of things but cannot find a real answer: Could it be done the average of a date field (e.g. for dates 01.05.2009, 02.05.2009 and 03.05.2009 the average is 02.05.2009).
    Best Regards.

    Hi,
    It will come along with the standard tool bar.For number fields, you can see it(Mean).

  • Date field not updated when select on F4 value on editable ALV Grid

    Can some one look into this to see what was wrong.
    I have a report that display fields extracted from a ZTable and display on an ALV Editable Grid.
    The data are displayed as read only mode for these fields:
    Field A -   type char20 and have a search help available.
    Start Date - type dats
    End Date - type dats.
    Field B
    Field C ...
    When user select to add new record,  Field A, Start Date and End Date must be editable, the rest are read only.
    On field A because there is search help available, I have no problem select data on F4 pull down menu and the data is updated on the grid.
    But on field start date and end date, there is F4 menu and when you pull down, it shows the calendar date.  But when I select the date to change, it acts like nothing happens.  I run the debug mode and found out that in function module 'F4IF_FIELD_VALUE_REQUEST', after you select the date field, I got the return code irc = 8 from line 305 of this FM.
    Here is what I did.
    I build field catalog similar like BCALV_EDIT04  (add table type lvc_t_styl to each extracted record to indicate which field will be  editable.
    In the PBO,  I build field catalog and set style as enable for these fields:
    CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name = p_struct
        CHANGING
          ct_fieldcat      = p_t_fieldcat.
    LOOP AT p_t_fieldcat INTO ls_fcat.
        CASE   ls_fcat-fieldname.
           when 'Field_A'.
               ls_fcat-ref_table = 'ZTABNAME'.
            ls_fcat-ref_field = 'FIELD_A'.
            ls_fcat-edit = 'X'.
            MODIFY p_t_fieldcat FROM ls_fcat.
       when 'START_DATE' or 'END_DATE'.
        ls_fcat-style = CL_GUI_ALV_GRID=>MC_STYLE_enabled.
             MODIFY p_t_fieldcat FROM ls_fcat.
       endcase.
    Just curious, I copied program BCALV_EDIT_08 to ZBCALV_EDIT08 and make field booking date as editable to test.  When I select to change booking date from F4 menu pull down, the new date is populated to the screen field.  So what was wrong between my program and BCALV_EDIT_08?  Thanks for your help.  I am stuck on this problem for 2 days and could not figure out what was wrong.

    not sure why you use that FM for date filed , you just need in the field catalog make sure that are use a date field of reference , anyway check program BCALV_EDIT_01

Maybe you are looking for

  • Confirmed Quantity in CRM

    Hi, We can create the Return Orders in ECC and CRM. When the return order is created in ECC the quantity is getting confirmed automatically but when we create the return orders in CRM, it is not getting confirmed (the confirmed qty = 0) and it is bec

  • 3rd Generation ipod - Folder with exclamation icon

    I have had a 3rd generation 20g ipod for a number of years. Recently I switched it on and it showed the folder and exclamation icon and the device was frozen. I have been on every site and carried out every listed procedure but the device remains fro

  • [temporarily solved] OSS fails to relink it's modules...

    ...after OSS upgrade to 4.2_2006-1 when starting daemon in terminal, it starts to relink (as always after kernel/oss upgrade), but can  not locate couple of libraries. after downgrading cloog from 0.17.0-1 to 0.16.3-1 and isl from 0.09-1 to 0.07-1 ev

  • ME22N: Default value of address group field when searching for an address

    Hi, ME22N -->  in the «Item» section --> «Delivery address» tab --> «Address» field --> «Adress group» field Which transaction in SPRO allows me to set the default value for «Adress group» ? Thanks a lot for your help. Julien

  • OVM 3.1.1: OVMM won't rediscover iSCSI LUNS

    Hi, I have setup an new OVMS with multipathing iSCSI. When I first discovered that server, I was able to see 6 IETD volumes, where 4 being the 4 paths to the actual two volumes. Since I wanted to have a more readable name I did the following: - remov