Skip to Content
1
Feb 13, 2012 at 07:27 AM

Number of Purchase orders for a Purchase Group

57 Views

HI Experts,

I went through this doc.

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/009819ab-c96e-2910-bbb2-c85f7bdec04a?QuickLink=index&overridelayout=true

I have POs and Purchase Group and with many Purchasing Feilds.

i want to get Count of POs in a specific Purchase Group.

Issue:

PO---- Pur Group---- PO value

45001198-- 010 --- 100

45001198-- 010 --- 100

45001198-- 010 --- 100

I want to display the data as

PO - Pur Group --Count( No of POs)

45001198-- 010 --- 1

But I am getting as

PO---- Pur Group--- Count( No of POs)

45001198-- 010 -3

I have created Formulae var with Replacement path with below steps

Replacement Path tab

Replace variable with - infoobject

Replace with -


variable

Attribute - charecterstc reference(constant 1)

Calculation- After Aggregation

Can any one suggest how to achieve my objective.

Regards,

rvc