EBS报表输出文件格式控制

时间:2021-12-18 20:51:59

具体使用方法:
1、添加用户参数p_conc_request_id
2、在BeforeReport trigger中添加srw.user_exit('FND SRWINIT');
          和AfterReport trigger中添加srw.user_exit('FND SRWEXIT');
3、添加用户参数p_output_format
4、在BeforeReport trigger中添加
UPDATE FND_CONC_PP_ACTIONS X
   SET X.ARGUMENT5 = :P_OUTPUT_FORMAT
WHERE X.ARGUMENT1 = 'CUX' --此参数可选
   AND X.ACTION_TYPE = 6
   AND X.STATUS_S_FLAG = 'Y'
   AND X.CONCURRENT_REQUEST_ID = :P_CONC_REQUEST_ID;
p_output_format目前可以选的参数有HTML,EXCEL,PDF,RTF
ps1:action_type的值含义(参考:726955.1)
1 = Printing.
2 = Notification.
4 = PLSQL procedure (11i only).
6 = Output Post Processor log file.