I think you can access the ENTERPRISE_ID with:
- SYS_CONTEXT('FND_VPD_CTX', 'ENTERPRISE_ID')
Assuming that the ApplCore session has been initialized or alternatively:
Note that since this is related to VPD implementation you cannot simply query across enterprises, rather restrictions are applied on the table level. Also do note that since its internal code it is subject to change without notice.
Fusion Applications Developer Relations