Customized form is hanging in 11.5.10.2

Hi Friends,
In our 11.5.10.2 instance. one customized form is haning after entering the values and after clicking the confirm button. It is taking nearly 1 hr 30 mins to take the values. It usually take 5 to 10 min.....
I have enabled the trace for the form and found out that one sql is taking elapsed time almost 1 hr 30 min to complete. It is happening for the pertuculer parameter. But for the same parameter if we want to reproduce the same issue in the very recent clone it is completing fast.....
Could you please advise the possible resolution.
Thanks,
Prashanth.

Hi Prashanth
It sounds like your tables and indexes need to be analyzed to gather statistics for the CBO (cost based optimiser) in the database. Try run "Gather Schema Statistics" for the relevant schema in the System Administrator responsibility to analyze your tables.
See Metalink note: 419728.1 (How To Gather Statistics On Oracle Applications 11.5.10(and above) - Concurrent Process,Temp Tables, Manually) for more info on running the Gather statistics programs.
Cheers
Dale

Similar Messages

  • Problem with custom form

    Hey All,
    Has anyone ever experience a problem with maximizing or resizing their custom form? I have a rather large form that every time I try to maximize or resize causes Business One to hang and crash.
    Any ideas what might be causing this?

    Hi Curtis,
    Thanks for posting the solution... will keep it in mind!
    Thanks,
    Adele

  • Calling a Standard Form (With the data retreived) from a custom form

    Hi All,
    We have a requirement to call a standard form (form function : QP_QPXPRLMS) from a custom form on a button click.
    we have passed Modifier List header id as parameter..
      FND_FUNCTION.EXECUTE(FUNCTION_NAME=>'QP_QPXPRMLS',
               OPEN_FLAG=>'Y',
               SESSION_FLAG => 'Y',
               OTHER_PARAMS=>'LIST_HEADER_ID_QF = '||:TEST_BLK.MODIFIER_HEADER_ID);     Then, the form opens fine but as in Entry mode.. we want the data to be queried automatically for the passed Header Id.
    I have seen multiple posts on the similar requirement, and followed all the suggestions possible but didnt work.
    1. Is there anything i am missing here. please suggest.
    2. How would we know what are the mandatory parameters to be passed to open another standard form (is there any doc to check that)
    Also, we are unable to open QPXPRLMS.fmb as it is huge and form is getting hanged, any inputs how to pen that?
    Thanks,
    Pavan

    pass parameter using this syntax:
    fnd_function.execute(FUNCTION_NAME=>'DEM_DEMXXEOR', 
                                  OPEN_FLAG=>'Y', 
                                 SESSION_FLAG=>'Y', 
                                 OTHER_PARAMS=>'ORDER_ID="'||param_to_pass1||
                                   '" CUSTOMER_NAME="'||param_to_pass2||'"');
              -- all the extra single and double quotes account for
              -- any spaces that might be in the passed values

  • Can we enter data in any standard table directly through custom form??

    Dear All,
    Can we enter data in any standard table directly through custom form??
    I have create custom form in R.12. I want to insert data in quality standard table directly through custom form. Need experts guideline.
    Awaiting regards,

    Hi,
    Can we enter data in any standard table directly through custom form??
    I have create custom form in R.12. I want to insert data in quality standard table directly through custom form. Need experts guideline.
    Awaiting regards,
    I would not recommend touching the standard tables at all unless you are being guided by the SR. For a record to be in the standard table it should go through series of validations based on the what operation you are performing and some times datas are dependent upon the other tables, and also some times the same records are hit to so many other tables simultaneously.
    Therefore I would not recommend this brother.
    Thanks &
    Best Regards,

  • No standard message displayed in the new custom form

    Hi All,
    I developed a new custom form for FA module using Template.fmb. It is not showing any standard messages such as "Transaction complete: 1 records applied and saved". The records are getting saved. I even tried setting in when-new-form-instance ":SYSTEM.MESSAGE_LEVEL := 0" but that too didn't work out.
    Please help on how to display the standard message. Please let me know if I am not clear with my question
    Details
    Oracle Form version: 6i
    Application version: 11.5.10

    Can you see if something in the code is overriding your message level?
    Can you set the message level to 0 in the pre-commit trigger?

  • Compile all custom forms from 11i to r12

    Hi,
    I have to compile 11i forms into R12.
    Copyresource folder and fmb to local system and compile forms manually in local system is one way
    I heard there is another easy way of compiling custom forms from 11i to r12. If you have any solution for this please help me.
    Any help is big help, thanks in advance.

    Hi;
    In addition to Hussein Sawwan great post,please review:
    Custom form upgrade 11i to R12
    Planning to upgrade from 11i to R12
    Oracle Custom 11i Forms compatablity in Oracle R12
    Oracle Custom 11i Forms compatablity in Oracle R12
    How To Migrate My Customized reports & Forms To R12?
    How To Migrate My Customized reports & Forms  To R12?
    Regard
    Helios

  • Upgrade from 11i to R12 - Custom Forms,Reports and Workflows

    Dear Community Friends,
    We are planning for upgrade from oracle apps 11.5.10.2 to R12.
    We have custom Forms,Form Libraries,Reports and Workflows.
    Kindly provide me for approach on how to migrate Custom form libraries,reports and Workflows.
    I beleive, this thread will exists as one shot point for custom forms,reports,workflow upgradation from 11i to r12 with detailed steps.
    I know that many links exists here in the forum for all the above objects mentioned,but still from all those i am able to get a clear picture for oracle forms but not for custom form libraries ,reports and workflows.
    Also,this post will provide a low level,practical picture of the steps for those who are in line with this.
    Links i have read for all these in our forum are:
    For Custom Forms,
    Re: Planning to upgrade from 11i to R12
    Re: Custom forms: After upgrading 11i to R12
    ofcourse,'n' number of links exists providing metalink notes also.
    Hussain,Helios and some others also has given many updates regd this.
    For custom workflow upgradation,
    Upgrade Workflow 11i to R12
    Workflow Upgrade
    Workflow Upgrade
    For reports,links mentioned the below metalink notes:
    Do Not Compile EBS R12 Reports Using rwconverter.sh or Reports Builder from IDS 10gR2 [ID 786794.1]
    Using the OracleAS 10.1.2 Forms and Reports Builders with Oracle Applications Release 12 [ID 444248.1]
    Per my understanding, after searching in many threads,i am here by summarising the practical low level steps for custom forms migration
    Please correct me,if i am wrong.
    1) Download the Forms(.fmb's) and all PLL's(all the PLL from resource folder in AU_TOP) into a Local Machine Folder
    2) Open the forms using Forms Developer 10G and connect to DB
    3) Compile by clicking compilein Forms Developer and then save it.
    4) Upload the Saved Forms(.fmb's) into the new R12 server(system) in the respective custom paths(paths similar to 11i Server)
    5) Compile all the forms using the command like below(example command is shown below or f60 gen commands or frmcmp.sh utility) in the respective custom form paths,
    this will generate the .fmx's.
    frmcmp_batch module=FORMNAME.fmb userid=apps/apps output_file=FORMNAME.fmx compile_all=yes
    Link for compiling forms: https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=359210362972527&type=DOCUMENT&id=1085928.1&displayIndex=3&_afrWindowMode=0&_adf.ctrl-state=c348xvwbg_98
    6) Open the form and check in R12 instance
    As per my understanding for custom form libraries,we can just copy paste the PLL's from 11i server to R12 server (Please correct me,if i am wrong)
    Can anyone please help me out in custom reports and custom workflows.Sorry that,i could not get a practical and clear picture for reports and also for workflow even after referring many threads and metalink notes mentioned.
    As for reports,some says that Developer Suite 10g can be used and .rdf can be used in R12.
    Some says that reports should be converted to XML published as reports does not exists in R12.
    So,i am not clear on this.
    Thanks,
    Ganesh
    [email protected]

    Per my understanding, after searching in many threads,i am here by summarising the practical low level steps for custom forms migration
    Please correct me,if i am wrong.
    1) Download the Forms(.fmb's) and all PLL's(all the PLL from resource folder in AU_TOP) into a Local Machine Folder
    2) Open the forms using Forms Developer 10G and connect to DB
    3) Compile by clicking compilein Forms Developer and then save it.
    4) Upload the Saved Forms(.fmb's) into the new R12 server(system) in the respective custom paths(paths similar to 11i Server)
    5) Compile all the forms using the command like below(example command is shown below or f60 gen commands or frmcmp.sh utility) in the respective custom form paths,
    this will generate the .fmx's.
    frmcmp_batch module=FORMNAME.fmb userid=apps/apps output_file=FORMNAME.fmx compile_all=yes
    Link for compiling forms: https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=359210362972527&type=DOCUMENT&id=1085928.1&displayIndex=3&_afrWindowMode=0&_adf.ctrl-state=c348xvwbg_98
    6) Open the form and check in R12 instance
    As per my understanding for custom form libraries,we can just copy paste the PLL's from 11i server to R12 server (Please correct me,if i am wrong)You are right, and the steps mentioned above should be sufficient.
    Can anyone please help me out in custom reports and custom workflows.Sorry that,i could not get a practical and clear picture for reports and also for workflow even after referring many threads and metalink notes mentioned.
    As for reports,some says that Developer Suite 10g can be used and .rdf can be used in R12.
    Some says that reports should be converted to XML published as reports does not exists in R12.
    So,i am not clear on this.You can still use RDF files in R12, and just follow the approach you mentioned above, and you do not have to migrate them to XML publisher (though it is recommended, but this can be done after the upgrade as an enhancement task).
    For custom workflow, you need also to do the same thing, open them using workflow builder and make sure they work in R12 (correct the code if required and save them again in R12 once they work properly).
    Thanks,
    Hussein

  • Creating a contractor custom form and workflow associated with it OIM11g

    we are using OIM 11.1.1.5 we need to implement a scenario where, A Manager or user in admin role creates the contractor using customized form and manager gets the contractor gets the creadentials of contractor and then contractor logs in OIM self-service console to request for AD account.
    what are the steps that need to be performed to execute this
    Thanks and appreciate your responses

    I have created the request template and HR user who has HR admin role can log-in and access the request tab and request for others.
    how can i achieve the following one
    now the user who has been created by above HR user. the User should be able to log-in and access a link(custom) and (should be able to access only self-service) on request tab like "Request AD Account" this should take him to new form where his profile attributes are pre-populated and a Notes section where he will enter justification then submits the request. the request goes to his manager for approval and once he approves he will be provisioned into AD
    Thanks

  • How to submit a concurrent program from a custom form.

    I'm use Forms [32 Bit] Version 6.0.8.26.0 (Production) and Oracle Applications : 11.5.10.2.
    I need execute a concurrent program from a custom form.
    In the custom form I have a button and when that button is clicked I want to submit this cocurrent program. I am using the below code.
    fnd_profile.get('USER_ID', v_user_id);
    fnd_profile.get('RESP_ID', v_resp_id);
    fnd_profile.get('RESP_APPL_ID', v_resp_appl_id);
    fnd_global.apps_initialize(v_user_id,v_resp_id,v_resp_appl_id);
    vn_request_id := apps.fnd_request.submit_request (
    'XBOL',
    'CSUV_GL_STATEMENT_EXPORT'                                                            
    ,NULL
    ,NULL
    ,FALSE
    commit;
    But the concurrent program finished in error:
    "ORACLE error 6550 in FDPSTP
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    The SQL statement being execute"
    The executable of the concurrent program is the next:
    PACKAGE CSUV_GL_STATEMENT_EXPORT_PK
    IS
    PROCEDURE Main (
    pouc_errbuf OUT VARCHAR2,
    poun_retcode OUT NUMBER,
    pinc_OWNER in varchar2,
    pinc_VESSEL in varchar2,
    pind_GL_DATE in varchar2,
    pinc_STATE_NUM in varchar2,
    pind_STATE_DATE in varchar2,
    pinc_EXCEL_LAYOUT in varchar2
    END CSUV_GL_STATEMENT_EXPORT_PK;
    And de value set of the all my concurrent program parameters is "240 Characters".
    I dont't understand why the concurrent program finished wrong.

    Hi,
    Cause: FDPSTP failed due to ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in call to 'MAIN'
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignoredPlease refer to "Oracle Applications Developer's Guide" manual for the correct syntax and the number of arguments you need to pass to this API.
    Oracle Applications Developer's Guide
    http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115devg.pdf
    Thanks,
    Hussein

  • Unable to open java custom form in R12 instance

    Dear friends,
    I am unable to open java custom form from front end.
    Navigation as follows:
    SYSTEM ADMINISTRATOR --> UM_SHIPPING --> ORDERS LOOKUP.
    Can anyone please look into the issue please.
    The error as follows:
    Error page
    you have encountered an unexpected error. please contact the system administrator for assistance.
    Thanks,

    I am unable to open java custom form from front end.
    Navigation as follows:
    SYSTEM ADMINISTRATOR --> UM_SHIPPING --> ORDERS LOOKUP.Was this working before? If yes, any changes been done recently?
    Did you follow the steps in (What Setup is Required to Create Custom JSP Pages to Run on the Ebusiness Suite 11i and R12+? [ID 884200.1])?
    Can anyone please look into the issue please.
    The error as follows:
    Error page
    you have encountered an unexpected error. please contact the system administrator for assistance.Please check Apache log files for details about the error. Please also check if any errors are reported in the database log file.
    Thanks,
    Hussein

  • How to Call  fnd_submit.submit_program  in a custom Form ?

    Hi,
    Im creating a custom form based on TEMPLATE.fmb in Oracle EBS R12.
    I want to call a concurrent program (called: RVCTP) through trigger WHEN_WINDOW_CLOSED or WHEN_BOTTON_PRESSED whatever..
    I'm using this function: fnd_submit.submit_program
    How i can call it through the trigger ?
    I tried :
    declare
    con bolean;
    begin
    con:=fnd_submit.set_request_set('PO','TEST');
    con:= fnd_submit.submit_program('PO','RVCTP',NULL,'BATCH',NULL,89);
    commit;
    end;
    Nothing happening!
    Please advise!
    PS. i used fnd_submit.set_request_set because in Oracle Apps Developer's Guide it says i have to use it before fnd_submit.submit_program.

    Thank you,
    Check This in (20-30 Oracle Applications Developer's Guide R12 ) :
    Example Request Submissions
    /* Example 1 */
    /* Submit a request from a form and commit*/
    :parameter.req_id :=
    FND_REQUEST.SUBMIT_REQUEST (
    :blockname.appsname,
    :blockname.program,
    :blockname.description,
    :blockname.start_time,
    :blockname.sub_req = 'Y',
    123, NAME_IN('ORDERS.ORDER_ID'), 'abc',
    chr(0), '', '', '', '', '', '',
    IF :parameter.req_id = 0 THEN
    FND_MESSAGE.RETRIEVE;
    FND_MESSAGE.ERROR;
    ELSE
    IF :SYSTEM.FORM_STATUS != 'CHANGED' THEN
    IF app_form.quietcommit THEN
    /*form commits without asking user to save changes*/
    fnd_message.set_name('SQLGL',
    'GL_REQUEST_SUBMITTED');
    fnd_message.set_TOKEN('REQUEST_ID',
    TO_CHAR(:PARAMETER.REQ_ID), FALSE);
    fnd_message.show;
    ELSE
    fnd_message.set_name('FND',
    'CONC-REQUEST SUBMISSION FAILED');
    fnd_message.error;
    END IF;
    ELSE
    DO_KEY('COMMIT_FORM');
    IF :SYSTEM.FORM_STATUS != 'CHANGED' THEN
    /*commit was successful*/
    fnd_message.set_name('SQLGL',
    'GL_REQUEST_SUBMITTED');
    fnd_message.set_TOKEN('REQUEST_ID',
    TO_CHAR(:PARAMETER.REQ_ID), FALSE);
    fnd_message.show;
    END IF;
    END IF;
    END IF;
    I'm still getting an error "Wrong Number of types or arguments in call to 'SUBMIT_REQUEST' "

  • Unable to close some custom forms

    Hi Gurus,
    We did application migration from Hp-Unix to Sun Solaris. Oracle apps 11.5.10.2 with database 10.2.0.4 and application working good with few issues.
    Issues:
    1. Few custom forms ( message Forms) unable to close. If we close by clicking X mark on top right corner, it does not close can just minimise.
    2. Couple of Custom forms does not open even we have .fmx in the custom folder.
    Need some suggestions on this issues.
    Thank You.

    f60gen module=ARXCUDCI.fmb userid=apps/apps output_file=/ul01/app/applmgr/lasrx/au/11.5.0/forms/US/ARXCUDCI.fmx
    Compiling ON-DELETE trigger on CODE_ASSIG_HIST data block...
    No compilation errors.
    Compiling WHEN-BUTTON-PRESSED trigger on BP_CLOSE item in CODE_ASSIG_HIST data block...
    No compilation errors.
    Compiling WHEN-NEW-ITEM-INSTANCE trigger on CURRENT_RECORD_INDICATOR item in CODE_ASSIG_HIST data block...
    No compilation errors.
    Compiling WHEN-MOUSE-UP trigger in FOLDER_PROMPT_MULTIROW property class...
    No compilation errors.
    Compiling WHEN-BUTTON-PRESSED trigger in FOLDER_OPEN property class...
    No compilation errors.
    Created form file /ul01/app/applmgr/lasrx/au/11.5.0/forms/US/ARXCUDCI.fmx
    Thanks You.

  • Export menu is disabled in a custom form

    Hi all,
    In a custom form EXPORT menu option is always disabled.How it will be enabled for all the responsibility.what will be the code or set-up. I tried to enable to write code like
    declare
    mi_id MenuItem;
    BEGIN
    mi_id := Find_Menu_Item('FILE.EXPORT');
    set_menu_item_property(mi_id,ENABLED,PROPERTY_TRUE);
    END;
    But it is not working at all.
    Please help ASAP.
    Thanks in Advance
    Sanjit Kumar Mahato

    In 11.0.3 You had to create a "prompt" block, with the same name of the block You want to enable export for, plus the _prompt prefix, and then put text item non-database for the fields to export. Do a quick try with only what field to see if that enables the menu, and the personalize what other fields to export.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Outlook 2013 with Exchange Server - Changed custom form for contacts is not shown

    Hello,
    Our infrastructure:
    Exchange Server 2010
    Outlook 2010
    Outlook 2013
    Windows 7 Pro, Windows 8 Pro and Windows 8.1 Pro
    The situation:
    We've used an old custom form for contacts, worked perfectly fine
    I've updated the form (adding some new custom fields and checkboxes) using Outlook 2013 and publishing the form (with a new name) to the Exchange folder
    I've set the form as default form in our contacts folder
    I've used this Script to set the new form for the existing contacts  and the name of the new form is saved correctly
    BUT if I open a contact in our Exchange contacts folder, Outlook 2013 (Outlook 2010) still shows the old form
    Steps I've taken so far:
    Cleared Outlook forms cache
    Repeated the above steps 1-4 in Outlook 2010
    Switched Cached Exchange Mode off and back on
    Allowed Scripts in Trust Center Settings
    Used a new clean Windows installation with a new Outlook 2013 installation
    Used different Exchange users on different systems, but some behavior when opening contacts
    I'm out of options I can think of, so maybe somebody else has some new view on this problem. 
    Thank you very much in advance!
    Greetings,
    Karl

    Hi,
    Is the Exchange folder in which the custom form is published available to all users?
    From the description, the script used to work for the old custom form, correct? Which version of Outlook did you use with the old custom contact form? Outlook 2010/Outlook 2013 or an earlier version? If you used the script with an earlier version of Outlook,
    we can't make sure it will still work with Outlook 2010/Outlook 2013.
    In addition we may also try creating a new contact form and test the steps to see if it will work.
    Please let me know the result.
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Form personalization for a read only responsibility for a custom form

    Hi,
    I have a read only responsibility. My requirement is to make a custom form updatable through this responsibility but wth a condition that only the specific custom form should be updatable and rest all other form accessed through read only responsibility be read only. How can i achieve this using form personalization?
    Pls give me detailed steps if possible.
    Thanks

    I tried override Query Only values through Forms Personalization but it did not work for me. With a bit of determination I might have been able to work around it but no luck on that front.
    You can do it this way, although it's a bit cumbersome:
    1. Clone every function and menu in the Responsibility
    2. In all but your custom function set the Function parameter QUERY_ONLY=YES

Maybe you are looking for

  • Connect to car, IPOD Classic pauses and will not play

    Hello to all, First of all I am not very good at computer stuff. I used my IPOD Classic for about three months with a car kit and all was fine. All of a sudden it stopped playing. I figured out that the IPOD pauses when it is connected to the wire fr

  • WebI Report is taking too long time to opening

    Hi All, When iam trying to open the WebI report in Infoview , it is taking long time to open and refresh, Please suggest me a solution. Thanks in advance.. Regards, Mahesh

  • Problem while creating sales order

    Hi    We are facing a problem while creating a sales order in R/3. The sales order number is getting generated. But we are not able to view the same in the backend meaning it is not there in the database. Any inputs would be of help. regs Steve

  • Purpose of entering the Condition type in Pricing procedure determination

    Dear All, We are maintaining a condition type in Pricing procedure determination. But I am not sure about the purpose of it. Because, even without maintaining a condition type, it is working. Could you please let me know the reason for maintaining a

  • Multiple Holiday Calendars for an employee

    Hi We have a requirement, where an employee works for various clients in a month/year. Whenever he moves to a new client, that client holiday calendar should replace the existing for that period only. Eg: Client XYZ has holiday calendar1, calendar 2,