01-09-2015 7:18 AM
Hi all, I would like to set up a pricing access sequence of vendor/customer/material in PB00 pricing. this PO is linked from TAS third party sales order.a and I want to get the customer number from this sales order. and let user maintain the condition table. I have read a lot of comment using Exit_SAPMM06E_013 and also BADI ME_PO_pricing_cust. is it the right way to do so? and should I activate some new field catalog? thanks in advance.
01-09-2015 7:42 AM
Hi ,
BADI ME_PROCESS_PO_CUST
METHOD IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM
DATA : ls_mepoitem TYPE mepoitem,
ls_condition TYPE komv,
lt_conditions TYPE mmpur_tkomv,
ls_mepoitem = im_item->get_data( ). " getting item data
im_item->get_conditions( IMPORTING ex_conditions = lt_conditions ). " Getting the pricing data
im_item->set_conditions( EXPORTING im_conditions = lt_conditions ). "Updating pricing data.
Hope it helpful.
Regards,
Venkatramesh.V
01-09-2015 7:42 AM
Hi ,
BADI ME_PROCESS_PO_CUST
METHOD IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM
DATA : ls_mepoitem TYPE mepoitem,
ls_condition TYPE komv,
lt_conditions TYPE mmpur_tkomv,
ls_mepoitem = im_item->get_data( ). " getting item data
im_item->get_conditions( IMPORTING ex_conditions = lt_conditions ). " Getting the pricing data
im_item->set_conditions( EXPORTING im_conditions = lt_conditions ). "Updating pricing data.
Hope it helpful.
Regards,
Venkatramesh.V
01-13-2015 7:50 AM