Application Development 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: 

Need help in writing the code

Former Member
0 Kudos

Hi,

Can you please help in writing the code for the below logic.

Table data will be as below.

Matnr PO Netprice Val

1 P1 10 5

1 P2 10 5

1 P3 10 5

2 P3 10 5

2 P4 10 5

3 P1 10 5

3 P2 10 5

Given conditions are as below.

1.NetPrice/PriceUnit will give the Unit Price for that material in that PO.

2.Sum the UnitPrice for that material in all PO's

3.Calculate the No of PO s for that Material

4. Sum(unitPrice)/No of PO s will give the AvgPrice.

Pls give me the skeleton to write this code.

Regards,

Vishnu

Moderator Message: This is not a forum, where you can get your work done by others.

Edited by: kishan P on May 13, 2011 3:50 PM

3 REPLIES 3

Former Member
0 Kudos

Catch hold of a ABAP'er in your organization

Former Member
0 Kudos

.

Former Member
0 Kudos

<<removed by moderator>>

Edited by: kishan P on May 13, 2011 3:50 PM