cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Adding Custom Field to Shopping cart item overview in srm 7.0

Former Member
0 Kudos
235

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

View Entire Topic
Former Member
0 Kudos

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