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

Data is not getting refreshed

Hi Friends,

I am new to ABAP-Webdynpro, I have developed a sample webdynpro application by taking the help of SAP Help documentation. it is a Flight model application, in second window, i used supply function method to retrieve the data (By writing SELECT query). Now i am able to get data, but for the first time i am getting correct data, when goes back and selects another data but i am getting same data.

i.e first time

Flight Type is 'AA' in first window data is related to 'AA' in second window. Go back and look for another type

'AZ' in first window data is same as previous, not getting related data.

Can you help in this.

Regards,

Naveen

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2009 at 10:46 AM

    Hi,

    Try clearing your node on the back button's action.

    l_node = wD_context->get_child_node( 'NODENAME' ).
    l_node->invalidate( ).

    Regards,

    Radhika.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 17, 2009 at 10:49 AM

    Hi,

    Where are you writing the SELECT query code and bind table.

    Code it in the INBOUND PLUG rather then the WDODIINIT of 2ns view.

    Also clear the variables.

    In the bebugging check the value for the flight number for the 2nd time.

    Regards,

    Lekha.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 17, 2009 at 01:00 PM

    Hi,

    this coding will help you (action method in the 2nd view):

    METHOD onactiongo_to_search_in .

    DATA: datanode TYPE REF TO if_wd_context_node.

    datanode = wd_context->get_child_node( name = 'FLIGHTS' ).

    datanode->invalidate( ).

    wd_this->fire_display_out_plg( ).

    ENDMETHOD.

    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.