cancel
Showing results for 
Search instead for 
Did you mean: 

new to web dynpro

Former Member
0 Kudos

Hi gurus

i am very new to web dynpro

i have a developed a web dynpro application with the help of flight examples

1) first i will select the CARRID in the first view , when i click the go button , i am getting the CARRID, CONNID, FLDATE, PRICE and PLANETYPE in table format in second view

2) when i click on the go back button in second view , its coming to first view , now when i select another CARRID clicks on go button , in second view it displays only the previous result & not for the current selection .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

In ONACTIONBACK do This

data:

lo_nd_node TYPE REF TO if_wd_context_node,

lo_el_node TYPE REF TO if_wd_context_element.

lo_nd_node = wd_context->get_child_node( name = 'NODE' ).

lo_el_node = lo_nd_node->get_element( ).

lo_nd_node->invalidate( ).

Former Member
0 Kudos

thanks for all

now its working .

Answers (1)

Answers (1)

Former Member
0 Kudos

hi surya.......

you should clear the context values and then fill in with the new values.

---regards,

alex b justin

Former Member
0 Kudos

Hi alex

can u explain more detail , how to clear the context value

regards

surya

Former Member
0 Kudos

Use the method node->invalidate( ) on your context node reference.

Regards,

Nithya

Former Member
0 Kudos

hi surya.....

clearing is like you read the attribute using code wizard...

then set the value = null.

then bind it again. it is one of the methods to clear the value.

---regards,

alex b justin