同樣的, 有些View裡面內含 prfile的設定值,像是lang等變數,
在TOAD也是會找不到檔案
這個時候, 使用
BEGIN
fnd_global.APPS_INITIALIZE (user_id => youruesr_id ,resp_id => yourresp_id, resp_appl_id =>yourresp_appl_id);
END;
即可在TOAD中模擬在ERP裡面的環境
user_id , resp_id, resp_appl_id 這三個值
可以在ERP內從 Help > Diagnostics > Examine
Block = $PROFILES$
Field = user_id ,
Field = resp_id,
Field = resp_appl_id
來找出其對應值, 如下圖

或是使用以下SQL語法
select user_id
from fnd_user
where user_name ='yourusername';
select RESPONSIBILITY_ID,APPLICATION_ID
from fnd_responsibility
where RESPONSIBILITY_KEY = yourrespkey ;