Populate values in pop up

Hi
I have a requirement like when I select a table row , a pop up should appear with the fields populated with the values of the selcted row.
I need some pointers on how to populate the fields of the pop up with the selected row values.
Both the table and the pop up view are created using value node option.
Thanks
Sushma

Hi Sushma,
First you need to identify the row selected on the table view. This can be done by writing this code in the
ON SELECT Event Handler.
    cl_thtmlb_util=>get_event_info(
      EXPORTING
        iv_event = htmlb_event_ex
      IMPORTING
        ev_index = lv_index ).
*Use the Iterator to get the rows based on index
*lr_iterator TYPE REF TO if_bol_bo_col_iterator
lr_iterator ?= me->typed_context->contextnodename->collection_wrapper->get_iterator( ).
*lr_entity TYPE REF TO cl_crm_bol_entity.
lr_entity ?= lr_iterator->get_by_index( iv_index ).
Once we have the selected entity, we can call a pop up and display data in it.
Since you said the pop up is created with a value node with required attributes, populate a BOL Collection lr_col using the entity.
    gr_popup = comp_controller->window_manager->create_popup(
      iv_interface_view_name = ''POP_UP/MainWindow''
      iv_usage_name = 'cupopup'
      iv_title = lv_title ).
  gr_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_surrounded ).
  gr_popup->open( iv_inbound_plug = gc_searchhelp
                                  iv_collection   =   lr_col ).
Regards,
Masood Imrani S.

