HI Modak,
Thanks for replying.
The code that will help from above link is as follows:
4. Get the value of WI_ID1 in the HANDLEDEFAULT method of the window of your application and store it in component controller so as to use it in views to process the work item.
*&Fetch the work item id of the current work item or child work item
* navigate from <CONTEXT> to <WORKFLOWDATA> via lead selectionlo_nd_workflowdata = wd_context->get_child_node( name = wd_this->wdctx_workflowdata ).
lo_nd_workflowdata->set_attribute( value = wi_id1 name = 'WI_ID').
lw_ch_wiid = wi_id1.
However, no data declaration is given for above code.I will be thankful for kindly guiding what data declaration neede for above code.