06-12-2015 6:41 AM
Hello Experts,
I did enhancement in SPRO under Material management for Z condition in table Purch.Org./Material/Plant/Model Yr/P12 (A932) for P12 condition.
I want to reflect that Newly added condition type like (ZWAR) in Pricing Element but user does not want manually. On click of update button user will choose the condition or criteria and accordingly that condition which added should reflect.
But for this i am not finding the exact enhancement point.
Please help or suggest me.
Thanks in advance.
06-13-2015 6:03 PM
Hi,
Try,
BADI: ME_PROCESS_PO_CUST
METHOD IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM
DATA:lt_conditions TYPE mmpur_tkomv,
ls_condition TYPE komv.
im_item->get_conditions( IMPORTING ex_conditions = lt_conditions ).
LOOP AT lt_conditions INTO ls_condition WHERE kposn = ls_mepoitem-ebelp AND
kschl = 'ZASS'.
ENDLOOP.
Hope it helpful,
Regards,
Venkat
06-13-2015 6:03 PM
Hi,
Try,
BADI: ME_PROCESS_PO_CUST
METHOD IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM
DATA:lt_conditions TYPE mmpur_tkomv,
ls_condition TYPE komv.
im_item->get_conditions( IMPORTING ex_conditions = lt_conditions ).
LOOP AT lt_conditions INTO ls_condition WHERE kposn = ls_mepoitem-ebelp AND
kschl = 'ZASS'.
ENDLOOP.
Hope it helpful,
Regards,
Venkat
06-15-2015 8:57 AM
06-15-2015 9:43 AM
Hi read http://scn.sap.com/docs/DOC-18590
Be responsive. If an SCN member has answered your question, please mark the answer as "helpful” or “correct”. Mark the discussion as “answered,” so that other members can find the answers more easily.