on 09-02-2008 9:46 AM
Hi there,
is it somehow possible to add also a SUPPLY FUNCTION to a dynamically added context sub node?
Unfortunately, I can't find any information about this.
My code for the dynamic added context sub node looks like this:
DATA lo_nd_info_root TYPE REF TO if_wd_context_node_info.
DATA lo_nd_info_incident TYPE REF TO if_wd_context_node_info.
DATA lo_nd_info_incident_sub TYPE REF TO if_wd_context_node_info.
DATA lo_nd_incident_sub TYPE REF TO if_wd_context_node.
lo_nd_info_root = wd_context->get_node_info( ).
lo_nd_info_incident = lo_nd_info_root->get_child_node( name = 'INCIDENT' ).
* Create Sub Node
lo_nd_info_incident_sub = lo_nd_info_incident->add_new_child_node(
name = 'MYSUBNODE'
static_element_type = 'ZSACO_T_MASTER'
is_static = abap_false ).
* Bind table to Sub Node
lo_nd_incident_sub = lo_nd_incident->get_child_node( name = 'MYSUBNODE' ).
lo_nd_incident_sub->bind_table(
EXPORTING
new_items = lt_inc ).
But the sub node "lo_nd_info_incident_sub" should have a Supply Function which updates its context when the parent node has changed. Is this possible?
Best regards, Steffen
there is no dynamic create of methods, supply functions.
you can achieve this onLeadSelect event of the table control
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.