‎2008 Nov 18 6:55 AM
Hi Guys,
I need to find the piece of code which generates the Netprice in the transaction ME21N.
I found the table name and the field for the transaction but my requirement is to find the piece of code which generates the Netprice when we create the purchase order in the transaction ME21N.
Thanks in advance.
Bhuvana
‎2008 Nov 18 6:59 AM
The best way to find out is debug the transaction.
check when it is updating EKPO table.
net price: EKPO-NETPR.
‎2008 Nov 18 6:59 AM
The best way to find out is debug the transaction.
check when it is updating EKPO table.
net price: EKPO-NETPR.
‎2008 Nov 18 6:59 AM
Hi,
Procedure
o If a purchasing info record exists for the material, the net price
will be taken from it. If you have entered a price, it will be
overwritten. However, you can change the price on the detail screen.
o If the item is created with reference to a reference document, the
price is taken from the reference item. That is to say, the price
from the info record is not taken into account.
o If no reference price exists, enter the vendor's gross unit price.
The system will calculate the net price automatically.
You can enter the following:
o The net price (that is the price including the vendor's discounts or
surcharges).
o The gross price (that is the price excluding discounts or
surcharges).
You maintain the conditions for the item. The net price is then
calculated by the system.
Dependencies
During creation, you can only maintain the net price if you have not yet
maintained the info record conditions. You must then maintain the price
on the conditions screen.
Arunima
‎2008 Nov 18 7:12 AM
In debugging create a watchpoint for the screen field as well as EKPO-NETPR. The program would stop there.
Regards
Karthik D
‎2009 Jan 15 8:29 AM