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

Similar Messages

  • Values are not populating...

    After selecting the data from LOV the values are not populating in the respective fields.
    i've checked the 'LOV' no problem in that,but im think below coding have a problem.
    declare
         b boolean;
    begin
         :global.job:=null;
         clear_form(no_validate);     
         b:=show_lov('view');
         :GLOBAL.ADDNEW1:=0;
    --     go_block('JOB_CARD_MAIN');
         GO_ITEM('JOB_CARD_MAIN.BRANCH_CODE');
         set_block_property('job_card_main',default_where,'job_no='||chr(39)||:job_card_main.job_no||chr(39));
         execute_query(no_validate);------after this line get execute the values get disappear from the field
         insert into da.mylog(username,tname,mdate,oper) values(user(),'Job Creation',sysdate,'S');
         commit;
    end;
    Pls help..

    Which trigger do you have this code in? I'm guessing it is a Key-ListVal trigger.
    Have you tested the WHE RE clause in SQL*Plus to ensure it returns a record set? Most likely, the query returns no rows which could explain why the block is empty. Also, why are you clearing the entire Form instead of just the JOB_CARD_MAIN data block? Perhaps you should try:
    Go_Block('JOB_CARD_MAIN');
    Clear_Block(NO_VALIDATE);Also, the EXECUTE_QUERY built-in does not have a NO_VALIDATE parameter. It only supports the following parameters:
    ALL_RECORDS
    FOR_UPDATE
    or the combination of the two (ALL_RECORDS,FOR_UPDATE). It also allows you to set the Locking mechinism by passing the parameter NO_WAIT.
    Just a suggestion, try your query in SQL*Plus to make sure it produces a record set and Comment out all the extra stuff in your code and only keep the SHOW_LOV, CLEAR_BLOCK, SET_BLOCK_PROPERTY and EXECUTE_QUERY to see if a row is returned. If yes, then add the rest of your code back one line at a time.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Discount Value - 0RPA_REA Not Populating Correctly in Multiprovider ZXX_XX01

    Hi Gurus,
    Discount Value - 0RPA_REA Not Populating Correctly in Multiprovider ZXX_XX01,
    As you aware discount value (0RPA_REA) has Positive values correspond to a reduced sales value. Negative values correspond to a markup on the sales value.
    Item discounts are already taken into account in the sales value. Discounts at POS transaction level (header discounts) are only taken into account at the point of processing.
      This key figure is supplied by the Data Sources 0RT_PA_TRAN_CONTROL and 0RT_PA_TRAN_TOTALS and is filled by PIPE field REDUCTIONAMOUNT.
    Can some one let me know how to achieve the correct discount type from POSDM?
    Thanks and Regards,
    Ramesh D

    Hi Ramesh,
              As Vikrant mentioned the discount values are shown against record qualifier 1101 in 2 instances in your snapshot.Please check the receipt/MON0 and compare the discount values.
    Alternately pick anyother transaction which has maximum no of discounts and compare in RSA7.
    You may also Import/Export this transaction and verify in any other environment(DEV/TEST) etc to see the results are matching.If not matching, then possibly,some of the config TRs may be missing in PROD.
    Hope it helps.
    Best Regards,
    Aram.

  • Report Painter values are not populating for a particular cost center

    Report Painter(GR55) values are not populating for a particular cost center for the months of April 1 2011 where as for May onwards values are displaying correctly..We have check the transaction code KSB1 for this cost center there are some values posted for the period of April..
    Can any one help me to find out where exactly the issue is and how to resolve the same..

    Please check your variables in your report.

  • Fund Value is not populated in Vendor payment

    Hi All
    We have created new balance sheet account and we are trying to post the document. Fund value is not automatically populated.  Normally during posting commitment item related fund value is automatically populated.
    If you have any idea how to populate the fund value automatically for newly created GL Account.
    Note: Transaction code FMDERIVE we have mentioned the FUND and commitment item still the problem persist.
    Regards
    K.Gunasekar
    Edited by: KGUNASEKAR on Aug 30, 2010 12:29 PM
    Edited by: KGUNASEKAR on Aug 30, 2010 12:44 PM

    Hi
    When i am trying to post the document by manually simulation itself i am getting the fund value automatically but during manual posting without simulation i am trying to post the document at that time fund value is not populated automatically. Please help.
    Regards
    K.Gunasekar

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

  • Populating drop down with search help

    I have drop down to populated in WD,but i dont want it to be populated with the field values  from ddic,instead iwant the  the search help  values for this field in the ddic.Say for example i have the Carrid field with  values AA,BB and so on in the ddic table  and in the search help d description is there like for AA->american airlines and so on .so i dont want to populate my drop down with aa,instead i want american airlines.Please advice.

    you can try this ,
    1.after creating the attribute which you wanna populate in the context of your node .
    2.Go to do inint method of your view and try using the code below with node and attributes which you need.
    method wddoinit .
    data:     rootnode_info type ref to if_wd_context_node_info,
          rootnode_info1 type ref to if_wd_context_node_info,
          it_value_bet type table of wdr_context_attr_value.
         " node_arrid type ref to if_wd_context_node_info.
    rootnode_info = wd_context->get_node_info( ).
    " ADD A CHILD NODE TO THE ROOT.
    call method rootnode_info->get_child_node
      exporting
        name       = 'ARRANGEMENT_ID'
      receiving
        child_node = rootnode_info1.
    data:    lt_valueset type wdr_context_attr_value_list  ,
          l_value type wdr_context_attr_value.
    " fill up internal table from table***********************
    data : itab_pa_id type standard table of /sappssrm/pa_idt,
           wa_sappssrm_pa_id like line of itab_pa_id.
    select * from /sappssrm/pa_idt into table itab_pa_id.
    loop at itab_pa_id into  wa_sappssrm_pa_id.
       l_value-value      = wa_sappssrm_pa_id-arrangement_id.
       l_value-text    =  wa_sappssrm_pa_id-description.
    insert l_value into table lt_valueset.
    endloop.
    I guess this should help .
    Regards,
    Abhishek

  • 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

  • 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

  • Note 1681589: Missing entry in search help of RPUTMSE0 report

    Hola Buena tardes,
    Estamos aplicando la Note 1681589: Missing entry in search help of RPUTMSE0 report; En la version 4.7 hace referencia a un valor que no existe.
    Table: T52B5
    TMS1 RPUTMSE004  TOA C111E0
    Puede ser que el valor correcto es: sobra un número "1"
    Table: T52B5
    TMS1 RPUTMSE004  TOA C11E0
    Saludos,
    Jorogape

    Hola,
    En la vista V_T52B4 la encuentro como:
    TOA     C111E0     Modelo 111 - Impuesto sobre la renta PF
    Saludos,
    Carlos.

  • Field Profit Center is not populated while posting through T-Code F-02

    Dear Sir / Madam,
    While posting through T-code F-02 the field Profit center is in hidden mode
    as a result I am getting the given below error.
    "GLT2201 - Balancing field profit center in line item 001 not filled"
    Please guide me as to how do I change Field status varient so that the field Profit center gets activated in optional mode in F-02.
    I tried searching the same but could not find the solution.
    Regards
    Chirag Shah

    Dear expert
    Check following steps...
    1. Use transaction ACSET and enter cost center as your account assignment for type 01 APC posting..
    2. Make sure Cost Center exists in the Asset Master..
    3. Make sure profit center is entered into Cost Center master.
    4.Check the steps where you assign the GL accounts to the splitting rules.
    suggest you to go through the below mentioned links
    Balancing Field "Profit Center" in line item 001 not filled
    Balancing field "profit center" in line item 001 not filled
    GLT2201 - Balancing field profit center in line item 001 not filled
    Balancing field "Profit Center" in line item 001 not filled
    F-51: Balancing field "Profit Center" in line item 001 not filled
    Balancinf field profit center in line item 001 not filled
    Regards,
    Ajeesh.s

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

  • PDF file opening with blank fields - the field values are not populated.

    Recently, our users have been facing this issue, "data not populating in the PDF fields".
    We are using FDF in PHP to load the PDF templates and apply the data to the PDF fields. This works fine on many adobe versions but showing empty fields in few adobe versions. For e.g It worked fine with Adobe Reader 10.1.3 but did not work in 11.0.
    This has been critical now as it is showing empty fields in IE11. Can you please help me overcome this issue.
    Thanks!

    All I can suggest is to try the latest Reader versions, i.e. 10.1.11 or 11.0.8.

