Value Transport (Exporting) to multiple screen fields in Search Help

Hi all,
I have created elementary search help using exit and attached it to data element. After F4 when I get hitlist I want all the values from the selected rows to get copied to the screen fields. I.e. I want the value transport.
In the search help I am exporting those values which I want to get copied back but I am unable to get the result.
With Regards,
Chandra

Hi,
    You can get this behaviour only by making the SEARCH HELP assignment at the STRUCTURE level.
You need to create or use an existing structure to create your screen fields which you want to populate using the search help. Then assign this search help directly to the structure and there do the mapping between structure fields and the search help export params.
Only by doing this you can autopopulate the values using one search help.
Regards,
Sesh

Similar Messages

  • How to populate f4 values to standard pnp selection screen fields

    Hi Experts,
    my question is how to populate f4 values to standard pnp selection screen field. i am using LDB PNP for a report , it displays several fields with f4 values, i need to remove all the stadard f4 values and want to place my  f4 values in the selection screen

    Hi Venkat,
    To put ur own values in the F4 help of any field...all u have to do is.
    1st fetch all the records that u need to display in F4 help list...in one internal table.
    and then use the function module  'F4IF_INT_TABLE_VALUE_REQUEST'
    call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
    retfield =
    value_org =
    tables
    value_tab =
    return_tab =
    exceptions
    parameter_error = 1
    no_values_found = 2
    others = 3.
    where retfield is the field for which u need to give the F4 help.
    and valu_tab is the internal table in which u have the list of records to be displayed.
    this would do the work...
    I dont have the system in front of me...as soon as i have...will try to send a piece of code, to make ur work easy.
    Till then hope this helps u...all the best
    Regards,
    Radhika

  • How to concatenate fields in Search help exit

    Hi,
    My requirement is i have to create a search help for a field in cj20n transaction.
    when i press f4 on that field i should get a popup of 4 fields from custom table,when user selects any 1 row,
    first 3 field values should be concatenated and appear in screen field . in search hlp i added 1 more field so that i can concatenate
    all 3 field values and place in it.I can use  search help exit so i can concatenate but there are steps like selone,presel etc i am not able to understand .
    I saw some examples in wiki, but not able to understand what to do for my requirement.
    regards.
    Edited by: vnamamala on May 27, 2010 12:22 PM

    You would use the step 'SELECT' to control the data selection into an internal table.  You would use the step 'DISP' to map the records in the internal table to the search help record table.  In your case, I would already have a field in the internal table with the values concatenated together prior to the hit list display (do this in SELECT step) which is not displayed in the hit list but is flagged as the EXPORT field in the search help definition; otherwise just put the field at the end of the hit list. 
    Map your results in DISP as follows:
    *   Map the internal table to RECORD_TAB
        CALL FUNCTION 'F4UT_RESULTS_MAP'
             TABLES
                  SHLP_TAB          = SHLP_TAB
                  RECORD_TAB        = RECORD_TAB
                  SOURCE_TAB        = GT_DOCUMENT
             CHANGING
                  SHLP              = SHLP
                  CALLCONTROL       = CALLCONTROL
             EXCEPTIONS
                  ILLEGAL_STRUCTURE = 1
                  OTHERS            = 2.
        CALL FUNCTION 'F4UT_OPTIMIZE_COLWIDTH'
             TABLES
                  SHLP_TAB    = SHLP_TAB
                  RECORD_TAB  = RECORD_TAB
             CHANGING
                  SHLP        = SHLP
                  CALLCONTROL = CALLCONTROL.

  • How to replace a field's search help of DDIC in FPM feeder class?

    Hi All,
    I want to replace a field's search help in DDIC structure, for an example, in structure HCMT_BSP_PA_XX_R0009, the field BANKL(Bank Keys) has a search help named 'H_BANKL', I want to replace this search help with other one such as 'H_BANKEY' in the FPM feeder class CL_HRESS_PER_DETAIL, I redefined such method:
    method if_fpm_guibb_form~get_definition.
    field-symbols: <fs_field_description> like line of et_field_description.
    call method super->if_fpm_guibb_form~get_definition
    importing
    es_message = es_message
    eo_field_catalog = eo_field_catalog
    et_field_description = et_field_description
    et_action_definition = et_action_definition
    et_special_groups = et_special_groups
    ev_additional_error_info = ev_additional_error_info.
    read table et_field_description assigning <fs_field_description> with key name = 'BANKL'.
    set search help name of field 'bank key'
    if <fs_field_description> is assigned.
    <fs_field_description>-ddic_shlp_name = 'H_BANKEY'
    endif.
    endmethod.
    I test it and found the search help window was replaced indeed, but all the value of import/export parameters in the new search help was lost, it means, the value of import paramer BANKS(Bank country) and the export parameter BANKA(bank name) were lost. Only the value of BANKL itself can be returned by the new search help window. Can you give me some suggestions about how to maintain the link( value exchange) between structure HCMT_BSP_PA_XX_R0009 and dynamically defined search help 'H_BANKEY' in FPM feeder class?
    I tried to use sap memory ID but it doesn't works well.

    This question was answered at [Webdynpro Forum|how to replace a field's search help of DDIC in FPM feeder class?;:
    That is because for the import and export of DDIC Search help values to work in WDA, not in FPM layer.Feeder Class can do nothing about it.

  • Extra fields in search help window in Record working time EHP5

    Hi Experts,
    Can you please let me know how to add additional fields/select options in search help window for Record Working Time ?
    My system is EHP5 NW 7.02
    I have added the custom search help for the respective filed in table " TCATS_SHLP_ITS".
    I can see this table is having entry for only 4 selection options and 6 value fields for search help display.
    But in my custom search help programme is having 8 select options(for advance search) and 10 display fields on the search window. It's working from CAT2 transaction but when I am running through webdynpro timesheet, I can only get 4 select options and 6 value fields.
    Please let me know how to make the other fields available.
    Thanks in advance.
    Sonia

    Hi Siddharth,
    Thanks for your response. In that modify possible entries screen (Details view) I can see the search help is only having 4 select options and 6 display fields.
    So as per my understanding max 6 display fields/4 select options can only be displayed on search window.
    My requirement is to display more fields on search help OVS window.
    Can you please suggest.
    Thanks ,
    Sonia

  • F4 help in selection fields of search help

    Hi all,
    I've created a elementary search help for sold to party and appended it to collective search help.
    Now my problem is i need F4 help in one of the selection fields of search help.
    How can i get it.
    I m using selection method where ive created a view which fetches all data..
    Thanks in advance
    Palak

    Hi,
    1)Double click on the dataelement of your field on which you want f4 help then in the first tab itself you will find two option one for attaching the search help you have created(Elementry/ Collective) and second option is the parameter ID.
    You have to look for the first option to attach the search help.
    2) You can create f4 help for your Parameter or Selection screen by using the event.
    AT SELECTION-SCREEN ON VALUE-REQUEST for PARA/Selection screen.
    Further you can use the FM mentioned above F4_INT.....
    Hope it is clear now.
    Vikas Badhan

  • How to delete a field from search help which is delivered

    hi
    I got a requirement to delete a field from search help which is delivered long back
    Regards
    krishna

    Hi
    Whether it exists in DEV system or not?
    Take the name of that Search Help from PRD/Quality(if it is not there in DEV system) and modify/change it by removing that field from the search help in DEV system and create a Transport request and transport the same request to Quality/PRD systems
    Now the New changes (in which the field was removed) will be over written on the old search help in the PRD system, since it is the same Name (search help)
    Regards
    Anji

  • Adding new field in search help result view

    Dear Experts,
    I want to include one more field in search help result. The field shoud give description.
    How can i do this in UI result view?
    If I try to add attribute in result view, the result view is of type table, and it does not allow us to add value node. It will allow us to add model attribute. If I add attribute in search help resut table view then will i be able to see it in table form.
    Thanks and regards
    Pankaj Kumar

    Hi Pankaj,
    Its not that difficult.
    There are two ways
    1. You can enhance your Result BOL object through EEWB and append your z-field to std. BOL result object. This then appears automatically for your result context node and then you can pull it to the view in config tool.
    2. Directly go to your context node class (CN00 , CN01 etc ) , now copy method GET_S_XYZ , paste it and rename as GET_yourfieldname. Similarly copy SET_S_XYZ, GET_M_XYZ and GET_I_XYZ and paste and rename. Once activated. Quit the component browser completely. Open again using bsp_wd_cmpwb. open you view and then your node. You can find you new attribut present as struct.YourField.
    You can then copy code from available setter-getter methods for this attribute. You must handle setter getter by urself in this case. In may std. nodes, this is done for description field. I have personally done this for product descripton field.
    if you dont want the field to be part of structure ( i.e. as struct.Yourfield ) then you can also copy paste GET_XYZ, SET_XYZ methods. your filed then do not appear as Struct.YourField but it just appears as YourField name under context node.
    Hope this helps you.
    Thanks & Regards.
    You can check PRODUCTDESCRIPTION  attribute of BTAdminI node of BT115QIT_SLSQ/Items  view of BT115QIT_SLSQ component. They have added it the same way as i described above. You see the GET_ method to see how they are retrieving product description. In my object, i wrote direct query to Comm_prshtext table to retriev short_text by passing product guid and then assigen it to value variable of Get method.
    Edited by: suchita P on Sep 20, 2008 2:22 AM

  • How to populate data from screen on to search help field

    Hello all,
    I have a requirement in which for a field i have attached a search help and i am calling the search help by using the FM
    F4IF_FIELD_VALUE_REQUEST it is working fine.
    I have one additional requirement that whernever any data is entered on the screen field say ( A* ) then F4 is pressed on the search help in the field this value must be considered. Now it appears blank but i want this data to get populated from the screen
    field how can i achieve it.
    Warm Regards,
    Naveen M

    hii naveen,
    YOu have to make use of the function modules:
    DYNP_VALUES_READ Read screen field values before PAI field transport
    DYNP_VALUES_UPDATE Change screen field contents w/o PBO
    Each of which is very well documented
    or
    trigger the drop-down in POV.
    PROCESS PAI.
    FIELD <FIELD>.
    PROCESS ON VALUE-REQUEST.
    FIELD FIELD MODULE F4HELP_FOR_FIELD.
    MODULE F4HELP_FOR_FIELD.
    > Call search help: see the fm VRM_* to manage dropdown list
    DATA: DYNAME LIKE D020S-PROG,
    DYNUMB LIKE D020S-DNUM.
    DATA DYNPFIELDS LIKE STANDARD TABLE OF DYNPREAD WITH HEADER LINE.
    DYNPFIELDS-FIELDNAME = <other field name>.
    DYNPFIELDS-FIELDVALUE = <value>.
    APPEND DYNPFIELDS.
    CALL FUNCTION 'DYNP_VALUES_UPDATE'
    EXPORTING
    DYNAME = DYNAME
    DYNUMB = DYNUMB
    TABLES
    DYNPFIELDS = DYNPFIELDS.
    ENDMODULE.
    rgrds,
    Shweta

  • Fill data in 2 fields on selection screen from a search help

    Hi,
    I have defined a custom search help as given below.
    Selection Method : ZTSTCT
    Search Help Parameters : 
    TCODE Importing & Exporting
    TTEXT Exporting Only
    I have two parameters in my report as declared below:
    PARAMETERS : tcode TYPE tstct-tcode  MATCHCODE OBJECT zm_tstc,
                 ttext TYPE tstct-ttext.
    Now whenever a user selects any TCODE in the help ZM_TSTC, I need both the fields on the selection screen to be filled with appropriate data. When I tested the search help in SE11, both fields are getting filled with appropriate data but in the report only the field TCODE gets filled. Is there any way to get the other field also filled with the appropriate data ?
    Points will be awarded for helpful answers.
    Thanks & Regards,
    Mukul

    Hi,
      Use the Event.
      AT SELECTION-SCREEN AT tcode.
    Use the select query from the method ZTSTCT.
    select single  TTEXT into ttext from ZTSTCT where TCODE = TCODE.
    you will get the value of TTEXT .
    Regards,
    Balakumar.G.

  • How to copy the corresponding values other fields in  Search help

    Hi All,
    My selection screen contains 5 fields. three are obligatory parameters, one date field and one select option.
    All are from the same table . I had created search help for one field .
    when I'll click the hit list of the search help I want the corresponding values to get copied to other fields in the selection screen, as my hit list contain values for all those fields.
    How Can I copy those values.
    Please help me on this.

    Hi,
    Please try this.
    In the search help set the export parameter for the other fields also.
    Thanks
    Naren

  • Automatically populate other fields on screen while applying search help on

    Hi,
    There is some urgent requirement
    I have one screen in which 3 fields are there
    Functionality is like this when I apply search help for one field it will call a FM which populate a internal table in which value for all 3 fields will be there and it should be populated in all 3 fields.
    I am assigning proper value to all 3 fields in POV event but only one feild is getting populated on which I am applying search help.
    Anybody can sort this out.
    will be thankful to U.

    Hi..,
    just copy, paste and execute this code..
    Check this code..will be helpful for u..
    tables:mara,makt,mseg.
    parameters: p_bukrs type t001-bukrs,
    p_butxt type t001-butxt,
    p_ort01 type t001-ort01,
    p_land1 type t001-land1.
    data: dynfields type table of dynpread with header line.
    data: return type table of ddshretval with header line.
    at selection-screen on value-request for p_bukrs.
    call function 'F4IF_FIELD_VALUE_REQUEST'
    exporting
    tabname = 'T001'
    fieldname = 'BUKRS'
    dynpprog = sy-cprog
    dynpnr = sy-dynnr
    dynprofield = 'P_BUKRS'
    tables
    return_tab = return
    exceptions
    field_not_found = 1
    no_help_for_field = 2
    inconsistent_help = 3
    no_values_found = 4
    others = 5.
    refresh dynfields.
    read table return with key fieldname = 'P_BUKRS'.
    Add it back to the dynpro.
    dynfields-fieldname = return-retfield.
    dynfields-fieldvalue = return-fieldval.
    append dynfields.
    Get the company code from db and add to dynpro
    data: xt001 type t001.
    clear xt001.
    select single * into xt001
    from t001
    where bukrs = return-fieldval.
    dynfields-fieldname = 'P_BUTXT'.
    dynfields-fieldvalue = xt001-butxt.
    append dynfields.
    dynfields-fieldname = 'P_ORT01'.
    dynfields-fieldvalue = xt001-ort01.
    append dynfields.
    dynfields-fieldname = 'P_LAND1'.
    dynfields-fieldvalue = xt001-land1.
    append dynfields.
    Update the dynpro values.
    call function 'DYNP_VALUES_UPDATE'
    exporting
    dyname = sy-cprog
    dynumb = sy-dynnr
    tables
    dynpfields = dynfields
    exceptions
    others = 8.
    <b>
    plz do remember to close your thread, when ur problem is solvedd !! reward all helpful answers !!
    regards,
    sai ramesh</b>

  • Value is not populating in field through search help f4

    Hello Expert,
    I have made one field as a search help but data is not populating from popup.
    Data is coming from BP_search_help. Here i did not create any search help in se11. not required here.
    i used Code in get_p method.
    Method GET_P_BP_NUMBER.
    CASE iv_property.
        WHEN if_bsp_wd_model_setter_getter=>fp_fieldtype.
          IF iv_display_mode EQ abap_true.
            rv_value = cl_bsp_dlc_view_descriptor=>field_type_event_link.
          ELSE.
            rv_value = cl_bsp_dlc_view_descriptor=>field_type_input.
          ENDIF.
        WHEN if_bsp_wd_model_setter_getter=>fp_onclick.
          rv_value = ' '.  "EC NOTEXT
      ENDCASE.
    ENDMETHOD.
    GET_V Method.
    DATA: ls_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
            lt_inmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
            lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
      ls_map-context_attr = 'STRUCT.BP_NUMBER'.
      ls_map-f4_attr = 'PARTNER'.
      APPEND ls_map TO: lt_inmap,lt_outmap.
      CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
            EXPORTING
              iv_help_id        = 'BP_HEAD_SEARCH'                            "#EC NOTEXT
              iv_help_id_kind  = if_bsp_wd_valuehelp_f4descr=>help_id_kind_dtel
              iv_trigger_submit = 'X'
              iv_input_mapping  = lt_inmap
              iv_output_mapping = lt_outmap
    endmethod.
    But when i activate get_v method .i am getting 1 error.
    Error is
    Please help me how to rectify this error and any other way to populate data in field through f4 help.
    If u want more detail. Please follow attachment.

    Hi Madhuri,
    You can refer the below code for search help for partner. The code has to be written on GET_V_XXX method.
    DATA: ls_map TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
             lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
       ls_map-context_attr = 'STRUCT.BP_NUMBER'.
       ls_map-f4_attr = 'PARTNER'.
       APPEND ls_map TO lt_outmap.
       CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
         EXPORTING
           iv_help_id        = 'UIF_BUPAP_WIDE_COL'    ""Search help name
           iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
           iv_trigger_submit = abap_true
           iv_input_mapping  = lt_inmap
           iv_output_mapping = lt_outmap.
    Thanks,
    Ritu

  • Table TZC37 field STATU search help drop down is not pulling any values?

    Hi,
    In table TZC37 field STATU(Contract status) search help is not pulling any values( drop down list when execute the table values) .. but the table has values for this field.
    And also I checked in the configuration, this field has values in the config also. But still the search drop down is not getting any values.
    Can any one knows what could be the reason and how to solve this issue?
    I am using this field in transaction FNVS when searching loan number based on Status field.
    Thanks for your time.
    Murali.

    Hi Micky,
    I am using this in transaction FNVS (when searching Loan number based on Status field( this is Custom Search help added this field ( VDARL- SSTATI )
    Value table for this data type - STATI is TZC37.
    While getting records from these tables(TZC37 or VDARL )  I am trying to use drop down values for searching data using this field SSTATI. But its not showing any drop down values. It supposed to show what ever values exists for this field  right?
    I checked in the cofig of this table and values exists for this field.
    Any help appreciated.
    Thanks.

  • The field SAKNR search help doesn't work?

    Dear Expert,
    My dialog program used a table field data element call SAKNR ,
    and i set the search help in the layout screen of my table control.
    the search help works but after i double click it but the value didn't show up
    in the field.
    don't know what's going on...
    Please Help.
    Regards
    Jack Lee

    Search Help Name   :- C_SAKNR for data element  SAKNR and value table is SKA1 in module pool you can assign  Search Help Name

Maybe you are looking for

  • Database query using report parameters in Report Viewer 2008 and CR-XI

    Hi - I have written a report for in-house use on an Access database. The report uses parameters to filter the record selection for reporting. The report operates fine in Crystal XI, but in Crystal Report Viewer 2008, the parameters are not shown and

  • How can i watch a show on apple tv that is on ipad2

    I am wanting to watch a show that i have on the NBC app on my IPAD2 but i want to move it to my apple tv.  Can anyone tell me what i need to do to get this to happen? The apple tv shows that it has access to my apple ID but i am not a computer guy so

  • EMac Still Humming Along - Display Issues Though ... Any Help?

    I have a strange display issue to run by the forum here: Obviously my 2002 eMac is going to be suffering some display issues with the age the Mac is and all ... but besides the slightly "softer" screen focus (due to aging tube), I only have one other

  • Flexible update master data inconsistencies

    Dear experts, I have the following issue with flexible update master data for 0employee. 0employee is getting loaded from 3 different sources. here is the example below; employee  address   phone compcode 1                germany   123      1        

  • IPhone 4 suddenly has vertical lines

    I was using my iPhone while charging and after awhile, the device became hot and this vertical lines appear. I locked and unlocked my device and it becomes usable for awhile. The screen started shaking madly and the vertical lines reapeared. Then thi