Home Discussions Questions & Answers Finding Application Top ID for EBS 12.2 Patch Check

Finding Application Top ID for EBS 12.2 Patch Check

Avatar photoCustomer September 8, 2025 at 12:31 pm

We are using the `ad_patch.is_patch_applied` function within a Blitz Report to check patch status on our multi-node EBS 12.2 instance. How do I correctly retrieve the `appltop_id` for use in this function, ensuring I filter out obsolete records?

Viewing 6 reply threads
  • Author
    Replies
    • Support September 9, 2025 at 5:30 am  

      For multi-node installations, retrieving the correct `appltop_id` requires a specific SQL query . You need to join the `applsys.ad_appl_tops` table (which may contain obsolete entries) with the `applsys.fnd_appl_tops` table (which typically doesn’t have obsolete records) . The suggested query is: `select aat.name, aat.appl_top_id from applsys.ad_appl_tops aat, (select distinct fat.name from applsys.fnd_appl_tops fat) fat where aat.name = fat.name` .

    • Avatar photoCustomer September 9, 2025 at 4:39 pm  

      Why is the `DISTINCT` keyword used on the `fnd_appl_tops` subquery in the recommended approach?

    • Support September 11, 2025 at 3:07 pm  

      The `DISTINCT` keyword is necessary because in Oracle EBS Release 12.2, the `fnd_appl_tops` table often returns two dual filesystem appl_tops . Using `DISTINCT` ensures that only one entry for each application top name is returned, simplifying the selection for the subsequent join and correct identification of the `appltop_id` .

    • Avatar photoCustomer September 13, 2025 at 2:36 am  

      If I am checking for patch status on a single-node EBS system, is there a simplified way to determine the `appltop_id` parameter?

    • Support September 14, 2025 at 5:52 pm  

      Yes, for single-node EBS systems, you can simplify the usage of the `ad_patch.is_patch_applied` function by using the constant value `appltop_id=-1` for the second parameter . This bypasses the need to query the application top tables directly .

    • Avatar photoCustomer September 15, 2025 at 8:39 pm  

      If I want to check multiple patch numbers (e.g., 123456, 789012) across all application nodes simultaneously, how do I structure the query?

    • Support September 16, 2025 at 1:58 pm  

      You modify the improved query version that selects across multiple application nodes and languages . You join `ad_bugs` and `ad_appl_tops`, and use an `IN` clause to filter by your list of patch numbers . The query would contain `where adb.bug_number in (123456, 789012)` and include the join to the filtered `ad_appl_tops` and the function call `ad_patch.is_patch_applied` to check the status for each combination .

Viewing 6 reply threads
  • You must be logged in to reply to this post.

Login with: