Logo Background

Forms Personalization And Customization Steps in Oracle Applications

  • By on February 18, 2009 | No Comments

    Question: Is it a common practice to modify forms in Oracle Apps?
    Answer: Yes and No.
    Yes because you often will be called upon to modify the forms, but no because most often you should modify the screen without actually modifying the underlying forms executable .

    Question: How can I modify screen without modifying the underlying executable ?
    Answer: There are two ways, listed in the order of preferences:-
    1. Forms Personalization
    2. CUSTOM.pll

    Question: How does forms personalization work?
    Answer: Oracle forms has triggers that we trap to write our business logic. Oracle has a standard practice of calling a generic piece of code from each trigger(at form level).  In this generic piece of code Oracle checks in personalizations tables to see if anything extra needs to be done for the events being executed. For details of example, see the article for forms personalizations

    Question: Fine then, but why is CUSTOM.pll needed when we already have forms personalization?
    Answer: Well just like any technology, forms personalization has its limitations.

    Limitation example 1 of forms personalization
    For example you wish to prompt a message to user DO YOU WISH TO CREATE THIS PERSON AS SUPPLIER OR CUSTOMER OR EMPLOYEE. Lets say this message will prompt three options, create customer , create supplier or create vendor. Depending upon what user selects, you wish to navigate to one of relevant screens from the current TCA screen. For this, you have no choice but to use CUSTOM.pll

    Limitation example 2 of forms personalization
    For example you wish to change the record group of a LOV, via changing its query, in a screen.  This can be done by CUSTOM.pll, but not by forms personalization.

    Question: What about CUSTOM.pll, what can’t be done via custom.pll ??  Hence calling for forms customization.
    Answer: For example, you need to add a complete new section to the screen at a very specific location, this must be done via forms customization.

    Question : Ok, what are the steps for customization of such screen.
    Answer: Below steps in brief
    a) Identify the form in Oracle Apps that needs to be customized.
    b) Go to the specific directory on one of the mid-tiers to get that forms executable. Say from $AU_TOP/forms/US/POENTRY.fmb.
    c) FTP that form and all its dependable form objects & pll files to your PC.
    d) Open the form, ensuring that you do not receive any errors pertaining to missing library or missing form object.
    e) Perform a save-as to rename this form on your pc, using your company’s naming conventions.
    f) Make the desired modifications to the form.
    g) Generate the form on PC using Control-T keystrokes. This will ensure that nothing critical has been missed out. Surely you will need to connect to apps schema before generating the form.
    h)  FTP the form file to $XXPO_TOP/forms/US
    Surely, this XX will be replaced by the naming convention at your client/company.
    i)  cd to  $XXPO_TOP/forms/US
    And f60gen on XXPOENTRY.fmb
    This will create a file executable as XXPOENTRY.fmx
    j) Go to Application Developer responsibility
    Menu /application/form
    Register the form
    k) Register the Forms Function
    Have you read the article form functions ?
    This forms function must be registered against application “XX Purchasing”.
    l) Now add a menu item so that this forms function becomes available to specific responsibility.

    Question: Well, a question about (A), how to identify the form executable?
    Answer: There are two ways.

    Open the form to be customized in Oracle Apps from respective Responsibility/Menu
    Next select menu /Help/About Oracle Application.
    Here, scroll down within the sub window and search for fmx. This is the executable that oracle application runs when specific form is invoked.

    Query the responsibility definition which has the form attached to this. Note down the Menu which is attached to Responsibility. Go to the menu definition screen and find the form function attached to this menu. From this form function find the form attached to this function.

    Question: Regarding (I), what is the command for f60gen
    export FORMS60_PATH
    cd $XXPO_TOP/forms/US
    f60gen module=XXPOENTRY.fmb userid=apps/apps module_type=form batch=no compile_all=special

    » Compile Oracle Forms, Menu And Library
Leave a Comment