Date selection and search help component in jsp

Hi all:
    In sap portal jsp development enviorment, is it possible to easily program the date selection and search help ( just look like search help in webdynpro ) ?

Hello Jianhong,
the easiest way to set a value help is using HTMLB component in your JSP.
To do it, use next code:
<hbj:inputField
           id="DateInputField"
           type="date"
           showHelp="TRUE"
           ... other attributes
/>
Before using HTMLB components in your JSP, don't forget to add this line to your page:
<%@ taglib uri= "tagLib" prefix="hbj" %>
regards.
mz

Similar Messages

  • Can i have html code for date select options (SEARCH HELP)

    Hi frinds,
    I have a BSP Page with input as date.
    Can i have html code for date select options (SEARCH HELP)
    Moosa

    Hi
    Please find the sample code below.
    FROM DATE
          <htmlb:inputField id        = "dd"
                            width     = "45%"
                            type      = "DATE"
                            showHelp  = "X" <- Search help
                            alignment = "CENTER"
                            maxlength = "10"
                            disabled  = "TRUE"
                            value     = "<%= w_FROMDATE %>" />
    TO DATE
          <htmlb:inputField id        = "dd"
                            width     = "45%"
                            type      = "DATE"
                            showHelp  = "X"
                            alignment = "CENTER"
                            maxlength = "10"
                            disabled  = "TRUE"                      
    value     = "<%= w_TODATE %>" />
    Thanks
    kalyan

  • Supress 'Further Selection' And 'Search Help' buttons from LDB selection sc

    Hi,
       How to supress/invisible 'Further Selection' And 'Search Help' buttons from LDB selection screen?
    waiting for reply.
    Shweta.

    Hi,
    1) try to use another version of sel-screen
    2) work with loop at screen:
    LOOP AT SCREEN.
        CASE SCREEN-NAME.
          WHEN 'ANLAGE-LOW' OR 'ANLAGE-HIGH'
          OR '%_ANLAGE_%_APP_%-TEXT'
          OR '%_ANLAGE_%_APP_%-VALU_PUSH'
          OR '%_UNTNR_%_APP_%-TEXT'
           OR 'UNTNR-LOW' OR 'UNTNR-HIGH'
          OR '%_UNTNR_%_APP_%-VALU_PUSH'
           OR 'BEREICH2' OR 'BEREICH3'.
            SCREEN-INVISIBLE = 1.
            SCREEN-INPUT = 0.
            SCREEN-OUTPUT = 0.
          WHEN 'BUKRS-LOW'.
            SCREEN-REQUIRED = 1.
          WHEN OTHERS.
            CONTINUE.
        ENDCASE.
        MODIFY SCREEN.
      ENDLOOP.
    A.

  • What is the significance of data collection nad search help exit field ?

    Dear Gurus
    I  know i am asking very basic quetion of abap but sdn is  the only source to learn sap for me.I want to thanks you all for your kind support.
    i read  most of the post related to search help and trying to create one.
    for elementary search help.
    SE11 -> SEACH HELP -> ELEMENTARY SEARCH HELP
    I have doubts regarding to fields "DATA COLLECTION" and "SEARCH HELP EXIT".
    reference to a  tutorial it is a maintenance view  shall i  have to reate  a maintenace view first.
    and other field is  SEARCH HELP EXIT what is this.
    please help me .
    Thanks in advance.
    Chitta Ranjan mahato.
    Edited by: chitto123 on Oct 8, 2010 5:59 AM

    Howdy,
    DATA COLLECTION - refers to a database table or view.  This is the data that the search help will search through and display based on the parameters provided, so you can create your own view for the search help if you want the search to cover multiple tables.
    SEARCH HELP EXIT - You can create a function module to be able to alter the Search Help's selection and results at various events throughout the search help.  An example of this function module is provided with some documentation in function module F4IF_SHLP_EXIT_EXAMPLE.
    Cheers
    Alex

  • Difference between 'Selections from' and 'Search helps' in some HR program

    Hi,
    I notice at the top portions of some programs like Payroll Driver and pre-DME program there's two separate pushbuttons, 'Selections from' and 'Search helps'. What's the diff between the two?
    Because to me, both seem to have same functionality, i.e. to further filter the records.
    When I create customized programs, usually I use logical database pnp, and by that, we are adding 'Selections from' at the selection screen to help further select.
    So my questions:
    1. Why is there another button to help filter? Since both have same functionality to filter.
    2. What's the diff between the 2?
    3. Can somebody confirm the 'Search helps' is really for filtering?
    Thank you.

    Hi,
    If this spool is being generated internal to your program, then sy-spono should have the value.
    Regards,
    Lijo Joseph

  • Matchcode objt and Search Help

    Hi Experts
    Can anybody please tell me the difference between Matchcode Object and Search Help??or they are same??
    coz when we use matchcode objt with parameter stmt we assing search help to that parameter.
    Right??
    Plz correct me if i am wrong
    Thanks in advance

    HI
    GOOD
    CHECK THIS
    Matchcodes were replaced with Search Helps starting with Release 4.0. Please use search helps to assign an input help to a field.
    Existing matchcodes were automatically converted to search helps. A matchcode object is hereby converted to a collective search help with the same name. Each matchcode ID of the matchcode object is converted into an elementary search help with the same name and assigned to the collective search help created from the matchcode object.
    A matchcode is a means of finding data records stored in the system. The matchcode is defined in the ABAP Dictionary in two steps:
    You first define the relevant tables and fields for the search in a matchcode object. A matchcode object describes the set of all possible search paths for a search string.
    You then create one or more matchcode IDs for a matchcode object. A matchcode ID describes a special search path for a search string. The matchcode ID defines the fields or field combinations to be used in the search.
    Search Help
    Use
    With this function you can search for objects, thereby defining and linking different selection conditions for the search help.
    Prerequisites
    You can call this function by:
    ·        Selecting Object  ®  Search... () in the main menu bar of the Integration Builder
    ·        Placing the cursor on a software component version and selecting Search... () in the context menu (only in the Integration Repository)
    In this case the software component version is defined as the search criteria.
    Features
    Defining the Object Type
    You can select the object type in a dropdown list in field Object Type.
    In the design (Integration Repository) you can
    ·        Select an object type (for example Message Interface)
    ·        Select a cross-object category (for example Interface Objects)
    In the configuration (Integration Directory) you can select types Values Mapping Group and schema in addition to the individual object types.
    CHECK THIS LINK TO CREATE A SEARCH HELP.
    http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_basic.htm
    CHECK THIS LINK TO CREATE A MATCHCODE OBJECT
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci553386,00.html
    THANKS
    MRUTYUN

  • Data selection and Person selection

    Hi all,
    What is the difference between 'Data selection' and 'Person selection' in PNP screen.(PNP logical database)
    I searched so many . But couldn't find appropriate one. Still confusing.
    Can any one explain me with example?
    must use both at a time or any one selection is enough?
    Which situation use 'Data selection' and which situation use  'Person selection' ?
    Thanks in advance.

    thanks for all reply.
    I have one pernr 700098
    Hiring date : 01.01.2008 - 16.08.2008
    firing date : 17.08.2008 - 31.12.9999
    I developed a customized report using PNP LDB.
    If , I entered 01.01.2008 - 31.12.2008 in 'Data selection'
                  3 in employee status( active)
    or
    I entered 01.01.2008 - 31.12.2008 in 'Person selection'
                  3 in employee status( active)
    If , I entered 01.01.2008 - 31.12.2008 in 'Data selection'
                  0 in employee status( active)
    or
    I entered 01.01.2008 - 31.12.2008 in 'Person selection'
                  0 in employee status( active).
    In above all cases picking the same record. what is the use of PNP screen?
    after 'GET PERNR' pernr structure get the value of latest record from infotype P0000.ie firing record. Because it doesn't bother the status.
    For below case picking the proper one.
    If , I entered 01.01.2008 - 16.08.2008 in 'Data selection'
                  3 in employee status( active)
    or
    I entered 01.01.2008 - 16.08.2008 in 'Person selection'
                  3 in employee status( active)
    If , I entered 17.08.2008 - 31.12.2008in 'Data selection'
                  0 in employee status( active)
    or
    I entered 17.08.2008 - 31.12.2008 in 'Person selection'
                  0 in employee status( active).
    Plz any one clear me.
    Thanks.

  • SVS, EVS, and OVS, Value Help and Search Help

    what and how to use SVS, EVS, and OVS, Value Help and Search Help  in abap webdynpro...Can anyone please give example link or document...As i am able to get on ovs but unable to get rest of other

    SVS and EVS are Web Dynpro Java specific types of value help.  They do not exist in Web Dynpro ABAP.  In Web Dynpro ABAP we have Data Dictionary based Search Help, OVS, and Freely Programmed Value Help.  In WDA 7.02 we have the slight variant on DDic Search Help called Suggest Values.  It doesn't change the development model, just the runtime user experience. 
    You can read more about each of the types of WDA based value help in the online help:
    http://help.sap.com/saphelp_nw73ehp1/helpdata/en/47/9b298c66eb3376e10000000a421937/frameset.htm

  • How to select and search text in this document?

    http://www.oracle.com/technology/products/manageability/database/pdf/ow05/PS_S003_274003_1 06-1_FIN_v2.pdf
    is a document I can read but cannot copy text from. I can't search for any text in it either. Is there a way to convert it to a PDF file I can select and search text in? What did the author do to make it "encrypted"? Thanks.
    Yong Huang

    I notice Google can convert it to plain text:
    http://74.125.95.132/search?q=cache:e4rkLs8pPekJ:www.oracle.com/technology/products/manage ability/database/pdf/ow05/PS_S003_274003_106-1_FIN_v2.pdf+understanding+shared+pool&cd=1&h l=en&ct=clnk&gl=us
    (If that long URL doesn't work, just search for "understanding shared pool" and click "View as HTML".)
    For now I'll use that. Thanks everyone.
    Also, my local desktop search program Copernic can also index keywords in the article.

  • Hi All, difference btwen data selection and person selection period in ldb

    Hi All, difference btwen data selection and person selection period in ldb -pnp
    If possible provide with an example .Its Urgent pls.

    Hi,
    Difference:--
    Data Selection Period
    The data selection period enables you to specify the period in which employee data records are read. Only records which overlap with the specified period by at least one day are selected. To define an interval, enter the start date in the left column and the end date in the right column
    Person Selection Period
    When you enter a person selection period, the system selects only those employees who are members of the enterprise on at least one day in the specified period. These are persons with a valid Organizational Assignment (0001) record. Entries in the standard selection options fields limit the personnel numbers that are selected. You can specify an interval by entering the start and end dates in the left and right columns respectively.
    Selection criteria in PNP are just used to determine the pernrs which meet them. For these pernrs then all wanted data is selected. This data then is not checked against this criterias.
    An Example:
    Pernr 4711 has benn assigned to costcenter 10 from 01.01.2004 until 31.12.2004. On 01.01.2005 costcenter changes to 20.
    If you now select all employees with costcenter 10 and list their costcenters, you will get both costcenters 10 and 20.
    Most reports which use PNP have to sets of date-ranges:
    - Person selection period that controls selection of pernr.
    - Other period that controls selection of data.
    If you set person selection period in above example to 01.01.2004 and other period to 01.01.2005 and select costcenter 10 you will in fact get employee 4711 with costcenter 20 shown.
    Same effect with org-unit or any other selection criteria.
    Regards
    Vasu

  • Match code and search help

    What is the difference between match code and search helps ?

    Hi,
    search help:
    adding f4 functionality is search help(adding help for any topic)
    http://help.sap.com/saphelp_erp2005/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm
    match code:
    adding search help for the input field is called as mathcode object
    http://help.sap.com/saphelp_40b/helpdata/en/cf/21ef1f446011d189700000e8322d00/content.htm
    Regards,
    Sravanthi

  • How to display our own selected data in a search help using a exit

    Hello,
    I had created a Search Help Exit to restrict the values to be displayed in the search help. This code was written under the event 'DISP' in the exit. But it is not giving the desired result. So I want to replace the RECORD_TAB of the exit with my own selected data. For this I had written code for selection under the event 'SELECT'. But when I try to overwrite RECORD_TAB with this, this create errors.
    What should I do to overwrite the values of the RECORD_TAB field with my own values?
    Regards,
    Abijith

    Hi,
    This is how we implemented the code modify the values in search help exit.
    Check if display process button is pressed
      IF callcontrol-step = 'DISP'.
    Read the parameter ID for company code.
        GET PARAMETER ID 'BUK' FIELD lv_bukrs.
        IF sy-subrc EQ 0.
          lwa_bukrs-sign   = 'I'.
          lwa_bukrs-option = 'EQ'.
          lwa_bukrs-low    = lv_bukrs.
          APPEND lwa_bukrs TO lr_bukrs.
        ENDIF.
      Check if any entry is made in Test account/Testity account name
        LOOP AT shlp-selopt INTO lwa_selopt.
          CASE lwa_selopt-shlpfield.
            WHEN  'ZZTEST'.
              lwa_roy-sign = lwa_selopt-sign.
              lwa_roy-option = lwa_selopt-option.
              lwa_roy-low = lwa_selopt-low.
              APPEND lwa_roy TO lr_roy.
            WHEN 'ZZTEST_NAME'.
              lwa_roy_name-sign = lwa_selopt-sign.
              lwa_roy_name-option = lwa_selopt-option.
              lwa_roy_name-low = lwa_selopt-low.
              APPEND lwa_roy_name TO lr_roy_name.
          ENDCASE.
        ENDLOOP.
      Get customer in entered for a company code
        SELECT kunnr
               bukrs
          FROM knb1
          INTO TABLE lt_knb1
          WHERE kunnr IN lr_roy
            AND bukrs IN lr_bukrs.
        IF sy-subrc EQ 0.
          SORT lt_knb1 BY kunnr.
        Get customer name for  the customer.
          SELECT kunnr
                 name1
            FROM kna1
            INTO TABLE lt_kna1
            FOR ALL ENTRIES IN lt_knb1
            WHERE kunnr EQ lt_knb1-kunnr
              AND mcod1   IN  lr_roy_name.
          IF sy-subrc EQ 0.
            SORT lt_kna1 BY kunnr.
          ENDIF.
        ENDIF.
      Get Values for Testty account selected by standard search help
        CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'
          EXPORTING
            parameter   = 'Ztest'
            fieldname   = 'Ztest'                                    " Reference to search help parameter
          TABLES
            shlp_tab    = shlp_tab                                    " Reference to field of Seatinfo
            record_tab  = record_tab
            results_tab = lt_test_help
          CHANGING
            shlp        = shlp
            callcontrol = callcontrol.
      Get Values for Testty account Name selected by standard search help
        CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'
          EXPORTING
            parameter   = 'Ztest1'
            fieldname   = 'Ztest1'                                    " Reference to search help parameter
          TABLES
            shlp_tab    = shlp_tab                                    " Reference to field of Seatinfo
            record_tab  = record_tab
            results_tab = lt_roy_help
          CHANGING
            shlp        = shlp
            callcontrol = callcontrol.
        LOOP AT lt_knb1 INTO lwa_knb1.
          CLEAR lwa_kna1.
          READ TABLE lt_kna1
                INTO lwa_kna1
                WITH KEY kunnr = lwa_knb1-kunnr
                BINARY SEARCH.
          IF sy-subrc EQ 0.
            CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
              EXPORTING
                input  = lwa_kna1-kunnr
              IMPORTING
                output = lv_kunnr.
            lwa_roy_help-ztest1 = lv_kunnr.
            lwa_roy_help-ztest = lwa_kna1-name1.
            APPEND lwa_roy_help TO lt_roy_help .
          ENDIF.
        ENDLOOP.
        SORT lt_ztest_help.
        DELETE ADJACENT DUPLICATES FROM lt_roy_help COMPARING ZTEST1.
    Finally transport the computed numbers into the search help data.
        CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
          EXPORTING
            parameter   = 'ZTEST1'
            fieldname   = 'ZTEST1'" Reference to search help parameter
          TABLES
            shlp_tab    = shlp_tab                                    " Reference to field of Seatinfo
            record_tab  = record_tab
            source_tab  = lt_roy_help
          CHANGING
            shlp        = shlp
            callcontrol = callcontrol.
    Finally transport the computed numbers into the search help data.
        CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
          EXPORTING
            parameter   = 'ZTEST''
            fieldname   = 'ZTEST''                                  " Reference to search help parameter
          TABLES
            shlp_tab    = shlp_tab                                    " Reference to field of Seatinfo
            record_tab  = record_tab
            source_tab  = lt_roy_help
          CHANGING
            shlp        = shlp
            callcontrol = callcontrol.
      ENDIF.
    Nabheet

  • Select Options and Search Help in ABAP Dynpro

    Hi Guys,
    I am new to ABAP WD. We are workin on ABAP Stack of the Portal with no DB Tables n data. we have to fetch the data from R/3 and display it on the Dynpro screen.
    But  here the problem is the Standard Search Help attached to the data elements cannot fetch any data, as by default it searchs the ABAP stack for the data. Is there any work around for the same wherein i can fetch the data from R/3 and display it when user requests for the search help.?
    Please let me know.
    Thanks and Regards,
    Sagar

    Hi,
    You can also use freely programmed help here.......
    Please check the following links for
    OVS
    http://help.sap.com/saphelp_nw04s/helpdata/en/47/9ef8c99b5e3c5ce10000000a421937/frameset.htm
    OVS Help in Web Dynpro ABAP
    Freely programmed
    http://help.sap.com/saphelp_nw04s/helpdata/en/47/9ef8cc9b5e3c5ce10000000a421937/frameset.htm
    regards
    Pranav

  • Selection-Screen and Search Help

    Hi
    I'm trying to show a Search Help (using trabstrip) from an internal table, but when I execute the code, search help is showed twice.
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    SELECT-OPTIONS:
                a0 FOR ZCTRL01-ZSTATUS,
                a1 FOR ZCTRL01-ZLOTE,
                a2 FOR ZCTRL01-BELNR.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN END OF SCREEN 100.
      wa_estejec-zstatus = 'E'.
      wa_estejec-zdescrp = 'Error'.
      APPEND wa_estejec TO ti_estejec.
      wa_estejec-zstatus = 'P'.
      wa_estejec-zdescrp = ' Processed'.
      APPEND wa_estejec TO ti_estejec.
    AT SELECTION-SCREEN on value-request for A0-low.  PERFORM search_help.
    AT SELECTION-SCREEN on value-request for A0-high. PERFORM search_help.
    *&      Selection-screen
    AT SELECTION-SCREEN.
      CASE sy-dynnr.
        WHEN 1000.
          CASE sy-ucomm.
            WHEN 'PUSH1'.
              mytab-dynnr = 100.
              mytab-activetab = 'BUTTON1'.
              MESSAGE s888(sabapdocu) WITH text-010.
              sy_ucomm = 'PUSH1'.
              PERFORM inicializar.
         ENDCASE.
    FORM SEARCH_HELP.
    *&      Form  SEARCH_HELP
    FORM SEARCH_HELP.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'ZSTATUS'
          dynprofield = 'A0'
          dynpprog    = sy-cprog
          dynpnr      = sy-dynnr
          value_org   = 'S'
        TABLES
          value_tab   = ti_estejec.
    ENDCASE.
    Thanks in advance.

    Well, the code you posted won't pass a syntax check. You have an extra form statement, a missing endform statement and an extra endcase statement.
    But have you put the assignments to ti_estejec in the INITIALIZATION event??
    Rob

  • Access Account assignment data inside custom search help

    Hi Experts,
    I have faced with a challenge and I am stuck. Need some expert advise.  I am developing a custom search help for GL account. Inside the search help exit I have to know what is the account assignment category of the accounting line i am currently accessing in WEB UI. for example i have one item in SC and there is a cost distribution between cost center and WBS element. Now i want to access GL account search help from second line in the account assignment ( ie from line having WBS as Acc Assignment).
    one approach that i can think of is Enhance Accounting WD component and capture the details in a static attribute of a custom class and access them inside the search help exit. I know this will work. But i am looking for more clean approach.
    I saw below code in WD comp method GET_BO_INFO of component controller.
    lo_task_container = /sapsrm/cl_ch_wd_taskcont_fact=>get_task_container_instance( ).
       CHECK lo_task_container IS BOUND.
    * Get the BO type
       ev_bo_type = lo_task_container->get_bo_type( ).
    * Get the BO mapper, BO GUID, and item GUID of the lead selection
       CASE ev_bo_type.
         WHEN /sapsrm/if_pdo_obj_types_c=>gc_pdo_shop.
           lo_bom_sc ?= lo_task_container->get_bom_sc( ).
           ev_hdr_guid = lo_bom_sc->/sapsrm/if_cll_bo_mapper~get_bo_guid( ).
           ev_item_guid = lo_bom_sc->/sapsrm/if_cll_bo_mapper~items_get_lead_selection( ).
    I am not sure if this works. But even if this works I can not get the exact accounting line that the user is currently processing. Any ideas????
    thanks
    sankar.

    Hi,
    Any Ideas?

Maybe you are looking for

  • [win7 64bit ultimate]: HP Officejet Pro 8600 Plus prints won't scan

    Guys I have spent 2 days on reading and trying all of the suggestions in previous posts. My HP Officejet Pro 8600 Plus JUST won't scan. When I click to scan a Document or Photo the HP Scan pops up saying: The HP Officejet Pro 8600 was not found. When

  • HOW TO USE TRANSLATE FUNCTION

    Hi in XSQL i am one getting one row like this <REASON_FOR_REJECTION>1.Overhead line is not existing in front of the premises,2.The distance from the pole to the serice is more than 30 meters.,3.Another service is existing in the same premises with ar

  • Trouble with rented videos

    With rented movies I have had two that stop at some point while watching for the first time then won't move past that point and finally video screen goes black any ideas?

  • View sharing in read only mode

    Hi, I have made an application in which I made two local development projects. Through that I am using views of one into another with the help of "Used WebDynpro Components" concept. After deploying, I have got these two views. But the problem is tha

  • Image generation & JSP

    Hi, I want to know one thing, is it possible to generate an in memory image that means a small image which is randomly generated . i want to show this image in a jsp page. my requirement is that i don't want to save this image in the server side. jus