Bapi-- search help

hoe i can make s.help with bapi in program

This is how u can create "Search Help" for the fields of the ztables that u have created.
SE11- Create Search Help for 1 field, "Selection Method" box put the Table name to which the field belongs to. "Dialog Type" box write: "Display Value Immediately".
Search Help Parameter is the Field name for which u want the Help. Tick Imp & Exp options and assign LPOS = 1 and Enter. , save and Activate.
SE11- Go to the table , Click on the Field that needs to be assigned a search Help....Click at the left side of the Field so that all the corresponding data Elements, Key field etc also gets selected.
Click on the "Search Help tab" just above the "Data Type " column.
Put the "Search Help" name that u just created. Mention the Field and Enter. it takes up the required values. Now Copy.
U can repeat the process for whatever fields u want to assign a Search Help.
se51- Go to Screen Painter, Select Fields from Dictionary table to which u want search help to be assigned.
Double click on the Text box of the corresponding field,......> Screen Painter Attributes.......> Search help Text box.........> Enter the name of the Search help that u created for a field.
Ok....>Save.........> Activate
http://fuller.mit.edu/tech/search_helps.ppt#260,5,Simple
http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm
Regards.

Similar Messages

  • BAPI for Search Help

    Hi Experts!!
    How to create Search help using BAPI ?
    My scenario is: In webdynpro same bapi can be called to find possible f4 value.
    How to do that ? Any Idea pls share ...
    Thanks In Advance.

    This is how u can create "Search Help" for the fields of the ztables that u have created.
    SE11- Create Search Help for 1 field, "Selection Method" box put the Table name to which the field belongs to. "Dialog Type" box write: "Display Value Immediately".
    Search Help Parameter is the Field name for which u want the Help. Tick Imp & Exp options and assign LPOS = 1 and Enter. , save and Activate.
    SE11- Go to the table , Click on the Field that needs to be assigned a search Help....Click at the left side of the Field so that all the corresponding data Elements, Key field etc also gets selected.
    Click on the "Search Help tab" just above the "Data Type " column.
    Put the "Search Help" name that u just created. Mention the Field and Enter. it takes up the required values. Now Copy.
    U can repeat the process for whatever fields u want to assign a Search Help.
    se51- Go to Screen Painter, Select Fields from Dictionary table to which u want search help to be assigned.
    Double click on the Text box of the corresponding field,......> Screen Painter Attributes.......> Search help Text box.........> Enter the name of the Search help that u created for a field.
    Ok....>Save.........> Activate
    http://fuller.mit.edu/tech/search_helps.ppt#260,5,Simple
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee52446011d189700000e8322d00/frameset.htm
    Regards.

  • BAPI's Business object not found in the search help of LSMW.

    Hi,
    I am loading Open sales contracts using LSMW BAPI method.
    The business object for this is BUS2034 and the FM is BAPI_CONTRACT_CREATEFROMDATA.
    But when i am selecting the Business object in LSMW, it is not appeared in the search help.
    Is there any way to add the required Business object, Function module in LSMW manually?
    Please suggest.
    Thanks,
    Vishnu..

    Have checked the entries in table TBDBA (BAPI ALE mapping) for this BO ? If this is not available, you may have generate "ALE interface for BAPI" using Transaction code BDBG. 
    P.S. See the code written in FM "/SAPDMC/LSM_F4_BUSOBJ" (Search help for BO) and read reference to table TBDBA in line number 54.
    Regards, Vinod
    Edited by: Vinod Kumar on Aug 30, 2011 5:30 PM

  • About Running Remote Search Helps in SRM via Webdynpro ABAP

    Hi there,
    I am having troubles trying to implement an input help for a custom field in the standard Shopping Cart Portal page for item level.
    I would like to implement the same input help used in field Network of Activities, but as I can see in WDA component '/SAPSRM/WDC_UI_DO_ACC', it seems to use another component in order to run a remote Search Help (I assume it is an original search help from PS system).
    Does anybody know how to use this backend search help WDA Component? (/SAPSRM/WDC_UI_BACKEND_SH)
    I haven´t found any information regarding that :S.
    Another option would be to create a new RFC FM in PS returning the expected values, and use these entries to build a list value selector associated to the corresponding context attribute (This is not what I would like...)
    Thanks in advance!

    Vicente Ángel Lopez Romero wrote:
    > Hi there,
    >
    > I am having troubles trying to implement an input help for a custom field in the standard Shopping Cart Portal page for item level.
    >
    > I would like to implement the same input help used in field Network of Activities, but as I can see in WDA component '/SAPSRM/WDC_UI_DO_ACC', it seems to use another component in order to run a remote Search Help (I assume it is an original search help from PS system).
    >
    > Does anybody know how to use this backend search help WDA Component? (/SAPSRM/WDC_UI_BACKEND_SH)
    >
    > I haven´t found any information regarding that :S.
    >
    >
    > Another option would be to create a new RFC FM in PS returning the expected values, and use these entries to build a list value selector associated to the corresponding context attribute (This is not what I would like...)
    >
    > Thanks in advance!
    Figured it out.
    /SAPSRM/WDC_UI_BACKEND_SH is a 'freely programmed' search help used in SRM.
    1. Add this helpview (HV) component usage to your component controller, and view controller.
    2. Map HV SELECTION context to your view
    3. Modify the context attribute you want backend searchhelp to 'freely programmed', and select the component usage created in step above (note this is done dynamically in SAP code, b/c attribute is defined as dictionary search help in SAP components) -- this took a bit to figure out.
    4. IMPORTANT: Give your context attributes the SAME NAME (COST_CTR in my case) as those in structure /SAPSRM/S_CH_WD_MAP_ACC (how obvious was that)
    5. IMPORTANT: Set your LOGSYS in /SAPSRM/CL_PDO_VALHELP_FACTORY class - love those those factories (tic)
    DATA: lo_helper TYPE REF TO /SAPSRM/IF_PDO_ACCT_ASSGT_HLPR,
    CALL METHOD /SAPSRM/CL_PDO_VALHELP_FACTORY=>GET_ACCT_ASSGT_HELPER
    RECEIVING
    RO_ACC_ASSGT_HELPER = lo_helper.
    CALL METHOD lo_helper->set_searchhelp_control
    EXPORTING
    iv_logsys = ls_logsys-logsys.
    6. Now handle event DATA_SELECTED to get data from SELECTION, and move to your Context field.
    How simple was that? Yikes. I should have just built a custom dictionary search help to RFC over and call the BAPI for Cost Center List.
    - Tim

  • Applying filters to F4 Search help - how so with many entries?

    Hello all,
    I have a problem that I have to filter a search help for employees. We use a DB view that unions infotypes 1, 2 and 105. Now I need to restrict potential employees to a given company code BUKRS.
    I now invoke search help in REQUEST ON-VALUE REQUEST within a DynPro screen and call function module F4IF_INT_TABLE_VALUE_REQUEST which I am passing the restricted internal table.
    Fine, that works - however, in the DynPro (which is actually used as an EWT within our portal), the entire internal table is sent to the frontent instead of, say, 250 or so.
    The search help dialog offers the possibility to manually restrict for first and last name - is it perhaps possible, that this search only applies on the server (ITAB) and just returns the results according to the user input?
    Otherwise, sending all potential employees to the frontend is consuming too much resources (time and traffic).
    In function group SDHI there is an "example" module F4IF_SHLP_EXIT_EXAMPLE which tries to explain how to use callbacks but from my point of view I understand very few (it misses the big picture).
    Do you know an alternative, e.g. using the other module F4IF_FIELD_VALUE_REQUEST and to apply a filter to BUKRS using a callback mechanism? There are module parameters indicating that possibility (passing some report?). Perhaps one of you has some sample code, because I am much more trained in BAPI and web stuff only...
    Any hints? Thank you in Advance!
    Regards,
    Timo

    Hi,
    if I can understand you, you tell me that you search information in the view and all found records (let´s say 300) are saved in the internal table, which in time you pass to function F4IF_INT_TABLE_VALUE_REQUEST for display. Now, you think it is too much to display 300 records because of time and traffic.
    Try this:
    REPORT ztest NO STANDARD PAGE HEADING.
    TABLES mara.
    DATA: mytable TYPE TABLE OF ddshretval WITH HEADER LINE.
    DATA l_repid TYPE syrepid.
    PARAMETERS p_mtart LIKE mara-mtart.
    AT SELECTION-SCREEN ON VALUE-REQUEST
                 FOR p_mtart.
      l_repid = sy-repid.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
        EXPORTING
          tabname           = 'MARA'
          fieldname         = 'MTART'
          dynpprog          = l_repid
          callback_program  = l_repid
          callback_form     = 'F4CALLBACK'
        TABLES
          return_tab        = mytable
        EXCEPTIONS
          field_not_found   = 1
          no_help_for_field = 2
          inconsistent_help = 3
          no_values_found   = 4
          OTHERS            = 5.
    START-OF-SELECTION.
    *&      Form  F4_form
          Exclude all material types that start with F & H
    FORM f4callback
         TABLES   record_tab STRUCTURE seahlpres
         CHANGING shlp TYPE shlp_descr
                  callcontrol LIKE ddshf4ctrl.
      DATA: aux_struc TYPE ddshselopt.
      MOVE: 'H_T134' to aux_struc-shlpname,
            'MTART'  TO aux_struc-shlpfield,
            'E'      TO aux_struc-sign,
            'CP'     TO aux_struc-option,
            'F*'     TO aux_struc-low.
      append aux_struc to SHLP-SELOPT.
      MOVE: 'H_T134' to aux_struc-shlpname,
            'MTART'  TO aux_struc-shlpfield,
            'E'      TO aux_struc-sign,
            'CP'     TO aux_struc-option,
            'H*'     TO aux_struc-low.
      append aux_struc to SHLP-SELOPT.
    ENDFORM.                                                    "F4_form

  • Search help in web dynpro Java i-view

    Hi experts!!
    I am new to EP so i need some help..
    I am trying to implement some web dynpro i-views and i would like to know if there is any way to have F4 search help for  fields in form template that correspond to R/3 fields. In other words i want to take the search help values from the R/3.
    Should i create a model  to call a BAPI for search help??? Or is there any other way?????
    Thanx in advance...!!!
    PS: will reward points to usefull answers.

    Hi You can create Value Help in Webdynpro to show F4 Help values.
    Follow this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2833ce90-0201-0010-f1af-d3cfe1155b16
    Reward Points if Helpful
    Edited by: Praveen Kommineni on May 7, 2008 8:05 PM

  • Transferring Search Help values from ECC 6.0 to SRM 7.0

    Hi SAP experts,
    I have a requirement to display the search help values for a data element in ECC 6.0 into the custom data element that I created on SRM 7.0.
    Is there a BAPI that I can use to retrieve the values for a search help element (for example SH_ANLKA) from the the ECC into SRM?
    Your advise would be greatly appreciated!
    Regards,
    Andrew

    Hi Andrew,
    I have got a similar requirement to fetch the PO details from ECC search help to a new SRM search help. Please help me with the procedure you used for the above scenario.
    Thanks,
    Santosh.

  • Search help for time

    HI,
    I need a Search help for time field in case of input field ie the one similar to the date field.In webdynpro we have mapped the Tims data type to our input field.here Tims data type is the data type for time in  the backend(R/3 system).Pls help me out its urgent.Pts will be awarded to any of the helpful  solutions.

    Hi Nikhil,
    Create an attribute of type 'time' in context. And inputfield to this attribute.
    Later, while calling BAPI, you can pass this value to Tms type field.
    Regards,
    Deepti

  • How to Search Help ?

    I have a java webdynpro screen with a few input fields that need a search help. There are a lot of threads regarding to this topic and everyone has different information and links to many other threads.
    Could anyone please tell me what is the best/fastest/easiest way to do it?
    I am not talking about "Simple Value Selector" neither Extended Value Selector". I need a implement/use a search help like the ones in R/3 when you run transaction SE16 and enter values in the input fields using F4.
    One time I had one running where I did not need any coding at all, everything was done on the attributes of the field, but I do not recall how to do it anymore. The problem with it was that it just displayed one column and I needed it two, the column with the value itself and a second column with the text. What I need this time is the two columns.
    Thanks in advance,
    Diego.

    Diego,
    1. You can try OVS over content nodes. Create your context (most probably dynamically) according to metadata available with BAPI_HELPVALUES_GET_SEARCHHELP. Then attach OVS extension with custom IWDOVSNotificationListener that performs search for help values using BAPI_HELPVALUES_GET.
    2. You may proceed with the very same BAPI_HELPVALUES_GET_SEARCHHELP / BAPI_HELPVALUES_GET pair but inside your custom component. Next instead of OVS you may add Button / Link2Action near every field and invoke your custom component in pop-over window (read about IWDWindowManager API in NWDS help)
    3. You may use existing BAPIs (for example, BAPI_COMPANYCODE_GETLIST) or create own RFMs to provide value help. Then just use OVS with BAPI as described in WebDynpro tutorial on SDN.
    Actually, I tried (or 'am trying' first approach. However besides search help challenges I've faced a lot of limitations from OVS component. Btw, here is blog post by <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=5%2bhlk9c3p0q%3d">thomas Jung</a> that I find very useful for this task: <a href="/people/thomas.jung3/blog/2004/11/01/bsp-value-input-help-popups-version-20-part-2">BSP Value Input Help Popups Version 2.0</a>. Also he is talking about BSP, number of techniques is applicable to WD Java. Sure, certain "translation" is required. And you are even in worse position: BSP is "inside" R/3 and may utilize all the ABAP power while WD Java has only narrow Adaptive RFC / JCo window
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • Search Help in online adobe form WDABAP

    Hi,
    How to get F4 help in online adobe form? If the values are maintined in the domain then in the form Im able to see all the values by using Enumarated drop down. But if for the particular filed any Value Table is assigned , then how to get those values in F4 of Adobe form? It can be done by binding to UI elemtn or Do I need to do any coding for getting this?
    Actually I have gone through few links in SDN but Im not clear. Im not working on ISR. It is a normal BAPI and adobe form is designed based on that BAPI and form is ZCL type.
    Appreciate your help
    Regards,
    Ravi

    Hi,
    please see the link below
    link: F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
    link:F4 help in Interactive forms with Webdynpro abap
    link:F4 Value help on adobe form doesn't work
    link:Search Help from SAP values using WebDynpro ABAP in ADOBE Interactive Form
    regards
    Pranav

  • Search Help Implementation in Webdynpro

    Hello
    In my project there is a situation where a table is present which will be populated with data coming from different BAPI.
    If I need to add a new row for this table , For the First column I need to have a search help capability . The search help capability should be in such a way that I need to show the Search help in a Table format which has one Master Column ( I.e. tree inside a table ) .
    Please can any one suggest me how to go about it.
    Thanks,
    V Vinay

    Vinay,
    There is no way to alter OVS (Search Help) functionality in WebDynpro for Java.
    Instead you may use pair of InputField + (Button|LinkToAction) and navigate to your own custom view. Here you may use Table with Master column.
    VS

  • Click on Button ...Search Help

    Dear All,
    OVS is not working throughing error what could be the problem.
    What also can you suggest me.
    In Created Interactive form how we will call BAPI and OVS for search help.
    Thanks and Regards,
    Prabhakar Dharmala
    Edited by: Prabhakar Dharmala on May 12, 2008 12:13 PM

    Hi Prabhakar Dharmala  ,
              Create a search help and attach that to the attribute in WDA. Then open the adobe designer, inset one value help ui element. then Edit the script of Value help and give the name of the Field for which you want the vale help in the Quotes as a the value for var Fieldname = "Field name";
    Field name value shoud be the same as it appearing on the object pallete->binding.
    Regards
    Sarath

  • Please advise correct solution for Search help

    Hi ,
    i want to develop a webdynpro application( in ECC 6) which takes data from 4.6C . So i have to provide my own search helps to certain fields ( like material number) .
    As i am very new to webdynpro i planed to make search helps in ECC and using search help exit and RFC ( fetching data from 4.6c) fill data to these search helps and assign this to webdynpro fields. Is it make a -ve effect on perfomance? is there any alternative way to do this ? please advise.
    Regards,
    Ratheesh BS

    >
    Ratheesh Bhaskaran wrote:
    > Hi ,
    > Can you please explain this 'There is a BAPI that doesn't remote search helps generically' .
    > Regards,
    > Ratheesh BS
    Well that should have read - 'There is a BAPI that does remote search helps generically'.  That makes more sense.  The BAPI name is BAPI_HELPVALUES_GET.

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

Maybe you are looking for

  • Getting Runtime Error while restricting a Characterstic to a Constant / Var

    Hi Experts, In Query designer , While I am trying to restrict a characteristic to either a variable / constant , I am getting the Runtime error like The object invoked has disconnected from the clients. can any body help me ? Thanks in Advance.....

  • Iphone footage into Final Cut Express

    I left a question earlier in this forum and would like to update (hopefully that's proper process!). I'll repeat the question, in case: I'm trying to get footage from iPhone 4 to Final Cut Express. I'm using MPEG Streamclip 1.9.2. In the tutorial I f

  • Problem with legacy cross compiler - Killed.

    OK, so we have some legacy cross compilers, particularly pSOS and Lynx2.4 which work successfully on Solaris 10. We installed a Server with Solaris 11 and every time we try to invoke the compiler with a make command it just responds "Killed". I've be

  • Running a number of websites

    I have Server 10.4.3 running on a G4 Dual with TONS of storage (some internal and some Firewire 800) and would like to understand better the risk and securty concerns over hosting my own domains. Today, I have a colocated server that is underutilized

  • Nvidia optimus KMS doesn't work

    Hi all! I am on an HP Notebook with Nvidia Optimus. Displays are connected to the intel gpu, and I am using bumblebee+proprietary nvidia driver. The intel driver is i915. Since the system is using the intel card to manage the screens, I though I coul