Help Search on screen field

Hi. I've made a screen with 3 fields , in the screen painter, just for the user insert dates, but my problem its that if i push f4 i have the dates help search but the icon next to the field, normally for the help search, doesnt shows up... What its missing or what im doing wrong??
Thk, Regards
Message was edited by:
        joao martins

Hi,
Try this..
Check the check box 'Possible entries' in the input field attributes..
THanks,
Naren

Similar Messages

  • Need some help in creating Search Help for standard screen/field

    I need some help in adding a search-help to a standard screen-field.
    Transaction Code - PP01,
    Plan Version - Current Plan (PLVAR = '01'),
    Object Type - Position ( OTYPE = 'S'),
    Click on Infotype Name - Object ( Infotype 1000) and Create.
    I need to add search help to fields Object Abbr (P1000-SHORT) / Object Name (P1000-STEXT).
    I want to create one custom table with fields, Position Abb, Position Name, Job. Position Abb should be Primary Key. And when object type is Position (S), I should be able to press F4 for Object Abb/Object Name fields and should return Position Abbr and Position Name.
    I specify again, I have to add a new search help to standard screen/field and not to enhance it.
    This is HR specific transaction. If someone has done similar thing with some other transation, please let me know.
    There is no existing search help for these fields. If sm1 ever tried or has an idea how to add new search help to a standard screen/field.
    It's urgent.
    Thanks in advace. Suitable answers will be rewarded

    Hi Pradeep,
    Please have a look into the below site which might be useful
    Enhancing a Standard Search Help
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daeda0d7-0701-0010-8caa-
    edc983384237
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee93446011d189700000e8322d00/frameset.htm
    A search help exit is a function module for making the input help process described by the search help more flexible than possible with the standard version.
    This function module must have the same interface as function module F4IF_SHLP_EXIT_EXAMPLE. The search help exit may also have further optional parameters (in particular any EXPORTING parameters).
    A search help exit is called at certain timepoints in the input help process.
    Note: The source text and long documentation of the above-specified function module (including the long documentation about the parameters) contain information about using search help exits.
    Function modules are provided in the function library for operations that are frequently executed in search help exits. The names of these function modules begin with the prefix F4UT_. These function modules can either be used directly as search help exits or used within other search help exits. You can find precise instructions for use in the long documentation for the corresponding function module.
    During the input help process, a number of timepoints are defined that each define the beginning of an important operation of the input help process.
    If the input help process is defined with a search help having a search help exit, this search help exit is called at each of these timepoints. If required, the search help exit can also influence the process and even determine that the process should be continued at a different timepoint.
    timepoints
    The following timepoints are defined:
    1. SELONE
    Call before selecting an elementary search help. The possible elementary search helps are already in SHLP_TAB. This timepoint can be used in a search help exit of a collective search help to restrict the selection possibilities for the elementary search helps.
    Entries that are deleted from SHLP_TAB in this step are not offered in the elementary search help selection. If there is only one entry remaining in SHLP_TAB, the dialog box for selecting elementary search helps is skipped. You may not change the next timepoint.
    The timepoint is not accessed again if another elementary search help is to be selected during the dialog.
    2. PRESEL1
    After selecting an elementary search help. Table INTERFACE has not yet been copied to table SELOPT at this timepoint in the definition of the search help (type SHLP_DESCR_T). This means that you can still influence the attachment of the search help to the screen here. (Table INTERFACE contains the information about how the search help parameters are related to the screen fields).
    3. PRESEL
    Before sending the dialog box for restricting values. This timepoint is suitable for predefining the value restriction or for completely suppressing or copying the dialog.
    4. SELECT
    Before selecting the values. If you do not want the default selection, you should copy this timepoint with a search help exit. DISP should be set as the next timepoint.
    5. DISP
    Before displaying the hit list. This timepoint is suitable for restricting the values to be displayed, e.g. depending on authorizations.
    6. RETURN (usually as return value for the next timepoint)
    The RETURN timepoint should be returned as the next step if a single hit was selected in a search help exit.
    It can make sense to change the F4 flow at this timepoint if control of the process sequence of the Transaction should depend on the selected value (typical example: setting SET/GET parameters). However, you should note that the process will then depend on whether a value was entered manually or with an input help.
    7. RETTOP
    You only go to this timepoint if the input help is controlled by a collective search help. It directly follows the timepoint RETURN. The search help exit of the collective search help, however, is called at timepoint RETTOP.
    8. EXIT (only for return as next timepoint)
    The EXIT timepoint should be returned as the next step if the user had the opportunity to terminate the dialog within the search help exit.
    9. CREATE
    The CREATE timepoint is only accessed if the user selects the function "Create new values". This function is only available if field CUSTTAB of the control string CALLCONTROL was given a value not equal to SPACE earlier on.
    The name of the (customizing) table to be maintained is normally entered there. The next step returned after CREATE should be SELECT so that the newly entered value can be selected and then displayed.
    10. APP1, APP2, APP3
    If further pushbuttons are introduced in the hit list with function module F4UT_LIST_EXIT, these timepoints are introduced. They are accessed when the user presses the corresponding pushbutton.
    Note: If the F4 help is controlled by a collective search help, the search help exit of the collective search help is called at timepoints SELONE and RETTOP. (RETTOP only if the user selects a value.) At all other timepoints the search help exit of the selected elementary search help is called.
    If the F4 help is controlled by an elementary search help, timepoint RETTOP is not executed. The search help exit of the elementary search help is called at timepoint SELONE (at the
    F4IF_SHLP_EXIT_EXAMPLE
    This module has been created as an example for the interface and design of Search help exits in Search help.
    All the interface parameters defined here are mandatory for a function module to be used as a search help exit, because the calling program does not know which parameters are actually used internally.
    A search help exit is called repeatedly in connection with several
    events during the F4 process. The relevant step of the process is passed on in the CALLCONTROL step. If the module is intended to perform only a few modifications before the step, CALLCONTROL-STEP should remain unchanged.
    However, if the step is performed completely by the module, the following step must be returned in CALLCONTROL-STEP.
    The module must react with an immediate EXIT to all steps that it does not know or does not want to handle.
    Hope this info will help you.
    ***Reward points if found useful
    Regards,
    Naresh

  • How to add a search help on a screen field from screen painter

    Hi,
    I would like to add an existing Search Help on a screen field in Screen painter.
    Of course it's possible to just click on th screen field and in the property box, I just have to set the name of teh search help.
    The problem is that I need the screen field to be grey and user musn't be able to change the field value if he doens't use the search help.
    I'm not allowed to modify the existing search help or to built it on my own from source code, I must use the existing one.
    Do you have an idea on how to do so?
    Regards,
    Morgan

    Dropdown Box:
    In the screen painter for that field goto properties -> Dropdown ->select listbox.
    Option 1:
    Instead let that field be in change mode and if user enters any wrong entry which is not there in the table give a error messgae.
      CHAIN.
        FIELD addr1_data-country.
        MODULE modify_screenfields1.
      ENDCHAIN.
    MODULE modify_screenfields1 INPUT.
      CASE sy-ucomm.
        WHEN 'ENTER' OR 'EXECUTE'.
          IF NOT addr1_data-country IS INITIAL.
            SELECT SINGLE landx FROM t005t INTO lws_landx WHERE
                                          land1 = addr1_data-country
                                      AND spras = 'EN'.
            IF sy-subrc <> 0.
              MESSAGE e000(zo_spa) WITH text-022.  " Invalid Country code
            ELSE.
              t005t-landx = lws_landx.
            ENDIF.
          ELSE.
            CLEAR: t005t-landx.
          ENDIF.
       ENDCASE.
    ENDMODULE.                 " modify_screenfields1  INPUT
    Option 2: Other than if u want the way u like, let that field be greyed out. don't attach the search help.
    In the PROCESS ON VALUE-REQUEST.
      FIELD addr1_data-region MODULE region_pov.
    MODULE region_pov INPUT.
    Using the F4IF_INT_TABLE_VALUE_REQUEST table value request show the search help.
    also make that field input enabled.
    ENDMODULE.                 " region_pov  INPUT
    I think this will solve ur problem.
    Regards,
    Prakash.
    Message was edited by: Prakash Ramu

  • Attaching search help to a screen field

    Hi all,
    I've created a search help (zhlp) and want to attach it to the screen field in the selection screen of my report.
    SELECT-OPTIONS KSCHL FOR VAKE-KSCHL
    MEMORY ID VKS.
    I've attached zhlp to the screen by defining it on the element list of the screen 1000.
    And the original db table T685 already got a search help H_T685, when I run my report and press F4 in the field, it calls the default search help H_T685 but not mine.
    Could anyone help me? Thanks.

    here is the syntax for assiging search help to selection screen field.
    SELECT-OPTIONS KSCHL FOR VAKE-KSCHL MATCHCODE OBJECT ZHLP.
    Regards
    Raja

  • How to Add F4 Help To a Screen Field In a Module Pool Program

    Hi Friends,
    1. How to Add F4 Help To a Screen Field In a Module Pool Program?
    2. How to select a single cell in ALV report output for interactive reporting ?
    Kindly give code example.
    regards,
    Pradeep

    Hi,
    Try using the fm 'F4IF_INT_TABLE_VALUE_REQUEST'.
    Refer the link below for selecting  single cell.
    alv
    Reward points if useful.
    Regards
    Rose

  • Regarding Search help on selection-screen field

    Hi there,
    I am working on custom tables.
    I have a requirement to maintain search pattern on a selection-screen field.
    selection-screen parameter: p_name which is company name filed from Z table.
    By giving a string like Holl* and by  pressing F4 on the field p_name it has to popup a dialogbox having list of company names starting with Holl.
    Thanks in advance.
    -Tulasi

    Hi
    Go through the link given below :
    How to create a search help for my own fields in selection screen
    F4 search help on report selection screen
    also try :
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    DDIC_STRUCTURE = ' '
    RETFIELD = 'VKORG'
    PVALKEY = ' '
    DYNPPROG = SY-REPID
    DYNPNR = SY-DYNNR
    DYNPROFIELD = 'P_VKORG'
    STEPL = 0
    WINDOW_TITLE =
    VALUE = ' '
    VALUE_ORG = 'C'
    TABLES
    VALUE_TAB = T_TABLE1
    FIELD_TAB = field_tab
    RETURN_TAB = RET_TAB
    DYNPFLD_MAPPING = DYN_TAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3
    With Regards
    Nikunj shah

  • Need help on search help on selection screen field

    Hi guyz,
    Please tell me how to pass the parameter or restrict the below search help.
    *s_bsart FOR ekko-bsart . " Doc. Type*
    For the above selection screen field i need to display the data only for cat = F if i click search help.
    Thanks,
    Mohamed Kaleel

    Hi,
    Use At selection-screen for value-request for s_bsart.
    SELECT_OTPIONS: s_bsart FOR ekko-bsart.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_bsart.
    CALL SCREEN 100 STARTING AT 10 5
    ENDING AT 50 10.
    MODULE value_list OUTPUT.
    SUPPRESS DIALOG.
    LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
    SET PF-STATUS space.
    NEW-PAGE NO-TITLE.
    s_bsart-low = 'F' / 'CAT=F'.
    write :/ s_bsart-low.
    Hide: s_bsart-low
    clear s_bsart-low.
    ENDMODULE.
    AT LINE-SELECTION.
    LEAVE TO SCREEN 0.
    This will resolve the issue.
    Regards,
    Gurpreet

  • Assign search help for a screen field in standard program?

    Hi All,
    Is there any other way to assign search help to a standard SAP screen field? (to be precise i want to assign search help to Recipient field in table control of components tab in transaction IW32/IW31)
    I know we can do this by assigning search help through screen painter (by changing standard program, which is my last option).
    Any advice/help will be greatly appreciated.

    Hi,
    I think you will find solution in below <b>threads</b>:
    Re: Search Help for standard field
    How to assign a search help
    Search help for Standard SAP field
    <b>Reward if helpful</b>
    Rgds,

  • Search help for selection screen field

    Hi ,
    steps for creating search help for a key field in selection screen..
    tables is a userdefined from which the field is taken..
    thxs,
    vind

    hi,
    c this.
    REPORT ZXYZ_0002 .
    data: dynfields type table of dynpread with header line.
    data: return type table of ddshretval with header line.
    selection-screen begin of block b1 with frame title text-001 .
    selection-screen begin of line.
    PARAMETERS: P_BUKRS type T001-BUKRS.
    selection-screen comment 30(20) BUTXT for field p_bukrs.
    selection-screen end of line.
    selection-screen end of block b1.
    at selection-screen output.
    if butxt is initial.
       select single butxt into butxt
             from t001
            where bukrs = p_bukrs.
    endif.
    at selection-screen on value-request for p_bukrs.
      call function 'F4IF_FIELD_VALUE_REQUEST'
           exporting
                tabname           = 'T001'
                fieldname         = 'BUKRS'
                dynpprog          = sy-cprog
                dynpnr            = sy-dynnr
                dynprofield       = 'P_BUKRS'
           tables
                return_tab        = return
           exceptions
                field_not_found   = 1
                no_help_for_field = 2
                inconsistent_help = 3
                no_values_found   = 4
                others            = 5.
      read table return with key fieldname = 'P_BUKRS'.
    Add it back to the dynpro.
      dynfields-fieldname = return-retfield.
      dynfields-fieldvalue =  return-fieldval.
      append dynfields.
    Get the company code from db and add to dynpro
      data: xt001 type t001.
      clear xt001.
      select single * into xt001
             from t001
            where bukrs = return-fieldval.
      dynfields-fieldname = 'BUTXT'.
      dynfields-fieldvalue = xt001-butxt.
      append dynfields.
    Update the dynpro values.
      call function 'DYNP_VALUES_UPDATE'
           exporting
                dyname     = sy-cprog
                dynumb     = sy-dynnr
           tables
                dynpfields = dynfields
           exceptions
                others     = 8.
    start-of-selection.
    rgsds
    anver
    if hlped mark points

  • F4 help for the screen fields in module pool program

    Hi All,
      I have a requirement that, i want to provide F4 help for the 2 fields in module pool program. the fields are document number and fiscal year from rbkp table.
    i could provide search help for two fields.
    but how to select matching fiscal year for that document number.
    problem: i am getting fiscal year as first four digits of document number.
    please help me to solve this problem.
    Thanks & Regards,
    Namratha.V

    Hi,
       If your requirement is after selecting the document no from f4 help then the corresponding year should be updated in the document year field then use FM --> DYNP_VALUES_UPDATE
    In  this function module pass the screen no program & field for which u want to update value

  • Applying search help on the screen fields of a module pool program

    hi all
    i am creating a sales order against a purchase order i am stuck at applying the search helps
    i have header data (only mandatory fields),items data,partner data(all mandatory fields)
    i want to have input search help as if i select sales document type then corresponding sales organizations should appear and when i select all the header data the search help that is on the material number and partners role and number should appear corresponding to that header data
    i found following search helps as:-
    h_vakz and h_mvke
    not able to apply please guide someone
    thanks
    varun

    i want to have input search help as if i select sales document type then corresponding sales organizations should appear
    This would be quite opposite of what h_vakz does. h_vakz gives Sales document based on Sales org..and you want vice versa. Create a simple SH with
    selection method : TVAKZ
    AUART as importing only
    VKORG as exporting only. So when you enter an AUART you get all VKORG it is defined in. I'm not aware of a standard search help which matches the requirement. If anybody does please help me.
    i have header data (only mandatory fields),items data,partner data(all mandatory fields)
    and when i select all the header data the search help that is on the material number and partners role and number should appear corresponding to that header data
    You will have to be more specific sir..
    not able to apply please guide someone
    As for that just mention them in SCREEN->ELEMENT LIST->REFERENCES

  • F4 help for SC screen field

    Hi All,
       We are running on SRM 4.0 (Classic) with Integarted ITS.
       I have a query reagarding the change of ITS screen templates for the Shopping cart screen.
      On my SC screen,there is  a field called "Required on" which does not have any F4 help(Calendar)...I need to add the same for that field....
      Can anyone suggest what do I need to do for this?is this possible??
    regards,
    Disha.

    Yes,
    you have to modify HTML templates.
    in SRM 5.0, when looking at search criteria template SAPLBBP_PDH_SEARCH 1000, we can see some reference to the calendar from bbpglobal service:
    `<!-- -
    -->
    <!-- 1) Including BHTML functions for the calendar                         -->
    <!-- -
    -->`
    `include (~service="bbpglobal", ~name="BBP_EXT_WIN_CALENDAR.html")`
    `<!-- -
    -->
    <!-- 2) Introducing functions and initialization for the calendar          -->
    <!-- -
    -->`
    `BBP_ITS_EXTW_WindowHandling()`
    Then each date field has been changed to call this calendar:
            `if(GS_SEARCH_FIELD-CREATE_DATE_FROM.exists)`
    `<!-- -
    -->
    <!-- 3) Exchange of the <input ...> by the BHTML function for calendar     -->
    <!-- -
    -->`
                      `BBP_ITS_EXTW_INPUT(id="GS_SEARCH_FIELD-CREATE_DATE_FROM", type="text",
                                          title      = "",
                                          formname   = bbpformname,
                                          inputname  = "GS_SEARCH_FIELD-CREATE_DATE_FROM",
                                          inputvalue = GS_SEARCH_FIELD-CREATE_DATE_FROM.value,
                                          mode       = "1")`
    <!--
              <input type="text" id="GS_SEARCH_FIELD-CREATE_DATE_FROM" name="GS_SEARCH_FIELD-CREATE_DATE_FROM"
                     value="`MaskSpecialChar(GS_SEARCH_FIELD-CREATE_DATE_FROM.value)`" maxlength="010" size="10">
    -->
            `end`
    To help you further, here is the code of HTML template BBP_EXT_WIN_CALENDAR from global service:
    `declare
      BBP_ITS_EXTW_INPUT(id="", type="", title="",
                         formname = "",
                         inputname = "", inputvalue = "",
                         size = "10",
                         mode = "1",
                         mandatory = ""),
      BBP_ITS_EXTW_WindowHandling(),
    in "bbp_ext_win_calendar_def.html";`
    `include(~service="bbpglobal", style=style, ~name="bbp_ext_win_calendar_def.html");`
    And the HTML template BBP_EXT_WIN_CALENDAR_DEF:
    `include(~service="bbpglobal", ~name="generalhtmlb.html");`
    `include(~service="bbpglobal", ~name="bbpfunctions.html");`
    `
    <!-- -
    -->
    <!-- function to include a calendar input field.                           -->
    <!-- id        : ID of the <input> field                                   -->
    <!-- type      : Type of the <input> field                                 -->
    <!-- title     : Title of the <input> field (Tooltip-Text)                 -->
    <!-- formname  : Name of form to send back entered data                    -->
    <!-- inputname : Name of input field in form to send back entered data     -->
    <!-- inputvalue: Value of input field in form to send back entered data    -->
    <!-- size      : Number of possible input characters                       -->
    <!-- mode      : Change / Display mode                                     -->
    <!-- mandataory: Input must be done by user                                -->
    <!-- startdate : Javascript funtion to determine the inital value if the   -->
    <!--             input field is empty.                                     -->
    <!-- -
    -->
    `
    `function BBP_ITS_EXTW_INPUT(id="", type="", title="",
                                 formname = "",
                                 inputname = "", inputvalue = "",
                                 size = "10",
                                 mode = "1",
                                 mandatory = "",
                                 startdate = "")`
      `if ((inputvalue == "") && (startdate != ""))`   
      `end`
      `ltext=text`
      `if (ltype=="") ltype="text" end`
      `if (mode == "1")`
        <input id="`id`" type="`ltype`" title="`title`", name="`inputname`"
               value="`inputvalue`" size="10" onBlur="BBP_ITS_EXTW_CloseCalendar()">
        `if(~accessibility != "1")`
          `a_name = "a_" & inputname`    
          <a id="`a_name`" name="`a_name`"
             href="javascript:BBP_ITS_EXTW_OpenCalendarDomRel(window.document.`formname`.elements['`inputname`'], '`a_name`')">
             <img src="`mimeURL(~service="bbpglobal", ~language="", 
                                ~name="images/calendar/ico12_calendar.gif")`" border="0"></a>
        `end`
      `else`
        `inputvalue`
      `end`
    `end`
    `
    <!-- -
    -->
    <!-- including the javascript functions and initialising global variables  -->
    <!-- -
    -->
    `
    `function BBP_ITS_EXTW_WindowHandling()`
      <script type="text/javascript">
    ` <!--
      // Path to Calendar Icons
      -->`
      BBP_ITS_EXTW_IconPath_L1 =
          "`mimeURL(~service="bbpglobal", ~language="", ~name="images/calendar/Left1.gif")`";
      BBP_ITS_EXTW_IconPath_L2 =
          "`mimeURL(~service="bbpglobal", ~language="", ~name="images/calendar/Left2.gif")`";
      BBP_ITS_EXTW_IconPath_R1 =
          "`mimeURL(~service="bbpglobal", ~language="", ~name="images/calendar/Right1.gif")`";
      BBP_ITS_EXTW_IconPath_R2 =
          "`mimeURL(~service="bbpglobal", ~language="", ~name="images/calendar/Right2.gif")`";
    ` <!--
      -->`
      </script type="text/javascript">
      <script type="text/javascript">
    ` <!--
      // Path to Calendar scripts
      -->`
      BBP_ITS_EXTW_ScriptCal   =
          "`mimeURL(~service="bbpglobal", ~language="", ~name="script/extwin/BBP_ITS_EXTW_CALENDAR.js")`";
      BBP_ITS_EXTW_ScriptDate  =
          "`mimeURL(~service="bbpglobal", ~language="", ~name="script/extwin/BBP_ITS_EXTW_DATE.js")`";
      BBP_ITS_EXTW_ScriptW     =
          "`mimeURL(~service="bbpglobal", ~language="", ~name="script/extwin/BBP_ITS_EXTW_W.js")`";
    ` <!--
      -->`
      </script type="text/javascript">
      <script type="text/javascript">
    ` <!--
      // Path to Calendar style
      -->`
      BBP_ITS_EXTW_CalStyle   =
          "`mimeURL(~service="bbpglobal", ~language="", ~name="style/CALENDAR.css")`";
      BBP_ITS_EXTW_EBPStyle   =
          "`mimeURL(~service="bbpglobal", ~language="", ~name="style/EBPAPPLICATION.css")`";
    ` <!--
      -->`
      </script type="text/javascript">
      <script type="text/javascript"
          src="`mimeURL(~service="bbpglobal", ~language="",
                        ~name="script/extwin/BBP_ITS_EXTW_Date.js")`">
      </script type="text/javascript">
      <script type="text/javascript"
          src="`mimeURL(~service="bbpglobal", ~language="",
                        ~name="script/extwin/BBP_ITS_EXTW_Calendar.js")`">
      </script type="text/javascript">
      <script type="text/javascript"
          src="`mimeURL(~service="bbpglobal", ~language="",
                        ~name="script/extwin/BBP_ITS_EXTW_W.js")`">
      </script type="text/javascript">
      <script type="text/javascript">
    ` <!--
      // ITS Date and Time
      -->`
      BBP_ITS_EXTW_UsrDateFormat = `BBP_ITS_CAL_USRDATEFORMAT`;
      BBP_ITS_EXTW_DateFormat    = BBP_ITS_DAT_GetDateFormat("`~date`");
      BBP_ITS_EXTW_DateStart     = "`~date`";
      BBP_ITS_EXTW_TimeSystem    = "`~time`";
    ` <!--
      // Variables to follow on with date and time while template is not rebuildt.
      -->`
      BBP_ITS_EXTW_CLNTStart     = new Date();
      BBP_ITS_EXTW_CLNTNow       = BBP_ITS_EXTW_CLNTStart;
      BBP_ITS_EXTW_TMPLStart     =
          new Date(BBP_ITS_DAT_GetYear(BBP_ITS_EXTW_DateStart,BBP_ITS_EXTW_DateFormat),
                   (BBP_ITS_DAT_GetMonth(BBP_ITS_EXTW_DateStart,BBP_ITS_EXTW_DateFormat)-1),
                   BBP_ITS_DAT_GetDay(BBP_ITS_EXTW_DateStart,BBP_ITS_EXTW_DateFormat));
      BBP_ITS_EXTW_TMPLNow       = BBP_ITS_EXTW_TMPLStart;
    ` <!--
      -->`
      </script type="text/javascript">
      <script type="text/javascript">
    ` <!--
      // Read month names from resource
      -->`
      BBP_ITS_EXTW_Months = new Array                                                    
          ("`#M_JANUARY`","`#M_FEBRUARY`","`#M_MARCH`","`#M_APRIL`","`#M_MAY`","`#M_JUNE`",
           "`#M_JULY`","`#M_AUGUST`","`#M_SEPTEMBER`","`#M_OCTOBER`","`#M_NOVEMBER`","`#M_DECEMBER`");                    
      // Read day names from resource
      BBP_ITS_EXTW_Days = new Array                                                    
          ("`#D_MONDAY_ABREV`","`#D_TUESDAY_ABREV`","`#D_WENDSDAY_ABREV`","`#D_THURSDAY_ABREV`",
           "`#D_FRIDAY_ABREV`","`#D_SATURDAY_ABREV`","`#D_SUNDAY_ABREV`");                    
      BBP_ITS_EXTW_CWHeader  = "`#CWHEADER_ABREV`";
      BBP_ITS_EXTW_BtnTxt    = "`#TODAY`";
      BBP_ITS_EXTW_WTitle    = "`#WTITLE_CAL`";
      `BBP_BHTMLintoJSVar("BBP_ITS_EXTW_BtnSource",doubleQuotKeep(
         BBPButtonCode(okcode="", label=#TODAY, jsFunction="MToday()", tooltip=#TODAYTOOLTIP, target="", srcFrame="")))`;
    ` <!--
      -->`
      </script type="text/javascript">
      <script type="text/javascript">
    ` <!--
      // Opens the window and writes the html coding to it.
      // function executed when the calendar icon is clicked
      -->`
      function BBP_ITS_EXTW_OpenCalendarDomRel(fInput, anchor)
        BBP_ITS_EXTW_OpenCalendarInit(fInput, anchor);
        var options = BBP_ITS_EXTW_OpenCalendarOptions(fInput, anchor);
        `SRM_WinOpen(~wname="Calendar", ~wnamevariable="",
                     ~opt="", ~optvariable="options",
                     ~wref="BBP_ITS_EXTW_CW", ~wfunc="CALwriteLocal");`
    ` <!--
      // Function is executed when the new pop-up window is opened
      // The call is included in teh dummy HTML Mime dom_relax(i).html in the
      // service BBPGLOBAL.
      // The document content of the new opened window will be overwritten here.
      -->`
      function CALwriteLocal(w)
        BBP_ITS_EXTW_CW = w;
        `if(toupper(~language) == "HE")`
        w.document.write(BBP_ITS_CAL_WritePage_HE(BBP_ITS_EXTW_WTitle,
                                                  BBP_ITS_EXTW_ScriptCal,
                                                  BBP_ITS_EXTW_CalStyle,
                                                  BBP_ITS_EXTW_EBPStyle));
        `else`
        w.document.write(BBP_ITS_CAL_WritePage(BBP_ITS_EXTW_WTitle,
                                               BBP_ITS_EXTW_ScriptCal,
                                               BBP_ITS_EXTW_CalStyle,
                                               BBP_ITS_EXTW_EBPStyle));
        `end`
        w.document.close();
    ` <!--
      -->`
      </script type="text/javascript">
    `end`
    As you can see there is a lot of mofifications to do...
    Rgds
    Christophe

  • How to provide the F4 help to a screen field via enhancement

    Hi,
    I have a transaction code IL01(Creating Functional Locations).
    In the second screen of FL creation,we can find 'Room' field under 'Location' tab.
    At present, it doesn't have F4 help.
    Could you please suggest me to provide the F4 help to this field via enhancement.
    I have values of that field in ine internal field.
    Thanks&Regards,
    VRLREDDY

    Hi,
    try something like this:
    INITIALIZATION.
      SELECT * INTO CORRESPONDING FIELDS OF TABLE so_setheader
               FROM    setheader
               WHERE   setclass = '0000'.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_kost-low.
    * F4 uitvoeren
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'setname'
          dynprofield = 'so_kost'
          dynpprog    = sy-cprog
          dynpnr      = sy-dynnr
          value_org   = 'S'
        TABLES
          value_tab   = so_setheader.
    AT SELECTION-SCREEN ON so_kost.
      READ TABLE so_setheader INTO wa_so_setheader WITH KEY setname = so_kost-low.
      IF sy-subrc NE 0.
        so_kost = space.
        MESSAGE e333(s1) WITH 'Does not exist!'.
        STOP.
      ENDIF.
    Adibo.

  • Prob to fill 2 screen fields thru F4 help on one screen field

    Hi,
    I have 2 fields on selection screen - MATNR and MTART. I want to have F4 help on MATNR only and based on the value selected I need to fill the MTART field also. I am using FM : F4IF_INT_TABLE_VALUE_REQUEST.
    I found on net that it can be done using either DYNPFLD_MAPPING or CALLBACK_FORM. I used both one by one but did not get the required result. Only the P_MATNR is getting populated after F4 and not P_MTART.
    My code is as below:
    TYPES: BEGIN OF ty_mara,
            matnr TYPE matnr,
            mtart TYPE mtart,
           END OF ty_mara.
    DATA: i_tab TYPE STANDARD TABLE OF ty_mara,
          i_return TYPE STANDARD TABLE OF ddshretval,
          record_tab  TYPE STANDARD TABLE OF seahlpres,
          i_map TYPE STANDARD TABLE OF dselc,
          wa_map TYPE dselc.
    SELECTION-SCREEN BEGIN OF BLOCK a.
    PARAMETERS: p_matnr TYPE matnr,
                p_mtart TYPE mtart.
    SELECTION-SCREEN END OF BLOCK a.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
      SELECT matnr
             mtart
        FROM mara
        INTO TABLE i_tab
        WHERE mtart = 'FERT'.
      wa_map-fldname = 'MTART'.
      wa_map-dyfldname = 'P_MTART'.
      APPEND wa_map TO i_map.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
        DDIC_STRUCTURE         = ' '
          retfield               = 'MATNR'
        PVALKEY                = ' '
         dynpprog               = sy-repid
         dynpnr                 = sy-dynnr
         dynprofield            = 'P_MATNR'
        STEPL                  = 0
        WINDOW_TITLE           =
        VALUE                  = ' '
         value_org              = 'S'
        MULTIPLE_CHOICE        = ' '
        DISPLAY                = ' '
         callback_program       = sy-repid
         CALLBACK_FORM          = 'F4CALLBACK'
        MARK_TAB               =
      IMPORTING
        USER_RESET             =
        TABLES
          value_tab              = i_tab
        FIELD_TAB              =
         return_tab             = i_return
         dynpfld_mapping        = i_map
       EXCEPTIONS
         parameter_error        = 1
         no_values_found        = 2
         OTHERS                 = 3
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ELSE.
      ENDIF.
      FORM F4CALLBACK
         TABLES   RECORD_TAB  STRUCTURE SEAHLPRES
         CHANGING SHLP TYPE SHLP_DESCR
                  CALLCONTROL LIKE DDSHF4CTRL.
      DATA: INTERFACE LIKE LINE OF SHLP-INTERFACE.
    INTERFACE-VALTABNAME = 'DYNP'.
      INTERFACE-VALFIELD = 'P_MTART'.
      MODIFY SHLP-INTERFACE FROM INTERFACE
             TRANSPORTING
            VALTABNAME
             VALFIELD
             WHERE SHLPFIELD = 'MTART'.
    ENDFORM.
    I may be missing something... Please help me.

    Hi ,
    Please go though this thread.
    [Re: F4_int_table_value_request]
    This will solve your issue.
    Regards
    DKS

  • Attaching search help to SCREEN FIELDS AND TABLE FIELDS

    Hello experts,
    Himanshu here.
    Could you please explain how we can assign search Help to a screen field AND TABLE FIELDS in ABAP?
    Please reply at the earliest,as we have some deliverables to be met
    Thanks

    Hi,
    In the initial screen of the ABAP Dictionary, select object class Search help, enter the name of the search help and choose Create.
    A dialog box appears in which you must select the type of search help.
    Select Collective search help and choose .
    The maintenance screen for collective search helps is displayed.
    Enter an explanatory text in the field Short text.
    You can for example find the search help at a later time using this short text.
    In the Definition tab page enter the parameters of the collective search help.
    Select the Imp flag if it is an import parameter. Select the Exp flag if it is an export parameter.
    Define the types for the parameters of a collective search help by assigning a data element. Enter the name of the data element that describes the contents of the search help parameter in the Data element field.
    You can assign the parameter a default value in the Default value field.
    In exceptions it could be necessary to change the standard process defined by the search help. You can implement the deviation from the standard using a search help exit.
    In this case enter the name of the search help exit in the corresponding field.
    On the Included search helps tab page, define the search helps that you want to include in the collective search help.
    You can include elementary search helps and collective search helps.
    Use the Hide flag to control whether an included search help should appear in the dialog box for selecting the elementary search help. If the flag is set, the search help is not offered.
    It makes sense to hide search help inclusions if one or more search paths in the standard system should not be used in a concrete R/3 System. Similarly, search help inclusions can also be already hidden in the standard system because they only can be used meaningfully in a few R/3 Systems. You have to cancel the flag in this case.
    Position the cursor one after the other on each allocated search help and choose Parameter assignment.
    In the next screen, enter the parameter names of the elementary search helps to which the corresponding parameters of the collective search help should be assigned in the field Reference parameter.
    You can select the parameters contained in the included search help using the input help. Create a proposal for the assignment with Proposal.
    Save your entries.
    A dialog box appears in which you have to assign a development class to the search help.
    Choose .
    Result
    The collective search help is activated. You can find information about the activation flow in the activation log, which you can display with Utilities ® Activation log. If errors occurred when the collective search help was activated, the activation log is automatically displayed.
    Do not forget to link the search help to a screen field. The search help attachment is not part of the search help definition; it is part of the object definition to which the search help is attached.
    regards,
    veeresh.

Maybe you are looking for

  • SQL - Multiple rows in a single column

    Hi everyone, I have a little question, The result of my query looks like this: VALOR HERRERA ANDREW CHARLES But I need they look like this: VALOR HERRERA - ANDREW - CHARLES How I can do that without using PL/SQL? Thanks for the help.

  • How to check configuration?

    I have File2File configuration scenario. Result after executing Check Function from menu No errors identified during check Sender works OK But Receiver cannot get a message XIChannel_FileReceiver Receiver Adapter v1027 for Party '', Service 'ABP_File

  • Displaying Date types in the grid control

    I have a grid control and one of the column is displaying 'Date' type data. I am able to see the Date values in the grid, if I define the return type of the getter function as String format. But the problem with this is, when I click on the Date colu

  • Mail reverses display of "from" and "recipient" fields

    Mail 7.1 is reversing the display of the from and recipient fields on the message list window on my Exchange 2010 Account.  So all messages appear to be coming from my address.  In the case of multiple recipients, the multiple recipients are listed a

  • Solution Architecture Diagram for an Internet, Intranet Scenario

    Can someone point me to a link which has a typical solution architecture diagram (logical, deployment, anything) for a SharePoint 2013 Internet/Intranet scenario.