2013 Oct 11 2:51 AM
Dear guys,
I want get PO item detail's Material Data tab -> Cross-plant CM field -> Characteristic Values by abap.I write code at DADI(SE19), Implement the "ME_PROCESS_PO_CUST" - > Method: PROCESS_ITEM (IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM)
Tip: I get the temporary PO item field "cuobj" has value, the configuration not yet save, so i use FM: VC_I_GET_CONFIGURATION get none,
2013 Oct 11 5:02 AM
Dear Kelvin,
Please check whether material used is configurable material or not .
Can you share ur code which is used in the BADI Method PROCESS_ITEM.
Check Whether u are passing CUOBJ (i.e., Instance ) properly on to Function Module.
Thanks and Regards,
Madhukumar
2013 Oct 14 3:07 AM
METHOD if_ex_me_process_po_cust~process_item.
DATA : re_item TYPE mepoitem.
CALL METHOD im_item->get_data RECEIVING re_data = re_item.
"I want to execute CALL FUNCTION 'VC_I_GET_CONFIGURATION' , re_item-cuobj, get
"ES_LENGTH to fill out the "re_item-bpumz"
re_item-bpumz = 2450.
CALL METHOD im_item->set_data EXPORTING im_data = re_item.
ENDMETHOD.
But when the configuration is news or has be changed, call function 'VC_I_GET_CONFIGURATION' can't get nothing!
Is there any idea?