Find MenuID and RoleID corresponding to ComponentID in Maconomy Portal

SELECT COMPONENTID, MENUID, ROLEID FROM MENUITEM WHERE COMPONENTID LIKE '%::BPM::%'