on 2011 Jul 13 10:39 AM
Hi Friends,
I have a requirement to add the custom field i.e Storage location in Shopping cart Item Overview table.
my webdynpro component is /SAPSRM/WDC_UI_SC_DOTC_BD.
I added custom field to view layout ( V_SC_DOTC_BASIC ) but i need to map this new custom field to internal table or structure through method.
in which method we write the logic?
Regards
Venkat Boddu
Request clarification before answering.
Hello Venkat,
Have u binded the custom field with the field in structure?
It will have value .
Read the table:- through wizard following code get generated.
DATA: lt_items TYPE wd_this->elements_items,
lo_nd_items TYPE REF TO if_wd_context_node,
lo_nd_items = wd_context->path_get_node( path = `COMP_CONTEXT.ITEMS` ).
lo_nd_items->get_static_attributes_table( IMPORTING table = lt_items ).
You can do this in method Modify view .
Regards,
Neelima
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.