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

How to Refresh the Container in Webdynpro ABAP

Hi,

I created a container " data lr_container type ref to cl_wd_uielement_container. "

I want to refresh when i click on button. How to achieve that.

Thanks&Regards,

Ravi S.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 27, 2012 at 12:22 PM

    Hi Ravi,

    What is in container? A table? A inputfield? If yes you can get and bind data again.

    Message was edited by: Thomas Jung - remove request for points

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      NODE_ITAB = WD_CONTEXT->GET_CHILD_NODE( NAME = 'CONTEXT_NODE' ).

      NODE_ITAB->BIND_table( DATA_ITAB ).

      You put your data to DATA_ITAB. Then you get context node named CONTEXT_NODE. Then second line you bind your red one to green one. That's all. I assume that you bind your table to CONTEXT_NODE. If all of them are true there is no problem not to work.

  • author's profile photo Former Member
    Former Member
    Posted on Jun 27, 2012 at 02:43 PM

    Hello Ravi,

    Please check the Data which you are binding to the table.

    DATA: lrcl_node_table TYPE REF TO if_wd_context_node,

    lt_table TYPE ig_componentcontroller=>elements_table.

    * Get the context node ref

    lrcl_node_table = wd_context->get_child_node('TABLE').

    * Prepare the data for the TABLE

    SELECT * FROM sflight INTO TABLE lt_table.

    * Bind the Data back to the context

    lrcl_node->bind_table( TABLE ).

    Good Luck,

    Kiron

    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.