cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Custom Field to Shopping cart item overview in srm 7.0

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

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

Former Member
0 Kudos

Hi Venkat ,

You can write the logic in bbp_doc_change_badi or BBP_SC_MODIFY_UI badi

Thanks & Regards

Pradeep Kumar Dondeti

Edited by: pradeep naidu on Sep 27, 2011 8:07 AM

Former Member
0 Kudos

Check below link and you should be able to achieve it.

http://wiki.sdn.sap.com/wiki/display/SRM/HowtoaddCustomerfieldsinSAP+SRM

Thanks,

Jagadish