Problem  with search help and date fields

Dear experts,
I have two text fields and to each i assigned cacs_calendar search help.
It works well normally but if i make text box output only then i cannot select date.
I want that text box in its disabled form can be used to select date from cacs_calendar search help
that i assigned.User should not provide manual input which means fiedls should be otherwise listed in grey.

Hi Aditya
If a I/P output field is provided an attribute as output only and though search help is provided , the values in the search help list will also be in read-only mode and u cannot select them at all, may be you can solve ur problem thru different approach.
when a manual entry is done with wrong value which is not present in F4 help/search help list and
execution is done SAP will by default throw error saying invalid value

Similar Messages

  • E-Recruiting: Problems with search profile and serach templates

    Hi Recruiting-Experts,
    I´m facing problems with "Search Profiles" and "Search Templates"
    (Customizing SPRO --> SAP-E-Recruiting --> Recruitment --> Talent Warehouse --> Candidate --> Candidate Search )
    Out customers wants me to add a new search criterion to the talent search. It's a customer-field (type 'd' --> Date)  belonging to infotype 5106.
    Unfortunately, it doesn't work. The hit list is always empty.
    What I did:
    Customizing (see above)
    Updated search profile (report RCF_RECREATE_SEARCH_PROFILES)
    The result:
    I can see and choose the new search criterion on talent warehouse search site (recruiters startpage)
    I can find the data (internal format yyyymmdd) via transaction SKPR07 (see XML below, ZZEARLIEST_ENTRY 20090901)
    By the way, the hit list is also empty when adding and searching for birthdate.
    Has it got to do with the date stored in internal format?
    Thanks for any comments / help.
    Regards
    CHRIS
    =========================================================================

    Hi Sebastian,
    thanks for your quick answer.
    That's why I didn't get it done for hours yesterday.
    Thanks again,
    Regards
    CHRIS

  • Eventing on dictionary search help on date field

    Hi Experts,
    In my WDABAP application I have a Date input field. I have used dictionary search help into this field to display calender searc help.
    Now on select of the date from the calender I want to trigger one event which will enable some other fields in the application.
    Can you please tell me how to implement this on select event of the date.
    Thanks
    Sonia.

    Hi,
      Since you are using an Input Field , only event possible is "On Enter" event.This event is triggered when  "enter" key is pressed by the user after selecting a value in the input field.So may be you can use this and proceed further.
    Although it may not serve you the actual requirement that you have to achieve , because input field does not have any event for "On select".
    [On Enter|http://help.sap.com/erp2005_ehp_04/helpdata/EN/14/0ce74114a1da6fe10000000a1550b0/frameset.htm] this link might help
    Cheers,
    Aditya.

  • Search help for DATE field

    HI all,
    I want to attach search help for a DATE field created in screen painter.
    For PERNR, PREM is attached. Similarly what is the statndard search help name for DATE field?
    Thanks,
    Shanthi.

    Hi ,
    Declare the date field as sy-datum ,
    parameters : date type sy-datum .
    This shud bring the standard search help for date .
    Thanks ..Get back for any issues.
    Anil

  • Weird problem with mysql query and data table buttons !!!!

    Hi,
    I'm using jsc 2 update 1 on windows and mysql 4.1 . I have a page with a data table. One column of the data table contains "Details" buttons.
    Source query for the table is :
    SELECT tbl_tesserati.idtbl_tesserati idTesserato,
    tbl_tesserati.num_tessera,
    tbl_tesserati.nome,
    tbl_societa.codice_meccanografico
    FROM tbl_tesserati
    INNER JOIN tbl_rel_tesserato_discipline_societa ON tbl_tesserati.idtbl_tesserati = tbl_rel_tesserato_discipline_societa.id_tesserato
    INNER JOIN tbl_cariche ON      tbl_rel_tesserato_discipline_societa.id_carica = tbl_cariche.idtbl_cariche
    INNER JOIN tbl_qualifiche ON      tbl_rel_tesserato_discipline_societa.id_qualifica = tbl_qualifiche.idtbl_qualifiche
    INNER JOIN tbl_discipline ON      tbl_rel_tesserato_discipline_societa.id_disciplina = tbl_discipline.idtbl_discipline
    INNER JOIN tbl_societa ON      tbl_rel_tesserato_discipline_societa.id_societa = tbl_societa.idtbl_societa
    LEFT JOIN tbl_province ON tbl_societa.provincia_sede_sociale = tbl_province.idtbl_province
    LEFT JOIN tbl_comuni ON tbl_societa.comune_sede_sociale = tbl_comuni.idtbl_comuni
    LEFT JOIN tbl_rel_tesserato_discipline_praticate ON tbl_rel_tesserato_discipline_praticate.tessera_id=
    tbl_rel_tesserato_discipline_societa.idtbl_rel_tesserato_discipline
    LEFT JOIN tbl_discipline_praticate ON tbl_discipline_praticate.idtbl_disciplina_praticate=tbl_rel_tesserato_discipline_praticate.disciplina_praticata_id
    WHERE
    tbl_tesserati.cognome LIKE ?
    AND tbl_tesserati.nome LIKE ?
    AND tbl_rel_tesserato_discipline_societa.id_societa LIKE ?
    AND tbl_tesserati.idtbl_tesserati LIKE ?
    AND tbl_cariche.idtbl_cariche LIKE ?
    AND tbl_qualifiche.idtbl_qualifiche LIKE ?
    AND tbl_tesserati.data_nascita >= ?
    AND tbl_tesserati.data_nascita<= ?
    AND tbl_discipline.idtbl_discipline LIKE ?
    AND codice_affiliazione LIKE ?
    AND tbl_societa.denominazione LIKE ?
    AND YEAR(tbl_rel_tesserato_discipline_societa.data_scadenza) LIKE ?
    AND (tbl_province.nome LIKE ? OR tbl_province.nome IS NULL)
    AND ( tbl_comuni.nome LIKE ? OR tbl_comuni.nome IS NULL)
    The tbl_tesserati.data_nascita is a mysql date field.
    The click event handler code for the "Details" Button is:
    public String btnModificaTesserato_action() {
            try{
                TableRowDataProvider rowData= (TableRowDataProvider)getBean("currentRowTesserati");
                getRequestBean1().setId_tesserato((Long)rowData.getValue("idTesserato"));          
            } catch(Exception ex) {
                log("errore nella query",ex);
            return "dettaglioTesseratoSocieta";
        }When i run the project and open the page the table is correctly rendered and populated with some rows. But when i click on details button nothing happens, the page is simply reloaded.
    If i set a breakpoint in the code line   TableRowDataProvider rowData= (TableRowDataProvider)getBean("currentRowTesserati");the debbuger does not stop the code execution ! As if the button was never clicked!
    I tried to modify the source query to :
    SELECT tbl_tesserati.idtbl_tesserati idTesserato,
    tbl_tesserati.num_tessera,
    tbl_tesserati.nome,
    tbl_societa.codice_meccanografico
    FROM tbl_tesserati
    INNER JOIN tbl_rel_tesserato_discipline_societa ON tbl_tesserati.idtbl_tesserati = tbl_rel_tesserato_discipline_societa.id_tesserato
    INNER JOIN tbl_cariche ON      tbl_rel_tesserato_discipline_societa.id_carica = tbl_cariche.idtbl_cariche
    INNER JOIN tbl_qualifiche ON      tbl_rel_tesserato_discipline_societa.id_qualifica = tbl_qualifiche.idtbl_qualifiche
    INNER JOIN tbl_discipline ON      tbl_rel_tesserato_discipline_societa.id_disciplina = tbl_discipline.idtbl_discipline
    INNER JOIN tbl_societa ON      tbl_rel_tesserato_discipline_societa.id_societa = tbl_societa.idtbl_societa
    LEFT JOIN tbl_province ON tbl_societa.provincia_sede_sociale = tbl_province.idtbl_province
    LEFT JOIN tbl_comuni ON tbl_societa.comune_sede_sociale = tbl_comuni.idtbl_comuni
    LEFT JOIN tbl_rel_tesserato_discipline_praticate ON tbl_rel_tesserato_discipline_praticate.tessera_id=
    tbl_rel_tesserato_discipline_societa.idtbl_rel_tesserato_discipline
    LEFT JOIN tbl_discipline_praticate ON tbl_discipline_praticate.idtbl_disciplina_praticate=tbl_rel_tesserato_discipline_praticate.disciplina_praticata_id
    WHERE
    tbl_tesserati.cognome LIKE ?
    AND tbl_tesserati.nome LIKE ?
    AND tbl_rel_tesserato_discipline_societa.id_societa LIKE ?
    AND tbl_tesserati.idtbl_tesserati LIKE ?
    AND tbl_cariche.idtbl_cariche LIKE ?
    AND tbl_qualifiche.idtbl_qualifiche LIKE ?
    AND tbl_tesserati.data_nascita >= ?
    OR tbl_tesserati.data_nascita<= ?
    AND tbl_discipline.idtbl_discipline LIKE ?
    AND codice_affiliazione LIKE ?
    AND tbl_societa.denominazione LIKE ?
    AND YEAR(tbl_rel_tesserato_discipline_societa.data_scadenza) LIKE ?
    AND (tbl_province.nome LIKE ? OR tbl_province.nome IS NULL)
    AND ( tbl_comuni.nome LIKE ? OR tbl_comuni.nome IS NULL)
    Using this query everything works well !! The click handler works and the debugger too !!
    I changed only the AND in OR !!!
    I also tried to change mysql-x-x-connector driver but without solving my problem.
    Can someone help me ?
    Thanks
    Giorgio

    You'll find that it is more to do with the way MySql deals with dates than anything else! Depending on how your date field is setup, then try using a BETWEEN statement for those 2 lines in your first query e.g.
    AND ( tbl_tesserati.data_nascita BETWEEN ? AND ?)
    The date column needs to be in the ISO format to work. If you examine your second query output, you might discover that the output is only going to refer to one parameter (probably the OR one). Did you manage to view the output logs from the application server? You would have got an idea from there with a message like stating a conversion error'.
    Alternatively, you could try using the to_days() function and convert it directly to a number which would be a lot easier to deal with. For example:
    AND to_days(tbl_tesserati.data_nascita >= ? )
    AND to_days( tbl_tesserati.data_nascita<= ? )
    Or try the BETWEEN version with to_days() and see what you get.
    More info about date formatting (v5) here:
    http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_to-days
    Before I forget, sometimes you may need to treat dates as Strings rather 'Long' as you did.
    As a matter of interest, did you try your query in a different piece of software?
    If my queries are a little more complicated, I tend to try MySql queries out in the free MySql query browser and also double check in another to verify certain issues. I found it easier to develop SQL in a seperate program then import the final version to JSC making the required modifications for parameters.
    Message was edited by:
    aerostra

  • Hi problem with search help?

    Hi friends,
                   i am creating a search help for one of my inputout field of name Zabc-Formno present in my screen.
    If have created a search help ZSH and assigned for that input/output field. Search help is working. My problem is in input/output field when i select a option from search help it is taking, here i want to display the details of the selcted field when i click display so the select statement tht i wrote is -
    when 'display'
    SELECT * FROM ZABC WHERE FORMNO = SLNO.
                        DATES = ZABC-DATES.
                        CLIENT = ZABC-CLIENT.
    In place of FORMNO in select statement actually i am having (ZABC-FORMNO) in this case wht i have to do.
    Thks

    In your data element for slno, there should be a parameter id set up.  If your parameter id is SLNO.
    In the program code prior to your select:
    GET PARAMETER ID 'SLNO' FIELD v_slno.
    SELECT * FROM ZABC WHERE FORMNO = v_slno.

  • Problem with update form and date (show 1970-01-01)

    Hi, I've a update form (php/mysql) with many date input field. When my date is 000-00-00 I show 1970-01-01. Why??
    This is the code:
    label for="data_chiusura"><strong>Data chiusura</strong></label>
          <input type="text" name="Data_chiusura" value="<?php echo $string=$row_Recordset1['data_chiusura'];
        if($string == '0000-00-00'){
        $string = '';
        } else {
        $string = date("d-m-Y", strtotime($string));
        }; ?>" id="Data_chiusura">
    Thanks
    k

    Why would the date ever be null? As long as the date has a non-zero, non-null value this function will work correctly.
    I'm a little confused by what you are doing here. So, you are pulling data from a table, and populating forms with it. This particular field is a date field, and the problem is that when the data for that field is a null, you are getting instead a date of 1970-01-01 displayed in that field - is that correct? What do you want to appear there when the data is null? Nothing?

  • F4 ( Search Help ) for date field  on the selection screen

    Hi Freinds,
    i have used WDR_SELECT_OPTIONS In my component, i have one date field on selection screen(BUDAT), for this date field i want seach help 
    this is my code
    create a range table for Posting Date
    lt_range_table = wd_this->m_handler->create_range_table(
                                                              i_typename = 'BUDAT' ).
    add Posting Date  to the selection
    wd_this->m_handler->add_selection_field( i_id = 'BUDAT'
         i_value_help_type = if_wd_value_help_handler=>CO_PREFIX_SEARCHHELP
                                               I_VALUE_HELP_ID = '??????'
                                               I_DESCRIPTION = 'Posting Date'
                                               it_result = lt_range_table ).
    can any one help me
    Thanks
    Srini

    hi sarbjeet 
    i created search help in dictionary and i used that search help in my program, but still its now working , any other ideas
    Thnx
    srini

  • A student having problem with search help.

    Dear All,
    I'm studying from a book about search help.
    I have a field of a dictionary structure. From now on, I will call this field 'Field A'.
    In the book that I read, it is said that if Field A refers to a check table, then the contents of the check table are automatically offered as the Field A's input help. Furthermore, if the check table has a search help, then the search help is used as Field A's input help instead of the key fields of the check table. The search help is also used as input help for any field that refers to the check table I mentioned previously.
    Are the last 2 sentences true?
    Curiously, I created a dictionary structure of several fields. One of the fields refers to a check table. I also created a simple screen with fields that refer to the dictionary structure I mentioned earlier to test each field's input help. When I tried the field that refers to the check table, it is true that the contents of the check table are offered as the possible values. Later, I created a search help for the check table in a way that makes me easily notice that the search help is actually used as the input help, not the standard input help of check table contents. When I tested my screen again and tested the input help of the field that refers to the check table, the shown possible values were not changed. It still used the standard input help that shows the contents of the check table instead of my search help.
    Could I do something wrong or is the statements in my book incorrect?
    Regards,
    Haris

    Dear Suman,
    Thank you for the help. However, there are still some doubts in me. To improve tha clarity of my question, I'll rewrite it:
    Let 'CT' is the name of my check table.
    Currently there are many dictionary objects that refers to CT as their check table. Therefore, the contents of CT are offered as possible values / input help of those dictionary objects.
    Later, I created a search help.
    Let 'SH' is the name of my search help. SH is attached to the check table CT.
    Now, does this means SH is automatically used as the input help of all the dictionary objects that refer to CT as their check table,
    Or
    I still have to attach SH to all the dictionary objects that refer to CT in order to use SH as their input help?
    Regards,
    Haris
    Edited by: harissahlan on May 3, 2011 12:42 AM

  • Problems with F4 help for dates

    Hi all.
    In a redesign project we use a new structure for the bsp pages. Since the redesign every F4 help for dates is giving us a java script error.
    Row:      689
    Column: 3
    Error:     'document.all.sapDate.style' is NULL or no object
    Code:    0
    URL:      http://<server>:<port>/wbw(bD1..)/main.do
    In the first version it was a view with some page fragments included containing the F4 helps.
    The new application is a main view containing a changing view over command <bsp:call comp_id="...
    Does the difference in place used matter?
    I also removed the attribute themeRoot from <htmlb:content ...
    Thanks for every hint,
    Timo.

    I have exactly the same problem, someone can tell me how to fix it please ?
    Here is my code for the "date" field :
    CASE p_column_index.
            WHEN 1.
              DATA: tv_col1_inputfield TYPE REF TO cl_htmlb_inputfield.
              CREATE OBJECT tv_col1_inputfield.
              tv_col1_inputfield->id    = p_cell_id.
              tv_col1_inputfield->cellvalue = 'TRUE'.
              tv_col1_inputfield->value = '20000131'.
              tv_col1_inputfield->type = 'DATE'.
              tv_col1_inputfield->showhelp = 'TRUE'.
              tv_col1_inputfield->disabled = 'FALSE'.
              p_replacement_bee      = tv_col1_inputfield.
    Edited by: BB.Fethi on Feb 8, 2010 2:10 PM
    Ok sorry for this post, i haven't see the "remove tag htmlb:page"....
    Edited by: BB.Fethi on Feb 8, 2010 2:13 PM

  • Problems with Photoshop performance and data transfer speed on iMac

    Two months ago, I started noticing slow performances using Photoshop (above all using clone stamp tool) on my 27" iMac (late 2012). I did the AHT and I found that 8GB of 32GB RAM were broken.
    I removed them but the problem didn't disappered, I also noticed that data transfer speed (both copy and paste from/to internal HD and from CF card/external HD) was really slow.
    I tried many solutions suggested by Apple support, none of them worked out. At the end, I tried uninstalling and re-installing Photoshop: no more problems!!!
    10 days ago, I received a new 8GB RAM module and so I installed it back... suddenly, the problem came back, I tried re-installing again Photoshop but the problem, this time, still persist!
    Does anyone had the same experience? All other CC programs work well (LR, AE, Premiere...)

    yes, it does!
    what seems to be very strange to me is how data trasnfer speed could be affected!
    (just to say, I've already tried reset of SMC and PRAM, I've tried with different accounts and I've also re-installed the OS, next step would be formatting the disk and installing the OS from zero)

  • Search help for date field in Editable ALV

    Hello Friends,
    I am using editable alv using 'reuse_* '.
    I have used date as input field. While creating fieldcatlog also i have  declared dat as a mkpf-budat.
    But i am not getting serach help for date in output.
    Is it possible with reuse or i have to go by object oriented ?

    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

  • Problem with context mapping and data flow in a FPM application

    Hi All,
    I am trying to develop an ESS application using FPM. For the same, the requirement is to see the history of an employee in the second view.
    The first view has got just the overview information and the second one has got the detail. So, the records or the fields are the same on both the views.
    As per the FPM guidelines, the Model is residing in the Fc component and the respective Vc components are using the model data accordingly.
    I am executing the model in the Fc component calling the executable method in the interfaceController of the first view and then trying to display the output data of the BAPI in the first view which provides the overview information.This is working fine.
    But when i am trying to map the same output node to the Table UI for the second view, the record size is coming zero and thus no information is available.
    For the above issue, I am again executing the RFC in the InterfaceController of the second view to populate the records, which is incorrect as it is already executed and the data is available for the first view.
    I request you to let me know the correct approach to Context mapping and data flow when using FPM-roadmap. Is their any standard method or approach available to deal with such requirements? Please let me know.
    Thanks in advance.
    Regards
    DK

    Hi Idhaya,
    I model node is available in Fc and the Fc interface controller is being used in the first Vc and the second Vc.
    So the idea is, as the executable method is generated in the Fc, so i have created a custom method to call the executable method in Fc, where the input parameter is getting passed and this custom method is finally getting called is the first Vc.
    So , now my first Vc is ready to call the custom method in Fc and execute the RFC. Once the RFC is executed, the nodes in the Fc should get populated which is the ideal case.
    And as the Fc is used as a component in the second Vc, the same node is available to the UI elements.
    But, when I check the record size for the output node, it is always zero, for the second Vc.
    Regards
    DK

  • Working with DBMS_XMLSave.insertXML and date fields

    Hello,
    I'm experiencing problems when loading date fields into the database.
    The date '20020717' in XML uploaded in the database using date format 'YYYYMMDD'
    becomes '20260920'. Is there something that I'm missing here or is this a bug in XSU?
    Versions I'm using
    Oracle XML Parser for PLSQL 9.2.0.2.0 Production
    Oracle 8.1.7.3 Database
    Hopefully the code below makes the question clear.
    PL/SQL part in which I insert the content of XMLClob into the table drtest.
    insCtx := Dbms_Xmlsave.newContext('drtest');
    Dbms_Xmlsave.SETDATEFORMAT(insCtx, 'YYYYMMDD');
    ROWS := Dbms_Xmlsave.insertXML(insCtx,XMLClob);
    Dbms_Xmlsave.closeContext(insCtx);
    Content of XMLCLob in the code
    <ROWSET>
    <ROW num="1">
    <DESALID>0000001829</DESALID>
    <DESAPNR>000000000000203997</DESAPNR>
    <DEINCO1>CIF</DEINCO1>
    <DEDELFL/>
    <DESALDT>20020717</DESALDT>
    <DECTRMA>BE</DECTRMA>
    <DESHIPT>BE</DESHIPT>
    <DECTRDP>BE</DECTRDP>
    </ROW>
    </ROWSET>

    When using date format strings in XSU, the format is defined not with the template for the Oracle DATE character strings, but with the Java SimpleDateFormat templates. Could this be the problem?

  • Problem With Crystal Reports Reading Date Fields From CSV File

    I have a date field in a CSV file in the format 06/28/09 17:23:55.523. When I use ODBC the configuartion picks it up a character field. I overright the recommendation type by specifing it is a date field but whne I bring the data into crystal reports the dates are blanks. Any suggestions on how to get around this problem. I need to use the date for selection records.
    Phasor

    The question was answered under another thread. I had to use the split commmand to get rid of the fractions of a second

Maybe you are looking for

  • Mac pro 1,1 (using 10.6.8 - Need 10.7) thanks to Lightroom 5

    Hello has anyone with the mac pro 1,1 (aprox year 2007) been able to use Lion OS 10.7 or above? its a Dual core intel Xeon 2.66 L2 4MB I upgraded my video to ATI radeon HD 5770 I have been running nicely on 10.6.8 with CS6 / Lightroom 4 but now i nee

  • Selection screen in type m program

    How can we define Selection screen in type m program? Moderator message - please search the forum before asking. Thread locked. Edited by: Rob Burbank on Sep 20, 2009 2:19 PM

  • Download Acrobat 9 Pro Ext

    Just had to reimage my PC, and am attempting to reinstall Adobe Acrobat 9 Pro Ext.  I have been able to find all of the downloads for the Updates, but not the basic program.  Can anyonbe help with the location of the download for Acrobat 9 Pro Ext?

  • "House of mirrors" bug with cover flow

    Anyone else having this? House of mirrors with cover flow. It appears to be a redrawn / VRAM issua. I'm running iTunes 7 on an iBook G3 500 (with 8MB of VRAM). If I choose to thousands of colors or lower the resolution, things work fine. However, I h

  • Report Related to Installed Base (T.Code IB51and IH20)

    Hello Experts, In IB51 Installed Base Number is generating based up on Header Material Number and Serial Number. and it will be generated based up on both Header Material and Child Data . But my problem is I need to Find the in which Table IBASE numb