Skip to Content
avatar image
Former Member

purchase price based on vendor/Customer/material

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 09, 2015 at 07: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

    Add comment
    10|10000 characters needed characters exceeded