I want to know whether there is any UserExit/Badi which is triggered when i save/check a Purchase order where i should be able to change the Payment Terms value which is in the header of the purchase order.
Payment terms is maintained in vendor master which will automaticlly be fetched when i enter a vendor in the purchase order. My requirement is, when a material is entered in the line item i will check for some condition and change the Payment terms, the check is for the first line item only.
Changing the payment terms can be done in three places
1) when i enter a line item (OR)
2) when i check the PO (OR)
3) when i save the PO.
I want to know in which exit/BADI to write the code. I am not able to find the correct exit, in most of the exit Header is avaiable as a import parameter.
Thanks in Advance.
Thanks & Regards,