on 06-11-2009 4:50 PM
Hi,
I am practicing [ALV Editable Tutorial|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1].
I am stuck at Implement event handler ONDATACHECK.
METHOD ondatacheck .
DATA: node_node_flighttab TYPE REF TO if_wd_context_node,
elem_node_flighttab TYPE REF TO if_wd_context_element,
lt_sflight TYPE if_resultview=>elements_node_flighttab.
* save data only if no error has occured
CHECK r_param->t_error_cells IS INITIAL.
* navigate from <CONTEXT> to <NODE_FLIGHTTAB> via lead selection
node_node_flighttab
= wd_context->get_child_node( name = `NODE_FLIGHTTAB` ).
..............
When I do a syntax check I am etting following message.
I guess I need to create a parameter R_PARAM.. What Should i refer it to? or am i doing something
wrong?
Error:
Method ONDATACHECK
Field "R_PARAM" is unknown. It is neither in one of the specified
tables nor defined by a "DATA" statement. .
Rgds
Vara
Resolved it.
I missed this.. part
1 Select Method type as 'Event Handler'
2. In the Event Column, Do F4 and select 'On DATA' Event.
Rgds
vara
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.