Search Help Selection Screen Window Title

Hi Experts,
I have created a search help in se11 with import as well as export parameter.
While I press F4 on the field to which it is assigned then Search Help seelction screen opens up with a Window Tilte 'Sede Tecnica(1)' i.e. some standard text.
Can I change this F4 window title to user custom label?
Thanks
Depesh

Hi Depesh
While creating the search help exit following parameters are mandatory.
Changing
SHLP           TYPE     SHLP_DESCR
CALLCONTROL  TYPE     DDSHF4CTRL
Tables
SHLP_TAB         TYPE     SHLP_DESCT
RECORD_TAB  LIKE     SEAHLPRES
Regards
Bala

Similar Messages

  • How to pass the default value to search help selection screen

    Hi
    I need to push a certain value as a default value based on a condition to the slection screen of search help in web UI.
    Could you please let me know how can we do this?
    When we try to open the 'F4' help in web ui then it should populate a certain value as a default value to the selection screen of this 'F4' help. We will get this  default value based on condition.
    Regards
    Anil

    Hi Arun
    I'm using SE11 search help.I'm giving you my code for your reference here.
    DATA:
        ls_map    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
        lt_inmap  TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lr_qs           TYPE REF TO cl_crm_bol_dquery_service,
        lr_current     TYPE REF TO if_bol_bo_property_access,
        lv_category    TYPE STRING.
      ls_map-context_attr = 'struct.zzattr_i_1'.
      ls_map-f4_attr      = 'ATTRIBUTE'.
      APPEND ls_map TO: lt_inmap,lt_outmap.
      CLEAR ls_map.
      ls_map-context_attr = 'struct.zzattr_i_1'.
      ls_map-f4_attr      = 'SERVICE_LINE'.
      APPEND ls_map TO: lt_inmap.
      CREATE OBJECT rv_valuehelp_descriptor
        TYPE
          cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id                  = 'ZATTR1'
          iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
          iv_trigger_submit           = abap_true
          iv_input_mapping            = lt_inmap
          iv_output_mapping           = lt_outmap.
    Here 'ZATTR1' is my search help name in SE11 and the field which is having 'F4' help is 'ATTRIBUTE'.
    Now when I press 'F4' on 'ATTRIBUTE' then it will give a popup and this popup is having 3 fields..
    1.'ATTRIBUTE'
    2.'SERVICE_LINE'
    3.Description of 'SERVICE_LINE'  and hence by pressing 'F4' i should get a value in the field 'SERVICE_LINE' based on
       a condition.
    However, if there is a value for ATTRIBUTE on the screen and when we press 'F4' on this then in the popup the value of
    ATTRIBUTE which is there on the screen is appearing in the 'ATTRIBUTE' field  and the same value is being copied to
    'SERVICE_LINE' field in the popup.
    Please guide me how do we populate the value to 'SERVICE_LINE' field inside the search help popup of 'ATTRIBUTE'.
    Best Regards
    Anil

  • How to Increase the Selection screen window length width big....

    How to Increase the Selection screen window length width big....  I cant able to do some enter text... because of the window size it gives error... can anyone help me out this...
    Thanks in advance

    hi,
    Maximum size is fixed for selection-screen.
    Split your text into different lines to fit it.
    Create a text element for your text and write it as comments.
    selection-screen begin of block b3 with frame title text-041.
      selection-screen begin of line.
        parameters : p_all radiobutton group g2 default 'X'.
        selection-screen comment 10(75) text-049.
      selection-screen end of line.
      selection-screen begin of line.
        parameters : p_iloc radiobutton group g2.
        selection-screen comment 10(75) text-050.
      selection-screen end of line.
    selection-screen end of block b3.
    Regards
    Sailaja.

  • How to go back to the previous selection screen window?

    I have a selection screen and I have a button that calls a basic report and displays it on screen 0. The basic report is displaying however when I push the back button the program exits.
    If I use "set screen 0" and if I press back button, the program goes to the code. It does exit.
    If I use "leave to list processing" and if I press back button, the screen is just stuck on that screen 0 forever.
    What I want is to go back to the selection screen window when I press the back button at the top.
    <b>Pls help. Im a newbie. Thanks people. </b>
    at selection-screen.
    case SY-UCOMM.
      when 'BTN1_PUSH'.            " Calls Plain Report
          set screen 0.
          perform plainreport.
      when 'BTNEXIT_PUSH'.
        leave program.
    endcase."

    Hi Jabbar,
    The reason it is exiting the program is because you are using set screen.
    Try the following instead:
    at selection-screen.
    case SY-UCOMM.
      when 'BTN1_PUSH'.            " Calls Plain Report
           call screen 0.
          perform plainreport.
      when 'BTNEXIT_PUSH'.
        leave program.
    endcase."
    Think of the call screen command as a chain that the program follows and exits the previous. When you say set screen you are leaving the history in the program and it will always go back to the last screen it remembers which is why you were stuck in screen 0.

  • F4_FILENAME in search help in screen painter

    Hello gurus,
    I want to design a screen in which the text input field is used to get file name. For that i need to enable file search in local folders and drives with f4 key press. I wish to use the functionality of function module 'F4_FILENAME" in screen painter. How can i do that?
    I tried creating search help for RLGRAP structure. It compiles fine but gives the message 'No inout for selection'.
    What should i do?

    Thank you all,
    The problem has been solved.
    I am posting the final code.
    1. In se38, i created program zprogram.
    2. In se51, i created a screen for the program zprogram.
    3. In layout, i took 2 buttons and one input/output field.
    1st button for import and 2nd button for exit.
    4.In flow logic-
    i wrote the follwing code.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_100.
    PROCESS AFTER INPUT.
    PROCESS ON VALUE-REQUEST.
    FIELD FILENAME1 MODULE F4_FILE_SEARCH.
    5. IN THE MAIN PROGRAM
    i wrote the following code-
    REPORT ZPROGRAM.
    DATA: FILENAME1 TYPE RLGRAP-FILENAME,
               OK_CODE TYPE SY-UCOMM.
    CALL SCREEN 100.
    MODULE F4_FILE_SEARCH INPUT.
    OK_CODE = SY-UCOMM.
    CALL FUNCTION 'F4_FILENAME'
    EXPORTING
        FIELD_NAME         = 'FILENAME1'
    IMPORTING
        FILE_NAME           = FILENAME1
    ENDMODULE.
    MODULE STATUS_100 OUTPUT.
    CASE OK_CODE.
    WHEN 'IMPORT'.
    MESSAGE 'THE FILE IS RECIEVED' TYPE 'I'.
    WHEN 'CANCEL'.
    LEAVE PROGRAM.
    ENDCASE.
    ENDMODULE.
    I REFERRED TO THE DEMO PROGRAM MENTIONED
    IN OTHER POST
    NAME OF THE DEMO PROGRAM IS - DEMO_DYNPRO_F4_HELP_MODULE

  • Search help on screen

    hi all,
    I have two screen fields to which i have attached search helps dynamically (using function module F4IF_INT_TABLE_VALUE_REQUEST. The scenario is that i want to select the first field and depending on the value entered, i want to restrict the search help on the second field. eg: i select material (mara-matnr) and depending on the material, i want to show only the related plants (marc-werks for the material).
    The issue is that when i write a select to populate the fields in the value_tab internal table(returned by the function module F4IF_INT_TABLE_VALUE_REQUEST, i write the following...
    select werks from marc into (l_werks)
    where matnr eq i_matnr.
    where i_matnr is the screen field.
    the selected material is not populated in i_matnr. However, while executing the PAI, the value can be seen.
    What i rather want is this to be available in POV. since the module containing the above code is written in POV.
    is there something i m missing?
    if not then what could be the possible ways to get around this.?
    I hope the problem is clear. Awaiting answers...
    regards,
    PJ

    Hi,
    Check this sample code
    F4IF_INT_TABLE_VALUE_REQUEST F4 help that returns the values selected in an internal table. Very handy when programming your very own F4 help for a field.
    Example:
      data:
        begin of t_values occurs 2,
          value like kna1-begru,
        end of t_values,
        t_return like ddshretval occurs 0 with header line.
      t_values = 'PAR*'.
      append t_values.
      t_values = 'UGG'.
      append t_values.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield        = 'BEGRU'
                value_org       = 'S'
           tables
                value_tab       = t_values
                return_tab      = t_return
           exceptions
                parameter_error = 1
                no_values_found = 2
                others          = 3.
      if sy-subrc = 0.
        read table t_return index 1.
        o_begru-low = t_return-fieldval.
        if o_begru-low = 'PAR*'.
          o_begru-option = 'CP'.
        else.
          o_begru-option = 'EQ'.
        endif.
        o_begru-sign = 'I'.
        append o_begru to s_begru.
      else.
        o_begru = i_begru.
      endif.
    F4IP_INT_TABLE_VALUE_REQUEST This function does not exist in 4.6 and above. Use F4IF_INT_TABLE_VALUE_REQUEST instead.
    Hope this helps.

  • Search help on screen elements

    Hi I have a screen where I need to include a seach help on the screen element.  The element itself is just a generic char 8 field with no dictionary reference.  I have tried using the VRM_SET_ VALUES in the PBO but as soon as I press enter it looses the value selected. So I have now tried the using the process on value_request but despite finding and populating 138 values in the search help pop up, the actual pop up screen shows a blank list, with the text at the bottom saying 138 values.
    Any ideas what I am doing wrong?
    Set list values
        call function 'VRM_SET_VALUES'
          exporting
            id              = lv_vrm_id
            values          = it_values
          exceptions
            id_illegal_name = 1
            others          = 2.
        if sy-subrc <> 0.
       MESSAGE I000 WITH 'Failed to populate username list values'.
        endif.
    process on value-request.
      field my_field module fill_my_field.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
          retfield        = 'MY_FIELD
          dynprofield     = 'MY_FIELD'
          value_org       = ' '
          dynpprog        = progname
          dynpnr          = dynnum
        tables
          value_tab       = it_values "it contains 2 fields that will be shown in the list box
        exceptions
          parameter_error = 1
          no_values_found = 2
          others          = 3.

    I'm still having problems with this.  Here is my VRM set values - the problem I have with this is as soon as i choose a value from the list and press enter, the value dissappears from the screen element:
    data: lv_vrm_id(80)    type c.
        data: lv_key(3)        type n value 1,
              lv_index         type sy-tabix.
        data: it_values  type standard table of vrm_value,
              s_values   type vrm_value.
        lv_vrm_id = i_type.
        lv_key    = 1.
        clear it_values.
        loop at it_cabn into s_cabn
                        where ATNAM = i_type.
          read table it_cawn into s_cawn with key atinn = s_cabn-atinn
                                         binary search.
          while s_cawn-atinn = s_cabn-atinn.
            lv_index = sy-tabix.
            s_values-key  = 1.
            s_values-text =   s_cawn-ATWRT.
            condense s_values-text.
            append s_values to it_values.
            add 1 to lv_key.
            lv_index = lv_index + 1.
            read table it_cawn into s_cawn index lv_index.
            if sy-subrc <> 0.
              exit.
            endif.
          endwhile.
        endloop.
    * Set list values
        call function 'VRM_SET_VALUES'
          exporting
            id              = lv_vrm_id
            values          = it_values
          exceptions
            id_illegal_name = 1
            others          = 2.
        if sy-subrc <> 0.
    *    MESSAGE I000 WITH 'Failed to populate username list values'.
        endif.
    And here is my code for the F4 lookup - the problem here is that the search help pop dispklays nothing depsite saying it has 138 values.  I am wondering if its my it_values that is the wrong format, or is it the fact that my field type doesn't point to a dictionary element?
    TYPES: BEGIN OF ty_values,
               type(8),
               descr(20),
             END OF ty_values.
      DATA: it_values TYPE STANDARD TABLE OF ty_values,
            s_values  type ty_values.
      data: lv_key(3)        type n value 1,
            lv_index         type sy-tabix.
    * Build lookup values for wood type test
      clear it_values.
      loop at it_cabn into s_cabn
                      where atnam = i_type.
        read table it_cawn into s_cawn with key atinn = s_cabn-atinn
                                       binary search.
        while s_cawn-atinn = s_cabn-atinn.
          lv_index = sy-tabix.
    *      s_values-key  = 1.
    *      s_values-value1 =   s_cawn-atwrt.
          s_values-type =   s_cawn-atwrt.
          append s_values to it_values.
          lv_index = lv_index + 1.
          read table it_cawn into s_cawn index lv_index.
          if sy-subrc <> 0.
            exit.
          endif.
          add 1 to lv_key.
        endwhile.
      endloop.
    DATA: progname TYPE sy-repid,
          dynnum   TYPE sy-dynnr,
          dynpro_values TYPE TABLE OF dynpread,
          field_value LIKE LINE OF dynpro_values.
      progname = sy-repid.
      dynnum   = sy-dynnr.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
          retfield        = 'ATWRT'
          dynprofield     = 'TYPE'
          value_org       = ' '
          dynpprog        = progname
          dynpnr          = dynnum
        tables
          value_tab       = it_values "it contains 2 fields that will be shown in the list box
        exceptions
          parameter_error = 1
          no_values_found = 2
          others          = 3.
      if sy-subrc <> 0.
      endif.

  • Search help - input screen

    Hi,
    i want to build a search help. it should be like when we click F4 on the field, it should give the screen with input field (field1) and if we enter the value in the field, it should display the corresponding values (field2) for the input field. when user clicks the field, it should retrieve the field2.
    and we should also  be able to default the input field and also set the no of entries to be displayed
    Can anyone let me know how to create this kind of search help
    Thanks
    Shekhar

    Hi shekar..
    just see this sample code..
      SELECT carrid carrname
                    FROM scarr
                    INTO CORRESPONDING FIELDS OF TABLE itab_carrid.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'CARRID'
                      dynpprog    = gv_repid
                      dynpnr      = gv_dynnr
                      dynprofield = 'S_field-LOW'
                value_org       = 'S'
           TABLES
                value_tab       = itab_carrid
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc <> 0.
    ENDIF.
    wirte one more select query with where condition = s_field-low. into table itab2 to provide search help for 'S_field11-LOW' on same screen..
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'CARRID11'
                      dynpprog    = gv_repid
                      dynpnr      = gv_dynnr
                      dynprofield = 'S_field11-LOW'
                value_org       = 'S'
           TABLES
                value_tab       = itab2
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc <> 0.
    ENDIF.
    just follow this code.. all the best..
    Thanks
    GSANA

  • Search help for screen fields in module pool

    Hi All,
    I have a screen in Module pool which has 3 input fields, each input field is attached to the same search help.
    These fields are from ztable . I have created a search help USING these 3 fields. All the 3 fields are marked for IMPORT and EXPORT.
    So whenever i click F4 on any of the above 3 fields, It will display search help popup and returns some rows...But the values are transfered back only for 1 fields ..i.e for the first field only .
    I want that ...as soon as i select any of the row from Search hit list..all the 3 columns should get populated with corresponding fields from that row.
    I require it this way as user wants to select based on * selection.Ex: as then every this related to that should be popped up.
    Pls help ASAP
    Thanks,

    This is how i got.
    data:l_shlp type SHLP_DESCR,
    l_rc type sy-subrc,
    w_DDSHRETVAL type DDSHRETVAL ,
    ls_shintf LIKE LINE OF l_shlp-interface,
    t_DDSHRETVAL type TABLE OF DDSHRETVAL.
    DATA: dyname LIKE d020s-prog,
    dynumb LIKE d020s-dnum.
    DATA: BEGIN OF dynpfields OCCURS 3.
    INCLUDE STRUCTURE dynpread.
    DATA: END OF dynpfields.
    CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
    EXPORTING
    SHLPNAME = 'YTESTDMSSB'
    SHLPTYPE = 'SH'
    IMPORTING
    SHLP = l_shlp .
    ls_shintf-valfield = 'X'.
    MODIFY l_shlp-interface FROM ls_shintf TRANSPORTING valfield
    WHERE shlpfield = 'SNNTX'.
    MODIFY l_shlp-interface FROM ls_shintf TRANSPORTING valfield
    WHERE shlpfield = 'SBRTX'.
    MODIFY l_shlp-interface FROM ls_shintf TRANSPORTING valfield
    WHERE shlpfield = 'SBSTX'.
    MODIFY l_shlp-interface FROM ls_shintf TRANSPORTING valfield
    WHERE shlpfield = 'ENPTX'.
    MODIFY l_shlp-interface FROM ls_shintf TRANSPORTING valfield
    WHERE shlpfield = 'PLANT_CODE'.
    CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
    EXPORTING
    SHLP = l_shlp
    DISPONLY = ' '
    MAXRECORDS = 500
    MULTISEL = 'X'
    CUCOL = SY-CUCOL
    CUROW = SY-CUROW
    IMPORTING
    RC = l_rc
    TABLES
    RETURN_VALUES = t_DDSHRETVAL
    IF l_rc = 0.
    LOOP AT t_DDSHRETVAL INTO w_DDSHRETVAL.
    CASE w_DDSHRETVAL-fieldname.
    WHEN 'SNNTX'. "W_SNNTX = w_DDSHRETVAL-fieldval.
    dyname = sy-repid.
    dynumb = sy-dynnr.
    dynpfields-fieldname = 'W_SNNTX'.
    dynpfields-fieldvalue = w_DDSHRETVAL-fieldval.
    APPEND dynpfields.
    WHEN 'SBRTX'. "W_SBRTX = w_DDSHRETVAL-fieldval.
    dyname = sy-repid.
    dynumb = sy-dynnr.
    dynpfields-fieldname = 'W_SBRTX'.
    dynpfields-fieldvalue = w_DDSHRETVAL-fieldval.
    APPEND dynpfields.
    WHEN 'SBSTX'. "W_SBSTX = w_DDSHRETVAL-fieldval.
    dyname = sy-repid.
    dynumb = sy-dynnr.
    dynpfields-fieldname = 'W_SBSTX'.
    dynpfields-fieldvalue = w_DDSHRETVAL-fieldval.
    APPEND dynpfields.
    WHEN 'ENPTX'. "W_ENPTX = w_DDSHRETVAL-fieldval.
    dyname = sy-repid.
    dynumb = sy-dynnr.
    dynpfields-fieldname = 'W_ENPTX'.
    dynpfields-fieldvalue = w_DDSHRETVAL-fieldval.
    APPEND dynpfields.
    WHEN 'PLANT_CODE'. "W_ENPTX = w_DDSHRETVAL-fieldval.
    dyname = sy-repid.
    dynumb = sy-dynnr.
    dynpfields-fieldname = 'W_WERKS'.
    dynpfields-fieldvalue = w_DDSHRETVAL-fieldval.
    APPEND dynpfields.
    ENDCASE.
    ENDLOOP.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
    dyname = dyname
    dynumb = dynumb
    TABLES
    dynpfields = dynpfields.
    ENDIF.

  • Search help in Screen Painter

    Hi Experts,
    I have created a structure in which I have a Date field of type sy-datum. After putting the date field from the structure to the screen painter. When I test the screen in se51 I am getting the search help for date. But when I test thru transaction, I am not getting the search help.
    Can some one please help me with this.
    Thanks.

    Hi Suzie,
    Thanks for the reply. I checked my transaction. Since it is a module pool program I have selection the option Program and Screen (DIALOG TRANSACTION ). I have given my program name and screen num. The check box Maintain of standard transcation variant allowed is checked by default. I have check all the three GUI support checkboxes.
    That is what I have done. Am I doing anything wrong?
    Thanks.

  • 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.

  • Search Help calling screen

    Hi Guys,
    please.. How can a Search Help implement a "CALL SCREEN" command?
    I have a problem in a ABAP WebDynpro app, apparently because the search help is calling a SCREEN from the program SAPLSZA1, and I have to undo this. It shouldn't call.
    This is the error message:
    "Sending of dynpro SAPLSZA1 0201 not possible: No window system type specified"
    The search help is KRED.
    Any idea??
    Thanks!

    I have tried both. Same problem..
    But the real problem is that I can not reproduce this in DEV. It only happens in QAS, and i can not find what is different. All the objects that I have checked so far (Search Help, Program, etc.) have no differences.
    Tks

  • Search Help CALL SCREEN

    Hi Guys,
    please.. How can a Search Help call a SCREEN ?
    I have a problem in a ABAP WebDynpro app, apparently because the search help is calling a SCREEN from the program SAPLSZA1.
    This is the error message:
    "Sending of dynpro SAPLSZA1 0201 not possible: No window system type specified"
    The search help is KRED.
    Any idea??
    Thanks!

    Hi,
    it can call screen using search help exit. KRED is a collective search and for example it contains search help KREDY. This search help uses exit F4IF_SHLP_EXIT_VENDOR_FUZZY. It is just a function module.
    Cheers

  • Search help selection doesn't transfer the value

    Hi.
    I have a strange situation. I have created a search help on a custom view. The results and everything is populated correctly in result but when i select the value it is not transferred to the input field. I have marked the field as exporting parameter so that it should go to input field but no avail.
    This search help is part of a collective search help and parameters of collective serach helpmatch with my custom additional search help. Both places the output field is marked as export parameter.
    Any help would be appreciable.
    I serached for notes: Note 571027 - Search help control: no values copied and note: 701123.
    Wanted to know if somebody has faced this issue.
    Regards
    Apoorva

    Hello,
    Sometimes it happens, my solution, in order to not take too long time I write for instance...
    FORM match01   TABLES   sel dest
                   USING    invalue
                   CHANGING selvalue.
      DATA: BEGIN OF t1 OCCURS 2,
        j_1afitp LIKE j_1afitpvt-j_1afitp,
        text60 LIKE j_1afitpvt-text60,
      END OF t1.
    * Returned value
      DATA: BEGIN OF r1 OCCURS 1.
              INCLUDE STRUCTURE ddshretval.
      DATA: END OF r1.
    * Select data
      SELECT * FROM j_1afitpvt
      INTO CORRESPONDING FIELDS OF TABLE t1 WHERE spras EQ sy-langu.
    * SAP standard function to display table as matchcode selection
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield     = 'J_1AFITP'
          window_title = 'Select'
          value_org    = 'S'
        TABLES
          value_tab    = t1
          return_tab   = r1
        EXCEPTIONS
          OTHERS       = 1.
    * Return selected value
      IF sy-subrc = 0.
        selvalue = r1-fieldval.
        SET PARAMETER ID 'ZJ_1AFITP' FIELD selvalue.
      ENDIF.
    And then I attach that metod to the corresponding event, either if it is a dynpro, or normal selection screen.
    Bye!!
    Gabriel P.-

  • Search help for screen field.

    Hi all,
    I had created a dataelement(ZZ_XXXXX) usig domain (LAND1). this LAND1 has a value table.
    I have created a field on database table. Now when i add this field on screen, I am not getting F4 help for this field.
    Can anyone suggest me how to F4 help for this field from the value table.
    Thanks in advance.
    regards,
    NarsiReddy.

    Hi Narsi,
    Make the field as a key field in table or
    Create Search Help.
    Regards,
    Venkat.

Maybe you are looking for

  • Too many real instruments; Need help bouncing tracks

    Hello, I've been using GarageBand to record a demo for my band. Unfortunately, I've hit my peak number of real instrument tracks. I have a lot of tracks that are the same (well, not EXACTLY the same, but the same musical part), where one is panned le

  • Hard drive crashed need to restore iphotos from Time Machine

    I need some serious help. I have a 24inch intel imac and my hard drive failed. I thought I had everything backed up on my external hard drive via Time Machine (my last backup was April 11th) so I replaced the hard drive. Once I reinstalled Leopard 10

  • Using a button to check an input text field

    I am an educator and I am designing an interactive activity for my students. I created two buttons named button_B and button_G, and an input textfield named in_Text.  When a student presses button_B, the letter "B" is entered into the input text fiel

  • Converting query to use joins

    My current query works perfectly. SELECT so.* FROM shipping_order so WHERE (so.submitter = 20) OR (so.requestor_id IN (SELECT poc.objid FROM point_of_contact poc WHERE poc.ain = 20)) OR so.objid IN (SELECT ats.shipping_order_id FROM ac_to_so ats WHER

  • Help! Please! ios7 problem

    I updated my ipad to ios7. It worked fine for about 24 hours. BUt when I tried to download the update for some apps it  froze. I tried rebooting but when it is turned back on it shows the same frozen screen. I then connected it to my pc but still can