SRM合同更新行项目(组件/SAPSRM/WDC_CTR_DOTC_IT)

* Get the selected elements of the item table

> lt_elem_set = lon_ctr_item->get_selected_elements( abap_true ).

> * for each selected element, set ZZ_DEL_IND value

> * Get the static attributes of all SELECTED elements into an internal table

> LOOP AT lt_elem_set INTO ls_element.

> CALL METHOD ls_element->set_attribute

> EXPORTING

> value = abap_true

> name = 'ZZ_DEL_IND'.

>

> CALL METHOD ls_element->set_changed_by_client

> EXPORTING

> flag = abap_true.

> ENDLOOP.

>

> CALL METHOD wd_comp_controller->mo_bom_ctr->/sapsrm/if_cll_bo_mapper~fire_event_refresh( ).

留存使用

^_^很多人都把资料锁进了note里,以后还怎么百度呢^_^
原文地址:https://www.cnblogs.com/sapSB/p/15272661.html