Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Dropdownbyindex not getting filled for context IMPORTING node

Hi ,

My component controller context node is as follows.

ZSALES_VBAK

IMPORTING

VBELN

EXPORTING

ITAB

ERNAM

ERDAT

-


and cardinality for ZSALES_VBAK and IMPORTING nodes is 0.n , 0.1. and in the view i have mapped the same context node as above.

I am filling the context node vbeln values in dropdownbyindex UI element.

In DOINIT of view my code is as follows.

Data: context_node type ref to if_wd_context_node,

sub_context_node type ref to if_wd_context_node.

Data: it_vbeln type STANDARD TABLE OF if_SALES_HDVIEW=>element_IMPORTING,

wa_vbeln like line of it_carriers.

select *

from vbak

into corresponding fields of table it_vbeln.

context_node = wd_context->get_child_node( name = 'ZSALES_VBAK' ).

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

context_node->BIND_TABLE( it_vbeln ).

I am getting the error at the sub_context_node = wd_context->get_child_node( name = 'IMPORTING' ).

line saying that lower-level node with the name view1.IMPORTING does not exist.

could anyone help me to fill the subnode's attribute values which is VBELN in dropdown.

Please help me out...

Regards

Sireesha.

Please help me out...

Regards

Sireesha.

Edited by: sireesha esukapalli on Apr 25, 2009 2:57 PM

Former Member
Not what you were looking for? View more on this topic or Ask a question