How to run
or call a report from custom form in oracle apps?
Step 1:
Create a
Report in Report Builder
(SELECT *
FROM EMP E WHERE E.EMPNO = NVL (:P_EMP,EMPNO))
Then set
the
BEFORE
REPORT TRIGGER : SRW.USER_EXIT('FND SRWINIT');
AFTER
REPORT TRIGGER : SRW.USER_EXIT('FND SRWEXIT');
Then set the
User Parameter
Click on Add and set the User Parameter Name as “ P_CONC_REQUEST_ID ” and one Parameter
is created by my Query “ P_EMP”
Then create the layout
Then Register the RDF in oracle apps. As out put type as PDF with parameter “
P_EMP” only.
Step 2:
Create a FORM in form
builder using TEMPLATE.fmb for oracle
apps like that
Rt. Click on the “Report ” Button then Write the Query
|
Then Register the FORM in Oracle
apps.
Then open the form
Then CTRL + F11 for fetch the
data.
Then click on the Report Button
for respective EMPNO .
Then go to VIEW à Request
Then click on the FIND button
Then click on the View Output to
see the report.
No comments:
Post a Comment