06-12-2008 5:29 PM
Hello Boys.
I want to change the field 'Tax code' (MWSKZ) in a Purchase order on transaction ME21N, ME22N AND ME23N.
I want to change thios field in a BADI, USER EXIT or ENHANCEMENT-POINT.
But I can't find where change this field.
thanks for your help.
Best regards.
06-12-2008 5:31 PM
Try Badi : ME_PROCESS_PO_CUST
CALL METHOD im_item->get_data
RECEIVING
re_data = v_data_item.
Your code to change the tax code
CALL METHOD im_item->set_data( v_data_item ).
<REMOVED BY MODERATOR>
Edited by: Aparna Shekhar on Jun 12, 2008 11:33 AM
Edited by: Alvaro Tejada Galindo on Jun 12, 2008 12:52 PM
06-12-2008 5:31 PM
Try Badi : ME_PROCESS_PO_CUST
CALL METHOD im_item->get_data
RECEIVING
re_data = v_data_item.
Your code to change the tax code
CALL METHOD im_item->set_data( v_data_item ).
<REMOVED BY MODERATOR>
Edited by: Aparna Shekhar on Jun 12, 2008 11:33 AM
Edited by: Alvaro Tejada Galindo on Jun 12, 2008 12:52 PM
02-10-2011 11:00 AM
How to change net price field netpr in conditions tab in me21n.
I tried with badi ME_PROCESS_PO_CUST. But it doesnot work.
Can u please give me sample code to make the field netpr zero.
I am new to badi...
Please help.
Regards,
Jenifer
02-10-2011 11:22 AM
Go to Method- PROCESS_ITEM
With in IM_ITEM you can get Method-
GET_CONDITIONS Instance Method Get Item Conditions
SET_CONDITIONS Instance Method Set Item Conditions (Without Check)
Within this SET_CONDITIONS u can write your code.
06-12-2008 10:02 PM