select pro.profile_option_name,
pro.user_profile_option_name,
lev.level_type type,
--lev.level_code,
lev.level_name,
prv.profile_option_value
from apps.fnd_profile_options_vl pro,
applsys.fnd_profile_option_values prv,
(select 10001 level_id,
'Site' level_type,
0 level_value,
'Site' level_code,
'Site' level_name
from dual
union all
select 10002 level_id,
'App' level_type,
app.application_id level_value,
app.application_short_name level_code,
app.application_name level_name
from apps.fnd_application_vl app
union all
select 10003 level_id,
'Resp' level_type,
resp.responsibility_id level_value,
resp.responsibility_key level_code,
resp.responsibility_name level_name
from apps.fnd_responsibility_vl resp
union all
select 10004 level_id,
'User' level_type,
usr.user_id level_value,
usr.user_name level_code,
usr.user_name level_name
from applsys.fnd_user usr) lev
where pro.profile_option_id = prv.profile_option_id(+)
and prv.level_id = lev.level_id(+)
and prv.level_value = lev.level_value(+)
and pro.user_profile_option_name like 'KW%' --Profile名称
order by pro.profile_option_name, lev.level_type, lev.level_name;

相关文章:

  • 2021-12-13
  • 2021-07-05
  • 2022-12-23
  • 2021-12-19
  • 2022-12-23
  • 2021-10-21
  • 2021-11-17
  • 2021-12-01
猜你喜欢
  • 2021-07-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-04
  • 2022-12-23
相关资源
相似解决方案