Tuesday 26 May 2015

Concurrent Program Creation in Oracle Apps

      There are 2 steps need to be followed to create concurrent programs. 1)Creation of concurrent Executables 2) Creation of concurrent programs. Lets discuss the steps to create concurrent program using simple database procedure to display output in text format.

1) Create a simple procedure which displays order information.

To copy select+ctrl+C


2) Go to Application Developer/System Administrator Responsibility =>Concurrent=>Executable














Concurrent program executable window will be opened.












3) Enter the Executable Name.
4) Enter the Executable Short Name.
5) Select the Application from LOV.
6) Enter the description of the Concurrent executable.
7) Select the Execution Method. As it is a Procedure need to select PL/SQL Stored Procedure.
8) Enter the Execution File Name i.e the procedure name.
9) Click on Save.
10) Go to Concurrent=> Program















Concurrent Program window will be opened.









11) Enter the Program Name. This is the user concurrent Program name.
12) Enter the Short name. This name should be same as the Executable Short name.
13) Select the Application from LOV.
14) Enter the description of concurrent program. It is optional.
15) Select the Executable name from the LOV.
16) Select the Output format. There are many formats available as html, XML, Text. In this case it is Test.
17) Click on Save.
18) Find out the request group attached to the responsibility where you would like to attach the concurrent Program.
19) Go to System Administrator Responsibility=>Security=>Responsibility=>Request

















20) Query with the Request Group Name.
21) Go to Detail Block and add the Concurrent Program name to the Request Group.










22) Go to the Responsibility where the concurrent Program is available.












23) GO to View Menu=>Request. Select Submit new Request









24) Submit Request Window will be appeared. Select the Concurrent Program from the LOV and Click on Submit.
















25) Once it is Completed click on view log to view the log details








26) Click on the output button to view the output. Below screen shot is the expected output.











27) As explained above is the program without any parameter (the date is hardcoded in the procedure). You can also pass the parameter from the concurrent program.
28) Click on the parameter button on the concurrent program window.















29) Create the parameter name, Select the value set name and click on save.
30) Modify the database procedure with the parameter as from_date and to_date. Use this in the query.
31) Once you submit the concurrent Program It will ask for the Parameter to enter.














32) Use the below query to get the data about concurrent program from the backend.

1) Query to Find the concurrent execution file name


2) Query to find concurrent request details. (Once you submit the request you can get request_id . Using that you can trace further)


Hope you like this...!!! If you have any concern/doubt please comment/contact us.

No comments: