Search help

How to use a search help exit in module pool.

Hi,
Refer to this link
http://help.sap.com/saphelp_47x200/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm
http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_exit.htm
http://fuller.mit.edu/tech/search_helps.ppt#269,15,Search help exits - 1
Thanks.

Similar Messages

  • F4 search help is not getting displayed in WAD

    Hi all,
    For a certain InfoObject we want to add an attribute in the F4-search help. The additional attribute does appear when executing the query in the Bex Analyzer but not on the Web. Can anyone tell me how to achieve this in WAD?
    Thanks in Advance

    Hi all,
    For a certain InfoObject we want to add an attribute in the F4-search help. The additional attribute does appear when executing the query in the Bex Analyzer but not on the Web. Can anyone tell me how to achieve this in WAD?
    Thanks in Advance

  • Issue in custom search help for Suggest Value

    Hi,
    I have a requirement to have the suggest values pick up the records form any par of the string. Basically, using pattern. I have written the code in search help exit and it work in some cases and doesnt work for others.Eg. The result shows up for 123 but doesnt show for 1234, even though 1234 exists and it had showed up when i keyed in 123.
    My select quest works fine and i can see the values in record tab but on the screen. What could be going wrong.
    Thanks in advance for your help.
    Pris.
    PS: the code:
    IF callcontrol-step = 'SELECT'.
        DATA:lwa_selopt TYPE  ddshselopt,
             lit_selopt_id TYPE RANGE OF yselxyz-builder_id,
             lwa_selopt_id LIKE LINE OF lit_selopt_id ,
             lit_selopt_desc TYPE RANGE OF yselxyz-builder_name,
             lwa_selopt_desc LIKE LINE OF lit_selopt_desc,
             lwa_header TYPE yselabc,
             lit_header TYPE STANDARD TABLE OF yselabc,
             lv_sel_val TYPE ddshselopt-low.
        READ TABLE shlp-selopt INTO lwa_selopt WITH KEY shlpfield = 'BUILDER_ID'."'DKEY'.
        IF sy-subrc EQ 0.
          lwa_selopt-option = 'CP'.
          CONCATENATE '*' lwa_selopt-low INTO lwa_selopt-low.
          MOVE-CORRESPONDING  lwa_selopt TO lwa_selopt_id.
          APPEND  lwa_selopt_id TO lit_selopt_id.
          MOVE-CORRESPONDING  lwa_selopt TO lwa_selopt_desc.
          APPEND  lwa_selopt_desc TO lit_selopt_desc.
          CLEAR:lit_header[],record_tab[].
          SELECT builder_id builder_name FROM yselxyz INTO TABLE lit_header
            WHERE ( builder_id IN lit_selopt_id )
           OR ( builder_name IN lit_selopt_desc ).
          SORT lit_header BY builder_id.
          DELETE ADJACENT DUPLICATES FROM lit_header COMPARING builder_id.
          CALL FUNCTION 'F4UT_RESULTS_MAP'
            EXPORTING
              source_structure  = 'YSELABC'
            TABLES
              shlp_tab          = shlp_tab
              record_tab        = record_tab
              source_tab        = lit_header
            CHANGING
              shlp              = shlp
              callcontrol       = callcontrol
            EXCEPTIONS
              illegal_structure = 1
              OTHERS            = 2.
          callcontrol-step = 'DISP'.
          EXIT.
        ENDIF.
      ENDIF.

    Issue Resolved. For less than 50 records, client side filtering takes over. In that case the search help exit will not come into picture. Issue resolved by avoiding client side rendering.
    callcontrol-maxexceed = 'X'.
    Thanks,
    Pris.

  • How to populate data in MPP through F4 search help(the field should get filtered as per key)

    Dear Experts.
    I am new to ABAP and hence trying jmy hands on various ways of peforming a task.
    I have a requirement. I want to maintain a database tables through MPP :  ZLT_Auftrag (Refer Screen Shot 1: Doubt MPP1) and ZLT_Kunde (Refer Screen Shot2: Doubt MPP2)
    The fields of ZLT_Kunde are: K1, K2, K3
    The fields of ZLT_Auftrag are: A1, A2, A3, A4, P1 P2 and P3 are related as per the key field "A3"   (Here A3 = K2)
    I want the User to be able to Maintain this table through the Screen that I had created using MPP. (Plz refer the attached Screen Shot3:Doubt MPP3  of the SCREEN in MPP)
    When I populate the Kunde name(K1) in the SCREEN (Can be done by F4 Search help), then on hitting the pushbutton "Get Kunde" the  kunde Code (K2) appears . Now from here it can be deleted or even a new Kunde name and code can be saved dirctly to the database table : ZLT_Kunde. (Refer Screen Shoot4: Doubt MPP4)
    For Example for Kunde (K1)= BASF, Kunde Code (K2) = BSF, the Auftrag should be all those values from ZLT_Auftrag (where A3 = BSF)
    When I try to populate the Auftrag value on the SCREEN then on hitting F4 (already created for table ZLT_Auftrag in se11) then I get all the values of Auftrag (A1) from the table ZLT_Auftrag. (Ply refer Screen Shot 5: Doubt MPP5)
    MY REQUIREMENT: Here I want that either through F4 help or through drop down ONLY those values of Auftrag-A1 should appear on the SCREEN which satisfies the condition: A3 = K2
    I am unbale to get how to do that.
    I need your valuable suggstions.
    Regards
    Chandan

    And the  code of the MPP is:
    *& Module Pool       SAPMZDEMO_MPOOL_03
    PROGRAM  SAPMZDEMO_MPOOL_03.
    TABLES:  ZLT_MITA, ZLT_Kunde, ZLT_Auftrag, Zlt_Stdsatz.
    DATA: flg_lock  TYPE c,
    *      indx  TYPE i,
    *      indxk TYPE i,
    *      indxa TYPE i,
    *      TCNT TYPE sy-tabix,
          lv_msgv1  TYPE  sy-msgv1.
    *DATA: it_mita    TYPE TABLE OF ZLT_mita,
    *      it_kunde   TYPE TABLE OF ZLT_KUNDE,
    *      it_auftrag TYPE TABLE OF ZLT_AUFTRAG.
    *&      Module  STATUS_9000  OUTPUT
    *       text
    module STATUS_9000 output.
      SET PF-STATUS 'ZSTATUS01'.
    *  SET TITLEBAR 'xxx'.
      If flg_lock is Not initial.
        LOOP at Screen.
      If screen-group1 = 'G1'.
      Screen-input = 0.
      MODIFY SCREEN.
           Endif.
        ENDLOOP.
          MESSAGE s000(8i) WITH 'Mitarbeiter already locked by user' lv_msgv1.
      ENDIF.
    endmodule.                 " STATUS_9000  OUTPUT
    *&      Module  USER_COMMAND_9000  INPUT
    *       text
    module USER_COMMAND_9000 input.
    *To Populate Data into Mitarbeiter through Pushbuttons
      CASE sy-ucomm.
        When 'OK_GET'.
          Clear : flg_lock.
            IF ZLT_MITA-M1 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_MITA
                Where M1 = ZLT_MITA-M1.
    *To create a Lock Object so that when two or more employees are accessing the same data
    * at the same time then for the new user the data gets locked and only can been seen in
    *display mode
            IF sy-subrc = 0.
            CALL FUNCTION 'ENQUEUE_EZLT_MITALOCK'
             EXPORTING
               MODE_ZLT_MITA        = 'E'
               MANDT                = SY-MANDT
               M1                   = ZLT_MITA-M1
    *           X_M1                 = ' '
    *           _SCOPE               = '2'
    *           _WAIT                = ' '
    *           _COLLECT             = ' '
             EXCEPTIONS
               FOREIGN_LOCK         = 1
               SYSTEM_FAILURE       = 2
               OTHERS               = 3
            IF sy-subrc <> 0.
              flg_lock = 'X'.
              lv_msgv1 = sy-msgv1.
            ENDIF.
            ENDIF.
            ELSE.
                MESSAGE S000(8i) With 'Enter Mitarbeiter Name'.
            ENDIF.
        When 'OK_SAVE'.
           Modify ZLT_MITA.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETE'.
            IF ZLT_MITA-M1 is NOT INITIAL.
                DELETE
                FROM  ZLT_MITA
                Where M1 = ZLT_MITA-M1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *     When 'OK_FIRST'.
    *           indx = 1.
    *     When 'OK_NEXT'.
    *           indx = indx + 1.
    *     When 'OK_PREV'.
    *           indx = indx - 1.
    *     When 'OK_LAST'.
    *           Describe Table it_mita lines indx.
    *To Populate Data into Kunde through Pushbuttons
        When 'OK_GETK'.
            IF ZLT_Kunde-K1 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Kunde
                Where K1 = ZLT_KUNDE-K1.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEK'.
           Modify ZLT_Kunde.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEK'.
            IF ZLT_KUNDE-K1 is NOT INITIAL.
                DELETE
                FROM  ZLT_KUNDE
                Where K1 = ZLT_KUNDE-K1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *To Populate Data into Auftrag Through Pushbuttons
        When 'OK_GETA'.
            IF ZLT_KUnde-K2 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Auftrag
                Where A3 = ZLT_Kunde-K2.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEA'.
           Modify ZLT_Auftrag.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEA'.
            IF ZLT_Auftrag-A1 is NOT INITIAL.
                DELETE
                FROM  ZLT_Auftrag
                Where A1 = ZLT_Auftrag-A1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
    *To Populate Data into Position Thorugh Pushbuttons
        When 'OK_GETP'.
            IF ZLT_Auftrag-A2 is NOT INITIAL.
                SELECT SINGLE *
                FROM  ZLT_Auftrag
                Where A3 = ZLT_Kunde-K2.
            ELSE.
                MESSAGE S000(8i) With 'Enter Kunde Name'.
            ENDIF.
        When 'OK_SAVEP'.
           Modify ZLT_Auftrag.
           IF sy-subrc = 0.
             MESSAGE s000(8i) With 'Data Saved'.
           ENDIF.
        When 'OK_DELETEP'.
            IF ZLT_Auftrag-A1 is NOT INITIAL.
                DELETE
                FROM  ZLT_Auftrag
                Where A1 = ZLT_Auftrag-A1.
              IF sy-subrc = 0.
                MESSAGE S000(8i) With 'Data deleted'.
              ENDIF.
            ENDIF.
        When 'OK_EXIT'.
           Leave Program.
        When 'OK_CLEAR'.
          Clear : ZLT_MITA, ZLT_KUNDE, ZLT_AUFTRAG.
    *              it_mita, it_kunde, it_auftrag,
          CALL FUNCTION 'DEQUEUE_EZLT_MITALOCK'
           EXPORTING
             MODE_ZLT_MITA       = 'E'
             MANDT               = SY-MANDT
             M1                  =  ZLT_MITA-M1
    *         X_M1                = ' '
    *         _SCOPE              = '3'
    *         _SYNCHRON           = ' '
    *         _COLLECT            = ' '
    ENDCASE.
    endmodule.                 " USER_COMMAND_9000  INPUT
    *&      Module  user_cmd_9000  INPUT
    *       text
    module user_cmd_9000 input.
      If sy-ucomm = 'OK_CANCEL'.
      LEAVE PROGRAM.
      ENDIF.
      IF sy-ucomm = 'OK_EXIT'.
          LEAVE PROGRAM.
      ENDIF.
    endmodule.                 " user_cmd_9000  INPUT

  • 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

  • Creating search help for a field in AdHoc Query

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

    Hi
    We have created an infoset based on LDB PCH.
    (The infoset contains object type O only).
    For the object-id field the users want search help when choosing this field for selection.
    Using "start via selection screen" does not give a good solution.
    Can anyone explain how I can create search help for fields in an infoset?
    Regards
    Kirsten

  • Question on Search Help and Authorization Check for Sales Order Type

    Question 1:
    When I go to VA01 and click the search help, it shows only order type that are not blocked.
    However, when I have sales order type in select-options of a Z program,
    S_AUART FOR VBAK-AUART
    I click on the search help, it gives all the sales order types. How can I have a list with unblocked sales order type only?
    Question 2:
    I want to check whether a use can extract data from a sales order type (e.g. OR and RE)that he/she authorized to use.
    I have include the following in my program:
    AUTHORITY-CHECK OBJECT 'AUART'
    ID 'AUART' FIELD 'OR'.
    It always returns SY-SUBRC = 12.
    But order type 'OR' is granted to the user (he/she can create order with type OR in VA01)
    Please kindly give me some ideas, thanks.

    hi,
    ad1
    use following code:
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR auart.
      PERFORM auartGet.
    FORM auartGet.
        CALL FUNCTION 'RV_HELP'
             EXPORTING
                  KEY            = VKORG
                  KEY2           = VTWEG
                  KEY3           = SPART
                  KEY4           = '0'
                  NUMBER         = '008'
                  FIELD_IN       = AUART
             IMPORTING
                  FIELD          = AUART.
    ENDFORM.
    ad2.
    example:
       AUTHORITY-CHECK OBJECT 'V_VBAK_AAT'
             ID 'AUART' FIELD 'OR'
             ID 'ACTVT' FIELD '01'. "01-create order, 02-change, 03 display
    check sy-subrc eq 0.
    regards,darek

  • Search Help Not show/display the data

    Dear All,
                  I have created a search help whith mannual itab of 4 entries. Itab is filled correctly, but when i see in the screen field it show the search help and display no record with the message 4 entries found; but I can't see the data.
    pls. guide me what can be the problem
    Thanks and Regards,
    Sohail

    Hi,
    If you want to Show the Search help for Particular Field in Screen painter , You must give the Code In PROCESS ON VALUE REQUEST(POV).
    ie.
    process on value-request.
      field P9611-REQ_STATUS  module GET_REQ_STATUS.
    and in Program Give the internal table Fieldname in Capital Letter while Passing in Fuctional Module.
    like.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield        = 'REQ_STATUS2'    "internal table field
          dynpprog        = sy-dynnr
          dynpnr          = sy-dynnr
          dynprofield     = 'P9611-REQ_STATUS' "screen field name
          value_org       = 'S'
        TABLES
          value_tab       = req_status_tab "internal table
        EXCEPTIONS
          parameter_error = 1
          no_values_found = 2
          OTHERS          = 3.
      IF sy-subrc  NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    With Regards
    Kesavaperumal

  • Not able to get the data in custom search help.

    Hi ,
    sorry was not aware of how to post a new thread.
    I am working on web UI and i need help asap.
    I want f4 help whose value depends on the other fields drop down.somhow i managed to get the values in local table and passed it to static attribute of the z class ZL_CRM_UIU_ZZORDERADM_H0201_G.
    in this z class i have redefined a method IF_BSP_WD_CUSTOM_F4_CALLBACK~RETRIEVE_CUSTOM_VALUES.
    which returns a table CT_RESULTS_TAB of type as f4.i have taken key n values in this table too.but the below code should populate the value in the field.but m not getting the values.
    move 'STRUCT.ZZORDERADM_H0201' to ls_map-context_attr.    "#EC NOTEXT
      condense ls_map-context_attr no-gaps.
      ls_map-f4_attr = 'KEY'.
      append ls_map to: lt_outmap.
      lr_entity ?= me->collection_wrapper->get_current( ).
      if lr_entity is bound.
        move 'STRUCT.ZZORDERADM_H0201' to lv_controller_key.
        call method cl_bsp_wd_reference_tool=>set_reference
          exporting
            iv_remove_existing = abap_true
            iv_controller_key  = lv_controller_key
            iv_controller_ref  = lr_entity.
        concatenate '\''' lv_controller_key '\''' into ls_map-context_attr.
         ls_map-f4_attr = if_bsp_wd_custom_f4_callback=>gc_key_ref.
        append ls_map to lt_inmap.
      endif.
      create object rv_valuehelp_descriptor
        type
          cl_bsp_wd_valuehelp_f4descr
        exporting
          iv_help_id                  = '(ZL_CRM_UIU_ZZORDERADM_H0201_G)'       
          iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
          iv_input_mapping            = lt_inmap
          iv_output_mapping           = lt_outmap
          iv_trigger_submit           = abap_true.
    can you please help me??

    To Implement Search help for UI field same GET_V method need to implement, no need to implement GET_P method.
    Initially we must have one search help in SE11
      DATA:
    lv_index  TYPE string,
    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.
    lv_index = iv_index.
    ls_map-context_attr ='STRUCT.YYSURVEY_ID' .               "#EC NOTEXT
    ls_map-f4_attr = 'SURVEYID'.                              "#EC NOTEXT
    APPEND ls_map TO: lt_inmap,lt_outmap.
    ls_map-context_attr = '\''BUS2000116\''' ."#EC NOTEXT
    ls_map-f4_attr = 'object_type'.                               "#EC NOTEXT
    APPEND ls_map TO: lt_inmap.
    CREATE OBJECT rv_valuehelp_descriptor
    TYPE
    cl_bsp_wd_valuehelp_f4descr
    EXPORTING
    iv_help_id                  = 'CRM_SURVEY_ID'      'SE111 search help name
    iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
    iv_input_mapping            = lt_inmap
    iv_output_mapping           = lt_outmap.

  • SY-TABIX within a search help exit...

    Hallo all,
    I tried to find an answer in earlier postst, but did not succeed, therefore this message.
    I have built a customtabel with several columns. For one of the columns I have built a custom search help, including some coding in the search help exit. In this coding I want to do a different selection based on the value in another column (BUKRS) of the same table. Do you understand what I mean?
    The trick is to retrieve the right value of in the column BUKRS in the same line of the table, at the moment I am pushing F4 for another column.
    And I dont know how to do this. I dont have the right SY-TABIX value, so this is not helping.
    Does anybody have an idea as how to tackle this?
    Kind regards,
    Erik

    Hello Francois & Holger,
    Thanks for the reply, but Iu2019m calling this searh help from the transaction SE16 itself, so I donu2019t have my own table control. I am also using the search help in another situation (from a custom-made screen) and here I can pass on the value via a parameter, but this is not working in the case I described.
    So the SY-STEPL is not working too....
    Kind regards,
    Erik

  • Search Help not getting displayed

    Hi ,
    I have included my own Search Help ZSH to Standard Search Help MAT1 which is related to field MATNR , in the following path..
    In MAT1->MAT1_A, I have INCLUDED my Search Help.
    I have tested it in SE11, it's working fine.
    But, in VA01 screen when I press F4 on the MATNR field only 9 Search Helps are displayed, and my Z-Search Help is not getting displayed.
    What additional settings should I do for the display of my Z-Search Help?
    Thanks in advance,
    Shivaa...

    Also look at this thread Search help enhancement - VA01
    Regards,
    Raymond

  • Search Help for Vendor Feild not getting populated in the Screen Element

    Hi Everyone,
    In transaction Miro, I get a POP-UP for Invoicing Party i.e. Vendor and Users required a custom search help.
    The Search help for Vendor(LIFNR) is KRED_C and i appended a Z search help under this.
    Now that the search help exists and I can drill down the values too but when i select/choose any value,  that value is not getting populated in Screen feild.
    is there any validation I need to do for this.
    Please suggest me... I checked SDN there are many things but i couldn't figure out wat i need to do and where I need to modify.
    Regards,
    Raj

    Dear Hema,
    Could you please tell me how many internal tables you are using to store the data for display.
    I observerd that you have lt_stock and lt_mat2 declared in the part of the program
    >DATA: lv_stock TYPE lty_stock.
    >DATA: ltmat2 TYPE TABLE OF lty_mat.
    you have displayed above, however you are also using ls_stock and lv_stock .
    >IF p_ztotal = ' '. "line
    >WRITE 18 ls_stock-matnr.
    >WRITE 38 lv_stock-strgr.
    >
    >ELSEIF ztotal = 'S'.                             "subtotal
        >WRITE: 15 ls_stock-nrmit.
        >WRITE 32 lv_stock-dispo.                    
        >WRITE 43 lv_stock-fevor.                      
      >ELSE.                                            "total
        >WRITE: 15 'TOTAL'(016), ls_stock-prgrp.
    >
      >ENDIF.
    Are those for displaying some other information?
    Also the problem of display you are facing can also be because there are no records to be displayed which satisfies the selection criteria.
    Best Regards,
    Rajesh.
    Please reward points if found helpful.

  • Search help is  not working

    Hi All,
    when am trying to search some ids using search help it is showing all ids.
    For Ex: i want to search which ids starts with 'A', am give 'A*' but it is showing all ids.
    Thanks in Advance

    {FUNCTION /VIRSA/ZVIRFFOWNER.
    ""Local interface:
    *"  TABLES
    *"      SHLP_TAB TYPE  SHLP_DESCR_TAB_T
    *"      RECORD_TAB STRUCTURE  SEAHLPRES
    *"  CHANGING
    *"     REFERENCE(SHLP) TYPE  SHLP_DESCR_T
    *"     REFERENCE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL
    EXIT immediately, if you do not want to handle this step
      IF CALLCONTROL-STEP <> 'SELONE' AND
         CALLCONTROL-STEP <> 'SELECT' AND
         " AND SO ON
         CALLCONTROL-STEP <> 'DISP'.
        EXIT.
      ENDIF.
    STEP SELONE  (Select one of the elementary searchhelps)
    This step is only called for collective searchhelps. It may be used
    to reduce the amount of elementary searchhelps given in SHLP_TAB.
    The compound searchhelp is given in SHLP.
    If you do not change CALLCONTROL-STEP, the next step is the
    dialog, to select one of the elementary searchhelps.
    If you want to skip this dialog, you have to return the selected
    elementary searchhelp in SHLP and to change CALLCONTROL-STEP to
    either to 'PRESEL' or to 'SELECT'.
      IF CALLCONTROL-STEP = 'SELONE'.
      PERFORM SELONE .........
        EXIT.
      ENDIF.
    STEP PRESEL  (Enter selection conditions)
    This step allows you, to influence the selection conditions either
    before they are displayed or in order to skip the dialog completely.
    If you want to skip the dialog, you should change CALLCONTROL-STEP
    to 'SELECT'.
    Normaly only SHLP-SELOPT should be changed in this step.
      IF CALLCONTROL-STEP = 'PRESEL'.
      PERFORM PRESEL ..........
        EXIT.
      ENDIF.
    STEP SELECT    (Select values)
    This step may be used to overtake the data selection completely.
    To skip the standard seletion, you should return 'DISP' as following
    step in CALLCONTROL-STEP.
    Normally RECORD_TAB should be filled after this step.
    Standard function module F4UT_RESULTS_MAP may be very helpfull in this
    step.
      IF CALLCONTROL-STEP = 'SELECT'.
        EXIT. "Don't process STEP DISP additionally in this call.
      ENDIF.
    STEP DISP     (Display values)
    This step is called, before the selected data is displayed.
    You can e.g. modify or reduce the data in RECORD_TAB
    according to the users authority.
    If you want to get the standard display dialog afterwards, you
    should not change CALLCONTROL-STEP.
    If you want to overtake the dialog on you own, you must return
    the following values in CALLCONTROL-STEP:
    - "RETURN" if one line was selected. The selected line must be
      the only record left in RECORD_TAB. The corresponding fields of
      this line are entered into the screen.
    - "EXIT" if the values request should be aborted
    - "PRESEL" if you want to return to the selection dialog
    Standard function modules F4UT_PARAMETER_VALUE_GET and
    F4UT_PARAMETER_RESULTS_PUT may be very helpfull in this step.
      IF CALLCONTROL-STEP = 'DISP'.
      PERFORM AUTHORITY_CHECK TABLES RECORD_TAB SHLP_TAB
                              CHANGING SHLP CALLCONTROL.
        data: begin of i_idowner,
                zvirffid like /virsa/zvirffids-zvirffid,
                zvirffowner like /VIRSA/zvirffids-zvirffowner,
              end of i_idowner.
        data: wa_shlp  TYPE SHLP_DESCR_T,
              iface like DDSHIFACE occurs 0 with header line.
       authority-check object 'GRCFF_0002' id 'YACTVT' field 'OWNR'.
       if sy-subrc = 0.
        select distinct zvirffowner into i_idowner from
           /VIRSA/ZVIRFFIDS.
          record_tab = i_idowner.
          append record_tab.
          clear: record_tab, i_idowner.
        endselect.
       else.
         select distinct zvirffrole into i_rolemonapvr from
            /VIRSA/ZFFROLES.
            where zvirffowner = sy-uname.
           record_tab = i_rolemonapvr.
           append record_tab.
           clear: record_tab, i_rolemonapvr.
         endselect.
    endif.
        EXIT.
      ENDIF.
    ENDFUNCTION.}

  • Search help is not coming while using select-options?

    Hi All,
    I am using select options in my selection screen, i used wdr_select_options, also i coded some parameter values also
    ( non select-options ). For that field i am not getting search help. If i create as normal i am getting? Suggestions pelase?
    Thanks,
    Venkat.

    HI
    what kind of search help is associated with the field.
    ADD_SELECTION_FIELD method has some specific parametrs for value_help
    give the input there and try again.
    these parameters are
    I_VALUE_HELP_TYPE
    I_VALUE_HELP_ID
    I_VALUE_HELP_MODE
    I_VALUE_HELP_STRUCTURE
    thanks
    sarbjeet dingh

  • Search help is not working at Transaction Launcher

    Hi gurus,
    I create a transaction launch that calls a ZXXX t.code from same CRM system.
    T.code ZXXX is used to execute a custom report in order to create document from excel file.
    Everything is ok, but search help button is not working on web ui.
    Search help will open "my computer" pop up. I guess this cause problem. Is there anyone who met this problem before?
    Regards
    Sadi

    Hi,
    Is the search help button part of custom report and is it working fine in GUI ?
    What popup will come when we open that search help in GUI
    Regards,
    Shobhit

  • Search help is not showing list of objects available in ID

    Hi Everybody,
      I developed some business objects( Message Interfaces ) in Integration Repository and transported these objects from developement system to Quality system. After successful transportation i am able to see these objects in IR
    (Quality system) also. While doing configuration in Integration Directory of Quality System, i need to assign this Messge Interface to one of Business service. We all know that we will assign this Message Interface by using search help at Receiver/Sender level in Business service. But here in the search help i am not able to see my Message interface which actually exists in Integration Repository.
    I have tried out by clearing cache and make sure that the object is active, even then also i am not able see my message interface in search help.
    So, please help me if any one gets this situation earlier and how to resolve this?

    Hi Vijay,
    Did you check the cache notifications in IR?
    Refresh Cache using browser..
    http://<xiserver>:j2eeport/CPACache/refresh?mode=full
    When you go to SXI_CACHE in QA server . Click on Mappings on the left hand side and see if the mappings are available in cache.
    Regards,
    Sumit

Maybe you are looking for

  • How to create a custom theme for discussions similar to jive?

    I have worked in Jive earlier and saw that there was greater flexibility in the way you can work with themes. Oracle has extended it and looks most of the features are removed. In Jive, I was able to create a new theme and was able to change the look

  • HDMI hook-up

    I have the TX2 and I want to know how -or if it is worth it- I can go about hooking my laptop to my HDTV.  I see a VGA port on the laptop but no actual HDMI port.  Is there an accessory that I can buy to make the connection that is not that expensive

  • My apex line chart display MM/DD/YYYY HH:MM:SS' for time in axis instead of values

    select null link, to_char(date_1, 'MM/DD/YYYY HH:MM:SS'), decode(array_1, 187751439, ios_per_sec) "187751439", decode(array_1, 192603854, ios_per_sec) "192603854", decode

  • Auto shutdown the DB

    I have the Linux version Oracle 10g run a bit long over 1 years, but in this 2 weeks , DB run few day(may 5-10 days) will auto shutdown. Have any log file can check back is what problem to shutdown? Which log file can help to track it / Log file Path

  • I'm having issues downloading magazines on iOS 8.  Anyone else?

    since downloading iOS 8, I have had wifi connectivity issues.  I can no longer open several of my magazine apps, or download the latest issue of my magazines.  the reading list feature doesn't work after I save an article and attempt to read undergro