Skip to Content
0
Former Member
Feb 23, 2011 at 12:09 PM

Error while calling subnode..?

32 Views

Hi All,

Iam getting error while calling subnode..

I have a node SHIPMENT(cardinality 1-1), containes another node IMPORTING (cardinality 0-n ). it containes attributes, one of attribute is I_VTTK_SHTYP of type TVTK-SHTYP.

I am binding this attribute to DDBI texts property.. and my code is

lo_nd_importing_1 = wd_context->get_child_node( name = 'IMPORTING' ).

lo_nd_importing_1->BIND_TABLE( lt_i_vttk_shtyp ).

If iam using above code i am getting this error...

Subnode MAIN.IMPORTING_1 does not exist

If i use this code..

lo_nd_importing_1 = wd_context->path_get_node( path = `SHIPMENT.IMPORTING` ).

lo_nd_importing_1->BIND_TABLE( lt_i_vttk_shtyp ).

It executing perfectly, but i am not getting data into dropdown, but i checked through debugging, data is available in table, after binding i am not getting...

Any help???

Thanks

Madhan.

Edited by: MadhanSAP on Feb 23, 2011 1:44 PM