After viewing the request and clicking Diagnostic, there is a View XML button, which is sometimes available and sometimes grayed out. Why?
Two preparations are required to enable View XML:
1. Output must be XML:
After the Output Format is changed to XML, you can find the corresponding xml file (oXXXXX. out) in the output path ),
If you select the rtf template when submitting the request and the output format is pdf, you can also find the corresponding pdf file:
Select outfile_name from fnd_concurrent_requests where request_id = 5818917;
-Bash-3.2 $ pwd
/U01/tm12/inst/apps/SID_hostname/logs/appl/conc/out
-Bash-3.2 $ ls * 5818917 *
FNDSCURS_5818917_1.PDF o5818917.out
-Bash-3.2 $ head-n 3 o5818917.out
<? Xml version = "1.0" encoding = "UTF-8"?>
<! -- Generated by Oracle Reports version 10.1.2.3.0 -->
<FNDSCURS>
-Bash-3.2 $ head-n 3 FNDSCURS_5818917_1.PDF
% PDF-1.4
5 0 obj
<
-Bash-3.2 $
2. You must have a Layout associated with it. The Layout Definition is the same as that of BIP (Data Definition-> Template,Note CodeMust be consistent with the short name of the request)
Now, you can click the View XML button.