Skip Search Help Screen

Hi All,
I have a standard SAP ABAP dictionary Search help. I want to execute that search help programmatically and get the return values in a internal table. Please note that I dont want the pop-up's for the Selection screen of Search help. Also I dont want the return values to be displayed as pop-up. I want the return values in internal table. Any suggestions to do this?
Thanks & Regards,
Mayank Agarwal

Hi,
If u don't want search help pop up screen, then no need to go for search help.
Anyway search help also doing database retrieval only, it is fetching data from database.
so u can directly fetch the data from database and put it into an internal table.
The execution time also will be reduced.
What u have to do is , analyse that search help from which table it is fetching data at wat condition.
there will be a search help exit for that search help in the elementary search help . This exit is FM.
In this FM They might have done validation or check that elementary search help to get the fields displayed on the pop up and the table from it is fetching the data.

Similar Messages

  • Problem to generate same VA01 search help screen in BDC Program

    Hi All,
              I have got one issue.
              The issue is that i need to generate the search (F4) help screen of VA01 search for articles in the program,.
              I tried to record using BDC, but the screen generated is different.
              Can anyone please guide me how to generate that same search help screen in Program using BDC or any other tool.

    Hi
    Just check the field in the VA01 for which you are using BDC , you may get the standard search help for that .
    It wuld be great if you elaborate your requierment .
    Regards
    Rahul

  • Search Help screen in the BSP

    Hi,
    Our requirement is to provide the search help for a field. The Search help pop up should have three input fields 'UserId', 'First Name' and 'Last Name'. The pop up should not be table. In the pop up, we can give some input value and based on that the relevant entry needs to be fetched, then we need to choose that entry. That chosen entry should be moved to our input screen.

    Hi
    please check this thread
    Search Help
    and there is a tutorial in saptutorial which might be helpful
    saptechnical >tutorials>bsp-->f4help
    Regards,
    G. Nikhil Kumar

  • SAP CRM Search Help - defaulting values in search help screen

    Hi All,
    I am working on search help object in service order(Amount allocation )  BTAMNTALL component view name vIEW:BTAMNTALL/HdrBillplanDet and field name STRUCT.AC_ASSIGNMENT. in that block if we select account assignment type as ERP cost center it will give standard search help in Select account assignment field.
    Its basically calling the standard search help CRMT_AC_ASSIGN_KOSTL_E. After pressing F4 it will display the popup Controlling area cost center and description. Basically I need to default the Controlling area in F4 help based on some logic.I am not sure where to write code for this one.
    Please find the attachment where I need to default the value. any help is appreciated.
    Thanks,
    Sapsar.

    At least can you read the document I provided carefully? the point 2.3.1.2 give you the answer.
    Anyway if the document doesn't specify "defining a default value" but give you some ideas/hints, you only need to use a little your imagination. Like:
    1- Use a custom search help with a constant (static)
    2- Use a custom search help with a search exit to determine the data that you need from the sales org of course you need to add the orgunit as an input parameter for the search help and supress the input parameter which will be determined in the search help exit (dynamic)
    3- Create a value node for the context (hidden) and put the info you need once you select the sales org in the hidden attribute/s, this hidden attributes should be mapped in the get_v method (dynamic, not sure if this will work, I never tried, but will be nice if you try and give us some feedback)

  • How to disable buttons in Search help screen ?

    Hi All,
    How do we disable Print button in customer search help ?
    We want that nobody should be able to take a printout of Customers from Search help result. Hence we want to disable the print button which comes in Search help.
    Any idea how do we go about it ?
    Regards,
    Ashish

    Hi there,
    you should be able to do that with the search help exit. Try replacing the PF-STATUS for instance. I am not sure if this works though!
    For instance:
    IF call_control-step = 'PRESEL'.
    SET PF_STATUS 'ZZ' OF PROGRAM 'ZZZ'
    ENDIF.
    Or you might call the existing PF-STATUS and use EXCLUDING.
    Roy

  • How to create an  search help for standard Screen

    Hi,
    Can any one help me out ... How to create a search help for standard screen field.......
    thanks & regards,
    Naveen...

    Hi Naveen.
    I would like to suggest a couple of references,
    [SDN - Standard Reference for create a search help for own fields in selection screen |How to create a search help for my own fields in selection screen;
    [SDN - Standard Reference for Attaching search help to standard screen|Attach search help to standard screen;
    [SDN - Reference for want to add a field in standard search help screen|want to add a field in standard search help screen;
    [SDN - Reference for Attaching a search help to a standard screen - Case 2 |attaching a search help to a standard screen;
    Hope that's usefull.
    Good Luck & Regards.
    Harsh Dave

  • Populate and display internal table results using search help exit...

    I have copied F4IF_SHLP_EXIT_EXAMPLE and made changes. I want this search help exit to populate and display contents related to 'FIELD1' when the user enters a specific value for it in the search help screen, meaning when the user restricts the search by that value.  For field2, field3, field4, field5, field6, field7, and field8 I am using a custom view.
    Following is the code:
    TYPES:  BEGIN OF t_search,
                   field2 TYPE field2,
                   field3 TYPE field3,
                   field4 TYPE field4,
                   field5 TYPE field5,
                   field6 TYPE field6,
                   field7 TYPE field7,
                   field8 TYPE field8,
                   field1 TYPE field1,
                END OF t_search.
      DATA: it_itab TYPE TABLE OF t_search,
            wa TYPE t_search,
         wa_selopt TYPE ddshselopt,
            wa_fielddescr TYPE dfies.
    ranges: r_field1 for std_table1-field1
    STEP SELECT    (Select values)
        FREE: r_field1.
    **Get the value entered for FIELD1 in search help
        LOOP AT shlp-selopt INTO wa_selopt.
          CASE wa_selopt-shlpfield.
            WHEN 'FIELD1'.
              r_field1-sign = wa_selopt-sign.
              r_field1-option = wa_selopt-option.
              r_field1-low = wa_selopt-low.
              r_field1-high = wa_selopt-high.
              APPEND r_field1.
              CLEAR: r_field1.
          ENDCASE.
        ENDLOOP.
    **Select 'ID' and 'FIELD1' from table into lt_itab
        SELECT id field1
              INTO TABLE lt_itab
                FROM std_table1
                  WHERE field1 IN r_field1.
        IF sy-subrc = 0.
    **Now, based on the particular IDs from lt_itab, I need to select other values
    from other tables which also have 'ID' as the key.
           SELECT std_table2~field2
                std_table2~field3
                std_table3~field4
                std_table3~field5
                std_table3~field6
                std_table4~field7
                std_table4~field8
                std_table1~field1
              INTO CORRESPONDING FIELDS OF TABLE it_itab
              FROM std_table2
                         INNER JOIN std_table3 ON
                                std_table3mandt = std_table2mandt AND
                                std_table3id = std_table2id
                         INNER JOIN std_table4 ON
                                std_table4mandt = std_table2mandt AND
                                std_table4id = std_table2id
                         INNER JOIN std_table1 ON
                                std_table1mandt = std_table2mandt AND                                           std_table1id = std_table2id
              WHERE
                    std_table1~field1 IN r_field1.
    'id' is common in all the std_tables --> std_table1, std_table2, std_table3, std_table4.
    STEP DISP     (Display values)
    **Then I need to gather all the results in my internal table it_itab and display
    in search help results for the value of FIELD1 entered by the user in the search help.
        CALL FUNCTION 'F4UT_PARAMETER_RESULTS_PUT'
          EXPORTING
            parameter   = 'FIELD1'
            fieldname   = 'FIELD1'                          
          TABLES
            shlp_tab    = shlp_tab                                   
            record_tab  = record_tab
            source_tab  = it_itab
          CHANGING
            shlp        = shlp
            callcontrol = callcontrol.
    I am not getting all the data in my internal table and wanted to know if there is anyting wrong in my select statement.
    Any guidance will be appreciated and awarded appropriate points.
    Thanks.

    the webdynpro fieldname and the search help input parameter name were made same.

  • Search help for cost center does not work after SP upgrade

    Hi,
    Create a shopping cart in SRM and go to the cost assignment tab. When click on the search help to enter a costcenter, we don't get any search help screen.
    Thanks

    Kindly check note: 1259735 Search help of generic account does not work
    Additionally Check the 5th question/answer of note 815849.

  • Search help call without display

    Hi
    Can I call a search help within a program but not send the output to the screen?  I wish to validate an entry against the logic but not display anything.
    Cheers
    Ian

    ohh I dont think we can stop display of the search help screen...
    the max u can do is display the values directly, without any seleciton screen kind of .. to display...
    Reward points if u think usefull
    jackandjay.
    or u can write some validations code in the At selection screen event..
    Message was edited by:
            jackandjay

  • Translation for a search help

    Dear experts:
    My origenal system is Italian system, when I log in with Chinese system and open a search help for a screen field, the pop up screen of the search help can not show the correct characters. So my question is what I should do to show the correct character in the search help screen? Can I use translation function to do it? How to translate it?
    The search help is created in dictionary for the field (PLKOD-PLNNR).

    Try this :
    1-http://help.sap.com/saphelp_nw70/helpdata/EN/cf/21ee52446011d189700000e8322d00/content.htm
    2-Search Help Exit
    or you can achieve it by translating it:
    go to the search help(double click)>Included Search helps(Tab)>double click on the line otems -->goto translation(here you can translate)
    Regards
    Neha
    Edited by: Neha Shukla on Nov 21, 2008 2:01 PM

  • Vendor Search Help

    I have a user that is requesting that Vendor PO Box and PO Box ZIP Code be added to the Vendors by Address Attributes tab in the Vendor search help screen. 
    Any ideas with where to start?
    Thanks!

    Hi Barth,
    That was over an year ago. I hardly can remember what I had for lunch yesterday. Well, actually yesterday is easy because I have Mexican every Sunday.
    Anyways, try setting a break point in the FM I mentioned. It shouldn't be too hard to debug. And it will answer two questions, if it is actually where the vendor is being fetched, and what is going on.
    If all else fails, open a new thread explaining what you've done and what the results are, as this topic has been closed.
    Good luck.
    Best,
    Bruno

  • How to create search help for Maintanence View

    Hi,
    I want to create a Search Help for a Maintanence View and bring Conditions
    in this Search Help. Condition can be as e.q. Show me only the Records with Status 2.
    How can I achieve this?
    Thanks.
    Best Regards
    Beserithan Malabakan

    HI,
    You can create this in SE11, there create a search help, and in the Minatain Search HElp screen, give the Maintanance view name and give the field anmes as you want, and right side you will find 'Default Values', there you can give the default values, so here in the Field name give as <b>STATUS</b> and in the Defaule Value will be <b>2</b>.
    Regards
    Sudheer

  • How to have radio button in search help ?

    Hi,
    I have a requirement in which on pressing F4 the user will input value of a document number on displayed search help screen. I need to provide two radio buttons there based on selection of which i will determine the values in my search help exit.
    To clarify more, i am in CRM system and user runs a transaction crmd_order but he doesn't know the contract document number to open. He knows a sales document reference number so he presses for F4 help where he can input the sales document reference number to get available contracts. Now when he/she enters the dsles document number they need to choose which kind of contract should be displayed ( Two kind of contracts : proposal and schedule ). Based on user input i will search in help exit and display the output.
    Any help would be appreciated.
    Regards
    Apoora

    Hi Apoorva,
    i think you can write below code just to show the Pop-up for details.
    this you can write on POV or at selection screen-output.. when ever the user changes the Radio button the logic will be triggered and pop-up is triggered..
      CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
        EXPORTING
          i_title               = 'Batch Number Selection'           "Pou-up Heading..
          i_selection           = 'X'
          i_screen_start_column = 5
          i_screen_start_line   = 5
          i_screen_end_column   = 50
          i_screen_end_line     = 20
          i_tabname             = 'T_BATCH'                  "Internal Tbale
          it_fieldcat           = gt_fieldcat_drd[]
        IMPORTING
          es_selfield           = gc_selfield
        TABLES
          t_outtab              = t_batch                       "Internal Tables with Valuess
        EXCEPTIONS
          program_error         = 1
          OTHERS                = 2.
      IF sy-subrc <> 0.
      ENDIF.
    regards,
    Prabhudas

  • Search help results of cost center

    Hi everybody
    Cost center is normally assigned to SC item based on the attribute set in PPOMA_BBP (attribute CNT). Now, when you're in the item details screen and want to change that default cost center you can search for other ones using the "glasses icon". This starts some kind of a F4 search help screen and returns a list of all available cost centers existing in the backend system.
    Our SRM users are NOT created in the backend system, therefore we're not able to control cost center authorizations via backend user authorizations.
    So the problem we have is, that in the result screen we get by far too much cost centers from which the enduser can make his choice. We'd like to reduce this result list to only the cost centers assigned via CNT attribute on org. unit level in PPOMA_BBP.
    I already looked at BAdIs BBP_F4_READ_ON_ENTRY and BBP_F4_READ_ON_EXIT (method GET_COSTCENT) and to verify if they could do what I wanted simply tried to delete all entries from table ET_COSTCENT_LIST and ET_COSTCENT_FAVOURITES... no changes, the result list still contains a complete overview of all our backend cost centers.
    To all SRM gurus out there: how is it possible to restrict the result list of cost center search help?
    Thanks again anyone for some help.
    Kind regards,
    Renaud

    Hi Case,
      We can get this functionality with out changing any standard program.
      Herewith I am sending details.
    1.     Implement the badi using definition BBP_DRIVER_DETERMINE and write below  mentioned code in method DETERMINE_DRIVER.
            IF functionname = 'B470_SHLP_CALL' AND sy-tcode NE 'PPOMA_BBP'.
    functionname = 'ZB470_SHLP_CALL'.
            ENDIF.
    2.     Copy the standard FM B470_SHLP_CALL to ZB470_SHLP_CALL then make        
           the changes in ZB470_SHLP_CALL.
           Here you have to make two changes.
    a.     Clear the destination name (LV_DESTINATION) for calling search help
                            from SRM
    b.     Give your own search help name (ZCOST_CENTER we need to create this search help in SRM )
           Now it will call the search help ZCOST_CENTER from SRM only
                   Sample code
              CASE shlp_field.
            WHEN gc_g_l_acct.
          lv_shlpname = 'SAKO'.
           lv_shlpparam = 'SAKNR'.
            WHEN gc_cost_ctr.
          lv_shlpname = 'ZCOST_CENTER'.
          lv_shlpparam = 'KOSTL'.
          CLEAR lv_destination.
    3.      Create you won search help (ZCOST_CENTER) in SRM and write code in search help exit for getting the cost centers from user attributes. For reading the cost centers from user attributed you can use the FM BBP_READ_ATTRIBUTES (pass the CNT as attribute ID)
    Regards,
    Padmaraju
    If it useful to you,please reward points.

  • How to update Search Help template for ITS Service PZ03

    Hi all,
    There is a requirement to change the search help screens of pz03 Internet Service which is being used with EP 7.0.
    I have little experience in  ABAP so can anyone let me know how to change it. I was able to reach SEARCHHELPDHTML template. Is there a place I can download the template and update it.
    Please reply fast. Points assured.
    Regards
    Atul

    Hi.
    If you define an Internet Service, using SICF transaction, it shows all standard and z's search help, so I think it's not an ITS problem. Try to define your search help normally on R/3, an after that define your service with using new transaction.
    Best regards.

Maybe you are looking for