Monday, 28 December 2015

How to enable the “Operating Unit” Parameter for a Concurrent Program in Oracle Apps R12


We notice that the new field as 'Operating Unit' added in R12 and this is by default is in disabled mode:
 

An applications responsibility can access multiple OUs. Some concurrent programs have been enhanced to process multiple operating units simultaneously, while for other requests the operating unit must be specified when you run the program.

To support this, concurrent programs are defined with an operating unit mode of
'S' for single operating unit and 'M'(concurrent program will be in this mode by default) for multiple operating units.
If the 'Operating Unit Mode' is not set for the concurrent program it will fail.
The ‘Operating Unit’ field/parameter is known as ‘Reporting Context’ in MOAC(Multi Org Access Control) terminology.

How we can achieve from the Oracle Applications Front-End.
1. Login into application with System Administration responsibility (NOT System
     Administrator)
2. Navigate: Concurrent
è Programs


3. Query for Short Name or Program Name of the concurrent program like as below.
4. Click on Update icon of your program.

5. Under 'Update Concurrent Program' region, select Request tab
6. Under 'Request Setting' region, select 'Single' from the drop down of 'Operating Unit Mode' field.
7. Save changes by clicking on 'Apply' button.
8. Change responsibility where the ‘Concurrent Program’ can be run, in this example ‘TESTOU’ is assigned to ‘AR Super User’ responsibility                              
9. Select the ‘Concurrent Program’ from the ‘SRS Window’, now you can see that ‘Operating 
    Unit’ field is enabled and you can see the Operating Units in the LOV.
 

10. This particular selected Operating Unit value can be accessed using the standard MOAC API: MO_GLOBAL.GET_CURRENT_ORG_ID

3 comments: