Problem with Dictionary Search Help

very good morning!!
we have a z-search help called 'ZIH_TIPOIDENTIFICACION', and we want to select a line from the help search, and put the values  in two fields. This is easy if the two fields are in the same context, but the fields are in different contexts. Field 1 is in the context BTADMINH and field 2 is in the context BTACTIVITYH and is a field of type 'attribute value'. Only works Field 1 .  I do not fill the Field 2,  the value for 'field-context_attr ls_field ='
our code is:
  data ls_field   type if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping.
  data: lt_input  type if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lt_output type if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
  ls_field-context_attr = 'EXT.ZZAFLD00003H'.
  ls_field-f4_attr      = 'ZTAXTYPE'.
  append ls_field to lt_output.
  ls_field-context_attr = 'BTACTIVITYH/Z_TIPO_IDENT_TEXT'.
  ls_field-f4_attr      = 'TEXT'.
  append ls_field to lt_output.
  create object rv_valuehelp_descriptor type cl_bsp_wd_valuehelp_f4descr
    exporting
      iv_help_id        = 'ZIH_TIPOIDENTIFICACION'
      iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
      iv_input_mapping  = lt_input
      iv_output_mapping = lt_output.
Any ideas?
many thanks

Hi Victor,
You can access the BTACTIVITYH field from the BT ADMINH context node using the relationships.
      entity ?= current.
*     Method 1
      current = entity->get_related_entity(
               iv_relation_name = 'BTHeaderActivityExt' ).      "#EC NOTEXT
      IF current IS NOT BOUND.
        RETURN.
      ENDIF.
Here the Current referne will have your new attribute to display in system. Use the same relation code in both set and get methods.
So that both attributes will be part of BTAdminH context node then your above code will work correctly.
Best Regards,
Dharmakasi.

Similar Messages

  • Problem with ALV search help Dictionary Search Help

    Hello experts
    I have a problem with ALV search help.
    I use DDIC table ZXXX with text table ZXXX_T. I created DDIC search help form table ZXXX. In my WD application, in context on COMPONENTCONTROLLER i set on attribute: 'Input help mode' as 'Dictionary Search Help' and in 'Dictionary Search Help' I pass name of new created DDIC search help.
    I create a input field from that atrribute and search help works fine (there was a value and description for value from text table). So I created ALV witch contains that attribute too.
    Next I set column for this attribute in ALV as editable but on Serch help for this collumn I have only value. I DON'T HAVE TEXT DESCRIPTION FOR VALUE.
    Please help me and tell me what I do wrong?
    Miko

    Hello,
    Thank's for your help. I create DDic Search help for all fields from my ALV. Next I changed 'TYPE' for all ALV fields in COMPONENTCONTROLLER from ZXXX-Zfield to Zfield, and I changed 'Input help mode' from 'Automatic' to 'Dictionary Search Help'. Now I see Value and Description for value in Search Help in my ALV.
    Regards
    Miko

  • Problems with collective search help

    Hello SDNers,
    I was working with collective search help.
    Ex : zc_srch1 (Collective)
    In the 'Include search help' i have included 2 search elementary search
    help
    Ex : zsrc1 and zsrc2 (both elementary)
    I have also assigned the parameter assignment for each included search help.
    I have also mentioned the search help parameter under definition tab
    Ex field form zsrch1 and field1 from zsrch2
    and also checked the import and export checkboxes.
    Now i have used the search help in the abap program
    ex: tmp type field1 matchcode object zc_srch1.
    Now when i execute the program the collective search help is getting populated.  when i try to choose a value it is not getting selected to the parameter box.
    Regards,
    Ranjith N

    Hi,
    Once again check back your seach help creation by following the link below.
    http://help.sap.com/saphelp_erp2005/helpdata/en/cf/21ee86446011d189700000e8322d00/content.htm
    Cheers!!
    VEnk@

  • Problem with custom search help for std SD_DEBI

    Hi,
    I have created a custom zcustom search help and included in std search help SD_DEBI.
    In the custom serach help i have added the fields ktokd and sales area fields(sales org, Disb channel, division).
    now when i goto va01 transaction and hit F4 for sold to party i was able view the KTOKD and sales area fields in the custom tab
    when i select the values from f4 help and hit enter they are not getting displayed in sold to party field.
    when i select only sales area fields from f4 and press enter they are getting displayed in sold to party field.
    problem is with the ktokd field that i have included.
    Any suggestions please let me know

    Hi deepti,
    I think you have missed parameter assignment from your Z append search help to standard search help.
    Select the search help and click on Param Assignment button and assign the refernece parameter(KUNNR) of your
    append search help to std collective search help (KUNNR).
    Thanks,
    Pawan

  • Problem with OVS search help.. pls help..

    Hi friends, I have a prblem with OVS component layout
    can some tell me create another  COPY button just under the search button on OVS.
    Basically in my product search.. there is already an OVS component created.. in the Z component layout.. jus the result table is been designed. I dnt see any other UI elements availble in that layout. (like input field to accept vaules on OVS), .. so i was wondering how to create a new button.
    this was developed by others;s so .. i m fighting with this and not able to get anything from sdn aswell.. pls help me.
    And also when they enter values in input fields.. instead of clicking search.. they wanted to hit ENTER key on keyboard... and result shoud display.. how to achieve this..
    sorry im very sorry but pls take out some time and help me out.
    I want one more button COPY on OVS search help. just under the SEARCH button... and also the search shud start once i hit ENTER key on keyboard.
    pls help on this.
    Niraja

    Hi Niraja,
    As how discussed in the email we can get this additional push button as how desired by enhancing the standard component WDR_OVS. Just click on the "Enhance" (spiral kind of button) button present in the application toolbar & create an Enhancement Implementation for the component. Now within this standard component you have the corresponding layout present in the SEARCH view. So go to this view & make the necessary changes. From now on what all components which declare a component usage of the WDR_OVS would be getting this newly modified UI & functionality.
    Regards,
    Uday

  • A ALV with some editable fields which have dictionary search help

    Hi all:
           There is a requirement to implement an ALV with some editable fields which have dictionary search help, do you have any idea?
    thank you very much

    Hi - yes it can be done.
    1st in your object select the component SALV_WD_TABLE (ALV component) * do all the bindings of your component to your VIEW, Component usage interface, etc.
    When you are declaring your context node attributes if you add a TYPE Data element that has a search help bind to the data element it will be accessible in your ALV or in the Attribute there's a INPUT HELP that option that you can add the search help there but you need to have your ALV input enable
    for example:
    data: lr_input_field  Type Ref To cl_salv_wd_uie_input_field,
    lt_column Type salv_wd_t_column_ref,
    ls_colum Type salv_wd_s_column_ref,
    lv_value Type Ref To cl_salv_wd_config_table,
    l_col_name type string,
    lr_cmp_usage Type Ref To if_wd_component_usage,
    lo_interfacecontroller Type Ref To iwci_salv_wd_table.
    lr_cmp_usage = wd_this->wd_cpuse_alv( ).  *ALV is the name you enter for your component usage when declaring component SALV_WD_TABLE at the beginning.
    if lr_cmp_usage->has_active_component( ) IS INITIAL.
    lr_cmp_usage->create_component( ).
    endif.
    lo_interfacecontroller = wd_this->wd_cpifc_alv( ). *once again your ALV name
    lv_value = lo_interfacecontroller->get_model( ).
    lt_columns = lv_value->if_salv_wd_column_settings~get_columns( ).
    Loop at lt_columns into ls_column.
    l_col_name = ls_column-r_column->get_id( ).
    create object lr_input_field
    exporting
    value_fieldname = l_col_name.
    ls_column-r_column->set_cell_editor( value = lr_input_field ). *this will made all your columns input fields
    endloop.
    hope this help!
    Jason PV

  • Dictionary Search Help - how to trigger an event after F4 help

    Hi,
    I been searching the web lately to find a way to trigger an event after using the F4 input help.
    Here is an example of what I would like to do:
    - I have a WD form with a inputfield in it.
    - The input field is bound to datalement "LIFNR".
    - In my context I have specified the Input Help Mode to "Dictionary Search Help"
    - And the Dictionay Search Help is set to "KRED"
    A user will the click on F4 to start the Search help, then pick a LIFNR and the WD inputfield wil be filled.
    What I want is to trigger an event when this is happening.
    Does anyone have som tips or guides for me regarding this problem?
    Thanks in advance! =)

    Hi Mathias Hagen
    Actually there is no straight way of doing this , but still you can trigger a event in F4 search help ...  below is very informative blog to trigger the F4 search help by chris
    Firing a WDA event on using a Search Help - how to do it, without an NDA
    regards
    Chinnaiya P

  • Creating select option with the search help based on other select option

    Hi,
    I have displayed a selection screen with two select options S1 and S2.
    My requirement is that the values in the search help of S2 should get filled based on the values selected in S1.
    Note: User has option to select multiple values in S1.
    Does anybody know how to implement this?
    Thanks,
    Feroz

    >
    Sanjeeva wrote:
    > Hi,
    >
    > With standard f4 you cannot acheive this. You need to write customise with OVS or Simple value selector by reading S1 selected values.
    >
    > Thanks,
    > Sanjeev
    I'm getting fairly tired of seeing this completely incorrect information on this forum.  As stated before and already found out by this poster, you can map input and output values between multiple data dictionary search helps. You do NOT have to resort to using OVS for this option.

  • Dictionary Search Help

    I am using Dictionary Search Help to search and display employee nam. Just wondering how can I exclude all withdrawn employees from the list displayed.
    Thanks

    Hi,
    You may refer this Search help exit.
    In this I have filtered the records based on Company code by writing a select query.
    I have another field in selection criteria( doctor id ).
    Code for your reference :
    DATA : lw_selopt TYPE ddshselopt,
             l_org TYPE z3af_hcp-org.
    DATA: r_doctorid TYPE RANGE OF z3af_hcp-doctor_id,
          w_doctorid LIKE LINE OF r_doctorid.
      CASE callcontrol-step.
        WHEN 'SELECT'.
          CLEAR : gt_select_list[].
          IMPORT l_bukrs TO ls_bukrs FROM MEMORY ID 'Z3AF_BUKRS'.
           SET LOCALE LANGUAGE sy-langu.
    *Convert the Search help fields
          LOOP AT shlp-selopt INTO lw_selopt.
            CASE lw_selopt-shlpfield.
              WHEN 'DOCTOR_ID'.
                w_doctorid-sign = lw_selopt-sign.
                w_doctorid-option = lw_selopt-option.
                w_doctorid-low = lw_selopt-low.
                w_doctorid-high = lw_selopt-high.
                APPEND w_doctorid TO r_doctorid.
                      ENDCASE.
          ENDLOOP.
    *-----Selecting data from HCP table based on Criteria in Range table and company code--------*
          SELECT  doctor_id
                  lname
                  fname
                  city
                  state
                  post_code
                  degree
                FROM z3af_hcp INTO TABLE gt_select_list
                   WHERE  bukrs EQ ls_bukrs
                      AND doctor_id IN r_doctorid.
    *-------FM to Map Values in table--------------------------------------------
          CALL FUNCTION 'F4UT_RESULTS_MAP'
            TABLES
              shlp_tab          = shlp_tab
              record_tab        = record_tab
              source_tab        = gt_select_list
            CHANGING
              shlp              = shlp
              callcontrol       = callcontrol
            EXCEPTIONS
              illegal_structure = 1
              OTHERS            = 2.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          callcontrol-step =  'DISP'.
          CLEAR l_lname.
        WHEN 'DISP'.
    *------Loop the table to append it to the record Structure-------------------
          LOOP AT gt_select_list INTO lw_select_list.
            APPEND lw_select_list TO record_tab.
          ENDLOOP.
      ENDCASE.
    I hope it helps you in some aspect.

  • Proxy problem with Yahoo search returned links

    We have two BM servers here. Older one Netware 6 sp5 w/ BM 3.7 sp3 that works well. A replacement that I have had up but not currently using much Netware 6.5 SP8 w/ BM 3.8 sp5. The latter one has a problem with Yahoo search results. If I point a workstation to the older NW6 BM it works fine in Bing, Google & Yahoo. If I point it to the NW6.5 BM then it will work fine in Bing and Google but in Yahoo it will return the results but when you click on any link there I get this message:
    Yahoo!
    Yahoo! - Help
    The requested URL was not found on this server.
    Please check the URL for proper spelling and capitalization. If you're having trouble locating a destination on Yahoo!, try visiting the Yahoo! home page or look through a list of Yahoo!'s online services. Also, you may find what you're looking for if you try searching below.
    Any ideas? I have no access rules enforced. Anything that might be of help would be greatly appreciated.....Thank you!

    On 03/10/2014 09:56 PM, jpeteet wrote:
    >
    > Mysterious;2310138 Wrote:
    >> On 03/07/2014 09:06 PM, jpeteet wrote:
    >>>
    >>> We have two BM servers here. Older one Netware 6 sp5 w/ BM 3.7 sp3
    >> that
    >>> works well. A replacement that I have had up but not currently using
    >>> much Netware 6.5 SP8 w/ BM 3.8 sp5. The latter one has a problem with
    >>> Yahoo search results. If I point a workstation to the older NW6 BM it
    >>> works fine in Bing, Google & Yahoo. If I point it to the NW6.5 BM
    >> then
    >>> it will work fine in Bing and Google but in Yahoo it will return the
    >>> results but when you click on any link there I get this message:
    >>>
    >>>
    >>> Yahoo!
    >>> Yahoo! - Help
    >>>
    >>>
    >>> The requested URL was not found on this server.
    >>>
    >>> Please check the URL for proper spelling and capitalization. If
    >> you're
    >>> having trouble locating a destination on Yahoo!, try visiting the
    >> Yahoo!
    >>> home page or look through a list of Yahoo!'s online services. Also,
    >> you
    >>> may find what you're looking for if you try searching below.
    >>>
    >>>
    >>> Any ideas? I have no access rules enforced. Anything that might be of
    >>> help would be greatly appreciated.....Thank you!
    >>>
    >>>
    >>
    >> 1. Verify that you use the same proxy.cfg on both servers and the same
    >> settings like persistent connections.
    >> 2. Take a lan trace on the 3.7 when hitting the yahoo url and a lan
    >> trace on the 3.8 doing the same action and compare the differences.
    >
    > I am still trying to make sense of the Wireshark output. I can see where
    > I get the HTTP/1.0 403 Forbidden. What is happening upon further
    > inspection is when I click on a link returned from a yahoo search it
    > actually takes me to a link that always starts
    > "http://r.search.yahoo.com/.......blah blah blah. But If I go to the
    > newly opened tab (in IE) and add 's' to the HTTP address and hit enter
    > - the link works. Maybe that will help. This happens whether or not I
    > have "enforce access rules" checked.....
    >
    >
    1. Verify that you use the same proxy.cfg on both servers and the same
    settings like persistent connections.
    2. Compare both traces, the working one and the non working one. See if
    the returned link from yahoo is the same on both traces and it is coming
    from the same server. You may have another firewall/router up in the
    path causing the issue.
    3. Before taking the lan traces on the netware server using pktscan.nlm,
    unload proxy, load proxy -cc to clear cache. Then take the traces and
    see at what point the non working one differs from the working one.
    check that info is coming from the same up server

  • SB Xtreme Audio Notebook optical out problem with Home TheaterSystem-HELP!

    JSB Xtreme Audio Notebook optical out problem with Home TheaterSystem-HELP!, I have this sound card connected?(optical OUT) ?to my home?theater system's digital IN ?through the recommended /8in. optical miniplug-to-optical SPDIF cable. Theater system is set correctly to Digital-In mode. I have no sound!
    The cable is a Velocity Toslink-to-Optical Mini Plug digital cable. I don't see any settings in the Creative Console Launcher. The notebook is a Dell XPS M730 (Vista 32).
    I have a PS3, DirecTV, and the SB Xtreme Audio Notebook cable on a hub switch that connects to the system's?one Optical IN. The PS3 and DirecTV sound perfect!
    The sound card works fine with standard PC speakers. I'm at a loss as?to what to try next. I set this whole system up myself, so I'm pretty good at working out the kinks, except this one!
    Karen

    OK. I just went to Control Panel - Sound - Playback - Digital Output Device (SB Xtreme Audio Notebook) - Properties - Advanced. I experimented with different sample rates and bit depths. Clicked the test button and lo and behold - sound from the HTS! I've tried iTunes, PowerDVD (configured to digital output) and YouTube - no sound! Am I missing something really obvious?
    HA! Just backed out to Playback and selected Digital Output Device (SPDIF) and set as Default. Sound is emunating from HTS! Well, that mystery is solved! Who knew.
    Thanks anyway! Any comments or advice will still be appreciated.

  • Eventing on dictionary search help on date field

    Hi Experts,
    In my WDABAP application I have a Date input field. I have used dictionary search help into this field to display calender searc help.
    Now on select of the date from the calender I want to trigger one event which will enable some other fields in the application.
    Can you please tell me how to implement this on select event of the date.
    Thanks
    Sonia.

    Hi,
      Since you are using an Input Field , only event possible is "On Enter" event.This event is triggered when  "enter" key is pressed by the user after selecting a value in the input field.So may be you can use this and proceed further.
    Although it may not serve you the actual requirement that you have to achieve , because input field does not have any event for "On select".
    [On Enter|http://help.sap.com/erp2005_ehp_04/helpdata/EN/14/0ce74114a1da6fe10000000a1550b0/frameset.htm] this link might help
    Cheers,
    Aditya.

  • Problem with Bridge search

    Am I doing something wrong?
    I title my folders with model names.
    I put names, first, last, nothing works, no folders come up with Bridge search. help. thanks!

    no folders come up with Bridge search.
    Using both the search field top right in Bridge window and the Find Command under edit does give me the folder I searched for, so it should work.

  • I restore my iphone 3gs but after that iTunes show a message there is a problem with your iPhone, help me please

    i restore my iphone 3gs but after that iTunes show a message there is a problem with your iPhone, help me please

    Yes. Talk to whoever replaced the battery. Sounds like they broke something.

  • Problem with context search in iFS

    Hello , here is my problem with iFS.
    We have installation of Oracle 8.1.7 Enterprise edition with interMedia and iFS 1.1 on same server (Windows NT Server 4.0/512 RAM). During install everything went fine.
    I had uploaded about 200 MB files in the iFS (pdf's and html's).
    The problem is when I try to use context based search. If I search for file's name everything is fine, but when I search for a word that is in a file it almost immediately gives mi "0 file(s) found", and I'm sure that there are files that have that word in their body's.
    What can be the problem?
    Any sugestions will be in help.
    Thanks in advance.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mark_d_Drake ():
    That's the way it works. Content Indexing is not on insert, it occurs when the ctxsrv process runs. See the IntermediaText doc for more information.
    <HR></BLOCKQUOTE>
    Documents's content is stored in the GLOBALINDEXEDBLOB column of the IFSSYS.ODMM_CONTENTSTORE table.
    There is an text index GLOBALINDEXEDBLOB_I built on this column.
    To make the context search possible just update this index using the following command in SQL*Plus:
    SQL> exec ctx_ddl.sync_index('GLOBALINDEXEDBLOB_I');
    If you want this index be updated automatically when new documents are uploaded/changed/deleted in iFS then start the ctxsrv utility on the computer where your Oracle database resides. To do this issue the following command in OS command line:
    ctxsrv -user ctxsys/ctxpwd@db_alias
    just replace here ctxpwd and db_alias with real values you specified during the installation.
    null

Maybe you are looking for

  • How do I get music to stream to Apple TV from my macbook air with Mavericks

    Just bought a Macbook Air last week. I am very conversant with Apple TV and Macs.  I have two iMacs and stream music from them to Apple TV and it's fine. They are running Lion and Snow Leopard. My Air is running Mavericks. I open iTunes, enable Home

  • How to display Internal Table in ALV?

    Hi all, can anyone teach me the simple way to insert my internal table records to ALV by providing me the sample codes from the start of declaration to the end? Below is how i define my internal table: DATA: DOM_NAME(40) TYPE C,        P_TABLE(40) TY

  • Any way to combine multiple incoming streams and send it back to clients?

    I am trying to make a server that receives HUNDREDS of incoming audio streams and then combines them into one stream and send it back to all clients- like audio conferencing. Is it possible to combine those streams together into a single one and send

  • Kernal panic with install disk

    Hello. I've successfully used my SL install disk to launch Utilities on my G5 and switch Firmware Password on, so I know that the DVD is OK - it's the Apple original. When I try on my MBP, the boot repeatedly stalls on the gray Apple screen then give

  • HT1529 Usb Ports dont work after Mountain Lion?

    I recently updated my macbookpro to Mountain lion Os X and now whenever I connect a Flash drive to my usb port it doesnt work. I connected my iPad and iPodtouch and it still charges from the usb port, but it doesnt connect to iTunes. Anyone have an i