on 04-20-2006 2:43 AM
Hi experts,
does any exit enable us to change the price in PO's condition tab? I need to replace the current price with my own price calculation and what's the name of the exit/BADI
DATA : t_cond TYPE mmpur_tkomv.
DATA : wa_cond LIKE LINE OF t_cond.
CALL METHOD im_header->get_conditions
IMPORTING
ex_conditions = t_cond.
LOOP AT t_cond INTO wa_cond.
*C-- Write your logic.
ENDLOOP.
CALL METHOD im_header->set_conditions
EXPORTING
im_conditions = t_cond.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would suggest to use BADI ME_PROCESS_PO_CUST.
1. Method to implement would be POST.
2. Method POST has parameter IM_HEADER which is in reference to IF_PURCHASE_ORDER_MM.
3. This reference has method GET_CONDITIONS.
4. call this method to get conditions data.
5. Make all the changes based on the logic and use method SET_CONDITIONS to change the values.
6. Thats it.
Sharath.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ester,
in se80, enter package ME, n chk the enhancements provided..
Hope it helps,
Regards,
Bikash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You can modify the condition table price with a Pricing formula created by transaction VOFM. You need to get access key to modify the include proposed by SAP. Then include the Pricing formula in Pricing Procedure Definition (for the condition type) in SPRO.
Thanks,
Venu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.