05-06-2010 12:44 PM
Hi,
I have a report which shows the customers detail. But I have to filter out the customers who are inactive that having no orders for the last 2 years.
How to find those customers and filter out in the report?
Thanks,
Ezhil.
05-06-2010 1:36 PM
Hi Ezhilhrh
Select orders from vbak with the kunnr = customer number...
if the orders selected are all older than 2 years you delete the customer number...
Regards
Marco
05-06-2010 1:06 PM
Hi,
Can you please clarify in more detail. And I think a Functional Consultant in your team will be the best person to tell you what exactly you have to do. Besides, are you talking about sales orders when you are saying orders. If that's true then is it your requirement that filter out those customers who is not sold-to-party for all the sales order created in last 2 years?
In that case, you can simply implement this by querying on corresponding DB table.
Thanks,
Mainak
05-06-2010 1:36 PM
Hi Ezhilhrh
Select orders from vbak with the kunnr = customer number...
if the orders selected are all older than 2 years you delete the customer number...
Regards
Marco
05-07-2010 7:58 AM
Thank you...
i used VBAK table and deleted the customers who dont have order for past two years.
05-06-2010 2:04 PM
HI Ezhilhrh,
you should check customer balances in table KNC1, too.
Regards
REA
05-06-2010 3:22 PM
Look at table VAKPA. You could read this with the partner, partner type and AUDAT > your 2 year limit....