09 - REPORT - Oracle PL-SQL Report Development Process Document
09 - REPORT - Oracle PL-SQL Report Development Process Document
FOR i IN PH
LOOP
-- Generating XML Tags for Headers
FND_FILE.PUT_LINE (FND_FILE.OUTPUT,'<G_PO_HEADER_ID>');
FND_FILE.PUT_LINE (FND_FILE.OUTPUT,'<SEGMENT1>'|| I.SEGMENT1|| '</SEGMENT1>');
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
FND_FILE.PUT_LINE (FND_FILE.OUTPUT,'<LIST_G_PO_LINE_ID>');
FOR j IN PL(I.SEGMENT1)
LOOP
-- Generating XML Tags for Lines
FND_FILE.PUT_LINE (FND_FILE.OUTPUT, '<G_PO_LINE_ID>');
FND_FILE.PUT_LINE (FND_FILE.OUTPUT, '<PO_LINE_ID>'|| J.PO_LINE_ID||
'</PO_LINE_ID>');
FND_FILE.PUT_LINE (FND_FILE.OUTPUT, '<ITEM_ID>'|| J.ITEM_ID || '</ITEM_ID>');
FND_FILE.PUT_LINE (FND_FILE.OUTPUT, '<ITEM_DESCRIPTION>'|| J.ITEM_DESCRIPTION ||
'</ITEM_DESCRIPTION>');
FND_FILE.PUT_LINE (FND_FILE.OUTPUT, '<LINE_NUM>'|| J.LINE_NUM || '</LINE_NUM>');
FND_FILE.PUT_LINE (FND_FILE.OUTPUT, '<UNIT_PRICE>'|| J.UNIT_PRICE ||
'</UNIT_PRICE>');
FND_FILE.PUT_LINE (FND_FILE.OUTPUT, '<QUANTITY>'|| J.QUANTITY || '</QUANTITY>');
FND_FILE.PUT_LINE (FND_FILE.OUTPUT, '</G_PO_LINE_ID>');
FND_FILE.PUT_LINE (FND_FILE.OUTPUT,'</G_PO_HEADER_ID>');
END LOOP; --End Loop PH
FND_FILE.PUT_LINE (FND_FILE.OUTPUT,'</LIST_G_PO_HEADER_ID>');
FND_FILE.PUT_LINE (FND_FILE.OUTPUT,'</XXCUST_PO_DETAILS>');
END PO_DETAILS;
END XXCUST_PO_DETAILS_PKG;
/
Step2 : Loging to Application and go to Applica Developer responsibility and create the concurrent program
Nav : Application Developer Concurrent Executable
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
Field Value
Program XXCUST PO Details Report
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
Note : Concurrent Parameters sequence should follow the Package input parameters sequence
Field Value
Seq 10
Parameter P_PO_NUM (Any meaningful Name)
Value Set 100 Characters
Prompt PO Number
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
Step8: Query the request group and add the concurrent program
Field Value
Group All Reports
Application Purchasing
Note: To develop the RTF get the xml from concurrent program
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
Submit the “XXCUST PO Details Report” program with PO Number parameter as 500 (Any po number value, If
you not pass the value It will disply for all po number)
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
Step11 : Save the XML file in desktop with XXCUST_PO_DETAILS.xml (Any Name)
Step12 : Develop the RTF file with Above xml file and save with XXCUST_PO_DETAILS.rtf
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
Step 14 : Create the Data definition and Template and upload the above developed RTF file
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
Nav : Purchasing, Vision Operation (USA) View Requests Submit New Requests Single Request
Submit the “XXCUST PO Details Report” program with PO Number parameter as 500 (Any po number value, If
you not pass the value It will disply for all po number)
RAJU CHINTHAPATLA
PL/SQL Report Development Process Document OracleApps88
RAJU CHINTHAPATLA