Hr_utility.trace - standard concurrent program

Hi,
We have a standard concurrent program that we think is falling over due to data error. Looking at the code that is being run, there seems to be a lot of useful info traced out by hr_utility.trace(). How can I enable this for a concurrent program though? It seems that all the references I can find refer to enabling it when calling from sqlplus etc, rather than when the code is running as part of a concurrent program.
Thanks

/dev/null wrote:
Hi,
We have a standard concurrent program that we think is falling over due to data error. Looking at the code that is being run, there seems to be a lot of useful info traced out by hr_utility.trace(). How can I enable this for a concurrent program though? It seems that all the references I can find refer to enabling it when calling from sqlplus etc, rather than when the code is running as part of a concurrent program.
ThanksYou need to take a backup of the package and add the code -- Please see these docs for details.
Using PYUPIP in Oracle HRMS [ID 130374.1]
How To Trace In The HRMS Application [ID 105292.1]
Oracle HRMS Data Pump [ID 226988.1]
If you want to use the regular trace, please refer to:
How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1]
How To Create Trace File and Run Tkprof in E-Business Suite Applications - Condensed Version [ID 141278.1]
Thanks,
Hussein

Similar Messages

  • Name of trace file from trace enabled concurrent program

    Hi all,
    I am looking for a sql script or method to find the name of a trace file in udump for trace enabled concurrent programs. I know the trace files show 11i logon (user_name from fnd_user) in the name of the trace file but I am looking for a sql that would give the exact name of the raw trace file with request id as input.
    I have 11.5.10.2.
    Any help?
    Thanks,

    Please see these docs.
    11i-How to find the Trace file generated for a concurrent program [ID 270446.1]
    How to find the Trace file generated for a concurrent program? [ID 967966.1]
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    Thanks,
    Hussein

  • Enable Trace in Concurrent Programs

    Hi All
    I have enabled the trace option on an Oracle Reports concurrent program.
    After running this concurrent program where i can see the trace output.
    Thanks,
    Binu

    Binu,
    Sort the files by last update date, you should be able to find it then. Also, you should see the application username who submitted the request in the trace file name.
    Note: 453527.1 - How To Trace a Concurrent Request And Generate TKPROF File
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=453527.1

  • Concurrent Program ends in Error without any error message - Apps 11.0.3

    Hi,
    We have a concurrent program which errors out sometimes without any error message in log file or anywhere else. This happens intermittently. Is there anyway to see why this happens ( to see error message somewhere else - like FND tables ?). Any feedback is appreciated. This happens in Oracle Apps 11.0.3.
    thanks
    Ram

    Ram,
    Is this a custom or standard concurrent program?
    Was this working properly before? If yes, what changes have been done recently?
    Did you try to relink the concurrent program executable file and see if this helps? Also, you could enable trace/debug and submit the request again and see if more details are collected in the logs -- See (Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12).
    Regards,
    Hussein

  • Getting An Error when a Concurrent Program is run

    ORA-20001: A value has been provided for a non-enabled or non-existent descriptive flexfield segment. This Error is coming out from the API call - hr_person_api.update_person. Please advise !

    Hi,
    Please mention the OS version and the application release.
    Is this a custom or standard concurrent program?
    Has this ever worked? If yes, what changes have been done recently?
    Search My Oracle Support for "ORA-20001 hr_person_api.update_person", go through the documents, and see if it helps.
    If none of the above helps, enable trace, submit the concurrent program and check the log file for details about the error.
    Regards,
    Hussein

  • PL/SQL log in java concurrent program is missing

    Hi,
    I'm experiencing something strange with EBS R12 concurrent program logs.
    Our concurrent program is just a normal program that runs fine in most cases. It is written in java, which calls PL/SQL procedures. Usually the log is concatenation of logs from both like following
    (log from mid-tier java codes ...)
    Start of log messages from FND_FILE
    (log from database tier PL/SQL codes ...)
    End of log messages from FND_FILE
    But on one customer's environment the PL/SQL log is missing. This makes us unable to see the important messages.
    I tried to directly look at the files but had no luck.
    select 'cat '||c.value||'/'||p.plsql_log
    from fnd_concurrent_processes p, fnd_concurrent_requests r, fnd_env_context c
    where r.controlling_manager=p.concurrent_process_id
    and p.concurrent_process_id=c.concurrent_process_id
    and c.variable_name='APPLPTMP' and r.request_id=...
    (file not exist in file system)
    req=...; nedit ${APPLCSF}/log/l${req}.req&
    (pl/sql part is missing)
    We verified database tier log directory is writable and has free space.
    Also verified that other concurrent programs written in PL/SQL has correct logs.
    How can we get PL/SQL logs? Please help.
    Thanks

    Hi Srini, here are the env details I got from customer:
    1) $ uname -a
    Linux srvoracle06.gpodeacero.corp 2.6.18-194.el5 #1 SMP Mon Mar 29 22:10:29 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
    2) select banner from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE 11.1.0.7.0 Production
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 – Production
    3) The EBS version result is:
    Oracle Applications : 12.1.2
    Hi Hussein, about enabling trace for concurrent program, how to do that? I guess you are not refering to database SQL trace right?

  • Error When Submitting WIP Mass load Concurrent Program (Work in Process)

    Hi,
    I am submitting WIP Mass Load concurrent program to get the data from WIP_JOB_SCHEDULE_INTERFACE table in to base tables.
    The concurrent program is completed with Warning status.
    My Package inserts the data into wip_job_schedule_interface table to create a WIP Job. After inserting the data in to wip_job_schedule_interface table, it submits a concurrent program (WIP Mass Load) (Standard concurrent program) to create a WIP job automatically from the data inserted into wip_job_schedule_interface table.
    This concurrent is errored out with the following warning message:
    ===========================================================
    Group ID: 7026 Report Date: 23-OCT-2007 12:26
    Job and Schedule Interface Report Page: 1 of 1
    Create Discrete Jobs
    Source Code: XXEXT019
    Organization: DVR
    Process Process
    Job Job Type Assembly Quantity Start Date Completion Date Kanban Card Phase Status
    6094-3 Non-standard DEV-GA-1 1.00 23-OCT-07 11:57 23-OCT-07 11:57 Validation Error
    Error: Invalid or insufficient Completion Subinventory/Locator information.
    Check that you have entered valid subinventory/locator information based on the organization and assembly
    that you have chosen.
    0 out of 1 jobs were successfully loaded
    =========================================================
    I populated locator information in to the interface, then too its saying the same.
    Can you please me know where exactly i am going wrong. Help Appreciated.
    Thanks

    Have a look to the Metalink note "Note:207646.1", which deals with the error "WIP_ML_ORA_ERROR (ERROR_CODE=-1653)".

  • Remove duplicate record with a concurrent program

    Hi
    I have two nearly simliar records. I will remove one of them. It should be a program to do this.
    Any suggestion.
    Thanks

    Hi,
    It shoul be a conc. prog. for deleting (removing) duülicate records. Currently i am searching to find this prog.What is the point of removing this duplicate record using a concurrent program (not manually or using an API)? I believe this is no standard concurrent program to achieve this.
    Thanks,
    Hussein

  • Will patch overwrite user specified defaults on concurrent program defn

    Gurus,
    I need your opinion as well as links to metalink article concerning patches. I argued with some
    people here in my co regarding concurrent program definitions. I specified a print style on one
    of the seeded financial report as well as the number of columns and rows. I thought that applying
    oracle patches wont overwrite these info but the people in our group believes otherwise.
    What is the truth regarding these? Sounds illogical to me that my setups will be wiped out by
    a patch. Where can we find some documentation on this?
    Thanks for sharing info and your time. More power.
    Gregg

    Further from the responses above, I think the concurrent program definition will only be overwritten by patch if loaded via FNDLOAD and the last_update_date in the ldt file is later than the last_update_date on the concurrent program definition. But of course then the changes delivered won't be applied if last_update_date is higher on database record - this may be problematic.
    Best option is to copy standard concurrent programs to avoid this issue - of course with the flowon that if standard conc program parameters change then you'd need to manually change on your copied program!
    Between a rock and a hard place ;-)
    Regards,
    Gareth
    Blog: http://garethroberts.blogspot.com
    Web: http://www.virtuate.com

  • Spawned Concurrent Program

    Hi,
    Can somebody help me on how to revise a standard concurrent program with a Spawned executable method?
    I just need to add the TIN, company name, and address in the header level of the the following standard concurrent programs.
    1. Program Name: Receipt Register
    Short Name: ARRXRCRG
    Executable Name: FARXPBSH
    2. Program Name: Publish Journals - Voucher
    Short Name: GLRXVCJ
    Executable Name: FARXPBSH
    3. Program Name: Transaction Register
    Short Name: ARRXINVR
    Executable Name: FARXPBSH
    Although, I've read in some threads that a SPAWNED concurrent program is typically a C or ProC program and that it's usually not readable. It was also mentioned that the best way to deal with it is to just read the output from the spawned program and create a new program to be able to apply additional requirements.
    The thing is I would like to avoid the idea of creating a new program since I just plan to add the company name, address, and TIN in the header level.
    I hope you can help me on this.
    Thanks a lot,
    User102

    User102,
    If you modify any standard E-Business code then when you apply a patch that contains a new version of the standard code then your customisation is likely to be overwritten by code in the patch .
    I can't see any easy answer to your question as Oracle don't supply the source code to spawend programs so you don't have the code to modify .
    One convoluted possibility is to write a host prorgam (shellscript) to which you pass the parameters you want and then call the standard program via the shellscript to create the output as normal then use the shellscript to add the extra information you want to the output file.

  • Error While submitting Import Standard Purchase Order Concurrent Program

    Hello All,
    When I am trying to submit Import Standard Purchase Order Concurrent Program from front end, it gets submitted properly.
    and from backend,I am getting Following error.
    To get the log messages for PDOI, please use the following id to query against FND_LOG_MESSAGES table:
    AUDSID = 27810853
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_sys_parameters.0
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure init_startup_values.10
    ORA-01403: no data found in Package po.plsql.PO_PDOI_PVT. Procedure start_process.50
    User-Defined Exception in Package po.plsql.PO_PDOI_Concurrent. Procedure POXPDOI.30
    When I looked in Parameters in both program(manually submitted and called from backend) I found a difference.
    difference is Parameter Operating Unit. It not get submitted while program calling from backend.
    Please anybody tell me solution for this. for setting this parameter.
    (Also I have applied for patch 13001705 as per Metalink suggested).
    Thanks in advance.
    Regards
    Ravi Raj.
    Edited by: Ravi Raj on Jan 23, 2013 10:50 PM

    Please paste the code here.. there may be some parameter issue while submission.

  • Possible to extend java Concurrent Program and replace standard??

    Hi All!
    i have following developing need. There is a java concurrent program POXPOPDF (PO Output for Communication). The customer needs this program to do actually something complete different than printing the PO in PDF. The executable for this CP is java class PoGenerateDocumentCP in oracle.apps.po.communicate package.
    We thought that we may be able to extend that class and then in some way made OA to use the extended java class instead of the standard. This is possbile and simple for OA Framework pages unsing classes as controllers, but I don't know how it could be done for CP (if there's a way to do it without violent intervention in standard system).. Is it possbile, can anyone help me with this.
    The thing is that instead of reformatting the XML returned from PO_COMMUNICATION_PVT.POXMLGEN (function POXMLGEN in database package PO_COMMUNICATION_PVT) into PDF we want to reformat into another XML and then send it in other way to a webservice. Once I have the XML from POXMLGEN I have no problem to reformat it into another XML (I think, I have done it iwith other issues/processes). The webservice and the call to it is no problem and is already use with other purposes in other processes, but here (replaceing this stadard java class for an extension/new one) I am a little lost.
    Appreciate very much your help.
    Regards,
    Patricia

    Never mind, I see now that FND_REQUEST.SUBMIT_REQUEST() really does work, I tried with a different standard java concurrent program and it worked fine, and then I figured out that my parameters into fnd_request.submit_request for concurrent program APXVVCF4 were not correct (application short name was invalid for concurrent program).
    Thanks for the Info!

  • How to Trace oracle Host Type concurrent program

    How to Trace oracle Host Type concurrent program
    I have enabled trace in concurrent definition screen but couldnt get the trace file
    the Host script executes multiple plsql packages for interfaces and sent emails

    Hi,
    How to Trace oracle Host Type concurrent programSee (FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]) -- 4. How does one enable trace for a concurrent program?
    I have enabled trace in concurrent definition screen but couldnt get the trace fileDo you mean the trace file is not generated?
    the Host script executes multiple plsql packages for interfaces and sent emailsIs this a seeded or custom concurrent program?
    Thanks,
    Hussein

  • Enable trace for particular concurrent program

    Hi Experts,
    I want to enable trace for the program called "Print Invoice Notice". I tick the enable trace box in Concurrent->Define-> navigation.
    But i didn't get any trace under USER_DUMP_DEST destination.
    Thanks
    Sundar.

    Hi,
    Please run the query in (Note: 296559.1 - FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12) to find the trace file name and location.
    Regards,
    Hussein

  • Error while runing standard SRS concurrent program

    Hi all,
    I had written the interface for po_vendor_sites_all.The data is loaded perfectly into interface table AP_SUPPLIER_SITES_INT.
    Now while running standard interface program on SRS(Supplier Sites Open Interface Import) .it is giving following error .
    Spawned Process 24209
    REP-1419: 'beforereport': PL/SQL program aborted.
    And it is not showing any reject code or status on back end on table AP_SUPPLIER_SITES_INT. And it is printing IMPORT_REQUEST_ID as request code in the table.now how many times i will run the SRS it is showing in the table AP_SUPPLIER_SITES_INT the MPORT_REQUEST_ID is not changing .
    And Can any body suggest good document for writing interface program
    Thanks in advance
    Goutham
    Message was edited by:
    goutham konduru

    the same situation i am also facing everything almost same .... but just i got diffirent error in request log that is
    ==========================
    ==========================
    P_WHAT_TO_IMPORT='ALL'
    P_COMMIT_SIZE='1000'
    P_PRINT_EXCEPTIONS='Y'
    P_DEBUG_SWITCH='Y'
    P_TRACE_SWITCH='Y'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.US7ASCII
    LOG :
    Report: d:\oracle\prodappl\ap\11.5.0\reports\US\APXSSIMP.rdf
    Logged onto server:
    Username:
    LOG :
    Logged onto server:
    Username: APPS
    MSG MSG-00001: After SRWINIT
    MSG MSG-00002: After Get_Company_Name
    MSG MSG-00003: After Get_NLS_Strings
    ERR REP-1419: 'beforereport': PL/SQL program aborted.
    is anyone got solution and can anybody get me out of this situation
    thanks in advance
    regards
    anwer

