Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Reg: Net Quantity

Former Member
0 Likes
623

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

1 ACCEPTED SOLUTION
Read only

GauthamV
Active Contributor
0 Likes
590

The best way to find out is debug the transaction.

check when it is updating EKPO table.

net price: EKPO-NETPR.

4 REPLIES 4
Read only

GauthamV
Active Contributor
0 Likes
591

The best way to find out is debug the transaction.

check when it is updating EKPO table.

net price: EKPO-NETPR.

Read only

Former Member
0 Likes
590

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

Read only

Former Member
0 Likes
590

In debugging create a watchpoint for the screen field as well as EKPO-NETPR. The program would stop there.

Regards

Karthik D

Read only

Former Member
0 Likes
590

Thank You !!!