Similar Messages

  • How to populate Value in Pop Up Via Value table

    Hi Experts,
    I have created one Zfield and assign it to a structure . Then structure is mapped to its corresponding Field group .  I have provided the value table to the Domain of the same Zfield . But at the execution the F4 pop up is appearing but the data (From the Value table) is not populating in the pop up.
    Kindly let me know the procedure to populate the data in popup via Value table....
    Though i know that for some standard fields like Country and Region, already the standard domain LAND1 is provided with the value table T005 and it works fine.
    Kindly suggest. Points will be rewarded for every helpful sugesstion.
    Thanks
    Sunil

    Hi
    In the fieldgrop structure for this field, fill in the field INPUT HELP as VALUE_TABLE and generate the layout. The values will appear in F4 now.
    Regards
    Karthik

  • How to populate values in List Box in Adobe form

    Hi,
    How to populate values in List box in adobe forms?
    Thanks
    RB

    if you want to display a fixed values in the dropdown you can use list box ui and can specify values there
    or if u want to display values from the context node of the webdynpro
    1. Drag and drop a Value Help Drop-down List element from the Web Dynpro Library tab to the Body Pages pane.
    2. Drag and drop your node from the Data View tab onto it. This action binds the layout element to the corresponding node.
    with regards
    shanto aloor

  • How to populate values for a new field in target infoprovider

    Hi Experts,
    am new to BI. i would like to know on how to populate values for a new field in the target cube with start rotuine.In my case,  i have a source infoprovider, which has 3 fields and a target infoprovider, which has 5 fields. i need to populate the new 2 fields in start routine. i dont want to populate using Field routine and am using 3.5 version. please assist with code on how to solve this issue.
    Thank you,
    Chitra.
    Edited by: Chitra_BI on Jun 13, 2011 10:23 AM

    Debug the standard code and see where the other fields are getting update. you can use the similar approach and area to code for the new field.
    Regards,
    Lalit Mohan Gupta.

  • How to Populate Values in Report for Fields

    Hi Experts,
    I have a Report requirement where in I need to Populate values for FROM Period & TO Period based on the user i/p for Quarter variable.
    For Eg;
    Fiscal year : 2009
    Quarter : 3
    Mat     Year         From period    ToPeriod          QTY
      A      2009            07                  09                1
      B      2009            07                  09                22
      C      2009            07                  09                44
    There are no fields FROM Period or TO Period in Cube.I need to populate them in the report directly.
    Please give some inputs to goahead.
    Thanks
    Ravve
    Edited by: ravve king on Jun 4, 2009 4:38 PM
    Edited by: ravve king on Jun 4, 2009 4:39 PM

    You're going to need to create a User Exit in your query. Here's a link to a helpful document on how to do that:
    [Using Customer Exit Variables in BW/BI Reports Part - 1|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20f119d9-922d-2c10-88af-8c016638bd90]

  • How to populate values in to dropdown in table ui element

    Hi,
    according to my scenario  i have atable with five records ...andi have acolumn name DATE and  it contains 5 dropdowns with some values i.e dates from jan 1 2008-dec 31 2008.user needs to select only those values which are in dropdown. can u tell me the code to populate values in to dropdown in table UI element.
    Thanks
    Raju

    Hi,
    you can go for two drop downs like DropDown by Key or Drop Down by Index as per requirment.
    Create context Node for the table UI, in that one will be for ur drop down. Create element for the Context node and add thses to the conetxt.
    Code example for DropDownBy Key:-
    ISimpleType simpleType =               wdContext     .nodeProjEstiTable().getNodeInfo()
         .getAttribute("projphasname")               .getModifiableSimpleType();
    IModifiableSimpleValueSet svs1 =
    simpleType.getSVServices().getModifiableSimpleValueSet();
    svs1.clear();
    for (int j = 0; j < projphasname.length; j++) {
         svs1.put(projphasname[j][1], projphasname[j][1]);
    for DropDownBy Index you can work in normal way means try to create element for the respective context attribute.
    Hope this may help you...
    Deepak

  • How to populate value node with values?

    Hi Experts,
    I have created a new view with a vlaue node of table type.
    How can I populate values into the value node?
    Which method will be useful?
    Is there any material for Web UI Programing?
    Please help me in this.
    Thanks,
    Adi.

    Hi Adi
    If ZVal is your value node then,
      DATA: lref_entity    TYPE REF TO cl_bsp_wd_value_node,
            lref_bo_coll   TYPE REF TO if_bol_bo_col,
            lref_data TYPE REF TO <<your ZStructure>>,
             ls_data type <<your ZStructure>>.
    ls_data-<<field1>> = 'XYZ'
    ls_data-<<field2>> = 'XYZ'
         CREATE OBJECT lref_bo_coll TYPE cl_crm_bol_bo_col.
          CREATE DATA lref_data.
          CREATE OBJECT lref_entity
            EXPORTING
              iv_data_ref = lref_data.
          lref_entity->set_properties( ls_data ).
          lref_bo_coll->add( lref_entity ).
          typed_context->ZVal->set_collection( lref_bo_coll ).
    Hope this was helpful.
    Best Regards,
    Lakshminarayana

  • How to remove value from pop list in iProcurement Page

    I need to remove a value from POP list. How can I do this? Can I do this using Perosnalization?
    While creating requisition in the approvers page there are two buttons one is Approvers and another is Add_Attachments.
    When I click Add_Attachments button it will open another page there I need enter description and select category from the pop list and define attachment.
    In the category list I need to remove one value. How do i do this.Personalization links not available in this page.
    Please help guys...
    Thanks Advance
    Kumar

    Kumar,
    First you need to find out the data source for the category pop list. Based on that we can suggest how to achieve that requirement as there are many different ways of specifying the data source for a pop list.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Auto populate values in the the database table

    Hi All,
    I have a requirement where user enter values in one of the ZTransaction. This will update a Ztable. So the new requirement is to add two new columns in the fields, which is completed. Now this two new fields are supposed to auto populate values based upon the key field .
    The transaction code is defined with Transaction as SM30 and Default values as
    Name of the screen field     value
    Update                               X
    VIEWNAME                      "table name which the values are updated".
    Please let me know how to do this.
    Thank you!!

    Hi Swetha,
    I am unsure of what you are trying to accomplish so I will make a few assumption and perhaps you can find some benefit in it.
    I suppose you are trying to add new fields to a custom (Z) database table.
    If so then use SE11 to add the two new columns.
    After this is complete then rebuild the table maintenance by using the following path: SE11-> Utilities->Table Maintenance Generator.  (Remember to double check the Recording Routine Radio button.)
    If the user needs fields automatically populated then check the following link.  It describes how to use table maintenance events.  I suppose you need to use Event 01 and Event 05.
    http://help.sap.com/saphelp_nw04/helpdata/en/91/ca9f0ea9d111d1a5690000e82deaaa/frameset.htm
    Good luck and reward points if helpful,
    AK
    Moderator message -  Asking for points is against the Forum's RoE
    Message was edited by: Suhas Saha

  • How to populate values into a Listbox on selection screen

    Hi All,
    Please any one let me know how to populate values (for ex.01,02 and 03) in a list box of selection screen..
    Thanks,
    Vijay

    Try this code ...
    REPORT  ZLISTBOX.
    TYPE-POOLS: VRM.
    TABLES SPFLI.
    TABLES SSCRFIELDS.
    DATA flag.
    DATA: NAME TYPE VRM_ID,
    LIST TYPE VRM_VALUES,
    VALUE LIKE LINE OF LIST.
    PARAMETERS PS_PARM LIKE SPFLI-CARRID AS LISTBOX VISIBLE LENGTH 5
    USER-COMMAND fcodex.
    data: i_spfli type spfli occurs 0 with header line.
    PARAMETERS PQ_PARAM LIKE SPFLI-connid AS LISTBOX VISIBLE LENGTH 15
    USER-COMMAND
    fcodey.
    *DS AS CHECKBOX USER-COMMAND FLAG.
    INITIALIZATION.
    NAME = 'PS_PARM'.
    DATA T TYPE I VALUE 0.
    SELECT DISTINCT carrid into corresponding fields of table i_spfli FROM
    SPFLI.
    loop at i_spfli.
    VALUE-KEY = i_spfli-CARRID.
    VALUE-TEXT = i_spfli-CARRID.
    APPEND VALUE TO LIST.
    endloop.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = NAME
    VALUES = LIST.
    AT SELECTION-SCREEN.
    if sy-ucomm eq 'FCODEX'.
    REFRESH LIST.
    CLEAR LIST.
    PQ_PARAM = ' '.
    NAME = 'PQ_PARAM'.
    SELECT * FROM SPFLI WHERE CARRID = PS_PARM.
    VALUE-KEY = SPFLI-connid.
    VALUE-TEXT = SPFLI-connid.
    APPEND VALUE TO LIST.
    ENDSELECT.
    endif.
    AT SELECTION-SCREEN OUTPUT.
    LOOP AT SCREEN.
    IF SY-UCOMM NE 'FCODEX' OR SY-UCOMM NE 'FCODEY'.
    CALL FUNCTION 'VRM_SET_VALUES'
    EXPORTING
    ID = NAME
    VALUES = LIST.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    START-OF-SELECTION.
    clear i_spfli.
    refresh i_spfli.
    select * into table i_spfli from spfli where carrid = ps_parm and connid
    = pq_param.
    loop at i_spfli.
    WRITE: / 'CITY FROM:', I_SPFLI-CITYFROM, 'CITY TO :',I_SPFLI-CITYTO,
    'DEPARTURE TIME :', I_SPFLI-DEPTIME.
    ENDLOOP.

  • IRecruitment: Populate Values in Offer Details DFF based on Vacancy Grade

    Hello All,
    I have enabled Additional Offer Details DFF while creating Offer for an Applicant of an open vacancy.
    I need to automatically populate values in these DFF fields based on the grade defined in vacancy (also available on offer creation page). I want to populate these fields automatically through using inline query that would be based on the vacancy grade (also shown on offer page).
    How can I build this query as I dont know whether the vacancy/offer grade is available in the create offer profile region or not.
    For Example
    Offer/Vacancy Grade = 4
    DFF Field 1 (Additional Offer Details) = Housing Allowance
    Query should be like this: If Grade is 4 then Housing Allowance = 15000 - Now I want this 15000 value to be automatically populated in the Housing Allowance field when we click on the Create Offer for a respective applicant.
    For your information the grade and housing allowance values relationship is configured in User Tables
    Awaiting your help
    Thanks & Regards,
    Beilal Khan

    Hello Everybody,
    Any thoughts or workarounds on How can I automatically populate (through Default SQL Query - While Defining DFF Segments) Offer Details DFF Fields on Create Offer page. The Default values will be based on Vacancy Grade which is also available on the Offer page, I just need to know how can I get to dynamically know this while I am creating offer.
    This is very critical, i would greatly appreciate your thoughts on this.
    Thanks in Advance,
    Regards,
    Muhammad Beilal

  • To populate values into single field in an internal table

    Hi Friends,
    How we need to populate values into single field in an internal table.
    E.g itab consits of single field ( name)
           i need to assign values to this field name .like
          peter,
          john,
          abrahm,
          daneyal
    Pls tell me i how i need to code for this
    Thanks ,
    Parnith

    Hi,
    Please look at the below code :
    DATA : BEGIN OF itab OCCURS 0 ,
             name(20) TYPE c,
           END OF itab.
    START-OF-SELECTION.
      itab-name = 'Peter'.
      APPEND itab.
      CLEAR itab.
      itab-name = 'John'.
      APPEND itab.
      CLEAR itab.
      itab-name = 'Abrahm'.
      APPEND itab.
      CLEAR itab.
      itab-name = 'Daneyal'.
      APPEND itab.
      CLEAR itab.
      LOOP AT itab.
        WRITE : / itab.
      ENDLOOP.
    Thanks,
    Sriram Ponna.

  • Populate values at selection screen

    Hi All,
    My requirement is:
    There are 2 radio buttons and 2 parameter fields.
    By default, one radio button is selected and the two fields are populated with some values at the selection screen.
    If the other radio button is selected, we need to pass different values to the two parameter fields.
    Can you please suggest me how to populate values at selection screen.
    I have tried populating them using AT SELECTION SCREEN OUTPUT, but didn't work.
    Any pointers are helpful.
    Thanks & Regards
    Gowthami

    Hi Gowthami,
        Try it this way:
    PARAMETERS:
      R1 RADIOBUTTON group rad USER-COMMAND ABC default 'X',
      R2 RADIOBUTTON group rad.
    Parameters:
      char1(10) type c,
      char2(10) type c.
    Initialization.
      char1 = 'radio1'.
      char2 = 'radio1'.
    At Selection-screen output.
      if r2 = 'X'.
    *    loop at screen.
          char1 = 'radio2'.
          char2 = 'radio2'.
    *      modify screen.
    *    endloop.
      elseif r1 = 'X'.
    *    loop at screen.
          char1 = 'radio1'.
          char2 = 'radio1'.
    *      modify screen.
    *    endloop.
      endif.
    With luck,
    Pritam.
    Edited by: Pritam Ghosh on Feb 24, 2009 11:54 AM

  • To populate values in Table

    Hi,
    I need to populate values in a table which i got from the bean...
    i have retrived the values in Class[] and if i populate the table (as in code  below).. i get only the first record..
    i have created a value node (GroupNode) in the view context and iam binding the values to it from my Java Command Bean (CategoryBean)..
    The code is as follows..
    GroupDTO[] groupDTOs = wdContext.currentCategoryBeanElement().modelObject().RetSameCatidObj();
        //   Collection groupList = new ArrayList();
       for(int i=0;i<groupDTOs.length;i++){
         groupList.add(groupDTOs<i>);
         IPrivateDel_sda.IGroupNodeElement ele =  wdContext.createGroupNodeElement();
                        ele.setCategoryid(groupDTOs<i>.getCategoryid());
                        ele.setGroupid(groupDTOs<i>.getGroupid());                              
    wdContext.nodeGroupNode().bind(ele);
    Is there any workaround to solve the issue...
    Thanx.
    Shravan.

    this my code which gives first record in the table
    wdContext.currentCategoryBeanElement().modelObject().setCategoryid(wdContext.currentGroupbeanElement().getCategoryid());
    GroupDTO[] groupDTOs = wdContext.currentCategoryBeanElement().modelObject().RetSameCatidObj();
    for (int j = 0; j < groupDTOs.length; j++)
      IPrivateDel_sda.IGroupNodeElement ele =  wdContext.createGroupNodeElement();
      ele.setCategoryid(groupDTOs[j].getCategoryid());
      ele.setGroupid(groupDTOs[j].getGroupid());                                   
      wdContext.nodeGroupNode().addElement(ele);
    thnxs 4 ur reply
    shravan
    Edited by: Armin Reichert on Jan 19, 2008 12:15 PM

  • Want 2 populate value in 2nd list item based on value selected in 1st list?

    Want 2 populate value in 2nd list item based on value selected in 1st list?

    Gaurav -
    The 3rd list will not populate because nothing has been selected yet in list 2. The value in list 2 is null, so the loop to populate list (3) has nothing to load. Try the following below. This should seed your 2nd list so the 3rd list will populate.
    You will have to declare first_record boolean and first_value to match DESCC.
    first_record := true; -- NEW *****
    Clear_List('BLOCK2.ITEM2');
    FOR CurRec IN (SELECT UNIQUE DESCC DESCC FROM LUTT where LUTT.IDD = :BLOCK2.ITEM1)
    LOOP
    if first_record = true then -- NEW SECTION *****
    first_value := CurRec.DESCC;
    first_record := false;
    end if;
    Add_List_Element('BLOCK2.ITEM2',1,CurRec.DESCC,CurRec.DESCC);
    END LOOP;
    :block2.item2 := first_value; -- NEW *****
    Clear_List('BLOCK2.ITEM3');
    FOR CurRec2 IN (SELECT UNIQUE DESCC DESCC FROM LUTT where LUTT.DESCC = :BLOCK2.ITEM2)
    LOOP
    Add_List_Element('BLOCK2.ITEM3',2,CurRec2.DESCC,CurRec2.DESCC);
    END LOOP;
    My name is Ken, 1990 is when I started using Oracle Forms 3.0, character based in the Unix environments. And you are very welcome.

Maybe you are looking for

  • Dual booting arch (usb) and ubuntu (grub2)

    Greetings, I'm trying to dual boot Arch linux (installed without a bootloader on a USB SSD) and Ubuntu 10.04 (installed on a hdd with GRUB2) but can't get Arch to boot. (Oh and I already have windows dualbooted) The entry grub autogenerated: menuentr

  • Data Selection in RSA3 does not filter

    Hi all. I have an issue that I'm hoping somebody may be able to help me with. I have created a generic extractor using a function module in ECC 6.0.  When I initially created it I was able to test extractor by using RSA3 and restricting the data.  I

  • Not able to open Admin console with other Administrator account other than "system"

    I am trying to create new users and add them to "Administrator" and "Administrators" so that they can access Admin console. I tried open up "http://localhost:7001/console" and entered in this new id and password, but it did not allow me in. At the sa

  • Browsing history not displaying correctly (3.6.4)

    I've been having a problem with my history display for the past several days (since about the time I was automatically updated to 3.6.4). When I press Cntrl-H to view my history, only the past two days are shown when viewing "by date and time" and "b

  • Storing images and icons in a JAR file

    Hi, I current have a JAR file to store our application icons in the GIF format. The application also uses several images which I would prefer to be stored in the JAR file as JPG files. Is it possible to store both GIFs and JPGs in a JAR and access th