Browsing Oracle API Metadata

How to:

Oracle E-Business Suite supports PL/SQL blocks, package. A package is a PL/SQL construct that allows related objects to be stored together. The adapter is able to expose all the packages and interact with its stored procedure element. In the iWay Application Adapter for Oracle E-Business Suite, packages are categorized by the schema that owns the object. Using iWay Explorer, you can search for specific packages and specific stored procedures under a package.

Note: If you do not see a package under a schema, you may need to create a public synonym. An Oracle DBA may use the following syntax:

create [or replace] [public] synonym schema.synonym_namefor schema.object_name [@ dblink]; 

where:

or replace

Allows you to replace a synonym that already exists, without having to issue a DROP synonym command (optional).

public

Indicates that the synonym is a public synonym and is accessible to all users. You must have the appropriate privileges to the object to use the synonym (optional).

schema

Is the name of the appropriate schema. If this phrase is omitted, Oracle assumes that you are referring to your own schema.

synonym_name

Is the name of the public synonym you are creating.

object_name

Is the name of the object for which you are creating the synonym.

For example:

create public synonym suppliers
for app.suppliers;

Procedure: How to Search for Packages

To locate a package and view the Oracle E-Business Suite stored procedures it contains:

  1. Connect to an Oracle E-Business Suite target, as described in Connecting to Oracle E-Business Suite.
  2. In the left pane, expand the target node.
  3. Expand Applications, Schemas, and then APPS, as shown in the following image:
  4. Select Procedures, and then Packages.
  5. Right-click Packages and select Find.

    The Find dialog box opens.

    Note: Packages are collections of stored procedures. Due to the large number of packages and stored procedures available, a search capability is provided. You can search for a particular package by typing the full package name into the Named field, as shown in the preceding image. Alternatively, you can search for package names beginning with a certain string, for example, typing FND% generates a list of all package names starting with the string FND. This search capability is not case sensitive.

  6. Click OK.
    The Find dialog box expands and lists the search results, as shown in the following image:
  7. Click the package name.
    The AR_RECEIPT_API_PUB package is listed under Packages in the left pane.
  8. Expand the AR_RECEIPT_API_PUB node.

    A list of the stored procedures contained in this package is displayed in the left pane.

    You can now generate schemas and create iWay Business Services for packages.