Declare
BEGIN
fnd_user_pkg.addresp(username =>'ABC' ---Username
,resp_app =>'FND' --res application code
,resp_key =>'FND_REP_APP' --resonsibilty key
,security_group =>'STANDARD'
,description =>'Integration Repository Application' --res description
,start_date =>Sysdate
,end_date => Sysdate +100);
COMMIT;
END;
select * from fnd_responsibility_vl where responsibility_name like '%App%'
select * from fnd_application where application_id=0;
select fu.user_name, fr.responsibility_name, furg.START_DATE, furg.END_DATE
from fnd_user_resp_groups_direct furg, fnd_user fu, fnd_responsibility_tl fr
where fu.user_name = 'ABC'
and furg.user_id = fu.user_id
and furg.responsibility_id = fr.responsibility_id
and fr.language = userenv('LANG')
AND fr.responsibility_name LIKE '%SOA%'
No comments:
Post a Comment