Hi,
Blob column ‘template file data‘ below is just what you want, open it in PLSQL-DEVELOPER and save it as a rtf file or you can write programs that work with ‘BLOB‘ objects to export them.
select fa.application_name concurrent_program_appl_name
,fcp.user_concurrent_program_name
,urrent_program_name
,(select ution_method_code
,'K'
,fl.meaning
,'P'
,fl.meaning || ' : ' || '$' || fa.basepath ||
'/reports/US/' || fe.execution_file_name || '.rdf')
from fnd_application fa
where fa.application_id = fe.application_id) execution_method
,xdd.data_source_name
,xdd.data_source_code
,xl_xdd.file_name data_source_file_name
,xl_xdd.file_data data_source_file_data
,xt.template_name
,xt.template_code
,xl_xt.file_name template_file_name
,xl_xt.file_data template_file_data
from fnd_concurrent_programs_vl fcp
,fnd_application_vl fa
,fnd_executables_vl fe
,fnd_lookups fl
,fnd_application fa2
,xdo_ds_definitions_vl xdd
,xdo.xdo_lobs xl_xdd
,xdo_templates_vl xt
,xdo.xdo_lobs xl_xt
where fcp.application_id = fa.application_id
utable_application_id = fe.application_id
utable_id = fe.executable_id
ution_method_code = fl.lookup_code
and fl.lookup_type = 'CP_EXECUTION_METHOD_CODE'
and fcp.output_file_type = 'XML'
and fcp.application_id = fa2.application_id
and fa.application_short_name = xdd.application_short_name
urrent_program_name = xdd.data_source_code
and xdd.application_short_name = xl_xdd.application_short_name(+)
and xdd.data_source_code = xl_xdd.lob_code(+)
and trunc(sysdate) between trunc(nvl(xdd.start_date
,sysdate)) and
trunc(d_date
,sysdate))
and xl_xdd.xdo_file_type(+) = 'XML-DATA-TEMPLATE'
and xdd.application_short_name = xt.ds_app_short_name
and xdd.data_source_code = xt.data_source_code
and xt.application_short_name = xl_xt.application_short_name(+)
plate_code = xl_xt.lob_code(+)
and trunc(sysdate) between trunc(nvl(xt.start_date
,sysdate)) and
trunc(d_date
,sysdate))
and xl_xt.xdo_file_type(+) = 'RTF'
urrent_program_name = 'XLAAARPT' --Concurrent Program Name
order by fcp.user_concurrent_program_name
,xdd.data_source_name
,xt.template_name;
本文发布于:2024-02-03 04:49:21,感谢您对本站的认可!
本文链接:https://www.4u4v.net/it/170690696448754.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
留言与评论(共有 0 条评论) |