Blitz Report Template Sharing

Description

Categories
Enginatics
Repository
GitHub
Lists the sharing records for Blitz Report templates - who each template is shared with at Site, Responsibility or User level. The Owner column shows the user who owns each template.

For a Responsibility-level share the Shared With column shows the responsibility name and the Application column shows its owning application; for a User-level share it shows the user name; a Site-level share is available to everyone.

For Responsibility-level shares the Menu Name column shows the responsibility's menu and Blitz Report Menu Entries counts the Blitz Report menu functions already on that menu (blank when none). A blank Blitz Report Menu Entries with a shared template flags a responsibility whose menu is still missing the Blitz Report function - run the Update Menu Entries program to add it.

Set the Assigned to EBS User parameter to a user to answer "which templates can this user actually use, and how". The report then shows one row per access path - a Site share (available to everyone), each Responsibility share on a responsibility the user holds, a direct User share, or ownership - but ONLY for reports the user is allowed to run: it applies the same report-access reach as the run screen (Site, Application, Request Group, Responsibility and User assignments), so a template shared with the user whose report is not assigned to the user is not listed (the user could not run it). The Assigned To User Via column names the level for that row (for example "Responsibility (AP Manager)" or "Owner"); the per-share administrative columns are blank in this mode.

Use the Report Name, Category, Template Name, Template Owner and Sharing Level parameters to narrow the list - for example set Category to Discoverer to pull the templates of all Discoverer reports, or Template Owner to list one user's templates. The Template Name list is filtered to the selected Report Name when one is chosen.

SQL 161 lines

Parameters 6

ParameterTypeList of values SQL
Report NameLOV
t.report_name=:report_name
CategoryLOV
exists (select null from xxen_report_category_assigns xrca, xxen_report_categories_v xrcv where t.report_id=xrca.report_id and xrca.category_id=xrcv.category_id and xrcv.category=:category)
Template NameLOV
t.template_name=:template_name
Template OwnerLOV
t.owner_id in (select fu.user_id from fnd_user fu where fu.user_name=:template_owner)
Sharing LevelLOV
t.sharing_level_code=:sharing_level
Assigned to UserLOV