Maybe you are looking for

  • 3D does not work in Photoshop CS6 on my Dell i7 laptop

    Hi Problems with 3D objects. PS freezes every time I create a 3D object and try to come out of 3D mode or save the file. TRIED: Updating driver for ATI Mobility Radeon HD560V display adapter AMD website auto-suggested and installed HD 4650 (?) driver

  • System Restore - what drivers do I load?

    I had a self-induced computer crash with a new Lenovo x120e and am trying to restore my system. The Lenovo Operating System Recovery Disk did nothing (went to Restore and Recovery and then crashed) but fortunately someone recommended getting a Window

  • Very intermittent missing page regions / report rows / page item values

    My goals in making this posting are twofold: 1. I'm looking to see if anyone else has experienced this type of issue before. 2. I'm looking for ideas about what can be done to debug such an infrequent bug with serious implications. Synopsis I'm havin

  • Re problem backing up all photos saved in Iphoto

    Hello I have recently added an extrenal hard drive to use with time machine so I can back up my whole Mac, but most importantly photos. I seem to have done this sucessfully but when I check I cannot seem to find the photos. They are always in Iphoto

  • MacBook Pro retina dead/stuck pixel

    Hi this morning I turnd on my mac. And when watching a video, that had a dark background I noticed a white dot on the screen. I tried to clean it but it did not move. I did a bit of research and have come to think this is a dead or stuck Pixel. It sh