cancel
Showing results for 
Search instead for 
Did you mean: 

How to find out which business partners were added in last six months.

Former Member
0 Kudos

Is there a way of knowing which Business Partners were added in SAP in last six months or during any given time period.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

abdul_ranginwala
Participant
0 Kudos

There is a field called "CreateDate" under OCRD. Try this query:

SELECT T0.[CardCode], T0.[CardName], T0.[CreateDate] FROM OCRD T0 WHERE T0.[CreateDate] between [%0] and [%1]

Answers (2)

Answers (2)

KennedyT21
Active Contributor
0 Kudos

Hi couldsia awan.....

The BP data stores in OCRD and you can check with createdate field .....

SELECT T0.[CardName], T0.[CardType], T0.[CardCode], T0.[CreateDate]

FROM OCRD T0

WHERE T0.[CreateDate] between [%0] and [%1] 

ORDER BY T0.[CreateDate] Desc

Hope helpful

Regards

Kennedy

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

Try this query:

SELECT T0.[CardName], T0.[CardType], T0.[CardCode], T0.[CreateDate] FROM OCRD T0 WHERE T0.[CreateDate] between [%0] and [%1] and  T0.[CardType] = [%3] GROUP BY T0.[CardName], T0.[CardType], T0.[CardCode], T0.[CreateDate] ORDER BY T0.[CreateDate] desc

Hope helpful.