BI Publisher Report in Oracle Apps 11i having multiple queries.

Hi,
I would like to know whether it is possible to have multiple queries in a data definition File.
QUERY1 - To find the last run date of a particular concurrent program
  SELECT   max(fcr.request_date) last_run_date
   FROM     apps.fnd_concurrent_requests    fcr,
            apps.fnd_concurrent_programs fcp,
            apps.fnd_concurrent_programs_tl fcpt
   where    fcr.concurrent_program_id = fcp.concurrent_program_id
   and      fcp.concurrent_program_id = fcpt.concurrent_program_id
   and      fcpt.user_concurrent_program_name = 'Get Transfer Alert Details'Now based on the last run date value I will have my main query Query 2
QUERY 2-------------------------
select to_char(psah.creation_date,'DD-MON-YYYY HH24:MI:SS') appr_date,
       (select papf.full_name
          from per_all_people_f papf ,
               fnd_user fu  
         where 1 = 1
           and fu.user_name = psah.user_name
           and papf.person_id = fu.employee_id
           and papf.current_employee_flag = 'Y'
           and trunc(sysdate) between effective_start_date and effective_end_date ) bu_hr_appr,
       papf.full_name emp_name,
       papf.employee_number emp_num,
       (select hoin.org_information3||'.'|| hoin.org_information5
          from hr_organization_information hoin
         where 1 = 1
           and hoin.organization_id = to_number(xxc_hr_ocsi_pkg.GET_TXN_VALUE(psah.approval_history_id,psth.transaction_history_id,'ASSIGN','P_ORGANIZATION_ID','NEW'))
           and hoin.org_information_context = 'Company Cost Center' ) nbucc,
       (select hoio.org_information3||'.'|| hoio.org_information5
          from hr_organization_information hoio         
         where 1 = 1
           and hoio.organization_id = to_number(xxc_hr_ocsi_pkg.GET_TXN_VALUE(psah.approval_history_id,psth.transaction_history_id,'ASSIGN','P_ORGANIZATION_ID','OLD'))
           and hoio.org_information_context = 'Company Cost Center') obucc,
       papf_hr.full_name hr_name,
       papf_hr.email_address hr_mail,
       papf_cre.first_name cre,
       papf_cre.email_address cre_email,
       DECODE(xxc_hr_ocsi_pkg.GET_TXN_VALUE(psah.approval_history_id,psth.transaction_history_id,'SAL','P_ATTRIBUTE_CATEGORY','NEW'),
              'Commission Sales Plan',
       (select flv.meaning
          from fnd_lookup_values flv
         where 1 = 1
           and flv.lookup_type = 'XXHR_ANNUAL_COMMISSIO_PLAN_TYP'
           and flv.enabled_flag = 'Y'
           and flv.lookup_code = xxc_hr_ocsi_pkg.GET_TXN_VALUE(psah.approval_history_id,psth.transaction_history_id,'SAL','P_ATTRIBUTE1','NEW')),'NA') csp,
       to_char(trunc(sysdate),'DD-MON-YYYY HH24:MI:SS') current_date,
       fnd_global.conc_request_id request_id,
       psth.last_update_date
  from apps.pqh_ss_transaction_history psth ,
       apps.pqh_ss_approval_history psah,
       apps.per_all_people_f papf ,
       apps.per_all_assignments_f paaf,
       apps.per_all_people_f papf_cre,
       apps.per_all_people_f papf_hr        
