Report command

Hi,
I wanted to know that after creating a report if we go in the code and change the report name from there (the first line which has report name e.g-  REPORT Ztest   MESSAGE-ID Zts.) why doesn't it give compile time or run time error.

>
RAHUL SINGH wrote:
> Giving report name is mandatory because if you comment it out it throws error .
In ECC 6, you need the report keyword, but you do not actually have to supply the report name:
report line-size 132 message-id 00 line-count 65.
Seems to work.
Rob

Similar Messages

  • How to set Crystal Report  command timeout in runtime ?

    Hi, All !
    I have a report that is generating timeout error during execution command (Crystal Report command with SQL query). How can I set timeout  for the  command from application code ? I am using CR 12 and C#  (.NET framework 2.0)
    I have investigated CommandTableClass (CrystalDecisions.ReportAppServer.DataDefModel.CommandTableClass) but I didn't find timeout property or simething like that.
    Please help.
    Thank you in advance.
    Edited by: Bonowow on Feb 24, 2010 11:38 AM
    Edited by: Bonowow on Feb 24, 2010 11:42 AM

    I do not believe there is such an API. How long does it take before you get the timeout?
    Ludek

  • Oracle reports command line

    Hello,
    I have an NT command file with a bunch of calls to R30run32.. Almost every night the job fails to run all the commands.. but just hangs on a particular call.. with no oracle session running.. but r30run32 still running when I look at task manager.. do you know why connections to oracle can fail so randomly?? Note.. I do not get any error.
    Nandu

    1) Monitor your database to see what happens.
    (during the day if you have to watch what
    happens).
    2) Are you waiting for the first report
    to finish before calling r30run32 ?
    If not, try that, or add a pause or 2.
    good luck
    null

  • Report command fails in Crystal, but succeeds in SQL Mgt Studio

    The Error reads:
    Failed to retrieve data from the database.
    Details: ADO Error Code: 0x80040e07
    Source: Microsoft OLE DB Provider for SQL Server
    Description: The conversion of char data type to smalldatetime data
    type resulted in an out-of-range smalldatetime value.
    SQL State: 22007
    The report was receiving this same error last week and so I went through the data in the database until I found the invalid date value and had the customer correct it. When the SQL ran in SQL Server Mgt Studio, I expected it to run in Crystal too, but it failed again. Is there any reason that Crystal would give this error when I can run the command in SQL?
    thanks
    michele

    The rest of the query:
    --Creates a derived table named nurse that returns hga1c values from nurse documentation
                                                                               (SELECT DISTINCT
                                                                                                               practice_id, person_id, encounterDate AS hga1cdate, CASE WHEN substring(obsvalue, patindex('%[0-9]_.%', obsvalue), 1)
                                                                                                               + substring(obsvalue, patindex('%[0-9].%', obsvalue), 1) + substring(obsvalue, patindex('%.[0-9]%', obsvalue), 2) = '1' AND
                                                                                                               substring(obsvalue, patindex('%.[0-9]%', obsvalue), 2) = '1' THEN substring(obsvalue, patindex('%[0-9][0-9]%%', obsvalue), 2)
                                                                                                               WHEN substring(obsvalue, patindex('%[0-9]_.%', obsvalue), 1) + substring(obsvalue, patindex('%[0-9].%', obsvalue), 1) + substring(obsvalue,
                                                                                                                patindex('%.[0-9]%', obsvalue), 2) = '1' AND substring(obsvalue, patindex('%[0-9][0-9]%%', obsvalue), 2) = '1' THEN substring(obsvalue,
                                                                                                               patindex('%.[0-9]%', obsvalue), 2) ELSE substring(obsvalue, patindex('%[0-9]_.%', obsvalue), 1) + substring(obsvalue, patindex('%[0-9].%',
                                                                                                               obsvalue), 1) + substring(obsvalue, patindex('%.[0-9]%', obsvalue), 2) END AS hga1cpercent, create_timestamp
                                                                                 FROM        order_
                                                                                 WHERE      (practice_id = '0001') AND (actText = 'Hemoglobin A1C') AND (NOT (obsValue IS NULL))) AS nurse FULL OUTER JOIN
                                                                                --Creates a derived table named flwst that returns hga1c values from the diabetes flowsheet.
                                                                               (SELECT     practice_id, person_id, hga1cDateDisp AS date, HGA1cStatus, hga1cPercent, create_timestamp
                                                                                FROM          Diabetes_Flwsheet_IPN_ AS Diabetes_Flwsheet_IPN__
                                                                                WHERE      (practice_id = '0001') AND (hga1cDateDisp <> '') AND (hga1cPercent IS NOT NULL) AND (hga1cDateDisp IS NOT NULL)) AS flwst ON
                                                                                         nurse.practice_id = flwst.practice_id AND nurse.person_id = flwst.person_id AND nurse.hga1cdate = flwst.date FULL OUTER JOIN
                                                                                --Creates a derived table named lab that returns hga1c values from the lab module.
                                                                               (SELECT DISTINCT
                                                                                                           lab_nor.practice_id, lab_nor.person_id, CONVERT(char(08), patient_encounter.billable_timestamp, 112) AS lab_date,
                                                                                                           lab_results_obx_.observ_value, lab_results_obx_.create_timestamp
                                                                                    FROM          lab_results_obx AS lab_results_obx_ INNER JOIN
                                                                                                           lab_results_obr_p ON lab_results_obx_.unique_obr_num = lab_results_obr_p.unique_obr_num INNER JOIN
                                                                                                           lab_nor ON lab_results_obr_p.ngn_order_num = lab_nor.order_num INNER JOIN
                                                                                                           patient_encounter ON lab_nor.enc_id = patient_encounter.enc_id
                                                                                    WHERE      (lab_results_obx_.result_desc IN ('HEMOGLOBIN a1c', '%HGB A1C', 'Hemoglobin A1c')) AND (lab_results_obx_.observ_value IS NOT NULL) AND
                                                                                                           (lab_results_obx_.observ_value <> '""') AND (lab_results_obx_.observ_value <> '///') AND (lab_nor.practice_id = '0001')) AS lab ON
                                                                                                   nurse.practice_id = lab.practice_id AND nurse.person_id = lab.person_id AND nurse.hga1cdate = lab.lab_date
                                                      ORDER BY person_id, hga1cdatedisp, CASE WHEN lab.create_timestamp IS NULL THEN nurse.create_timestamp ELSE lab.create_timestamp END) AS A1c) AS DA1c) LastThree
                          WHERE row = 1 OR row = 2 OR     row = 3 ) AS a1cs
    ON status.practice_id = a1cs.practice_id AND status.person_id = a1cs.person_id
    LEFT OUTER JOIN
         -- Creates a derived table named A1cs that returns the last three A1c values for each patient.
                        (SELECT     practice_id, person_id, hga1cdate, hga1cpercent, row
                          FROM         
                                  --Creates a derived table named LastThree that returns all A1c values and numbers each row.
                                  (SELECT     practice_id, person_id, hga1cdatedisp AS hga1cdate, hgA1cPercent,
                                                 row_number() OVER (partition BY practice_id, person_id
                                                                     ORDER BY hga1cdatedisp DESC) AS row
                                       FROM    
                                                 --Creates a derived table named DA1c that adds the date of the A1c
                                                 (SELECT DISTINCT practice_id, person_id, hga1cdatedisp, hgA1cPercent
                                                        FROM         
                                                           --Creates a derived table named A1c that matches lab, flwst and nurse labs
                                                                (SELECT     TOP (100) PERCENT CASE WHEN lab.practice_id IS Not NULL THEN Lab.practice_id
                                                                                 When flwst.practice_id is not null then flwst.practice_id When nurse.practice_id is not null then nurse.practice_id END AS practice_id,
                                                                                 CASE WHEN lab.person_id IS NOT NULL THEN lab.person_id WHEN flwst.person_id IS NOT NULL
                                                                                 THEN flwst.person_id WHEN nurse.person_id IS NOT NULL THEN nurse.person_id END AS person_id, CASE WHEN LAB.LAB_DATE IS NOT NULL
                                                                                 THEN CONVERT(smalldatetime, lab.lab_date, 112) WHEN nurse.hga1cdate IS NOT NULL THEN CONVERT(smalldatetime, nurse.hga1cdate, 112)
                                                                                 WHEN flwst.date IS NOT NULL THEN CONVERT(smalldatetime, flwst.date, 112) END AS hga1cdatedisp, CASE WHEN lab.lab_date IS NOT NULL AND
                                                                                 isnumeric(lab.observ_value) = 1 THEN lab.observ_value WHEN nurse.hga1cpercent IS NOT NULL AND isnumeric(nurse.hga1cpercent)
                                                                                 = 1 THEN nurse.hga1cpercent ELSE flwst.hga1cpercent END AS hgA1cPercent
                                                                FROM        
                                                                                --Creates a derived table named nurse that returns hga1c values from nurse documentation
                                                                               (SELECT DISTINCT
                                                                                                               practice_id, person_id, encounterDate AS hga1cdate, CASE WHEN substring(obsvalue, patindex('%[0-9]_.%', obsvalue), 1)
                                                                                                               + substring(obsvalue, patindex('%[0-9].%', obsvalue), 1) + substring(obsvalue, patindex('%.[0-9]%', obsvalue), 2) = '1' AND
                                                                                                               substring(obsvalue, patindex('%.[0-9]%', obsvalue), 2) = '1' THEN substring(obsvalue, patindex('%[0-9][0-9]%%', obsvalue), 2)
                                                                                                               WHEN substring(obsvalue, patindex('%[0-9]_.%', obsvalue), 1) + substring(obsvalue, patindex('%[0-9].%', obsvalue), 1) + substring(obsvalue,
                                                                                                                patindex('%.[0-9]%', obsvalue), 2) = '1' AND substring(obsvalue, patindex('%[0-9][0-9]%%', obsvalue), 2) = '1' THEN substring(obsvalue,
                                                                                                               patindex('%.[0-9]%', obsvalue), 2) ELSE substring(obsvalue, patindex('%[0-9]_.%', obsvalue), 1) + substring(obsvalue, patindex('%[0-9].%',
                                                                                                               obsvalue), 1) + substring(obsvalue, patindex('%.[0-9]%', obsvalue), 2) END AS hga1cpercent, create_timestamp
                                                                                 FROM        order_
                                                                                 WHERE      (practice_id = '0001') AND (actText = 'Hemoglobin A1C') AND (NOT (obsValue IS NULL))) AS nurse FULL OUTER JOIN
                                                                                --Creates a derived table named flwst that returns hga1c values from the diabetes flowsheet.
                                                                               (SELECT     practice_id, person_id, hga1cDateDisp AS date, HGA1cStatus, hga1cPercent, create_timestamp
                                                                                FROM          Diabetes_Flwsheet_IPN_ AS Diabetes_Flwsheet_IPN__
                                                                                WHERE      (practice_id = '0001') AND (hga1cDateDisp <> '') AND (hga1cPercent IS NOT NULL) AND (hga1cDateDisp IS NOT NULL)) AS flwst ON
                                                                                         nurse.practice_id = flwst.practice_id AND nurse.person_id = flwst.person_id AND nurse.hga1cdate = flwst.date FULL OUTER JOIN
                                                                                --Creates a derived table named lab that returns hga1c values from the lab module.
                                                                               (SELECT DISTINCT
                                                                                                           lab_nor.practice_id, lab_nor.person_id, CONVERT(char(08), patient_encounter.billable_timestamp, 112) AS lab_date,
                                                                                                           lab_results_obx_.observ_value, lab_results_obx_.create_timestamp
                                                                                    FROM          lab_results_obx AS lab_results_obx_ INNER JOIN
                                                                                                           lab_results_obr_p ON lab_results_obx_.unique_obr_num = lab_results_obr_p.unique_obr_num INNER JOIN
                                                                                                           lab_nor ON lab_results_obr_p.ngn_order_num = lab_nor.order_num INNER JOIN
                                                                                                           patient_encounter ON lab_nor.enc_id = patient_encounter.enc_id
                                                                                    WHERE      (lab_results_obx_.result_desc IN ('HEMOGLOBIN a1c', '%HGB A1C', 'Hemoglobin A1c')) AND (lab_results_obx_.observ_value IS NOT NULL) AND
                                                                                                           (lab_results_obx_.observ_value <> '""') AND (lab_results_obx_.observ_value <> '///') AND (lab_nor.practice_id = '0001')) AS lab ON
                                                                                                   nurse.practice_id = lab.practice_id AND nurse.person_id = lab.person_id AND nurse.hga1cdate = lab.lab_date
                                                      ORDER BY person_id, hga1cdatedisp, CASE WHEN lab.create_timestamp IS NULL THEN nurse.create_timestamp ELSE lab.create_timestamp END) AS A1c) AS DA1c) LastThree
                          WHERE row = 1) AS a1csRisk
    ON status.practice_id = a1csRisk.practice_id AND status.person_id = a1csRisk.person_id
    LEFT OUTER JOIN
                        (SELECT     practice_id, person_id, bp_systolic, bp_diastolic, row
                               FROM        
                                       --Creates a derived table named LastBP that returns each by value in vital signs and creates a row number.
                                       (SELECT DISTINCT  practice_id, person_id, create_timestamp, bp_systolic, bp_diastolic,
                                                             row_number() OVER (partition BY practice_id, person_id
                                                             ORDER BY practice_id, person_id, create_timestamp DESC) AS row
                                            FROM          vital_signs_
                                            WHERE      (bp_diastolic IS NOT NULL) AND (bp_diastolic <> 0) AND (bp_systolic IS NOT NULL) AND (bp_systolic <> 0)) AS LastBP
                                            WHERE     row = 1 AND practice_id = '0001') AS bp
    ON status.practice_id = bp.practice_id AND status.person_id = bp.person_id

  • Set Table Location for Reports(Command Objects)

    Hi SAP Gems,
    I would like to thank TED,Merry,Jonathan, Shawn, and all the developers contributing to this community.
    I would really appreciate any help on following question:
    1. I have a report designed in CR 2008 against DB2(JDBC Connectivity).
    2. The report is working fine in the designer.
    3. There are five sub reports in the main report.
    4. The main report doesnt have any command object however every child/sub report has command object with paramaters.
    5. Every subreport is linked.
    6. I would like to change runtime datasource location for this report using CRJ 2.0 SDK'S.( from AIX to Windows BOX)
    7. Both BOX's have same database schema.
    8. I am able to view the report in the jsp page using SDK's, however "set table location doesnt works and prompts me the error:
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
    *There is no problem with the code because the sample code is taken from sdn.sap as it is and it works for other report without subreport and command objects.
    I tried using the following code piece but again same problem.
    if(table instanceof com.crystaldecisions.sdk.occa.report.data.CommandTable)
                        IProcedure command = (IProcedure)table;
                        ParameterField commandParam = (ParameterField) command.getParameters().get(0);
                        Values values = new Values();
                        ParameterFieldDiscreteValue pfdv = new ParameterFieldDiscreteValue();
                        pfdv.setValue("ANTON");
                        values.add(pfdv);
                        commandParam.setCurrentValues(values);
    I would like to know if I dont want to set the command level param using:
    ParameterField commandParam = (ParameterField) command.getParameters().get(0);
                        Values values = new Values();
                        ParameterFieldDiscreteValue pfdv = new ParameterFieldDiscreteValue();
                        pfdv.setValue("ANTON");
                        values.add(pfdv);
                        commandParam.setCurrentValues(values);
    would the parameter would be prompted automatically?
    how do I find what paramaeter to set and how ?
    Regards,
    Jonathan Roy

    Hi ,
    Can any one help please?
    Ted !! I would really appreciate an answer from you.
    Regards,
    Jon

  • Regarding cyrstal report command

    how do i define variable in command of crystal report and use it for retrieving more than one data using select query
    Thanks
    Parag

    Dear Sir,
    I would like to know that whether sql server 2008 is supported while creating addon of SAP B1??
    Is use of sql server 2008 is being tested for sap B1??
    Thanks and Regards
    Parag Khatri

  • Crystal report command query

    Hi expert,
    regarding crystal report query,im still new in crystal report,actually i want to make report join with table opor,por1,opor,oitm,oshp,nnm1,ocrn,por10 and octg.im face difficulty when want to join por10.then i join with por10.docentry = por1.docentry with table por1 and por1.visorder = por10.aftlinenum and im not sure it correct or not.im just want to make condition like this
    if (T1.U_CSUS_Size = '') and (t2.LineType = 'T') then it will show (t0.U_CSUS_ItmCode + ' ' + t0.U_CSUS_ItmDescp + ' ' + t1.U_CSUS_Size) else (t0.U_CSUS_ItmCode + ' ' + t0.U_CSUS_ItmDescp) and joining (from POR1 T0 
    INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode
    inner join por10 T2 on T0.docentry = T2.docentry and T0.visorder = T2.aftlinenum)
    for 'u_csus_.....' is for udf i created.can i know how easier step for this condition.i also already try alot of query.sometime can make duplicate column.
    regards,
    Arif
    Edited by: Ahmad Arif on Jan 10, 2012 4:03 AM

    Dear Anmad Arif
    Try the below query
    SELECT
                          (CASE WHEN  (T1.U_CSUS_Size = '') and (t2.LineType = 'T') THEN
                    (t0.U_CSUS_ItmCode + ' ' + t0.U_CSUS_ItmDescp + ' ' + t1.U_CSUS_Size)AS NVARCHAR(1000))
                   else T1.[Dscription] End) AS [Description],                      
                    T1.VisOrder,
                    (CASE WHEN T1.[Quantity]<=0 THEN  NULL ELSE T1.[Quantity] END) AS Qty,
                    CAST(ISNULL(T3.UserText, '''') AS VARCHAR(MAX)) As ItemDesc,
                        T1.Currency, T3.SuppCatNum,
                        (CASE WHEN T1.linetotal<=0 THEN NULL ELSE T1.linetotal END)  as amount,
                    (CASE WHEN T1.[price]<=0 THEN NULL ELSE T1.[price] END) AS  Rate,
                    T3.UserText,
                    T0.DocEntry,
                    ISNULL(T1.U_Unit, T3.SalUnitMsr) AS SaleUnit,
                    ISNULL(T3.BuyUnitMsr, '''') AS PurchaseUnit,T1.VisOrder,'' LineSeq,'' aftLineNum,
                    ISNULL(T0.U_QText,'') AS QText,T1.U_QRR as QRR
              FROM     OPOR T0
                    RIGHT OUTER  JOIN POR1 T1 ON T0.DocEntry = T1.DocEntry
                        RIGHT OUTER  JOIN OITM T3 ON T1.ItemCode = T3.ItemCode
                        LEFT OUTER JOIN dbo.OSCN AS T4 ON (T0.CardCode=T4.CardCode AND T1.ItemCode=T4.ItemCode)     
              WHERE   T0.Docnum = '4063'
    UNION ALL
              SELECT  CAST(ISNULL(T1.LineText, '') AS VARCHAR(MAX)) AS [Description],
                    T1.AftLineNum,
                    NULL Qty,
                    null,
                    null ,NULl ,NULL,
                    null Rate,
                    NULL,
                    T0.DocEntry,
                    null,
                    null,T1.OrderNum,T1.LineSeq,AftLineNum,'' AS BPCatlog,
                    null
              FROM     OPOR T0
                    RIGHT OUTER  JOIN POR10 T1 ON T0.DocEntry = T1.DocEntry
              WHERE   T0.Docnum = '4063'
                         And T1.LineText IS NOT NULL 
    Note : Change the DocNum= DocKey When you use Crystal report  As per your requied
    Regards
    Kamlesh

  • Reports command line

    How we can run a report from
    unix environment that is from $prompt?
    null

    rwrun60 REPORT_NAME userid=USERNAME/PASSWORD@DB
    null

  • Sqlplus reporting commands

    HI ALL,
    I am getting a query ouput like this.
    Invoices Payments Finance Charges Credit Memos Debit Memos
    21320304.51 18590125.55 107802.07 -4628.85 128194.65
    But I want the output in the below mentioned format using sqlplus commands.
    Invoices: $ 21,320,304.51
    Payments: $ 21,369,903.37-
    Finance Charges: $ 108,996.74
    Debit Memos: $ 127,931.18
    Credit Memos: $ 4,365.38-
    Total: $ 182,963.68
    Can anyone help me.This should be done using sqlplus commands

    something like
    select decode (rownum, 1, invoices
                         , 2, payments
                         , 3, finance
                         , 4, credit
                         , 5, debit) result
      from x
    cross join
      (select 1
         from dual
      connect by level <= 5
    )and a complete example:
    SQL> with x as
      2  (select  21320304.51 invoices
      3        , 18590125.55  payments
      4        , 107802.07    finance
      5        , -4628.85     credit
      6        , 128194.65    debit
      7  from dual
      8  )
      9  select decode (rownum, 1, invoices
    10                       , 2, payments
    11                       , 3, finance
    12                       , 4, credit
    13                       , 5, debit) result
    14    from x
    15   cross join
    16    (select 1
    17       from dual
    18    connect by level <= 5
    19   )
    20  /
        RESULT
    21320304.5
    18590125.6
    107802.07
      -4628.85
    128194.65
    5 rows selected.

  • Reporting commands

    Hi,
    I would like if is possible, create a log file of commands, when
    we are executing scripts from sqlplus, by DOS.
    I'm having some problems, in my scripts, and I need make a log
    file of scripts.
    If anybody has any idea about it, help me a lot.
    Thanks

    like below
    save following script in .sql file (let say s.sql)
    spool samp.log
    select * from emp;
    exit;
    spool off
    execute it from dos prompt
    c:\>sqlplus username/password@cstring @s.sql
    Suresh

  • Error when running customize sales acknowledgement report

    Hello-
    I've tried to customize the Sales Acknowledgement Report. The customize program is working in one instance but when i move it to a different instance, the program would completed with error:
    EMR Order Management: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXONT_OEXOEACK module: EMR Sales Order Acknowledgement
    Current system time is 31-OCT-2012 13:25:48
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_SOB_ID='228'
    P_ORG_ID='2486'
    P_ITEM_FLEX_CODE='MSTK'
    P_PRINT_DESCRIPTION='D'
    P_BOOKED_STATUS='Y'
    P_ORDER_NUM_LOW='100001776'
    P_ORDER_NUM_HIGH='100001776'
    P_ORDER_CATEGORY='SALES'
    P_LINE_CATEGORY='ALL'
    p_open_orders='Y'
    P_SHOW_HDR_ATTACH='N'
    P_SHOW_BODY_ATTACH='N'
    P_SHOW_FTR_ATTACH='N'
    -- Start of Reports Command --
    ar60runb
    P_CONC_REQUEST_ID=11078969
    P_SOB_ID='228'
    P_ORG_ID='2486'
    P_ITEM_FLEX_CODE='MSTK'
    P_PRINT_DESCRIPTION='D'
    P_BOOKED_STATUS='Y'
    P_ORDER_NUM_LOW='100001776'
    P_ORDER_NUM_HIGH='100001776'
    P_ORDER_CATEGORY='SALES'
    P_LINE_CATEGORY='ALL'
    p_open_orders='Y'
    P_SHOW_HDR_ATTACH='N'
    P_SHOW_BODY_ATTACH='N'
    P_SHOW_FTR_ATTACH='N'
    report=/mariap1ap/mariap1appl/XXONT/11.5.0/reports/US/XXONT_OEXOEACK.rdf
    batch=yes
    destype=file
    desname=/mariap1ap/mariap1comn/admin/out/mariap1_usmtniaderpdb12/o11078969.out
    desformat=XML
    -- End of Reports Command --
    Request language is :
    AMERICAN
    Request territory is :
    AMERICA
    APPLLCSP Environment Variable set to :
    XML_REPORTS_XENVIRONMENT is set to:
    /mariap1ap/mariap1ora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Enabling XML_REPORTS_ENVIRONMENT based environment switching
    The Character-Set of the System is:
    UTF8
    XML_REPORTS_XENVIRONMENT is :
    /mariap1ap/mariap1ora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /mariap1ap/mariap1ora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Previous NLS_LANG Environment Variable was :
    American_America.UTF8
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    stat_low = 8B
    stat_high = 0
    emsg:was terminated by signal 11
    Start of log messages from FND_FILE
    ENTERING OE_SYS_PARAMETERS.VALUE
    Going to get the value for MASTER_ORGANIZATION_ID
    ENTERING OE_SYS_PARAMETERS_PVT.VALUE
    org_id has changed so delete the cache and reset the globals
    PARAMETER VALUE from the DB when org_id has changed : 2488
    End of log messages from FND_FILE
    Reset original NLS_LANG in environment as :
    American_America.UTF8
    Program was terminated by signal 11
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 11078969.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 31-OCT-2012 13:26:31
    I found similar issues but i think the solution differs per module. Can someone please help me with this?
    Thank you in advance

    Hello-
    I've tried to customize the Sales Acknowledgement Report. The customize program is working in one instance but when i move it to a different instance, the program would completed with error:
    EMR Order Management: Version : UNKNOWN
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXONT_OEXOEACK module: EMR Sales Order Acknowledgement
    Current system time is 31-OCT-2012 13:25:48
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_SOB_ID='228'
    P_ORG_ID='2486'
    P_ITEM_FLEX_CODE='MSTK'
    P_PRINT_DESCRIPTION='D'
    P_BOOKED_STATUS='Y'
    P_ORDER_NUM_LOW='100001776'
    P_ORDER_NUM_HIGH='100001776'
    P_ORDER_CATEGORY='SALES'
    P_LINE_CATEGORY='ALL'
    p_open_orders='Y'
    P_SHOW_HDR_ATTACH='N'
    P_SHOW_BODY_ATTACH='N'
    P_SHOW_FTR_ATTACH='N'
    -- Start of Reports Command --
    ar60runb
    P_CONC_REQUEST_ID=11078969
    P_SOB_ID='228'
    P_ORG_ID='2486'
    P_ITEM_FLEX_CODE='MSTK'
    P_PRINT_DESCRIPTION='D'
    P_BOOKED_STATUS='Y'
    P_ORDER_NUM_LOW='100001776'
    P_ORDER_NUM_HIGH='100001776'
    P_ORDER_CATEGORY='SALES'
    P_LINE_CATEGORY='ALL'
    p_open_orders='Y'
    P_SHOW_HDR_ATTACH='N'
    P_SHOW_BODY_ATTACH='N'
    P_SHOW_FTR_ATTACH='N'
    report=/mariap1ap/mariap1appl/XXONT/11.5.0/reports/US/XXONT_OEXOEACK.rdf
    batch=yes
    destype=file
    desname=/mariap1ap/mariap1comn/admin/out/mariap1_usmtniaderpdb12/o11078969.out
    desformat=XML
    -- End of Reports Command --
    Request language is :
    AMERICAN
    Request territory is :
    AMERICA
    APPLLCSP Environment Variable set to :
    XML_REPORTS_XENVIRONMENT is set to:
    /mariap1ap/mariap1ora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Enabling XML_REPORTS_ENVIRONMENT based environment switching
    The Character-Set of the System is:
    UTF8
    XML_REPORTS_XENVIRONMENT is :
    /mariap1ap/mariap1ora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /mariap1ap/mariap1ora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Previous NLS_LANG Environment Variable was :
    American_America.UTF8
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    stat_low = 8B
    stat_high = 0
    emsg:was terminated by signal 11
    Start of log messages from FND_FILE
    ENTERING OE_SYS_PARAMETERS.VALUE
    Going to get the value for MASTER_ORGANIZATION_ID
    ENTERING OE_SYS_PARAMETERS_PVT.VALUE
    org_id has changed so delete the cache and reset the globals
    PARAMETER VALUE from the DB when org_id has changed : 2488
    End of log messages from FND_FILE
    Reset original NLS_LANG in environment as :
    American_America.UTF8
    Program was terminated by signal 11
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 11078969.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 31-OCT-2012 13:26:31
    I found similar issues but i think the solution differs per module. Can someone please help me with this?
    Thank you in advance

  • Email thru Report - Changing the Subject

    Hi,
    I am using Reports6.0 in windows. while sending Report(PDF) output to relevant email-id. System automatically set the default message to "Report sent from Report Builder ...' How can I change this default message to user message.
    Pls. Help me.

    Hi,
    Upgrade to Reports 9i, You can use BCC, CC, FROM, REPLYTO, SUBJECT and DESNAME with Reports command line
    Note that DESNAME is used to specify the main recipient(s) of the e-mail.
    Thanks,
    Oracle Reports Team

  • Skip Error message in submit report

    Hello Gurus,
    I am using SUBMIT <REPORT> command inside a loop of my calling report. For one record the SUBMIT <report> is throwing an eror message due to which my report is getting stopped by displaying the error message.
    My requirement is to skip the record if there is any error in SUBMIT <report> and process rest of the records.
    Please help me out.

    Hi,
    Vasanth's idea regarding doing a CALL FUNCTION IN BACKGRUOND TASK does work, unless you need to get back some information from the SUBMIT, as export parameters can't be set when using IN BACKGRUOND TASK.
    As i need to get data from the SUBMIT, i'll keep looking for other alternatives, so other ideas are still welcome...
    Regards,
    mr.
    Hi Manuel,
    Try calling report in background task like below:
        CALL FUNCTION 'JOB_OPEN'
          EXPORTING
            jobname          = c_name                    "this name can be any name defined in constants(you do not have to create a job name anywhere in system or SM36)
          IMPORTING
            jobcount         = w_number
          EXCEPTIONS
            cant_create_job  = 1
            invalid_job_data = 2
            jobname_missing  = 3
            OTHERS           = 4.
    *" Job opened successfully
        IF sy-subrc EQ c_0.
    *" Call program to process IDoc
          SUBMIT ZSubmit WITH <any value>                                                      " e.g. p_field1 EQ <value>
                          VIA JOB c_name NUMBER w_number
                          AND RETURN.
    [Note: In ZSubmit report you can send the data to calling program through ABAP memory i.e. Use EXPORT parameter to export data
    Ex: constants: c_memory(7) type c value 'MEMORY1'.
    At the end of ZSubmit report, before returning to the calling program write below statement:
    EXPORT i_message TO MEMORY ID c_memory1.]
    *" Successful processing of IDoc
          IF sy-subrc EQ c_0.
    "Here you can import data from ZSubmit report
    import i_message from memory id c_memory1.
    After retrieving the data, free the memory otherwise it will affect the performance of your report:
    Free memory id c_memory1.
    *" Close the job
            CALL FUNCTION 'JOB_CLOSE'
              EXPORTING
                jobcount             = w_number
                jobname              = c_name
                strtimmed            = c_x
              EXCEPTIONS
                cant_start_immediate = 1
                invalid_startdate    = 2
                jobname_missing      = 3
                job_close_failed     = 4
                job_nosteps          = 5
                job_notex            = 6
                lock_failed          = 7
                OTHERS               = 8.
    ENDIF.
    ENDIF.
    Hope this helps!
    Regards,
    Saba

  • Error while running commands at RMAN prompt

    Hi ,
    We have a few oracle 10g(10.2.0.3) databases on AIX platform.We use RMAN backup with a recovery catalog database.
    The rman full(level 0)backups are scheduled dailly and running fine.When I tried to run commands like 'list backup','report obsolete' I'm getting the following errors.
    connected to target database: TICSPROD (DBID=2626621498)
    connected to recovery catalog database
    RMAN> report obsolete;
    RMAN retention policy will be applied to the command
    RMAN retention policy is set to redundancy 3
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of report command at 08/04/2011 07:49:36
    RMAN-06004: ORACLE error from recovery catalog database: ORA-03113: end-of-file on communication channel
    ORACLE error from recovery catalog database: ORA-03114: not connected to ORACLE
    RMAN> list backup;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of list command at 08/04/2011 07:56:25
    RMAN-06004: ORACLE error from recovery catalog database: ORA-03113: end-of-file on communication channel
    ORACLE error from recovery catalog database: ORA-03114: not connected to ORACLE
    But the recovery catalog database is up and running fine.For few other databases I'm able to run the above commands without errors and for some databases I'm getting the errors as mentioned above.
    Could someone help me out with this...

    Thanks Tycho for your reply.
    Please find the output of the query in recovery catalog.
    SQL> select * from v$resource_limit;
    RESOURCE_NAME CURRENT_UTILIZATION MAX_UTILIZATION INITIAL_AL LIMIT_VALU
    processes 49 83 5000 5000
    sessions 30 63 5505 5505
    enqueue_locks 27 94 65910 65910
    enqueue_resources 27 73 24440 UNLIMITED
    ges_procs 0 0 0 0
    ges_ress 0 0 0 UNLIMITED
    ges_locks 0 0 0 UNLIMITED
    ges_cache_ress 0 0 0 UNLIMITED
    ges_reg_msgs 0 0 0 UNLIMITED
    ges_big_msgs 0 0 0 UNLIMITED
    ges_rsv_msgs 0 0 0 0
    gcs_resources 0 0 0 0
    gcs_shadows 0 0 0 0
    dml_locks 0 76 24220 UNLIMITED
    temporary_table_locks 0 3 UNLIMITED UNLIMITED
    transactions 1 10 6055 UNLIMITED
    branches 0 0 6055 UNLIMITED
    cmtcallbk 0 1 6055 UNLIMITED
    sort_segment_locks 0 5 UNLIMITED UNLIMITED
    max_rollback_segments 11 11 6055 65535
    max_shared_servers 20 20 800 800
    parallel_max_servers 0 32 320 3600
    22 rows selected.
    The alert log of the catalog database is continously getting refreshed with the following message.
    Incremental checkpoint up to RBA [0x3b3.a780.0], current log tail at RBA [0x3b3.a78f.0]
    Mon Aug 8 00:16:17 2011
    Incremental checkpoint up to RBA [0x3b3.abf8.0], current log tail at RBA [0x3b3.ac4f.0]
    Mon Aug 8 00:46:19 2011
    Incremental checkpoint up to RBA [0x3b3.1451b.0], current log tail at RBA [0x3b3.1451b.0]
    Mon Aug 8 01:16:21 2011
    Incremental checkpoint up to RBA [0x3b3.14b15.0], current log tail at RBA [0x3b3.14baa.0]
    Mon Aug 8 01:46:23 2011
    Incremental checkpoint up to RBA [0x3b3.14be1.0], current log tail at RBA [0x3b3.14bf0.0]
    Mon Aug 8 02:16:25 2011
    Incremental checkpoint up to RBA [0x3b3.15069.0], current log tail at RBA [0x3b3.150a9.0]
    Mon Aug 8 02:46:27 2011
    Incremental checkpoint up to RBA [0x3b3.150ed.0], current log tail at RBA [0x3b3.150ed.0]
    What could be the potential cause of the issue I'm facing .Could you please guide me...

  • Oracle reports in xml format end with stat_low = 6 stat_high = 0

    hi
    i have a problem with my reports
    i have oracle application 11.5.10.2 on linux 32 redhat 4 update 5
    after apply the RUP 6
    my character_set is :American_America.AR8MSWIN1256
    base lang American
    install lang ARABIC
    when i generate the reports in xml format i get:
    Inventory: Version : 11.5.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    ZMCINVTRREG1 module: ZMC Transaction Register Report
    Current system time is 04-AUG-2009 14:32:30
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    -- Start of Reports Command --
    ar60runb
    P_CONC_REQUEST_ID=373985
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
    batch=yes
    destype=file
    desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
    desformat=XML
    -- End of Reports Command --
    Request language is :
    AMERICAN
    Request territory is :
    AMERICA
    XML_REPORTS_XENVIRONMENT is set to:
    /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Enabling XML_REPORTS_ENVIRONMENT based environment switching
    The Character-Set of the System is:
    AR8MSWIN1256
    Environment will now switch to UTF-8 code-set.
    Parts of this log file may not display correctly
    as a result. This is an expected behavior.
    Converting parameters to UTF-8
    -- Start of Reports Command Converted to UTF-8 --
    ar60runb
    P_CONC_REQUEST_ID=373985
    P_BREAK_ID='1'
    P_RPT_UOM='2'
    P_ORG='223'
    P_QTY_PRECISION='3'
    P_GLCC_STRUCT_NUM='50289'
    P_TXN_DATE_LO='2009/08/04 00:00:00'
    P_TXN_DATE_HI='2009/08/04 00:00:00'
    P_AUDIT_DETAIL='2'
    P_REASON_DETAIL='2'
    P_LOC_DETAIL='2'
    P_CATEGORY_DETAIL='2'
    P_SERIAL_DETAIL='2'
    P_LOT_DETAIL='2'
    P_CATG_SET_ID='1'
    P_CATG_STRUCT_NUM='101'
    report=/oraapp/prodappl/inv/11.5.0/reports/US/INVTRREG.rdf
    batch=yes
    destype=file
    desname=/oraapp/prodcomn/admin/out/PROD_apps/o373985.out
    desformat=XML
    -- End of Reports Command --
    XML_REPORTS_XENVIRONMENT is :
    /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    XENVIRONMENT is set to /oraapp/prodora/8.0.6/guicommon6/tk60/admin/Tk2Motif_UTF8.rgb
    Previous NLS_LANG Environment Variable was :
    American_America.AR8MSWIN1256
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    stat_low = 6
    stat_high = 0
    emsg:was terminated by signal 6
    *** glibc detected *** double free or corruption (!prev): 0x08bf6a78 ***
    Report Builder: Release 6.0.8.25.0 - Production on Tue Aug 4 14:32:30 2009
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Reset original NLS_LANG in environment as :
    American_America.AR8MSWIN1256
    Program was terminated by signal 6
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 373985.
    Review your concurrent request log and/or report output file for more detailed information.
    Executing request completion options...
    ------------- 1) PUBLISH -------------
    Beginning post-processing of request 373985 on node APPS at 04-AUG-2009 14:32:37.
    Post-processing of request 373985 completed at 04-AUG-2009 14:32:38.
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 04-AUG-2009 14:32:38
    can any one help me with it????

    hi,,,
    it seems OS package version conflict
    Please check glibc and openmotif version (its responsible for reports)
    and
    Set the environment variable MALLOC_CHECK_=0 and bounce the Concurrent Managers
    MALLOC_CHECK_ can be changed in two places :-
    1. Add this to the $APPL_TOP/custom<TWO_TASK>_<HOSTNAME>.env
    MALLOC_CHECK_=0
    Then restart the concurrent managers and retest
    2. Change it in the adovars.env file
    Again bounce the concurrent managers and retest
    THANKS (ZzZ)
    Edited by: zzz on Aug 5, 2009 8:59 AM
    Edited by: ZzZ on Aug 5, 2009 9:00 AM

Maybe you are looking for

  • Concurrent program doubt

    hi all, i am trying to run one concurrent program from jdeveloper using below coding int reqId = cr.submitRequest("XXXAP", "XXAPTRLB", "AP Trial Balance",null, true, param); please let me know anybody what is xxxap , xxaptrlb , ap trial balance meant

  • File explorer for 5530

    can somebody tell me where can i find or where can i download a file explorer app. for my 5530.. thanks in advance

  • NewMsg notification in Messaging server

    Hi, We are using Iplanet messaging server 5.2 and have setup the ENS system to send all the notifications ( newmsg, deletemsg, readmsg etc). However, our client that is subscribed to the ENS messages is not receiving the newmsg notifications. It is r

  • Photoshop Elements 11 not responding in a wierd way

    So Ive been using elements 11 for over a year now with no problems and suddenly it has stopped working. it started when I recently opened a photo to crop it and when i was using the crop tool, it wouldn't let me move the crop area with the mouse like

  • Please confirm that c3560-ipservicesk9-mz.122-55.SE9 supports xconnect and pseudo-wire

    Hi everyone, Could someone who is actually using this image please confirm that c3560-ipservicesk9-mz.122-55.SE9 supports xconnect and pseudo-wire Thank you ~B