cancel
Showing results for 
Search instead for 
Did you mean: 

Business Partner Master Data Properties Query

Former Member
0 Kudos

Hi there

I am trying to write a query that will display all of the BP's with more than 1 property ticked. I'm not too sure which table that data is stored in or how it's linked to OCRD - the OCQG table seems to just be a table of group names.

Any suggestions?

Accepted Solutions (1)

Accepted Solutions (1)

frank_wang6
Active Contributor

HERE YOU GO.

Just add all QryGroup4 until QryGroup64.

SELECT * FROM OCRD

WHERE ASCII (QryGroup1) + ASCII (QryGroup2) + ASCII (QryGroup3) .......

+ ASCII (QryGroup64)  > 78 * 63 + 89 * 1

Frank

Former Member
0 Kudos

Really clever. Thank you.

Former Member
0 Kudos

Thx for Sharing !

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Josh,

each Property has its own field. if activated value is 'Y'

empty = 'N'

first Idea is to create a query:

Select CardCode, Cardname, Qrygroup1, Qrygroup2,...

and after that use Export to Excel an make filters... Of course, it is not very smart.

Hope that helps.