Skip to Content
author's profile photo Former Member
Former Member

Need to pass values to Internal table in Web dynpro ABAP

Hi all,

I need to pass table values for the below FM in web dynpro.

CALL FUNCTION 'ZFMHR_RWF'

TABLES

PB0006 =

How do we declare and use Internal tables in WEBDYnpro.

Regards,

Vijayakumar S.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Aug 04, 2010 at 05:03 PM

    >How do we declare and use Internal tables in WEBDYnpro.

    The same way you do in any other type of ABAP development.

    What exactly are you having a problem with?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 05, 2010 at 03:52 AM

    hi,

    u mighnt need to show the internal table value in some table UI in the WebDynpro ABAP. So u can use the method bind_table for the same to bind ur context node with the internal table values.u can declare the internal table in the same way as u do in the normal ABAP.

    DATA :itab TYPE STANDARD TABLE OF ztable.

    // itab is my internal table which can be of either ztable or standard table type

    now u can use the code wizrd(control+F7) and use the method bind_table .

      DATA: lo_nd_cn_node TYPE REF TO if_wd_context_node,
                lo_el_cn_node   TYPE REF TO if_wd_context_element,
               ls_cn_node        TYPE wd_this->element_cn_node.
    *     navigate from <CONTEXT> to <CN_NODE> via lead selection
    
      lo_nd_cn_node = wd_context->get_child_node(
      name = wd_this->wdctx_cn_node ).
    
      lo_nd_cn_node->bind_table( itab ).
    // where cn_node is the context node which is bind to ur table UI and itab is the value which is populated from ur FM
    

    regards,

    Amit

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Amit

      I have same problem in web dynpro abap. I have created table with a check box. If the check box is got selected then where should i get the check box value, it suppose to save as 'X' in internal table. But internal table does not store 'X' though the check box is tick

      Thanks

      Niramesh

  • author's profile photo Former Member
    Former Member
    Posted on Aug 10, 2010 at 11:53 AM

    Thx for your replies

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.