Showing posts with label P_CONC_REQUEST_ID. Show all posts
Showing posts with label P_CONC_REQUEST_ID. Show all posts

What are user exits in oracle reports


User exits in oracle reports:
A User Exit is an API, which provides a way to pass control from Reports Builder to a 3GL program that performs some function, and then returns control to Reports Builder.

Using these we can integrate Oracle reports with Oracle apps AOL, and run them as concurrent programs.

How to make a D2K report Oracle Applications compliant


Before moving the developed oracle report to application, make sure to that the report is Oracle Applications compliant. perform the following steps:

1. Remove the '_all' tables from the FROM clause.  For instance instead of using OE_ORDER_HEADERS_ALL table use OE_ORDER_HEADERS (view).
2. Add a User Parameter P_CONC_REQUEST_ID. The datatype of this parameter is Number , Size is 15, initial value is 0
3. In the BEFORE REPORT Trigger add this piece of code to set the environment variables.
     SRW.USER_EXIT('FND SRWINIT');
4. In the AFTER REPORT trigger add this piece of code to reset the environment variables.
    SRW.USER_EXIT('FND SRWEXIT');