Interactive ALV in webdynpro ABAP

I have a requirement where in, i have to show a report in ALV and on lead selection from ALV list i need to show another screen with some UI elements.Since i use view container elemnt it doesnt have required properties.
Please help me to find out existing methods which can help me making the ALV list interactive to show another screen.
I searched in the forum but didnt get the required solution.
Thanks in advance.

Naveen,
The basic Concept of using the ViewContainerElement is to bring the View of another component into the calling component. That means, the actions and methods for the table or any UI Element will still exist inside the View of the Called Component, the ViewContainerElement is just a Place Holder for this Called View.
Let us consider an Example:
v_view1 --> Calling Component
v_view2 --> Called Component
v_view1 will have the ViewContainerElement (V_CONT) binded with the inbound plug of v_view2 window.
v_view2 will have all the actions, methods, events to handle and manipulate the data.
So, anytime, there is a lead selection of the data, the events from v_view2 will be active to handle the leads.
To understand this, you need to debugg the v_view2 methods, anything which you have already created.
Please let me know, whether I've addressed your query properly.
Regards,
-Syed.

Similar Messages

  • How to use traffic lights concept in alv in webdynpro abap

    Hai ,
              How to use traffic lights concept for alv in webdynpro abap. If possible give me some code.

    Hi Ravi,
    You can create ICON  to get traffic light.
    Go through this step by step.. in this example
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1190424a-0801-0010-84b5-ef03fd2d33d9?quicklink=index&overridelayout=true
    Please go through this...
    Re: Display ICON in the ALV table column
    Re: Image in ALV
    cheers,
    Kris.

  • Interactive chart in Webdynpro ABAP

    Hi Experts,
    I would like to use this thread to discuss on SAP's recommendation to develop Interactive chart in Web dynpro ABAP .
    Correct me if Iam wrong ,
    1) Business graphics can not be made interactive.
    2) With Gantt UI element ( I couldn't find documentation ).
    3) Interactive Chart in FPM ?
    4) Interactive Chart using FLEX Builder ?
    5) HTML Island ? Though not available for Customers with lower version of SAP ?
    What is SAP's Road map w.r.t Interactive chart in Webdynpro ABAP ?
    Regards,
    Karthi M

    Hi Stuart,
    Business graphics can be made interactive only with click action.
    Gantt UI , Iam not finding any proper documentation. Cursing SAP for that.
    If you are lucky enough to have latest version of SAP. Try with SAP UI5 which has got very good interactive capabilities of graph.
    Regards,
    Karthi M

  • Using Interactive forms in Webdynpro Abap

    Hi all,
    I need to learn using Interactive forms in Webdynpro Abap. Can any please tell me from where to start with and what are the things that needs to be installed extra in the client system.
    Also please tell me where i can get the tutorials on it..
    Thanks,

    Hi,
    try this.
    You can download the Adobe LiveCycle Designer installer from SAP Service
    Marketplace:                                                                               
    http://service.sap.com/installations                                                                               
    Entry by Application Group                                              
    -> SAP NetWeaver                                                        
    -> SAP NETWEAVER                                                        
    -> SAP NETWEAVER 2004S                                                  
    -> Installation and Upgrade                                             
    -> <Choose any OS and DB combination.>                                  
    -> Adobe LiveCycle Designer 7.1                                                                               
    Download this file and extract it to your local hard drive.             
    Regards, Heidi
    PS: See <a href="https://service.sap.com/sap/support/notes/962763">note 962763</a>
    Message was edited by:
            Heidi von Geisau

  • Uploading data from Interactive form in Webdynpro ABAP

    Hello All,
    I am uploading data from an Offline interactive form to an ABAP WebDynpro application. Form is first downloaded, data is filled and now I am trying to upload the form to another WebDynpro application. Form DataSource is mapped to Context node with same data structure. However when I upload the form, form data does not pass automatically to specified context node.
    Do I miss any important step in between? I am on SAP NetWeaver 2004s SP10.
    Thanks,
    Nitesh Shelar.

    hi,
    the data is automatically passed to the context when the "interactive form" UI element is there in the view.
    when you just upload the pdf, just like that, it will treat it like a PDF file, not an interactive form....
    try using the same interactive form which you used to create the offline form.
    i hope this helps,
    regards,
    -ag.

  • F4 help in Interactive forms with Webdynpro abap

    Hi All,
    How to create a f4 help in interactive adobe form by using  Webdynpro ABAP.

    Ameer,
    Check if these blogs help you:-
    /people/community.user/blog/2006/11/20/search-help-in-isr-adobe-forms
    /people/community.user/blog/2007/01/16/a-simple-search-help-in-isr-form--contd
    Chintan

  • How to call interactive form using webdynpro abap.

    Hi Sap Guru's,
    I have Created Invoice Interactive form using SFP Transaction , now my requirement is ,
    Need to Call that invoice form using webdynpro abap by passing invoice number(vbeln) from the screen.
    please suggest .
    thanks

    Hi Suresh,
    Refer <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/aa/940ee5331b4b8fa0a6cb6714dc5db4/frameset.htm">Interactive Forms in WDA.</a>, this is the best one .
    Welcome to <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/interactiveforms">Interactive Forms.</a>.
    Do post your queries on Interactive Forms in SAP Interactive Forms by Adobe.
    Rgds,
    - anto.

  • Hierarchical sequential display in ALV for webdynpro ABAP

    Hello,
    I am doing an ALV report WebDynpro for abap. I have a situation where I have to display Open Items and all the partial payments in the ALV report. In short. In summary, I have to display a Hierarchical Table of data which two different structures of data, but linked and displayed together.
    The only information I have to go about this is [Table as Hierarchy|http://help.sap.com/saphelp_nw2004s/helpdata/EN/3e/904b2624534e0db707c7314a5e1e9d/frameset.htm] in SAP Help.
    If you have any pointers for programming a Hierarchical Sequential report in Webdynpro alv that would be great. Any classes, methods etc I can use or , how I can do bindings to the context etc...
    Thank you for all your help.
    Sumit.

    Hello,
    I am doing an ALV report WebDynpro for abap. I have a situation where I have to display Open Items and all the partial payments in the ALV report. In short. In summary, I have to display a Hierarchical Table of data which two different structures of data, but linked and displayed together.
    The only information I have to go about this is [Table as Hierarchy|http://help.sap.com/saphelp_nw2004s/helpdata/EN/3e/904b2624534e0db707c7314a5e1e9d/frameset.htm] in SAP Help.
    If you have any pointers for programming a Hierarchical Sequential report in Webdynpro alv that would be great. Any classes, methods etc I can use or , how I can do bindings to the context etc...
    Thank you for all your help.
    Sumit.

  • Interactive  alv  in webdynpro

    Hi,
      I want  to  build  webdynpro ,
    in  first  view  getting  list  of  records(header)   and  in second view (items).
    whatever  record  selected  in  first  view  should  display  corresponding  items in second  view.
    Like  interactive  report.
    Thanks,
    Asha

    Hi Asha,
    If you want to use ALV then refer to this [thread|ALV display] and check Uday's reply. It will give you some idea.
    If you want to use table to show your data, the refer this [article|https://www.sdn.sap.com/irj/sdn/abap?rid=/library/uuid/7a89b067-0801-0010-8192-a9896a60938e].
    I hope it helps.
    Regards
    Arjun
    Edited by: Arjun on Jan 15, 2009 10:25 AM

  • Drop down in ALV for Webdynpro ABAP

    Hi Experts,
    I was trying to implement one Web dynpro ABAP application that will show one ALV and ALV will content one dropdown so that user can select data from the drop down. Addtion to that, my dropdown should have data based on another column of ALV.
    I have followed one article which is available in Net.
    At the end of development, ALV is displayed with dropdown. Also dropdown has data binded. However, no data is visible in dropdown.
    I have created one context node having four dictionary element and one elemt for dispplaying the dropdown.
    In the DoInit method of view, i have written below code:
    Data Declaration
      DATA:
            lo_node_cskt  TYPE REF TO if_wd_context_node,
            lo_el_cskt    TYPE REF TO if_wd_context_element,
            ls_cskt       TYPE wd_this->element_cskt,
            lt_cskt       TYPE wd_this->elements_cskt,
            lo_cmp_usage  TYPE REF TO if_wd_component_usage,
            lv_value      TYPE REF TO cl_salv_wd_config_table,
            lr_column     TYPE REF TO cl_salv_wd_column,
            lr_drdn       TYPE REF TO cl_salv_wd_uie_dropdown_by_idx,
            ls_value_set  TYPE wdr_context_attr_value,
            lv_tabix      TYPE sy-tabix,
            lv_count(2)  TYPE c,
            lo_interfacecontroller TYPE REF TO iwci_salv_wd_table.
    Navigate from <CONTEXT> to <CSKT> via lead selection:
      lo_node_cskt = wd_context->get_child_node( name = wd_this->wdctx_cskt ).
    get element via lead selection
      lo_el_cskt = lo_node_cskt->get_element( ).
    Get Data:
      SELECT kokrs kostl datbi ktext FROM cskt  INTO CORRESPONDING FIELDS OF TABLE lt_cskt.
      lv_count = 0.
    Populate value set
      LOOP AT lt_cskt INTO ls_cskt.
        lv_tabix = sy-tabix.
        CLEAR ls_cskt-ktext.
        DO 3 TIMES.
          lv_count = lv_count + 1.
          CONCATENATE 'TEST' lv_count INTO ls_value_set-text.
          CONCATENATE 'TEST' lv_count INTO ls_value_set-value.
          if lv_tabix = 2.
           if sy-index = 2.
             EXIT.
           endif.
          endif.
          APPEND ls_value_set TO ls_cskt-valueset.
        ENDDO.
        MODIFY lt_cskt FROM ls_cskt INDEX lv_tabix TRANSPORTING ktext valueset.
      ENDLOOP.
    Bind data
      lo_node_cskt->bind_table( lt_cskt ).
    Instantiate ALV
      lo_cmp_usage = wd_this->wd_cpuse_alv( ).
      IF lo_cmp_usage->has_active_component( ) IS INITIAL.
        lo_cmp_usage->create_component( ).
      ENDIF.
      lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
    Bind Data to Interface Controller Node
       lo_interfacecontroller->set_data(
            r_node_data = lo_node_cskt
    Get ALV reference table
       lv_value = lo_interfacecontroller->get_model( ).
    Make KTEXT column as drop down
       CALL METHOD lv_value->if_salv_wd_column_settings~get_column
       EXPORTING
         id = 'KTEXT'
       RECEIVING
         value = lr_column.
    Create Object for Drop down
      CREATE OBJECT lr_drdn
       EXPORTING
         selected_key_fieldname = 'KTEXT'.
      CALL METHOD lr_drdn->set_valueset_fieldname
      EXPORTING
        value = 'VALUESET'.
      CALL METHOD lr_drdn->set_type
      EXPORTING
        value = IF_SALV_WD_C_UIE_DRDN_BY_INDEX=>TYPE_KEY_CONVERT_TO_VALUE.
      CALL METHOD lr_column->set_cell_editor
      EXPORTING
        value = lr_drdn.
      CALL METHOD  lv_value->if_salv_wd_table_settings~set_read_only
      EXPORTING
        value = abap_false.
    I am still finding the answer why data in drop down is not visible. However, I can select by clicking dropdown and blank elements (since data is not visible) can be selected.

    Hey
    i am using  the same code except i have just modified little bit the select statement to restrict the number of entries.
    and also besides writing the code in wddoinit i have added the compenent usage of alv component and added the node
    having the structure ckst and after that deleting the dictionary reference to add the attribute valueset in both places
    component controller and view controller and mapped them and mapped the data node of interface controller of comp
    usage to this node in comp contrlr.
    and adding the view container and embeding table view of alv comp there.
    that's it
    and here is the code which is almost same as yours except small change in select statement.
    method WDDOINIT .
      DATA:
    lo_node_cskt TYPE REF TO if_wd_context_node,
    lo_el_cskt TYPE REF TO if_wd_context_element,
    ls_cskt TYPE wd_this->element_cskt,
    lt_cskt TYPE wd_this->elements_cskt,
    lo_cmp_usage TYPE REF TO if_wd_component_usage,
    lv_value TYPE REF TO cl_salv_wd_config_table,
    lr_column TYPE REF TO cl_salv_wd_column,
    lr_drdn TYPE REF TO cl_salv_wd_uie_dropdown_by_idx,
    ls_value_set TYPE wdr_context_attr_value,
    lv_tabix TYPE sy-tabix,
    lv_count(2) TYPE c,
    lo_interfacecontroller TYPE REF TO iwci_salv_wd_table.
    * Navigate from <CONTEXT> to <CSKT> via lead selection:
    lo_node_cskt = wd_context->get_child_node( name = wd_this->wdctx_cskt ).
    * get element via lead selection
    lo_el_cskt = lo_node_cskt->get_element( ).
    * Get Data:
    SELECT kokrs kostl datbi ktext FROM cskt INTO CORRESPONDING FIELDS OF TABLE lt_cskt up to 10 rows .
    lv_count = 0.
    * Populate value set
    LOOP AT lt_cskt INTO ls_cskt.
    lv_tabix = sy-tabix.
    CLEAR ls_cskt-ktext.
    DO 3 TIMES.
    lv_count = lv_count + 1.
    CONCATENATE 'TEST' lv_count INTO ls_value_set-text.
    CONCATENATE 'TEST' lv_count INTO ls_value_set-value.
    if lv_tabix = 2.
    if sy-index = 2.
    EXIT.
    endif.
    endif.
    APPEND ls_value_set TO ls_cskt-valueset.
    ENDDO.
    MODIFY lt_cskt FROM ls_cskt INDEX lv_tabix TRANSPORTING ktext valueset.
    ENDLOOP.
    * Bind data
    lo_node_cskt->bind_table( lt_cskt ).
    * Instantiate ALV
    lo_cmp_usage = wd_this->wd_cpuse_alv( ).
    IF lo_cmp_usage->has_active_component( ) IS INITIAL.
    lo_cmp_usage->create_component( ).
    ENDIF.
    lo_interfacecontroller = wd_this->wd_cpifc_alv( ).
    * Bind Data to Interface Controller Node
    lo_interfacecontroller->set_data(
    r_node_data = lo_node_cskt
    * Get ALV reference table
    lv_value = lo_interfacecontroller->get_model( ).
    * Make KTEXT column as drop down
    CALL METHOD lv_value->if_salv_wd_column_settings~get_column
    EXPORTING
    id = 'KTEXT'
    RECEIVING
    value = lr_column.
    * Create Object for Drop down
    CREATE OBJECT lr_drdn
    EXPORTING
    selected_key_fieldname = 'KTEXT'.
    CALL METHOD lr_drdn->set_valueset_fieldname
    EXPORTING
    value = 'VALUESET'.
    CALL METHOD lr_drdn->set_type
    EXPORTING
    value = IF_SALV_WD_C_UIE_DRDN_BY_INDEX=>TYPE_KEY_CONVERT_TO_VALUE.
    CALL METHOD lr_column->set_cell_editor
    EXPORTING
    value = lr_drdn.
    CALL METHOD lv_value->if_salv_wd_table_settings~set_read_only
    EXPORTING
    value = abap_false.
    endmethod.
    thanks
    sarbjeet

  • Dropdown List in Adobe Interactive Form Using Webdynpro ABAP

    Hi Pals,
    In my scenarion I need to list the Rating Code in the Dropdown list box of the Interactive Form.
    Form Created by using SFP transaction
    Not XML Schema interface
    Passing the values to the Form by using the default function module that which created automatically while creating the Form
    Am binding the Field and also binding for the list Item. Even though the values are not listing.
    $record.sap-vhlist.<Field name>\.DATA\.FIELD.item[*]
    I have followed the above format , but no use ...
    Field Name : rating_code
    $record.sap-vhlist.RATING_CODE\.DATA\.FIELD.item[*]
    Field Name : value
    $record.sap-vhlist.VALUE\.DATA\.FIELD.item[*]
    but it is not working for me, will appreciate if some one really help me to fix this.!!!!
    Thanks & Regards
    Andy.

    For the form buttons to work on-line in your WebDynpro app, you need to change the PDF form to be Dynamic:
         if(firstTime){
              // We need to set the PDF to be Dynamic, for the form JavaScript code to work
              IWDPDFDocumentInteractiveFormContext pdfContext =
              WDPDFDocumentFactory
              .getDocumentHandler(wdThis.wdGetAPI(), "InteractiveForm")
              .getDocumentContext();
              pdfContext.setDynamic(true);
    In this code segment, "InteractiveForm" is the UI id.
    I was able to get that far, but I although I add subforms dynamically via javascript, the mapped WebDynpro context node doesn't pick up any new elements.
    ie:  if I start with two WD context elements (0..n) cardinality, then add a third via the form JavaScipt button, I see changes only in the two context elements when I submit.  A third context element isn't created or populated.

  • ALV in Webdynpro ABAP

    Hi,
    When ALV is in edit mode, there are four default actions (buttons) in the toolbar of ALV - 'Check', 'Append row', 'Insert row' and 'Delete row'. I just want to know that when 'Append row' is clicked, Which event is triggered.
    I need this to set some default values in the cells of newly inserted row.
    Regards,
    Gaurav

    Hi Anoop,
    Thats correct. But I have not checked the Date when it was posted. I always try to resolve all the open problems because those things i can take it up as High priprity. From now onwards , I will look into the date and other information also.
    thanks and BEst Regards,
    Vijay

  • Hiding fields and subforms on interactive form for WebDynpro ABAP

    Hi All:
    I'm new to using interactive forms and I am creating a new form for material request.  I need to hide selected fields based on the value of other fields.  I also need to hide subforms the same way.
    I have added the formcalc script to hide the field which apperas to work.  But is I remove the field value, the hidden field is not made visible.  This also applies to the hiding of the subform.  I have tried the code at different events but no luck.  If I enter 'KINC' in the plant field, the KINC_TAX_IND is visible. But if I remove or change the value, the KINC_TAX_IND is not being made visible.
    Below is the code I am using:
    if ( PDF_DATA.#subform[0].PLANT.value == "KINC" ) then
    PDF_DATA.#subform[0].KINC_TAX_IND.presence= "visible"
    else
    PDF_DATA.#subform[0].KINC_TAX_IND.presence= "hidden"
    endif
    if ( PDF_DATA.#subform[0].PLANT.value == "" ) then
    PDF_DATA.#subform[0].Subform2.presence= "hidden"
    else
    PDF_DATA.#subform[0].Subform2.presence= "visible"
    endif
    Thanks for any help.
    Jim
    Edited by: Jim Bates on Jan 23, 2008 3:47 AM

    HI jim,
      TRY TO APPLY THE CODE ON INITIALIZATION EVENT OF THE FORM.
    Madhu

  • Configuring alv in webdynpro abap

    Hi ,
          i m trying to create meeting planner application , on one view i want to display location booking information in alv with columns havaing headings  as dates like 1-APR-09 ,2-APR-09  ....ETC   of week & rows names marked with time of day like 7:00 ,8:00 ...etc   HOW I CAN SET THE FIELD CATALOG DYNAMINCALLY FOR THE  ALV IN WEB DYNPRO ABAP

    Hi,
    Please check out this code.
    Use the cl_alv_table_create=>create_dynamic_table
    to cretate a dynamic FCAT.
    DATA:
    lt_fcat              TYPE lvc_t_fcat,          " Field Catalog
    lt_table          TYPE REF TO data,         " Dynamic Internal Table
    ls_line              TYPE REF TO data,         " Line Type of Dynamic Table
      DATA:
        lt_efforts             TYPE REF TO data,
        lr_s_eff               TYPE REF TO cl_abap_typedescr,
        lr_t_eff               TYPE REF TO cl_abap_tabledescr,
        lr_handler_eff         TYPE REF TO data,
        lr_strucdescr          TYPE REF TO cl_abap_structdescr,
        lr_nd_eff              TYPE REF TO if_wd_context_node,
        lr_nd_eff_info         TYPE REF TO if_wd_context_node_info,
        lr_nd_root_info        TYPE REF TO if_wd_context_node_info,
        lo_cmp_usage           TYPE REF TO if_wd_component_usage,
        lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE,
        lv_value               TYPE ref to cl_salv_wd_config_table.
      FIELD-SYMBOLS:
        <fs_table>    TYPE STANDARD TABLE.
    * fill the LV_T_FCAT to have your own fields
    * To create a dynamic table importing field catalog table
        CALL METHOD cl_alv_table_create=>create_dynamic_table
          EXPORTING
            it_fieldcatalog           = lt_fcat
          IMPORTING
            ep_table                  = lt_efforts
          EXCEPTIONS
            generate_subpool_dir_full = 1
            OTHERS                    = 2.
      ASSIGN lt_efforts->* TO <fs_table>.
    **Get the structure
          if sy-subrc eq 0.
            MOVE cl_abap_structdescr=>describe_by_data_ref( lt_efforts ) ?TO lr_s_eff.
          endif.                                      "IF sy-subrc eq 0.
    **Get the table type from the structure
          lr_t_eff ?= lr_s_eff.
    **Create handler for table type
          CREATE DATA lr_handler_eff TYPE HANDLE lr_t_eff.
          ASSIGN lr_handler_eff->* TO <fs_tab_efforts2>.
          <fs_tab_efforts2> = <fs_tab_efforts1>.
    **Get the Structure from the Table Object
          lr_strucdescr ?= lr_t_eff->get_table_line_type( ).
    ** create node dynamically
          lr_nd_root_info         = wd_context->get_node_info( ).
          lr_nd_eff_info         = lr_nd_root_info->add_new_child_node(
          name                   = wd_assist->gc_periodcost      "PERIODCOST'
          static_element_rtti    = lr_strucdescr                 "RTTI structure
          is_static              = abap_false
          is_mandatory           = abap_false
          is_mandatory_selection = abap_false
          is_multiple            = abap_true
          is_multiple_selection  = abap_true
          is_singleton           = abap_false ).
    ** bind table to node
          lr_nd_eff = wd_context->get_child_node( NODENAME ).
          lr_nd_eff->bind_table( <fs_tab_efforts2> ).
    **If ALV component is initial, then create it
          lo_cmp_usage =   wd_this->wd_cpuse_u_alv_pwc( ).
          if lo_cmp_usage->has_active_component( ) is initial.
            lo_cmp_usage->create_component( ).
          endif.                                   "IF lo_cmp_usage->has_active_component( ) is initial.
    ** Get reference of ALV interface controller
          lo_INTERFACECONTROLLER =   wd_this->wd_cpifc_u_alv_pwc( ).
          if lo_interfacecontroller is not initial.
            lo_interfacecontroller->set_data(
    *   only_if_new_descr =                 " wdy_boolean
              r_node_data =   lr_nd_eff           " ref to if_wd_context_node
            lv_value = lo_interfacecontroller->get_model( ).
    Regards,
    Lekha.

  • Adobe interactive forms in webdynpro abap

    hi
    what is the purpose of templatesource(form and interface)?why we need to create a form and assign it to interface .purpose of interface .what the action it is going to perform in adobe forms

    Hi ,
    The interface helps to take the data to-and-from the Adobe form.
    Thanks and Regards,
    Prabhakar.

Maybe you are looking for

  • Disaster Recovery System failed to initiate backup

    When attempting to run a manual backup I receive the following error: Failed to initiate backup. Server [CUCMBE], component [CLM] requires component [PLATFORM] to be registered. Just prior to that, I ran the following two commands through SSH connect

  • I restored my data on my iphone 5s to 2013 in error - how do I retrieve all recent photos etc

    I restored my data on my iphone 5s to 2013 in error - how do I retrieve all recent photos etc

  • Installing Enterprise manager grid control 10.2.0.3 on RHEL 5 64Bit

    I'm not able to install OEM Grid control 10.2.0.3 on RHEL5 64BIT and cannot find a document for the installation. Could anyone give me here all the steps for this installation : all the package requirements or a link to achieve successfully the insta

  • Calendar Year & Month with FIAP

    Hi i dont have calendar year/month with FIAP cube. i need below requirement i can add at cube , in report i need write customer exir or any other possibilities are there. User can change the report to select a different time view, e.g. the position a

  • Regarding the GR and the IR

    Hi , Is there any way to relate the GR value and the IR value that is take for example i have three GRs 10 20 50 for the first 10 and 20 an IR is created and for the third another seperate IR is created is there any way to match the IR and GR