Maybe you are looking for

  • How do you differentiate between indexed and non-indexed prompts?

    Hi, I'm trying to fill Webi parameters dynamically, using the Webi REST SDK (4.1 SP04). This environment runs on top of SAP BW and uses BICS to connect to the BEx query. When the prompt is implemented as a BEx variable, the call to GET /biprws/raylig

  • MQ6 Drivers for JMS Adapter throwing error

    Per note 747601 of SAP, we got the jar files for MQ6. MQ 6.0 with SAP XI 3.0 JAR files needed We prepared the .sda file When we try to deploy it through SDM, we are getting errors: Summary: ========   There were 1 archives selected.   0 archives succ

  • Playlist order different on iPod

    I thought I'd found a solution to this elsewhere on the boards, but I was wrong On my iPod I have a playlist called Purchased Music, which was initially synced from iTunes. Because I update manually, each time I buy a new song, I drag it into the iPo

  • How to: script or shortcuts

    Hi, I am 3 weeks into using the mac and loved it. I have set my imac to NEVER sleep because I am always constantly doing FCP video captures. When I am done with it, I have to manually go back to reset my sleep and energy preferences. I am just wander

  • IPhoto stopped working!!!

    I had computer crash, all it adffected was outlok, so after rebuilding the database all y applications went back to normal, except iPhoto. I can not launch, I see the icon on the lefet, but I can not open the library. Even if I go to fiole and select