where 1 = 1
   and psth.process_name = 'HR_TRANSFER_JSP_PRC'
   and psth.transaction_history_id = psah.transaction_history_id
   and psah.action = 'APPROVED'
   and psah.creation_date = (select max(psah1.creation_date)
                               from apps.pqh_ss_approval_history psah1
                             where 1 = 1
                                and psah1.transaction_history_id = psah.transaction_history_id
                                and psah.action = psah1.action
                                and psah.approval_history_id = psah1.approval_history_id
   and (select count (1)
          from apps.pqh_ss_approval_history psah
         where psah.transaction_history_id = psth.transaction_history_id
           and action = 'APPROVED'
       ) > 1
   and psah.approval_history_id = (select max(psah1.approval_history_id)
                                     from pqh_ss_approval_history psah1
                                    where 1= 1
                                      and psah1.transaction_history_id = psah.transaction_history_id
                                      and psah1.action = psah.action
   and psth.selected_person_id = papf.person_id
   and papf.current_employee_flag = 'Y'
   and trunc(sysdate) between papf.effective_start_date and papf.effective_end_date        
   and papf.person_id = paaf.person_id
   and paaf.primary_flag = 'Y'
   and paaf.assignment_type = 'E'
   and trunc(sysdate) between paaf.effective_start_date and paaf.effective_end_date  
   and to_number(paaf.ass_attribute7) = papf_hr.person_id
   and trunc(sysdate) between papf_hr.effective_start_date and papf_hr.effective_end_date
   and psth.creator_person_id = papf_cre.person_id
   and trunc(sysdate) between papf_cre.effective_start_date and papf_cre.effective_end_date
   and psth.last_update_date > :last_run_dateEdited by: 936671 on Jul 2, 2012 4:09 AM

For examples and details please refer to the Guide: http://docs.oracle.com/cd/E10415_01/doc/bi.1013/e12187/T421739T434255.htm
Specifically, look for the following chapters
The Data Template Definition
How to Define a Data Link Between Queries

Similar Messages

  • Register BI Publisher report in Oracle Apps

    Hi,
    I wanted to know, if we can register a BI Publisher report in Oracle Apps. Please note that this is BI publisher Release 10.1.3.4...I am not using any rdf here.
    Thanks,
    As

    Hii Gareth,
    The steps you specified are basically used for former XML publisher but as i am developing the report in BI Publisher, when we create data definition in xml administrator responsibility, that time we need to upload a data template file that looks like following:
    <dataTemplate name="InvoiceTest" description="Invoice Test" Version="1.0">
         <parameters>
              <parameter name="P_ORG_ID" dataType="Integer"/>
         </parameters>
         <dataQuery>
              <sqlStatement name="Q1">
                   <![CDATA[select a.invoice_num AS "Invoice Number",
            a.invoice_currency_code AS "Invoice Currency code",
            a.payment_currency_code AS "Payment Currency Code",
            sum(a.invoice_amount) AS "Invoice Amount",
            a.payment_method_lookup_code AS "Payment Method",
            sum(a.approved_amount) AS "Approved Amount",
            b.vendor_name "Vendor Name",
               b.vendor_id AS Vendor_id
                   from ap_invoices_all a,
    po_vendors b
    where invoice_type_lookup_code = 'STANDARD'
    and a.vendor_id = b.vendor_id
    and a.org_id = NVL(:P_ORG_ID,a.ORG_ID)
    group by
            b.vendor_name,
            a.invoice_num,
            a.invoice_currency_code,
            a.payment_currency_code,
            a.invoice_date,
            a.payment_method_lookup_code,
               b.vendor_id]]>
              </sqlStatement>
         </dataQuery>
    </dataTemplate>
    but as Latest BI Publisher does not provide/generate such file automatically (I am not using rdfs but querying the database from BI Publisher itself) so there is no use of using this way registering the BI Publisher report in Oracle Apps as using this way to register a BI Publisher report will lead me to manually make a data definition file and then register it into Oracle Apps. Please suggest me if there is any other way that i can go for or if there is any way i can get the data definition file automatically created from Latest BI Publisher.
    Thanks for your help,
    Regards,
    AS

  • Registering oracle forms and reports in oracle apps 11i

    Hi all
    I am a newbie to oracle apps
    could someone please help me with registering oracle forms and reports in oracle apps 11i
    thanking in advance
    regards
    oracle user

    Hi,
    regarding adding (Add (C:\ABC) to FORMS60_PATH in the registry) could you please explain
    compilation is by f60gen @ (is this right?)Correct, the syntax of using f60gen is explained in (Note: 130686.1 - How to Generate Form, Library and Menu for Oracle Applications).
    The place where i am working has apps installed in IBM AIX server .. so how do i access Apps
    or can i access Apps via TOAD.You will have to access the server using ftp to download the pll files to your local machine. TOAD can be used to access the database objects only (not the physical application files).
    Regards,
    Hussein

  • Discoverer report in oracle apps 11i

    hi,
    can you please explain me the steps involved in to view the discoverer report in oracle application 11i.... how to attach a discoverer report in oracle applications 11i versions...

    Hi,
    Take a look at Metalink Note:278095.1
    Rod West

  • Register Drill-Down Reports in Oracle Apps 11i

    I understand the registration process for registering a drill-down Oracle*Report in Oracle Applications is more complex as for a standard Oracle*Report. Does anyone know what the steps are, or where I can find documentation on this.
    Any help appreciated.

    Hi,
    ah ok, now the situation gets clearer ;)
    Normally I would say that drill-down requires some kind of interactivity, so I am not sure if reports is the best way for this, because the functionality of reports is:
    enter parameters > run > view output. But for drill-down you need some more functionality: select a column/value where you want to drill-in or out, have some kind of hierarchy to select the "drill-level"... I don't think that this is foreseen in Reports 6i. So I would try maybe two different ways:
    1. design the report in a way that the users can select the drill-level (or level of detail) as a report parameter. For example you create a parameter "Detail Level" with possible values "Summary", "Detailed Rows". Based on the parameter value chosen the report returns different output. This keeps you of course limited to a certain, fixed set of drill-levels, but I think this is ok in most of the cases.
    2. Another option could be to create several different reports, for example one "Summary" report and one "detailed" report, and in the summary report you could include links (dynamic URLs) to the detailed report, and when the user clicks on a certain value in the Summary report, then the detailed report is started for that specific value. However this is a bit more complex, I'd go for the first option.
    But to get real drill-down functionality you should consider using Discoverer or BI Publisher technology, those are perfect for such kind of reports.
    kind regards,
    David.

  • Developing Report for Oracle Apps 11i

    Hi,
    I am developing Reports for Oracle 11.5.8 and using Reports 6i
    Are there any good documents that can guide me to develop reports exclusively for Oracle Applications
    I am customizing one of the report, did a very minor modification and when I run it, it shows small square boxes in the output.
    If I print it, I dont see the small boxes, Can you let me know how to avaoid this.
    Aslo have a couple of questions, should I use the option "use character units in designer" or something else while developing the reports
    What shold be the unit of measurement (Inches, Centimeter or Points)
    Lastly, is it a good idea to "View the Grid" or not in the "layout editor"
    Thanks
    Vasanth

    Hi Vasanth,
    when I run it, it shows small square boxes in the outputI can think of 2 posssibilities:
    one, the width of the column in the layout is slightly smaller than required. You can try increasing the width of the layout objects where you see square boxes.
    two, you are designing the report in a language for which support/font is not available on your development machine.
    should I use the option "use character units in designer"This option should be used when you design a report in "character mode", not when you are designing the report in "bitmap mode". Pl see Builder Help for more information on MODE.
    What shold be the unit of measurementIs it up to you to decide. If you know the dimensions of the paper (on which you are going to print) in inches for example, you can design the report in inches. Choose any unit of measurement, and then define the width and height of paper in the Header/Main/Trailer Sections in that particular unit. The report output will be the same whether you choose the paper width as 10 inches or 25.4 cm.
    Also, about point...
    Point: Is a printer's type size that makes up a pica. Each pica contains twelve points and is equivalent to one-sixth of an inch.
    is it a good idea to "View the Grid" or not in the "layout editor"The grid is available to help you position objects in the viewing region of the paper layout. It is helpful so you can start designing with it, but you can decide to turn it off if you do not need it.
    The grid is drawn in relationship to the rulers. In the Ruler Settings dialog box, you specify the interval at which grid lines appear per unit on the ruler. �For example, if you have a Unit of inches and a Grid Spacing of 0.5, there will be one grid line per half-inch on the ruler.
    You get to the Ruller Settings dialog Box by choosing Tools > Options > Rulers.
    Navneet.

  • Skip report parameter in Oracle Apps 11i

    I have 3 parameters for a new report: P1 (constant value, A, B), P2 and P3.
    When executing this report in Oracle Apps 11i, how can I have the keyboard cursor skip or jump automatically to parameter P2 after I have selected P1 = 'A' (Grayed out P3) ?
    Similarly, the keyboard cursor should skip or jump automatically to parameter P3 after I have selected P1 = 'B' (Grayed out P2) ?
    Any idea? All suggestions welcome ....

    hi,
    I think u hav to create a dummy trigger to skip/jump parameters
    Cheers,
    veer

  • Hi, I am oracle apps HRMS Technical consultant.I wanted to know ,can we implement Digital Signatures in Oracle apps 11i XML Reports.if yes what is the approach to do so ? Your quick response is appreciated. Regards , Aasma Sayyad.

    Hi,
    I am Oracle Apps HRMS Technical Consultant.
    I wanted to know,if we can implement Digital Signatures in XML Reports for Oracle Apps HRMS 11i Aplication.
    If yes,what is the approach to do so.
    Your quick response is appreciated.
    Regards,
    Aasma Sayyad.

    Hi Aasma,
    The standard BI Publisher is part of EBS applications.
    Most of the EBS reports(R12) are based on BI Publisher.
    If you check the responsibility 'XML Publisher Administrator' you will see all the templates used in the application.
    Your technical team should already know this.
    On the other hand OBIEE would need separate licences.
    But for you BI Publisher would do.
    Cheers,
    Vignesh

  • Oracle Apps 11i Reports

    Hi,
    we are working in oracle apps 11i. I have an application report developed by an ex-employee that I would like to add a new parameter to .
    I use reports builder 6i . The reports consists of 6 queries and I'm facing the following issues:
    1. when running the report from Oracle Reports builder I can use the second parameter. But from the application request form the report generates no data when the very same set of parameters is used. What can be the problem? What do I need to check?
    2. Can I outer join the queries in reports builder .If yes, how can I do that? From where?
    Regards,

    Pl also post this in the Reports forum - Reports
    HTH
    Srini

  • Reports registraion in oracle Apps 11i - Language problem

    Hello,
    I have registered a parametric report in Oracle Applications 11i. It completed successfully but output is in French language not US. What to do with to resolve this issue? I have tried its output with Text type format but problem with this format is logo & formatting of report disappears. I want to report in PDF Format and US Language, Can anyone help plz!
    Thanks,
    Regards!

    Thanks for the reply.
    I copied all the files (gnumake.exe, cc.exe, link.exe, which.exe) to windows\system32 folder. Still getting the same problem.
    I am aable to run the same commands from cmd prompt and through cygwin but when rapidinstall runs they are not working.
    G:\>which cmd
    /cygdrive/c/WINDOWS/system32/cmd
    G:\>which gnumake
    /cygdrive/c/WINDOWS/system32/gnumake
    G:\>which cc
    /cygdrive/c/WINDOWS/system32/cc
    G:\>which link
    /cygdrive/c/WINDOWS/system32/link

  • How to start XML reports in Oracle Apps

    Hi All,
    As im new to develop XML reports in Oracle Apps. And Im used to develop oracle reports. But i have a new requirement came and i need to develop new XML reports.
    I am using windows please let me know any software to be installed and how to register the XML reports.
    1) how to create .rtf
    2) How to make columns mapping in rtf file.
    If any knows please let me know as it is bit urget for me.
    Im leaving in Duabi, if any is intrested to teach me i will join or pls let me know any instute
    Thanks,

    Assuming that you intend to create a layout template to use against an existing report, then you should start by changing the output type in the concurrent program definition to XML. You should then run the report and save the XML file output. This will form the start point for yout layout template.
    In order to create the layout template, you need to download the BI Publisher desktop. This is the add-in for Word which is used to build the template.
    When you have these tasks completed, you can open up Word and you will find you have some new menu options. Load the XML data you created in the first step, and you can build your template. You will also be able to preview the output from within Word.
    When you have completed the template, you need to go into XML Publisher responsibility. You should create a data definition which has a code the same as the concurrent program short name. This is the link between the template and the concurrent program.
    You then need to define a template for this data definition which will have the layout template uploaded.
    Having done this, switch to systeem administration responsibility, select the concurrent program menu entry and query back the program you are workin on. Click on the 'update' icon. You then need to click on the 'Onsite setting' tab. This allows you to attach the template to the program.
    Hope this helps.

  • Tuning Oracle APPS 11i Start with

    Hi Hussain/Helios,
    I am new to Oracle APPS, and am working oracle apps 11i 11.5.10.2 with 10.2.5.0, the database and application was upgraded by previous dba. which left almost 3-4 months before.
    now my question is i want to have a performance tuning for Oracle apps environment, can you please suggest some key points for starting with and some good links for future usage.
    Other thing is i have used find command on my linux box and found many log files which are greater than 1000K on apps tier (forms/reports/web), and similiarly db tier (db/admin/concurrent).
    can i just remove all these logfiles using os (rm) command and is it feasible with production environment on running mode or is it not feasible and i should use some other ways/etc.
    APPS Tier folder locations.
    ****podappl/admin/PROD/log
    ****prodora/iAS/Apache/Apache/logs/sec_audit.log
    ****prodora/iAS/Apache/Jserv/logs/mod_jserv.log
    ****prodora/iAS/Apache/Jserv/logs/jserv.log
    ****prodcomn/admin/scripts/PROD_****/sqlnet.log
    ****prodcomn/admin/log/PROD_****/
    ****prodcomn/_pages/
    ****prodcomn/rgf/PROD_****/
    ****prodcomn/rgf/PROD_****/oam/
    DB Tier files folder locations.
    ****oracle/proddb/10.2.0/oc4j/j2ee/OC4J_DBConsole_*****_PROD/log/em-application.log
    ****oracle/proddb/10.2.0/oc4j/j2ee/OC4J_DBConsole_*****_PROD/log/http-web-access.log
    ****oracle/proddb/10.2.0/oc4j/j2ee/OC4J_DBConsole_****_PROD.upgrade/log/http-web-access.log
    ****oracle/proddb/10.2.0/appsutil/log/PROD_****/StageDBTier_10161830.log
    ****oracle/proddb/10.2.0/*****_PROD/sysman/log/emoms.log
    ****oracle/proddb/10.2.0/*****_PROD.upgrade/sysman/emd/sqlnet.log
    ****oracle/proddb/10.2.0/******_PROD.upgrade/sysman/log/
    ****oracle/prodappl/admin/PROD/log/For Performance Tuning, right now i have following points with me.
    1). Compile APPS Schema in maintenace which i will take.
    2). I have checked some Gather Stats/Purge jobs are already scheduled for maintenance.
    Please tell me what other Jobs i can schedule using OAM for weekend for All tiers in APPS.
    I have been also asked to apply latest patches on PROD APPS/DB/* system, I can check using sql, which patches are applied, but how can i know which patches are required, (don't know about the licensed products with never ask policy here).
    Thanks,
    RAJ
    Edited by: 870344 on Jul 5, 2011 6:36 AM

    can you please suggest some key points for starting with and some good links for future usage.Please check below MOS doc:-
    A Holistic Approach to Performance Tuning Oracle Applications Systems [ID 69565.1]
    Configuring various JVM tuning parameters for Oracle E-Business suite 11i and R12 [ID 567551.1]
    Tuning is something that require more analysis less action, first you need to answer:-
    1) Why do you need tuning? is it proactive or some incident happend?
    2) Where are you facing issues? i.e. which module, form, report or whole application.
    3) Number of users facing issues? i.e. is it single user, user at one location or all users.
    4) Has something changed in past that might have triggered this need?
    Theri are various components involved in tuning that start from :-
    1) user machine
    2) network
    3) Application tier.
    4) Database tier.
    Application tier can be further divided into:-
    1) Apache server(JVM, modplsql, jserv etc etc
    2) Form Server
    3) Concurrent processing server
    4) Discovered if using,
    5) XML publisher..
    and like wise other component using.
    If you are looking to tune then i believe start from application tier first, pick one by one componets, like if your users are facing issues with login then use note that i have provided, if users are not satisifed with time taken to complete concurrent request then you might have to tune it and likewise.
    can i just remove all these logfiles using os (rm) command and is it feasible with production environment on running mode or is it not feasible and i should use some other ways/etc.Do not rm files because it might be in use by some process and ti might then not be able to release space, its better to trim the file. do cat file >
    Log file you have mentioned can be removed depedning upon your company policy if any.
    Thanks,
    JD

  • Error while clonning Oracle app 11i

    Hi all Once again, a new day a new error :)
    i am having Error while clonning Oracle app 11i on windows 2003 sp1 32 bit db 9.2.0.6.0
    when running adcfgclone.pl dbTier it successfully runs uptill 70% at this stage it throws the below error
    ================================================================================================
    Beginning database tier Apply - Wed Mar 7 01:49:19 2012
    Log file located at d:\oracle\neproddb\9.2.0\appsutil\log\NPRO_hassan\ApplyDBTier_03070149.log
    RC-50004: Fatal: Error occurred in ApplyDatabase:
    Control file creation failed
    ERROR while running Apply...
    ERROR: Failed to execute adclone.pl
    Please check logfile.
    =================================================================================================
    when i check the ApplyDBTier_03070149.log
    i found this below
    ==============================================================================================================================================================================================================================
    Skipping Profile Phase
    Skipping Apply Phase
    Executing StartDbLsnr...
    ECHO is off.
    ECHO is off.
    Wed 03/07/2012 01:50 AM
    ECHO is off.
    ECHO is off.
    Wed 03/07/2012 01:50 AM
    NPRO_hassan.cmd exiting with status 0
    ECHO is off.
    The environment settings are as follows ...
    ECHO is off.
    ORACLE_HOME : d:\oracle\neproddb\9.2.0
    LOCAL : NPRO
    ORACLE_SID :
    PATH : d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\;d:\oracle\neproddb\9.2.0\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;../jre/1.3.1/bin;d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe;C:\mksnt\bin;C:\mksnt\bin\X11;C:\mksnt\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\oracle\neproddb\9.2.0\bin;;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin
    LD_LIBRARY_PATH : d:\oracle\neproddb\9.2.0\lib
    ECHO is off.
    ECHO is off.
    The log information will be written to
         "d:\oracle\neproddb\9.2.0\appsutil\log\NPRO_hassan\addlnctl.txt"
    ECHO is off.
    ECHO is off.
    Starting listener process NPRO ...
    ECHO is off.
    LSNRCTL for 32-bit Windows: Version 9.2.0.6.0 - Production on 07-MAR-2012 01:50:56
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCNPRO))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 2: No such file or directory
    Connecting to (ADDRESS=(PROTOCOL=TCP)(Host=hassan.com)(Port=1534))
    TNS-12541: TNS:no listener
    TNS-12560: TNS:protocol adapter error
    TNS-00511: No listener
    32-bit Windows Error: 61: Unknown error
    LSNRCTL for 32-bit Windows: Version 9.2.0.6.0 - Production on 07-MAR-2012 01:50:57
    Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
    Starting tnslsnr: please wait...
    TNSLSNR for 32-bit Windows: Version 9.2.0.6.0 - Production
    NL-00280: error creating log stream d:\oracle\neproddb\9.2.0\network\log\npro.log
    NL-00278: cannot open log file
    SNL-00016: snlfohd: error opening file
    32-bit Windows Error: 13: Permission denied
    Listener failed to start. See the error message(s) above...
    addlnctl.cmd exiting with status 3
    .end std out.
    .end err out.
    Executing CreateDB...
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : hassan
    sDbDomain : com
    sDbPort : 1534
    sDbSid : NPRO
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@hassan.com:1534:NPRO
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO.com)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    ECHO is off.
    ECHO is off.
    Wed 03/07/2012 01:51 AM
    ECHO is off.
    ECHO is off.
    Wed 03/07/2012 01:51 AM
    NPRO_hassan.cmd exiting with status 0
    ECHO is off.
    The environment settings are as follows ...
    ECHO is off.
    ORACLE_HOME : d:\oracle\neproddb\9.2.0
    LOCAL : NPRO
    ORACLE_SID :
    PATH : d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\;d:\oracle\neproddb\9.2.0\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;../jre/1.3.1/bin;d:\oracle\neproddb\9.2.0\Apache\perl\5.00503\bin\MSWin32-x86\perl.exe;C:\mksnt\bin;C:\mksnt\bin\X11;C:\mksnt\mksnt;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;d:\oracle\neproddb\9.2.0\bin;;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin;d:\oracle\neproddb\9.2.0\jre\1.4.2\bin
    LD_LIBRARY_PATH : d:\oracle\neproddb\9.2.0\lib
    ECHO is off.
    ECHO is off.
    The log information will be written to
         "d:\oracle\neproddb\9.2.0\appsutil\log\NPRO_hassan\adcrdb_NPRO.txt"
    ECHO is off.
    ECHO is off.
    Creating the control file for NPRO database ...
    ECHO is off.
    SQL*Plus: Release 9.2.0.6.0 - Production on Wed Mar 7 01:51:01 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-12560: TNS:protocol adapter error
    DIM-00010: SYSTEM\CurrentControlSet\Services\OracleService key does not exist
    O/S-Error: (OS 2) The system cannot find the file specified.
    SQL*Plus: Release 9.2.0.6.0 - Production on Wed Mar 7 01:51:42 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    ORA-01012: not logged on
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    SP2-0640: Not connected
    SP2-0641: "EXECUTE" requires connection to server
    ORA-01031: insufficient privileges
    ERROR:
    ORA-01031: insufficient privileges
    ORA-01031: insufficient privileges
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    ECHO is off.
    Checking for errors ...
    ECHO is off.
    The database has not been successfully created. Shutting down the instance...
    SQL*Plus: Release 9.2.0.6.0 - Production on Wed Mar 7 01:51:52 2012
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    ERROR:
    ORA-01031: insufficient privileges
    adcrdb.cmd exiting with status 1
    .end std out.
    .end err out.
    ADX Database Utility
    getConnectionUsingAppsJDBCConnector() -->
    APPS_JDBC_URL='null'
    Trying to get connection using SID based connect descriptor
    getConnection() -->
    sDbHost : hassan
    sDbDomain : com
    sDbPort : 1534
    sDbSid : NPRO
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@hassan.com:1534:NPRO
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=hassan.com)(PORT=1534))(CONNECT_DATA=(SERVICE_NAME=NPRO.com)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-00118: Error occurred during creation of database
    Raised by oracle.apps.ad.clone.ApplyDatabase
    StackTrace:
    java.lang.Exception: Control file creation failed
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:474)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:319)
         at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:295)
         at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
         at java.lang.reflect.Constructor.newInstance(Native Method)
         at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
         at java.lang.Thread.run(Unknown Source)
    ==============================================================================================================================================================================================================================
    please help me out with your advices
    Thanks
    Hassan

    Dear Hussein / helios ,
    it worked finally i gave a high number 76 and it worked with out any problem also this time i gave loop back adapter an ip address i just remember now that i was not giving an ip to my loop back adapter i gave as below
    ip : 10.10.10.10
    subnet : 255.255.255.0
    and made my host file look like as
    127.0.0.1 localhost
    10.10.10.10 hassan.com hassan
    then i tested the ping by pinging hassan.com and the reply came from 10.10.10.10
    and also i disabled my wireless network card before running adcfgclone
    and it worked ALLHAMDOLLILAH :)
    Thanks to the great masters Hussein & Helios :)
    Now its time for appsTier cloning hope that it goes smooth :)
    Regards,Re: Error while clonning Oracle app 11i
    Hassan

  • Registering Forms in Oracle Apps 11i

    Hi hussein,
    This is the docs for registering an Oracle Form in Oracle Apps 11i.
    To Register a custom form in Oracle Applications, take the following steps.
    (As practice, copy the form FNDRSRUN.fmx under the $FND_TOP/forms to a file
    called RUNRPT.fmx. The form RUNRPT.fmx will now be used in the following steps.)
    1.Log into the Applications Developer responsibility
    2.Navigate to Application > Form
    3.Enter the form name under the "Form" column
         RUNRPT
    4.Enter the Application under the "Application" column using the list of value
      button, or the "List of Values" function under the "Edit" menu option.
         Application Object Library
    5.Enter a name for the form under the "User Form Name" column
         My Report Run Form
    6.Enter a description for the form under the "Description" column
         Custom Report Run Form
    7.Save
    [\code]
    My question is, how do I run the form in the Oracle Apps? After registering it.
    And this is also another doc:Rgistering form will takes following steps
    1) Create custom form
    2) place it in CUSTOM_TOP in unix box
    3) compile form with f60 gen and check whether compiled form .fmx is generated.
    4) register your from
    Registering a Form
    Navigation – Application Developer -> Application->Form
    5) Register Form Functions
    Navigation – Application Developer -> Application->Function
    6) attach it to menu.
    7) menu must be submenu to menu or attached as to responsibility from which you are going to run form.
    For report we are attaching concurrent program to responsibility but here form function must be attached to Menu.
    My question is, how do I know if a form has a function that needs to be registered?
    Thanks a lot
    msk

    Hi,
    My question is, how do I run the form in the Oracle Apps? After registering it.You already have the steps in your post, just add the form to the menu and attach it to the responsibility.
    My question is, how do I know if a form has a function that needs to be registered?Sorry, I cannot be of much help here, but you may check the Developer Guide and see if it helps.
    Oracle Applications Developer's Guide
    http://download.oracle.com/docs/cd/B25284_01/current/acrobat/115devg.pdf
    Regards,
    Hussein

  • Barcode Report In Oracle Apps

    Hi,
    I am going develop new barcode report in oracle apps (using standard oracle report not like xml,BI.), As i am new to this i need basic information like what are all the setup need to be done whether is possible or not , Following are the versions i am using
    Oracle Report Builder 6i (output is Text)
    Oracle Apps 11.5.10.2
    Sever Details:
    DATABASE Server - 10g RAC enabled (Load balancer)
    Application Server - Load balancer
    Platform: HP - UNIX 64 bit-(PA RISC),
    SAN - HP EVA storage
    DR site hosted with etisalat (SCSI)

    You may want to take a look at this blog created by Tim Dexter regarding barcoding in XML Publisher.
    http://blogs.oracle.com/xmlpublisher/2006/06/06/#a43

Maybe you are looking for

  • Animated Gif Repaint

    I knew I was going to end up here eventually, stupid animated gifs. First of all, I get weird drawing artifacts on an animated gif on jkd 1.5, I upped this to 1.6 and everything is cool with displaying the gif. It could be because I'm running JBuilde

  • Vendor/Material report

    Hi, All, In SAP, does the Vendor/Material have any attribute field that would allow us to report on a characteristic/value?  If there is a marketing program that is linked with a vendor/material, is there a way to classify that within the vendor/mate

  • Programatically Hiding ADF component

    Hi, I have a requirement for which i am hiding a adf component using render=false or visible=false and move other existing component in screen to the place of hidden component. The screen is codded as below, <?xml version='1.0' encoding='UTF-8'?> <js

  • Form getting held after a report sent to printer directly.

    Hii I am using developer 6i. From a form i am sending a report direct to printer using run_product & adding printer parameter. That works fine, but after the report is sent to printer the form gets held. It doesnt do anything e.g. query etc. Nothing

  • Transferring from Verizon

    Going to give the abridged version here. We have two smartphones in contract until June of next year.  Both phones are Razr maxx and have been having horrible battery life.  Minimal usage and drained in 8 hours.  Spoke to verizon technical and did sy