Table in Abap Web Dynpro

Hi
Is there any toturial in order to create a table in web Dynpro? which the user will be able to update through the web application.
thanks

http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/user-interface-technology/wd%20java/wdjava%20archive/developing%20with%20tables%20in%20web%20dynpro.pdf

Similar Messages

  • How to use a FILTER in a normal table in ABAP WEB DYNPRO

    Hi Experts,
    I need to Filter my table in UI using the 'onFilter' event,
    BUT I want the first row of the table to be my INPUTS  to do the filtering - JUST LIKE IN ALV TABLE,
    since i dont want to use an ALV table, i want the same to be done in a transparent table...

    Dear pramodh,
    Here u can achieve filter option in transparent table by creating a button(Toggle) in table.
    1.Now you need to apply filter in OnToggle event.
       wd_this->table_control->apply_filter( ).
    2.when the Filter button is pressed  IS_FILTER_ON attribute will turn ON and FILTER will be set.
       And Automatically the First row is set for INPUTS.
    The Following Code is required to get Handler for Table and also to SET FILTER.
    method WDDOMODIFYVIEW .
        DATA: wd_table TYPE REF TO cl_wd_table,
              w_is_filter_on TYPE wdy_boolean.
        wd_context->get_attribute( EXPORTING name = 'IS_FILTER_ON'
                                   IMPORTING value = w_is_filter_on ).
        wd_table ?= view->get_element(  '<give ur table ID>' ).
        wd_this->table_control ?= wd_table->_method_handler.
        IF w_is_filter_on = abap_true.
          wd_table->set_on_filter( 'FILTER' ).
        else.
          wd_table->set_on_filter( '' ).
        ENDIF.
    endmethod.
    I believe u know about Table Handler. And i can help if u need.
    Thanks & Regards,
    Rakesh Vanamala.

  • How to pass field symbol or table from one view to another view in abap web dynpro?

    I am creating an Inbound Outbound ALV report in ABAP Web Dynpro. However at selection-screen I have select options and fetching is done at view2. Problem is we can pass parameter using inbound outbound parameters but how to pass internal table or field-symbols from one view to another view? I made use of Assistance Class too but its not very clear to me. Please give me some example or code to sort this problem out.

    I am creating an Inbound Outbound ALV report in ABAP Web Dynpro. However at selection-screen I have select options and fetching is done at view2. Problem is we can pass parameter using inbound outbound parameters but how to pass internal table or field-symbols from one view to another view? I made use of Assistance Class too but its not very clear to me. Please give me some example or code to sort this problem out.

  • Entering Data in Table (ABAP Web Dynpro )

    Hi Experts,
    I need help in ABAP Web Dynpro Table. I have a table where multiple line item rows are there.
    In each row there is a input text field to enter the quantity. Usually the the user would not click the lead selection and enter the field value. The user would enter the value in any of the rows, but the lead selection will not change accordingly. therefore the validation will not work properly.
    Kindly guide me the way.
    Regards,
    Nitin.

    Hi,
    If you have any button in the view,suppose like save or  before leaving that particular view ypu can do the validations.
    if you have a button.
    What you can do is ,on action handler of button
    Read  the table and loop through it  and do the validations.
      CALL METHOD lo_nd_sap_prj_experience->get_static_attributes_table
        IMPORTING
          table = lt_sap_prj_experience.
    LOOP AT lt_sap_prj_experience INTO  ls_sap_prj_experience .
    If ls_sap_prj_experience-data  is ''.  "write your condition here.
    CALL METHOD lo_message_manager->report_error_message
              EXPORTING
                message_text = mesg.
    Endif.
    Priya

  • Use of multiple components in ABAP WEB DYNPRO

    Hi,
    Am  new to  abap web dynpro and I just want to know whether  we  can  use  multiple components for an application in web dynpro.
    Thanks ,
    Dhaya.G
    Edited by: Dhayalinie Ganesh on Feb 22, 2012 12:06 PM

    Hi,
    depending requirement of application we can use multiple components.
    for example if we want to display table data into alv grid for that we can use the existing(standard component) ie: SALV_WD_TABLE  .Like such a way we can use the components as per our requirements.
    For importing components:
    --> Go to properties tab of view of your web dynpro application
    --> There you can find one button create controller usage ,click on it then import the components
    Thanks&Regards
    Sreenivas Pachva
    Edited by: sreenivas.p on Feb 22, 2012 1:11 PM

  • Report Varaint in ABAP web dynpro

    Hello All,
    I am currently working on an ABAP Web dynpro development.
    I am developing a Report, where the requirement is to have Variants (same as that of GUI reports).
    The user can select the particular variant, which will populate the selection screen.
    I am new to ABAP Web dynpro and am unaware whether Standard functionality of Variants is available for Web dynpro?
    Can you please tell me whether Variants is available for Web dynpro?
    Thanks and Regards,
    Pratik

    Hi Pratik.
    You could define the select options in a table per variant.
    Depending on the selected variant you read the corresponding selection fields
    from that table and populate the select options fields in wddoinit.
    Then just call submit report afterwards.
    AFAIK there is no standard functionality for that.
    Cheers,
    Sascha

  • Implicit commit in ABAP Web Dynpro?

    I wonder if ABAP Web Dynpro is executing an implicit commit. I have two buttons on the same view. The first one inserts an entry into a table, the second one executes a "rollback work" (and to be sure calls function "DB_ROLLBACK").
    However, after first pressing the insert-button and secondly the rollback-button, the rollback had no effect, i.e. one dataset has been permanently inserted into the database table.
    Is it possible that until the view is ready for new processing (i.e. finished any initializations) an implicit commit is executed by SAP?
    I have not used any commit nor do I use debugger mode.
    The same behavior happens when I split the insert and rollback things into two views. In the second view the rollback is possible before the inbound plug is processed to the end, but afterwards (e.g. when handling a button click by an assigned method) not.

    Hi Klaus,
    I was wondering if you could do a ST05 trace? It will reveal the place where the commit happens. It will be quite interesting to see if it happens inside of the WD runtime. If yes, I would consider it a bug.
    Best regards,
    Thomas

  • Adobe ABAP web dynpro

    How  to put data from  internal table into Adobe interactive form in ABAP Web dynpro?

    Nikita,
    Check this [thread|Re: How to transfer Internal table to a Adobe form? ....urgent...; if it helps.
    Chintan

  • SRM 7.0 find transparent table name from Web dynpro Component

    Hi ,
    I am trying to find the transparent table name from Web dynpro component dictionary structure. I am working in SRM 7.0. Please let me know how to find the transpartent table for a field.
    Thanks,
    Monica

    hi,
    your question is very unclear and does not relate to performance.
    SRM uses webdynpro ABAP so the recommendation will not help.
    Do you need a technical UI element?
    Or the application table where the business data of an UI is stored???
    If it is the later, then you can use the SQL trace, change to element you are interested in, and trace it. The table should appear in the trace in connection which an UPDATE command. Still a bit cimbersome.
    Siegfried

  • Tracking ABAP web dynpro events in back end SAP

    Hi Experts ,
    I have
    Is there any way to capture the events on th ABAP web dynpro in the backend.
    The scenario is that i have some particular code which gets executed in the back end when User clicks on any button or tab in the appraisal document , which is ABAP web dynpro application.
    I want this code to be executed only when User clicks on particular TAB/BUTTON on the ABAP web dynpro.
    Are there any system tables that I can check.I am novice in ABAP Web dynpro.
    Thanks

    hi ,
    I wud like to demonstrate this with example
    suppose in ur WD  screenu  take the sales organization as input .
    and u want to do smthing like this in backend :
    u wud like to read VBELN from VBAK where VKORG is with in sales organization range entered in input field
    create a context attributeinside a context node  in Context Tab inside ur view
    first bind the VALUE property of ur Input field to a context attribute
    inside the method OnActionClick  thn u wud  use code wizard (control +f7) to read the context attribute which is binded to input field
    u press CONTROL + F7 and select the radio button read context node/attribute
    DATA lo_nd_cn_node TYPE REF TO if_wd_context_node.
        DATA lo_el_cn_node TYPE REF TO if_wd_context_element.
        DATA ls_cn_node TYPE wd_this->element_cn_node .
        DATA lv_attr  LIKE ls_city-ca_attr.
    *   navigate from <CONTEXT> to <CN_VISIBLE> via lead selection
        lo_nd_node = wd_context->get_child_node( name = wd_this->wdctx_ca_attr).
    *   get element via lead selection
        lo_el_cn_node = lo_nd_cn_node->get_element(  ).
    *   get single attribute
        lo_el_cn_node->get_attribute(
          EXPORTING
            name =  `CA_ATTR`
          IMPORTING
            value = lv_attr ).
    // I have read attribute CA_ATTR inside the node CN_NODE
    thn u wud put select query to fetch from data base using the value lv_attr
    DATA : vbeln type string .
    SELECT SINGLE vbeln FROM vbak INTO lv_vbeln
        WHERE vkorg = lv_attr .
    I hope it is clear nw
    regards,
    amit

  • ABAP Web Dynpro Radiobuttons Problem???

    Hi,
    I need to have 6 radiobuttons horizontally in ABAP Web Dynpro.
    I got the radiobuttons on the web page,
    What I have done is
    For each radiobutton I have KeyToSelect binded to rb1, rb2, rb3, rb4, rb5 and rb6 (rb1, rb2, rb3, rb4, br5 and rb6 are boolean)
    For each radiobutton I have SelectedKey binded to group1 where group 1 is again boolean.
    My problem is if I select the 2nd radiobutton, all the others buttons gets checked, except that radio button and if I try clicking it for the second time then it is fine.
    Please let me know where I am going wrong or is it that I am missing something else to do.
    Thanks
    Sandeep

    Hi,
    Try to use radiobutton group by index UI element. Have a node in the context element with cardinality 0..n and have an attribute text type string. In the properties of the node provide the supply function as "fill_the_node". Bind this node to the radiobuttongroupbyindex UI element.
    In the fill_the_node method.
    data : node type ref to if_wd_context_node,
             elem type ref to if_wd_context_element.
    data : it type table of if_view=>element_node,
             wa like line of it.
    wa-text = 'radiobutton1'.
    append wa to it.
    wa-text = 'radiobutton2'.
    append wa to it.
    wa-text = 'radiobutton3'.
    append wa to it.
    wa-text = 'radiobutton4'.
    append wa to it.
    wa-text = 'radiobutton5'.
    append wa to it.
    wa-text = 'radiobutton6'.
    append wa to it.
    node->bind_table( it ).
    In this way you can have 6 radiobuttons on the browser.
    Thanks
    Mallika

  • Error while accesing ABAP web dynpro application

    Hi Experts,
    We are getting warning symbol on web page status bar, when we are accessing the ABAP web dynpro application
    only first page of application is getting loaded and when we click on page it is showing error on status bar and we can perform any thing.
    once we double click on warning icon,
    below details are coming:
    Line: 1491
    Char: 3
    Error: Object Expected
    Code: 0
    URL: url of the ABAP web dynpro application
    This scenario is occuring for many ABAP WD application for a client.
    Please guide how to solve this issue?
    Thanks!
    Piyush

    Hi
    First try a very simple application with nothing in it just one text saying Hello World
    Run it and see what happens.
    Also check if your url uses FQDN name. something like https:
    company.name.co:50000\.......
    If you do not use the FQDN it will always show a script error on the bottom and some functions will not work e.g
    dropdowns.
    regards
    Yuval.

  • ABAP Web Dynpro iView error

    My ABAP Web Dynpro iView encouters errors:
    The URL http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo// was not called due to an error.
    Note
    The following error text was processed in the system SB2 : WebDynpro Exception: Error in UCF Template POPUP_PAGE ($).
    The error occurred on the application server sw06_SB2_04 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: RENDER_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    I was able to run the ABAP web dynpro application outside of portal by using the url: http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo/. But with the extra / at the end, I get the same error.
    Can anyone point me to how to remove that extra / at the end?
    Thanks
    Ben

    Hi Gurus ,
    We have upgraded the SAP HR system from ECC6.3 to ECC6.4 and netweaver from 7.0 to 7.1 .
    Following are the list of error in EHP4 system ,
    1) Layout of ABAP Webdynpro Component are not displayed .
    2) Any ABAP WEBDYNPRO Application is not displayed by tesing in SAP-R3 and also in ESS .
    error are as follows while trying to view layout in abap webdynpro application :
    http://dv.hr.co.in:4567/sap/bc/wdvd/painting.html?_vdrespkey=4IS29CT7NDRIOI511AFI0R1E3&_vdframe=painting&sap-client=435
    If any one have information for this kindly let me know .
    Thanks :
    Vishwas

  • IView not found error when excuting ABAP Web Dynpro iView

    Hi Experts,
    I have created one ABAP Web Dynpro iView for an existing Application.
    Parameters I have passed for iView creation.
    Namespace : sap
    Application Name: SampleApp
    System Name: R3_SYS.
    Can any one please pass on me the details what are the mandatory parameters need to be passed.
    Thanks in Advance,
    Chinna.

    Hi Chinna,
    You need to check the following parameters like
    Namespace - should be 'sap' as this is root node in SICF
    Application Name: - check name of WD application in se80
    Please refer to below thread for creating WD ABAP iview.
    Re: Webdynpro ABAP iView Blank Page
    Web Dynpro for ABAP iVIew's Namespace parameter
    how to create iview from webdynpro application  abap
    Hope it helps
    Regards
    Arun

  • Can the role info be passed from portal to ABAP web dynpro application

    Hi,
    We have some roles in the portal. We call the ABAP web dynpro applications from the portal. Is it possible to pass on the role from the portal to the Web dynpro ABAP application so that we can use this role information in the application.
    Thanks,
    Pooja

    Hi,
    you can try to add the expression
      role=<IView.PCDUnit>
    as part of the Application Parameters in the iView. This will be the role in 99%. However not all iViews started in the Portal must belong to a role. You can start iViews using page navigation that are not part of a role. Therefore the PCD does not talk about roles but about "units" which is the superordinate term.
    the value will be the PCD path of the role - e.g:
      portal_content/myFolder/roles/myRole

Maybe you are looking for