Report selection process error.

Dear Experts,
i have doveluped one report using alv, report is
Based on SOdetails we want to extaract the prodeuction order and plan order details, the program is sucessfully exicuted and display the output only SO details i cant get the PO , Plan Order and remining details ple check the selection process and solve this problem.
and one more problem is in plan order no block display the required delivery date.
plea rectifi this problem, the entire program is mentioned bellow.
Regards,
sri.
*& Report  ZSORDER_PRO_STATUS
REPORT  ZSORDER_PRO_STATUS.
Tables Declaration
tables : afpo,    "Order item
         aufk,    "Order master data
         afko,    "Order header data PP orders
         plaf,    "Planned order
        plpod,   "I/O table for task list operations and network activities
         s022,     "SFIS: Order Operation Data for Work Center
         vbap,    "Sales Document: Item Data
         vbak,    "Sales Document: Header Data
         kna1.    "General Data in Customer Master
type-pools: slis, vsep.
Data Declaration
data :begin of i_vbak occurs 0,
        vbeln like vbak-vbeln, "Sales Document
        kunnr like vbak-kunnr, "Sold-to party
        erdat like vbak-erdat, "Date on Which Record Was Created
        audat like vbak-audat, "Document Date (Date Received/Sent)
        aedat like vbak-aedat, "Changed On
        vdatu like vbak-vdatu, "required delivery date
       augru like vbak-augru, "Order reason (reason for the business transaction)
       posnr like vbap-posnr,    "Sales Document Item
      vdatu
       matnr like vbap-matnr,    "Material Number
       arktx like vbap-arktx,    "Short text for sales order item
       kwneng like vbap-kwmeng, "Cumulative Order Quantity in Sales Units
       end of i_vbak.
types: begin of t_s022,
      aufnr type s022-aufnr,
      arbpl type s022-arbpl,
      end of t_s022.
types: begin of t_afpo,
       kdauf type afpo-kdauf,
       posnr type afpo-posnr,
       plnum type afpo-plnum, "Planned order number
       aufnr type afpo-aufnr, "Order Number
      kdauf type afpo-kdauf, "Sales order number
       psmng type afpo-psmng, "Order item quantity
       wemng type afpo-wemng, "Quantity of goods received for the order item
       kdpos type afpo-kdpos,
       matnr type afpo-matnr,
       end of t_afpo.
types: begin of t_aufk,
       aufnr type aufk-aufnr,  "Order Number
       astnr type aufk-astnr, "Order status
       erdat type aufk-erdat, "Created on
      aurgu type aufk-aurgu,
       end of t_aufk.
types: begin of t_plaf,
       aufnr type plaf-aufnr,
       plnum type plaf-plnum,
       psttr type plaf-psttr,  "Order start date in planned order
       gsmng type plaf-gsmng,  "Total planned order quantity
       end of t_plaf.
data: begin of i_plpod occurs 0,
      matnr like afpo-matnr,
      arbpl like plpod-arbpl,
      istru like plpod-istru,
      end of i_plpod.
data : begin of i_sclass occurs 0.
        include structure sclass.
data : end of i_sclass.
data : wa_objek type ausp-objek.
data : begin of i_clobjdat occurs 0.
        include structure clobjdat.
data : end of i_clobjdat.
data: begin of i_augru occurs 0,
      vbeln like vbak-vbeln,
      augru like vbak-augru,
      kunnr like vbak-kunnr,
      audat like vbak-audat,
      end of i_augru.
types: begin of t_kunnr,
      kunnr type kna1-kunnr,
      name1 type kna1-name1,
      end of t_kunnr.
types: begin of t_final,
        vbeln type vbak-vbeln,    "Sales Document
        audat type vbak-audat,    "Document Date (Date Received/Sent)
        aedat type vbak-aedat,    "Changed On
        erdat type vbak-erdat,    "Date on Which Record Was Created
        kunnr type vbak-kunnr,    "customer
        vdatu type vbak-vdatu,    "required delivery date
        posnr type vbap-posnr,    "Sales Document Item
        plnum type afpo-plnum,    "plane order no
        psttr type plaf-psttr,    "Order start date in planned order
        gsmng type plaf-gsmng,    "Total planned order quantity
        aufnr type afko-aufnr,     "Order Number
        erdat1 type aufk-erdat,    "Created on
        matnr type vbap-matnr,     "Material Number
        arktx type vbap-arktx,     "Short text for sales order item
        kwmeng type vbap-kwmeng,   "Cumulative Order Quantity in Sales Units
        psmng type afpo-psmng,     "Order item quantity
        wemng type afpo-wemng,     "Quantity of goods received for the order item
        astnr type aufk-astnr,     "Order status
        ausp1  type clobjdat-ausp1,       "Paper & Paperboard DIM1
        ausp2  type clobjdat-ausp1,       "Paper & Paperboard DIM2
        matnr1 type afpo-matnr,
        ups1   type clobjdat-ausp1,   "ups
        augru type vbak-augru,       "new job/ Reprint
        arbpl type s022-arbpl,      " Michine details
        mgr1 type clobjdat-ausp1,   " mktg_acct_mgr1
       end of t_final.
  data: i_vbak type standard table of vbak,
        i_vbap type standard table of vbap,
  data:  i_s022 type standard table of t_s022.
   data: i_afpo type standard table of t_afpo,
         i_aufk type standard table of t_aufk,
         i_plaf type standard table of t_plaf,
         i_final type standard table of t_final,
         i_kunnr type standard table of t_kunnr.
data: wa_vbak type vbak,
      wa_vbap type vbap,
data: wa_s022 type t_s022.
  data: wa_afpo type t_afpo,
       wa_aufk type t_aufk,
       wa_plaf type t_plaf,
       wa_final type t_final,
       wa_kunnr type t_kunnr.
* For ALV
data: wrk_fieldcat  type slis_t_fieldcat_alv,
      wrk_repid     like sy-repid,
      wrk_layout    type slis_layout_alv.
parameters and select-options
selection-screen begin of block b1 with frame title text-001.
select-options: s_vbeln for vbak-vbeln, "sales order
                s_kunnr for vbak-kunnr, "Sold-to party
                s_audat for vbak-audat. "Date on Which Record Was Created
selection-screen end of block b1.
start-of-selection.
select
vbak~vbeln
vbak~kunnr
vbak~erdat
vbak~audat
vbak~aedat
vbak~vdatu
vbap~posnr
vbap~matnr
vbap~arktx
vbap~kwmeng
  into table i_vbak from vbak inner join vbap on vbakvbeln = vbapvbeln
  where vbakvbeln in s_vbeln and vbakaudat in s_audat and vbak~kunnr in s_kunnr.
if i_vbak is not initial.
*select rmanr
      posnr_rma
      aufnr
      from afko into table i_afko
      for all entries in i_vbak
      where rmanr = i_vbak-vbeln
      and  posnr_rma = i_vbak-posnr.
select kdauf
       posnr
       aufnr
       plnum
       kdauf
       psmng
       wemng
       matnr
       kdpos
       from afpo into table i_afpo
       for all entries in i_vbak
       where kdauf = i_vbak-vbeln
       and kdpos = i_vbak-posnr.
if sy-subrc = 0.
select plnum
       psttr
       gsmng
       from plaf into table i_plaf
       for all entries in i_afpo
       where plnum = i_afpo-plnum.
if i_afpo is not initial.
select aufnr
        astnr
        erdat
        from aufk into table i_aufk
        for all entries in i_afpo
        where aufnr = i_afpo-aufnr.
endif.
endif.
endif.
select vbeln augru
       from vbak into table i_augru
       where vbeln in s_vbeln and kunnr in s_kunnr and audat in s_audat
       and augru = 'z01' or augru = 'z02'.
select aufnr arbpl from s022 into table i_s022 where aufnr = afpo-aufnr and arbpl like 'ptg%'.
*loop at i_vbak.&&&&
loop at i_vbak.
move-corresponding i_vbak to wa_final.
select single kunnr from vbak into wa_kunnr where vbeln = i_vbak-vbeln.
      if sy-subrc eq 0.
        select single name1 from kna1 into wa_final-kunnr where kunnr = i_vbak-kunnr.
      endif.
*read table i_afko into wa_afko with key rmanr = i_vbak-vbeln.
*read table i_afko into wa_afko with key posnr_rma = i_vbak-posnr.
*if sy-subrc = 0.
*move-corresponding wa_afko to wa_final.
*endif.
read table i_afpo into wa_afpo with key kdauf = i_vbak-vbeln.
read table i_afpo into wa_afpo with key kdpos = i_vbak-posnr.
if sy-subrc = 0.
move-corresponding wa_afpo to wa_final.
move wa_afpo-matnr to wa_final-matnr1.
endif.
read table i_plaf into wa_plaf with key plnum = wa_afpo-plnum.
if sy-subrc = 0.
move-corresponding wa_plaf to wa_final.
endif.
read table i_aufk into wa_aufk with key aufnr = wa_afpo-aufnr.
if sy-subrc = 0.
move wa_aufk-astnr to wa_final-astnr.
move wa_aufk-erdat to wa_final-erdat1.
endif.
read table i_s022 into wa_s022 with key aufnr = wa_afpo-aufnr.
*read table i_s022 into wa_s022 with key arbpl like 'ptg%'.
if sy-subrc = 0.
move wa_s022-arbpl to wa_final-arbpl.
endif.
read table i_augru with key vbeln = i_vbak-vbeln.
if sy-subrc = 0.
move i_augru-augru to wa_final-augru.
endif.
refresh : i_clobjdat.
clear   : i_clobjdat,
          wa_objek.
      wa_objek = wa_afpo-matnr.
      call function 'CLAF_CLASSIFICATION_OF_OBJECTS'
        exporting
         class                      = ' '
         classtext                  = 'X'
         classtype                  = '001'
         clint                      = 0
         features                   = 'X'
         language                   = sy-langu
         object                     = wa_objek
         objecttable                = ' '
         key_date                   = sy-datum
         initial_charact            = 'X'
       NO_VALUE_DESCRIPT          =
         change_service_clf         = 'X'
         inherited_char             = ' '
         change_number              = ' '
        tables
          t_class                   = i_sclass
          t_objectdata              = i_clobjdat
        I_SEL_CHARACTERISTIC       =
        T_NO_AUTH_CHARACT          =
       exceptions
         no_classification          = 1
         no_classtypes              = 2
         invalid_class_type         = 3
         others                     = 4.
read table i_clobjdat with key atnam = 'PAPER_BOARD_DIM1'.
      if sy-subrc eq 0.
        if i_clobjdat-ausp1 ne '?'.
          wa_final-ausp1 = i_clobjdat-ausp1.
        endif.
      endif.
read table i_clobjdat with key atnam = 'PAPER_BOARD_DIM2'.
      if sy-subrc eq 0.
        if i_clobjdat-ausp1 ne '?'.
          wa_final-ausp2 = i_clobjdat-ausp1.
        endif.
      endif.
read table i_clobjdat with key atnam = 'UPS1'.
      if sy-subrc eq 0.
        if i_clobjdat-ausp1 ne '?'.
          wa_final-ups1 = i_clobjdat-ausp1.
        endif.
      endif.
read table i_clobjdat with key atnam = 'MKTG_ACCT_MGR1'.
      if sy-subrc eq 0.
        if i_clobjdat-ausp1 ne '?'.
          wa_final-mgr1 = i_clobjdat-ausp1.
        endif.
      endif.
  if wa_final is not initial.
  append wa_final to i_final.
  endif.
endif.
endloop.
*endif.
*form display_alv .
data: wrk_fld type slis_fieldcat_alv.
refresh wrk_fieldcat.
clear wrk_fieldcat.
perform display_alv.
*&      Form  display_alv
      text
-->  p1        text
<--  p2        text
form display_alv .
  data: wrk_fld type slis_fieldcat_alv.
refresh wrk_fieldcat.
clear wrk_fieldcat.
  perform pc_fld using:
        'AUDAT'       text-003     'I_FINAL'     ,
        'VBELN'       text-004     'I_FINAL'     ,
        'AEDAT'       text-005     'I_FINAL'     ,
        'ERDAT'       text-006     'I_FINAL'     ,
        'KUNNR'       text-007     'I_FINAL'     ,
        'POSNR'       text-008     'I_FINAL'     ,
        'VDATU'       text-009     'I_FINAL'     ,
        'PLANUM'       text-010     'I_FINAL'     ,
        'PSTTR'       text-011     'I_FINAL'     ,
        'GSMNG'       text-012     'I_FINAL'     ,
        'AUFNR'      text-013     'I_FINAL'     ,
        'ERDAT1'     text-014     'I_FINAL'     ,
        'MATNR'       text-015     'I_FINAL'     ,
        'ARKTX'       text-016     'I_FINAL'     ,
        'KWMNG'       text-017     'I_FINAL'     ,
        'PSMNG'       text-018     'I_FINAL'     ,
        'WEMNG'       text-019     'I_FINAL'     ,
        'ASTNR'       text-020     'I_FINAL'     ,
        'AUSP1'      text-021     'I_FINAL'     ,
        'AUSP2'      text-022     'I_FINAL'     ,
        'UPS1'      text-023     'I_FINAL'     ,
        'AUGRU'       text-024     'I_FINAL'     ,
        'ARBPL'       text-025     'I_FINAL'     ,
        'MRG1'       text-026     'I_FINAL'     .
Layout Information.
wrk_layout-zebra = 'X'.
  wrk_layout-colwidth_optimize = 'X'.
  wrk_layout-expand_fieldname = 'X'.
  wrk_repid = 'ZPPR_DESPACHE'.
Call ALV.
  call function 'REUSE_ALV_GRID_DISPLAY'
    exporting
      i_callback_program = wrk_repid
      is_layout          = wrk_layout
      it_fieldcat        = wrk_fieldcat
     i_save             = 'A'
    tables
      t_outtab           = i_final[]
    exceptions
      program_error      = 1
      others             = 2.
  if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
          with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  endif.
endform.                    " display_alv
*&      Form  pc_fld
      text
     -->P_1      text
     -->P_1      text
     -->P_0891   text
     -->P_TEXT_C01  text
     -->P_03     text
     -->P_0894   text
     -->P_IT_LEVEL  text
form pc_fld  using    f d t .
  data: wrk_fld type slis_fieldcat_alv.
  wrk_fld-no_zero = 'X'.
  if f eq 'SRNO'.
    wrk_fld-key = 'X'.
  endif.
  wrk_fld-quantity = 'SHT'.
  move f to wrk_fld-fieldname.
  move d to : wrk_fld-seltext_l.
  move t to wrk_fld-tabname.
  append wrk_fld to wrk_fieldcat.
endform.

Already a known issue, here's the [KB 1584095 - A boolean NOT is added at the beginning of a record selection formula when the report is loaded by the Crystal Reports .NET SDK |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533383334333033393335%7D.do]

Similar Messages

  • Report Selection Formula Error with Crystal Reports 2008 SP3 Fix Pack 3.5

    Hello,
    My name is Carlos, and I would like to report a defect found in the Crystal Reports 2008 SP 3 Fix Pack 3.5 Runtime that is affecting the majority of our reports.  As well, I would like to ask if there is a simple workaround that does not involve updating hundreds of reports.
    The issue is that the runtime engine incorrectly returns the report selection formula.  I have included sample code showing what I mean.
    To reproduce;
    1. Create a simple report that has a date range filter like: 
      ({Orders.Order_Date} >= {?START_DATE})  
      AND ({Orders.Order_Date} <= {?END_DATE})
    2. Create a test app as follow that loads a report using the following code:
    ReportDocument rpt = null;
    try
      rpt = new ReportDocument();
      rpt.Load("TestReport.rpt");
      this.txtMessage.Text = string.Format(
        "ReportSelectionFormula:{0}{1}",
         Environment.NewLine,
      rpt.RecordSelectionFormula);
    catch (Exception ex)     
      this.txtMessage.Text = ex.ToString();     
    3.  Install Crystal Reports 2008 SP3 Fix Pack 3.5 Runtime [https://smpdl.sap-ag.de/~sapidp/012002523100006341772011E/cr2008fp35_redist.zip]..
    4.  Execute the app.
    At this stage, the screen shows
    ReportSelectionFormula:
    (   (  NOT  {Orders.Order_Date} >= {?START_DATE}  )   AND   (  NOT  {Orders.Order_Date} <= {?END_DATE}  )   ) 
    The expected value is:
    ReportSelectionFormula:
    (   (  {Orders.Order_Date} >= {?START_DATE}  )   AND   (  {Orders.Order_Date} <= {?END_DATE}  )   ) 
    If we were to repeat the same test above but use the Crystal Reports 2003 SP3 runtime (i.e. no Fix Pack), which can be dowloaded from [https://smpdl.sap-ag.de/~sapidp/012002523100007123592010E/cr2008sp3_redist.zip], we would get the correct report selection formula. A side-effect for this incorrect report selection formula is a runtime exception complaining about an errorkind and a boolean being expected. 
    Do you know if there is any workaround that I can apply in code, perhaps a different Fix Pack?  Is there a Fix Pack expected to be released soon?  It is not practical for us to update our reports and use a different style in the record selection formula because we have many such reports, and our customers probably have even more.
    Thank you.
    -Carlos.

    Already a known issue, here's the [KB 1584095 - A boolean NOT is added at the beginning of a record selection formula when the report is loaded by the Crystal Reports .NET SDK |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533383334333033393335%7D.do]

  • NVSRUN (nVision-Report)  - nVision process going in the error status

    NVSRUN (nVision-Report) - nVision process going in the error status for all nVision reports submitted from the web.
    All nVision reports submitted online from the web are failing. Need to create new run control ID? How to do that for NVSRUN process?
    ========================================================================================
    Message:
    Process Request shows status of 'INITIATED' or 'PROCESSING' but no longer running

    Make sure u can open excel from the process scheduler server manually. when excel.exe gets crashed on the server, nvision reports may start to fail on the web. if u have too many excel.exe on the task manager also, u might want to kill the executables by suspending the prcs.
    make sure u have the right parameters for the drilldown and layout paths. this also can contribute to the process running to error status.
    Need to add the run control id - for a drill down report request u don't need a run control id. for a report book u can always add a run control parameters for every run. u can also differentiate the reports by the business units with your run control ids.
    Thanks

  • Bug Report: #SQLERRM_TEXT# in Process Error Message

    According to the Online Help for "Process Error Message" #SQLERRM_TEXT# should be replaced by "Text of error message without the error number". But it isn't.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

    I created an after submit PL/SQL process:begin
      raise_application_error(-20000,'custom error text');
    end;In the process error message attribute, I put:
    My error message with #SQLERRM_TEXT# in it.
    I submit the page and see this page:ORA-20000: custom error text
         Error      My error message with custom error text in it.
    OKScott

  • Automating a report generation process

    Hello guys!
    I just took on a new role in a company which requires me to deal with SAP BEx Analyzer.
    I'm completely new to this, but having gone through the report generation process, I feel the method I'm using is horribly tedious and I believe there should be a way to automate the process since it's a recurring monthly procedure.
    What I have to do currently to get the report is:
    1. Launch SAP Logon
    2. Filter the Connection which i want to find (i'll call it "PQI").
    3. Key in my Username, Password and Language
    4. Select the third container in the folder (i'll call it "03")
    5. After I open 03, it launches Excel with BEx Analyzer add in initialized. The report is currently empty
    6. Select Change Variable Values, fill in Fiscal Year, Month and Accounting Area.
    7. After which it will take like 15minutes to query, and a about 16,000 ++ rows are generated.
        Problem #1: The format isn't good, i have to right click on every cell that writes "Result" with yellow highlight and under it's properties I have to select         "Result Rows" > "Always Suppress".  (Ref1.PNG)
         This is horribly painful considering I have to wait about 1 minute for each response (it's very slow). I have to repeat this for every yellow column in the
         report. Can this be automated or done in 1 step?
    8. After doing so for all rows, I have to right click the table and select "Query Properties" and shift all the Free Characteristics (about 10) to "Rows".
         BUT, I can't do all at once, it will say "out of memory" and crash. I have to do so 2-3 rows at a time. Each time it'll take about 10-15 minutes to
         populate. It's very painful.
    9. After it's all done, i have to repeat step 7 again, which is to Suppress all result rows (Ref2.PNG)
    10.Followed by which I have to go to Query Properties > Display Options > Uncheck "supress repeated key values"
    11. When that is done I have to generate a PivotTable on the data.
    I have to repeat the same steps on a monthly basis.
    Is there a way I can script it to run the process for me monthly? Or any other way to make it less tedious?
    Thanks so much for any input or suggestion guys!
    Warmest Regards
    Brandon

    Suppressing Result Rows can be done in Query designer itself for one time. You need not to do after you get the report every time.
    If you always expect some 10 free chars constantly, i suggest you to insert them in Rows pane in Query designer but not in Analyzer. So that your report layout will be taking care with all settings what you want to do after the report generates in Excel. I mean you will get desired layout when you run the report first time itself.
    Suppress repeated key values also can be done in Query designer itself one time.
    By doing above, your report execution will not be tedious and it will be minimizing your efforts.
    Over all, What I have understood is, you are doing all sorts of settings in Analyzer after getting such huge volume of data, by which it gives you crash error.
    With all above steps, you can run your report with all pre-defined settings.

  • Crystal report 9 memory error.

    we are using crystal report 9 with sybase power builder..... at some client locations we are experiencing the application crash due to memory while opening crystal reports.
    the following errors were noticed
    1.the instruction at "0x77124804" referenced memory at "0x001b3e60". the memory could not be read.
    2.the instruction at "0x7c911daf" referenced memory at "0x00000000". the memory could not be read.
    please guide us what is the issue.. do we need any hotfix or service pack for this.
    regards

    I assume you already tried to reinstall the application and I would recommend to do it one more time, but this time follow the process for so-called manual uninstall
    1. Uninstall Crystal reports 9 using add remove programs
    2. Save backup -up of the Registry
    3. Remove the following registry key (be careful with the registry file):
    HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports
    4. Reinstall Crystal Reports 9
    As the next step I would check and disable Data Execution Prevention.
    Go to: Start> Right-click My Computer" select Properties> Advanced tab > click Performance settings> Data Execution Prevention tab.
    If DEP turned on for all programs, then add Crystal Reports (crw32.exe) to except list.
    If DEP is not cause of problems, then I would suggest Process Monitor to locate the reason or at least try to locate it.
    You can download Process Monitor utility from the following page:
    http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
    The same page will tell you how to use it. I would suggest the following steps:
    Close all unnecessary applications/processes
    1. Open Crystal Reports
    2. Start the Process Monitor, stop capturing events (Cntrl-E), clean the display (Cntrl-X), add the following filter (Cntrl-L) "Process Name is crw32.exe then include", click ok.
    3. Start capturing events (Cntrl-E)
    4. Immediately click Format menu on Crystal Reports
    5. Stop capturing events and save the log file
    Now you can look at the log file to see what is going wrong. I would also advice to capture the same log on client machine to compare the sequence of events.
    Gracias...!!

  • SSRS 2008 Created Commssion Report, now getting error message when I run this ( need Help)

    in SSRS 2008 2 years ago created Commission with sub reports added, it was working fine, some how started to get error  
    message when we entered some invoice # see below screen shot of error message
    but same time if I enter different invoice # it process the report without any error message , donot understand the problem
    what's causing this issue, I have looked each sub report,
    can some one suggest any idea,
    I have spent hrs to figure it out, no luck so far.
    thanks in advance
    see the 2nd screen shot with report process
    any help will be greatly appreciated

    Hi Wendy
    thanks for your reply
    I tried creating new report , I have 1 main report and 3 sub report on this
    on main report when I enter some invoice# and accountnum  data shows up with no problem,
    but same time if I enter different invoice# and accountnum , there is no data return  on same query, I have checked my query so many times, donot understand this issue, what's causing this problem, since all the data pulling from same tables, why its
    not pulling for some invoices,
     other strange thing , I created this report , year ago, there was no problem until now,
    all of the sudden this problem just shows up,'
    I am not that expert in sql , can I really use advise
    see below by query , if you can tell me what's wrong with my query I will be really greatfull I have spend so much time to figure it out, but so far no luck
    SELECT        VENDTRANS.DATAAREAID, SALESTABLE.SALESID, VENDTRANS.VOUCHER, SALESTABLE.SALESTYPE, SALESTABLE.SALESSTATUS, VENDTRANS.TRANSDATE,
                             CUSTINVOICEJOUR.INVOICEAMOUNT, VENDTRANS.INVOICE, VENDTRANS.PAYMMODE, VENDTRANS.ACCOUNTNUM, VENDTRANS.TRANSTYPE,
                             VENDTRANS.LASTSETTLEVOUCHER, VENDTRANS.TXT, CUSTINVOICEJOUR.INVOICEACCOUNT, CUSTINVOICEJOUR.INVOICINGNAME,
                             VENDTRANS.LASTSETTLEDATE, LEDGERJOURNALTRANS.ACCOUNTTYPE, LEDGERJOURNALTRANS.AMOUNTCURCREDIT, LEDGERJOURNALTRANS.LINENUM,
                             CUSTINVOICETRANS.INVOICEDATE
    FROM            SALESTABLE INNER JOIN
                             CUSTINVOICETRANS ON SALESTABLE.DATAAREAID = CUSTINVOICETRANS.DATAAREAID AND SALESTABLE.SALESID = CUSTINVOICETRANS.SALESID
    INNER JOIN
                             CUSTINVOICEJOUR ON CUSTINVOICETRANS.INVOICEID = CUSTINVOICEJOUR.INVOICEID AND CUSTINVOICETRANS.SALESID = CUSTINVOICEJOUR.SALESID
    AND
                             CUSTINVOICETRANS.INVOICEDATE = CUSTINVOICEJOUR.INVOICEDATE INNER JOIN
                             VENDTRANS ON CUSTINVOICETRANS.INVOICEID = VENDTRANS.INVOICE AND CUSTINVOICETRANS.DATAAREAID = VENDTRANS.DATAAREAID
    AND
                             CUSTINVOICEJOUR.DATAAREAID = VENDTRANS.DATAAREAID AND CUSTINVOICEJOUR.INVOICEDATE = VENDTRANS.TRANSDATE INNER JOIN
                             LEDGERJOURNALTRANS ON VENDTRANS.DATAAREAID = LEDGERJOURNALTRANS.DATAAREAID AND
                             VENDTRANS.ACCOUNTNUM = LEDGERJOURNALTRANS.ACCOUNTNUM AND CUSTINVOICETRANS.LINENUM = LEDGERJOURNALTRANS.LINENUM AND
                             VENDTRANS.INVOICE = LEDGERJOURNALTRANS.INVOICE AND VENDTRANS.VOUCHER = LEDGERJOURNALTRANS.VOUCHER AND
                             VENDTRANS.PAYMMODE = LEDGERJOURNALTRANS.PAYMMODE AND VENDTRANS.TRANSDATE = LEDGERJOURNALTRANS.TRANSDATE
    WHERE        (VENDTRANS.DATAAREAID = N'AR1') AND (SALESTABLE.SALESTYPE = 3) AND (SALESTABLE.SALESSTATUS = 3) AND (VENDTRANS.ACCOUNTNUM = @Accountnum)
                             AND (VENDTRANS.INVOICE = @Invoice) AND (LEDGERJOURNALTRANS.ACCOUNTTYPE = 2)

  • Report data binding error unknown column name

    Hi,
    I am having a problem with the new 7.02 update of Report
    Builder. The issue is it's not finding my SQL query.
    I have wrote my query initally in the advance mode, and it
    doesn't seem to reconize it. Is there an issue with this?
    I did manage to fix one of my reports by using the basic mode
    and selecting all my tables and seting my linkage and criteria.
    I have other computers that i have not updated to 7.02 and
    they do not have this issue. Below is the error:
    Error Occurred While Processing Request
    Report data binding error Unknown column name : work_phone.
    Please try the following:
    Check the ColdFusion documentation to verify that you are
    using the correct syntax.
    Search the Knowledge Base to find a solution to your problem.
    Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
    .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    Remote Address 127.0.0.1
    Referrer
    Date/Time 13-Jul-06 02:33 PM
    Stack Trace (click to expand)
    coldfusion.runtime.report.Report$ReportDataBindingException:
    Report data binding error Unknown column name : work_phone.
    at
    coldfusion.runtime.report.Report.runReport(Report.java:420)
    at
    coldfusion.filter.ComponentFilter.invoke(ComponentFilter.java:96)
    at
    coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:225)
    at
    coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)
    at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
    at
    coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)
    at
    coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8)
    at
    coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
    at
    coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
    at
    coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
    at coldfusion.xml.rpc.CFCServlet.invoke(CFCServlet.java:106)
    at coldfusion.xml.rpc.CFCServlet.doGet(CFCServlet.java:157)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at
    org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)
    at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
    at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
    at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)
    at
    jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
    at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:349)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:457)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:295)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)
    This report works in 7.01. So all query variables match with
    a variable in the SQL select statement.
    Anyone have any Ideas??
    Thanks,
    Daniel

    Thank you very much for help.
    The "Unknown column name " is a field still used in my
    report, so I can't remove it.
    After I clear the query in the report and reopen the report
    and apply the same query back to it, I get different error message:
    Element TASKNUM is undefined in QUERY.
    The error occurred in : line 1
    -1 : Unable to display error's location in a CFML template.
    I know for sure this "Element TASKNUM is undefined in QUERY."
    is defined in query. each time it complains something different. I
    get really confused.
    Thanks again.
    Yueming

  • Filesystem Restore is getting failed "NDMP server reported a general error"

    When i performing filesystem restore to different location, its getting failed with the error message "NDMP server reported a general error (name not found?)" whereas restoring
    in the same location is getting success without any error.
    Please find the attached transcript output for the failed job with debug on.
    ob>catxcr -fl0 admin/80
    2012/09/04.13:17:33 ______________________________________________________________________
    2012/09/04.13:17:33
    2012/09/04.13:17:33 Transcript for job admin/80 running on backup-server
    2012/09/04.13:17:33
    2012/09/04.13:17:33 (amh) qdv__automount_in_mh entered
    2012/09/04.13:17:33 (amh) qdv__automount_in_mh tape at 2012/09/04.13:17:33, flags 0x100
    2012/09/04.13:17:33 (amh) mount volume options list contains:
    2012/09/04.13:17:33 (amh) vtype 1 (rd), vid DC-ORCL-MF-000001, vs_create 1346566310, family (null), retain (null), size 0,
    mediainfo 2, scratch 0
    2012/09/04.13:17:34 (amh) don't preserve previous mh automount state
    2012/09/04.13:17:34 (gep) getting reservation for element 0x1 (dte)
    2012/09/04.13:17:34 (una) unload_anywhere entered
    2012/09/04.13:17:34 (fal) find_and_load entered
    2012/09/04.13:17:34 (fal) calling find_vid2 for volume DC-ORCL-MF-000001
    2012/09/04.13:17:34 (fal) find_vid2 worked - volume DC-ORCL-MF-000001 in se11 (not in drive)
    2012/09/04.13:17:34 (fal) moving volume FL-MF-000001 from se11 to dte1 (tape)
    2012/09/04.13:18:12 (fal) load of tape worked; returning to do automount
    2012/09/04.13:18:12 (fal) find_and_load exited
    2012/09/04.13:18:12 (atv) qdv__automount_this_vol entered
    2012/09/04.13:18:12 (atv) calling qdv__mount
    2012/09/04.13:18:12 (mt) qdv__read_mount_db() succeeded, found vol_oid 0
    2012/09/04.13:18:20 (mt) qdv__read_label() succeeded; read 65536 bytes
    2012/09/04.13:18:20 (mt) exp time obtained from label
    2012/09/04.13:18:20 (mt) qdb__label_event() returned vol_oid 137
    2012/09/04.13:18:20 (mt) setting vol_oid in mount_info to 137
    2012/09/04.13:18:20 (mt) updated volume close time from db
    2012/09/04.13:18:20 (atv) qdv__mount succeeded
    2012/09/04.13:18:20 (atv) automount worked
    2012/09/04.13:18:20 (atv) qdv__automount_this_vol exited
    2012/09/04.13:18:20 (gep) getting reservation for element 0x1 (dte)
    2012/09/04.13:18:20 (amh) 0 automount worked - returning
    2012/09/04.13:18:20 (amh) end of automount at 2012/09/04.13:18:20 (0x0)
    2012/09/04.13:18:20 (amh) returning from qdv__automount_in_mh
    2012/09/04.13:18:20 Info: volume in tape is usable for this operation.
    13:18:20 OBTR: obtar version 10.4.0.1.0 (Solaris) -- Fri Sep 23 23:41:16 PDT 2011
    Copyright (c) 1992, 2011, Oracle. All rights reserved.
    13:18:20 OBTR: obtar -Xjob:admin/80 -Xob:10.4 -xOz -Xbga:admin/80 -JJJJv -y /usr/tmp/[email protected] -Xrdf:admin/80 -e DC-ORCL-
    MF-000001 -F3 -f tape -Xrescookie:0xBE1A8F2 -H client01 -u
    13:18:20 RRDF: restore "/wdn/file01" as "/restore", pos 000043290003
    13:18:20 OBTR: running as root/root
    13:18:20 OBTR: record storage set to internal memory
    13:18:20 ATAL: reserved drive tape, cookie 0xBE1A8F2
    13:18:20 OBTR: obsd=1, is_job=1, is_priv=0, os=3
    13:18:20 OBTR: rights established for user admin, class admin
    13:18:20 SUUI: user info root/root, ??/??
    13:18:21 MAIN: using blocking factor 128 from media defaults/policies
    13:18:21 STTY: background terminal I/O or is a tty
    13:18:21 MAIN: interactive
    13:18:21 DOLM: nop (for tape (raw device "/dev/obt1"))
    13:18:21 DOLM: ok
    13:18:22 RLE: connecting to volume/archive database host
    13:18:22 RLE: device tape (raw device "/dev/obt1")
    13:18:22 RLE: mount_info is valid
    13:18:22 RLE: qdb__device_spec_se reports vol_oid 0, arch_oid 0
    13:18:22 A_O: using max blocking factor 128 from media defaults/policies
    13:18:22 A_O: tape device is local
    13:18:22 A_O: Devname: HP,Ultrium 4-SCSI,H61W
    13:18:22 Info version: 11
    13:18:22 WS version: 10.4
    13:18:22 Driver version: 10.4
    13:18:22 Max DMA: 2097152
    13:18:22 Blocksize in use: 65536
    13:18:22 Query frequency: 134217728
    13:18:22 Rewind on close: false
    13:18:22 Can compress: true
    13:18:22 Compression enabled: true
    13:18:22 Device supports encryption: true
    13:18:22 8200 media: false
    13:18:22 Remaining tape: 819375104
    13:18:22 A_GB: ar_block at 0x100352000, size=2097152
    13:18:22 A_GB: ar_block_enc at 0x100554000, size=2097152
    13:18:22 ADMS: reset library tape selection state
    13:18:22 ADMS: reset complete
    13:18:22 GLMT: returning "", code = 0x0
    13:18:22 VLBR: from chk_lm_tag: "", code = 0x0
    13:18:22 VLBR: tag on label just read: ""
    13:18:22 VLBR: master tag now ""
    13:18:22 RLE: noticed volume TEST-MF-000001, file 1, section 1, vltime 1346566310, vowner root, voltag
    13:18:22 RLE: qdb__noticed_se reports vol_oid 137, arch_oid 369
    (alv) backup image label is valid, file 1, section 1
    (ial) invalidate backup image label (was valid)
    13:18:22 RSMD: rewrote mount db for tape
    13:18:22 ULVI: set mh db volume id "DC-ORCL-MF-000001" (retid ""), volume oid 137, code 0
    13:18:22 ULTG: set mh db tag "" (retid "DC-ORCL-MF-000001"), volume oid 137, code 0
    13:18:22 CALE: created backup section oid list entry for oid 369
    13:18:22 PF: here's the label at the current position:
    Volume label:
    Intro time: Fri May 04 13:35:03 2012
    Volume UUID: d40ea6c6-d6c2-102f-bf51-da716418c062
    Volume ID: TEST-MF-000001
    Volume sequence: 1
    Volume set owner: root
    Volume set created: Sun Sep 02 11:56:50 2012
    Volume set closes: Sat Dec 01 11:56:50 2012 (no writes after this time)
    Volume set expires: Sat Mar 02 11:56:50 2013
    Media family: TEST-MF
    Original UUID: d40ea6c6-d6c2-102f-bf51-da716418c062
    Archive label:
    File number: 1
    File section: 1
    Owner: root
    Client host: client01
    Backup level: 0
    S/w compression: no
    Archive created: Sun Sep 02 11:56:50 2012
    Archive owner UUID: f32ac938-6410-102f-a3d5-b94c4468403b
    Owner class UUID: f32a3504-6410-102f-a3d5-b94c4468403b
    Encryption: off
    Searching tape for requested file. Please wait...
    13:18:22 PF: spacing forward 2 FMs
    13:18:24 VLBR: not at bot: 0x90000000
    13:18:24 VLBR: tag on label just read: ""
    13:18:24 VLBR: master tag now ""
    13:18:24 RLE: noticed volume TEST-MF-000001, file 3, section 1, vltime 1346566310, vowner root, voltag
    13:18:24 RLE: qdb__noticed_se reports vol_oid 137, arch_oid 380
    (alv) backup image label is not valid
    13:18:24 ULVI: set mh db volume id "TEST-MF-000001" (retid ""), volume oid 137, code 0
    13:18:24 ULTG: set mh db tag "" (retid "DC-ORCL-MF-000001"), volume oid 137, code 0
    13:18:24 CALE: created backup section oid list entry for oid 380
    13:18:24 VLBR: setting last section flag for backup section oid 369
    13:18:24 PF: here's the label at the current position:
    Volume label:
    Intro time: Fri May 04 13:35:03 2012
    Volume UUID: d40ea6c6-d6c2-102f-bf51-da716418c062
    Volume ID: TEST-MF-000001
    Volume sequence: 1
    Volume set owner: root
    Volume set created: Sun Sep 02 11:56:50 2012
    Volume set closes: Sat Dec 01 11:56:50 2012 (no writes after this time)
    Volume set expires: Sat Mar 02 11:56:50 2013
    Media family: TEST-MF
    Original UUID: d40ea6c6-d6c2-102f-bf51-da716418c062
    Archive label:
    File number: 3
    File section: 1
    Owner: root
    Client host: client01
    Backup level: 0
    S/w compression: no
    Archive created: Tue Sep 04 11:53:17 2012
    Archive owner UUID: f32ac938-6410-102f-a3d5-b94c4468403b
    Owner class UUID: f32a3504-6410-102f-a3d5-b94c4468403b
    Encryption: off
    13:18:24 PF: at desired location
    13:18:24 ACFD: positioning (SCSI LOCATE) is available for this device
    13:18:24 ADMS: reset library tape selection state
    13:18:24 ADMS: reset complete
    13:18:24 VLBR: not at bot: 0x90000000
    13:18:24 VLBR: tag on label just read: ""
    13:18:24 VLBR: master tag now ""
    13:18:24 RLE: noticed volume DC-ORCL-MF-000001, file 3, section 1, vltime 1346566310, vowner root, voltag
    13:18:24 RLE: qdb__noticed_se reports vol_oid 137, arch_oid 380
    (alv) backup image label is not valid
    13:18:25 ULVI: set mh db volume id "DC-ORCL-MF-000001" (retid ""), volume oid 137, code 0
    13:18:25 ULTG: set mh db tag "" (retid "DC-ORCL-MF-000001"), volume oid 137, code 0
    13:18:25 CALE: found existing backup section oid list entry for oid 380
    13:18:25 ADMS: reset library tape selection state
    13:18:25 ADMS: reset complete
    13:18:25 RLE: read volume DC-ORCL-MF-000001, file 3, section 1, vltime 1346566310, vowner root, voltag
    13:18:25 RLE: qdb__read_se reports vol_oid 137, arch_oid 380
    (alv) backup image label is not valid
    13:18:25 ULVI: set mh db volume id "DC-ORCL-MF-000001" (retid ""), volume oid 137, code 0
    13:18:25 ULTG: set mh db tag "" (retid "DC-ORCL-MF-000001"), volume oid 137, code 0
    13:18:25 PTNI: positioning to "/wdn/file01" at 000043290003
    13:18:27 CNPC: data host reports this butype_info:
    13:18:27 CNPC: tar (attr 0x2C78: B_DIRECT, R_DIRECT, B_INCR, R_INCR, B_FH_DIR)
    13:18:27 CNPC: DIRECT = y
    13:18:27 CNPC: HISTORY = y
    13:18:27 CNPC: LEVEL = 0
    13:18:28 SNP: connection types supported by mover -
    13:18:28 tcp
    13:18:28 SNP: connection types supported by data service -
    13:18:28 tcp
    13:18:28 SNP: selected data connection type: tcp
    13:18:28 SNP: using separate data and tape/mover connections
    13:18:28 SNP: the NDMP protocol version for tape/mover is 4, for data is 4
    13:18:28 SNP: backup-server's NDMP tape/mover service session id is 7844
    13:18:28 RONPC: begin OSB NDMP data restore
    13:18:28 RONPC: need to restore from "/wdn/file01" tree:
    13:18:28 RONPC: tape position before restore is 000043290004
    13:18:28 MGS: ms.record_size 65536, ms.record_num 0x0, ms.bytes_moved 0x0
    13:18:28 RONPC: about to start restore; here are the environment variables:
    13:18:28 RONPC: env BEGINTREE=1
    13:18:28 RONPC: env NAME=/wdn/file01
    13:18:28 RONPC: env AS=/restore
    13:18:28 RONPC: env POSLEN=6
    13:18:28 RONPC: env POS=
    13:18:28 RONPC: env BLEVEL=0
    13:18:28 RONPC: env FIRSTCH=1
    13:18:28 RONPC: env POS_HERE=1
    13:18:28 RONPC: env EX2KTYPE=
    13:18:28 RONPC: env DATA_BLOCK_SIZE=64
    13:18:28 RONPC: env SKIP_RECORDS=3
    13:18:28 RONPC: env LABEL_VERSION=0000012
    13:18:28 SMW: setting NDMP mover window to offset 0x0, length 0xFFFFFFFFFFFFFFFF
    13:18:28 MLIS: mover listen ok for tcp connection; these addresses were reported:
    13:18:28 MLIS: 0.0.0.0:58243
    13:18:28 MLIS: 192.168.3.109:58243
    13:18:28 RONPC: tape fileno/blockno before restore are 0/0
    13:18:28 APNI: a preferred network interface does not apply to this connection
    13:18:28 DPNI: load balancing is in use, skipping default PNI
    13:18:28 RONPC: directing data service to connect to mover
    13:18:01 PPVL: obtar option OB_JOB = admin/80
    13:18:01 PPVL: obtar option OB_RB = 10.4
    13:18:01 PPVL: obtar option OB_EXTR = 1
    13:18:01 PPVL: obtar option OB_EXTRACT_ONCE = 1
    13:18:01 PPVL: obtar option OB_DEBUG = 1
    13:18:01 PPVL: obtar option OB_DEBUG = 1
    13:18:01 PPVL: obtar option OB_DEBUG = 1
    13:18:01 PPVL: obtar option OB_DEBUG = 1
    13:18:01 PPVL: obtar option OB_VERBOSE = 1
    13:18:01 PPVL: obtar option OB_CLIENT = client01
    13:18:01 PPVL: obtar option OB_HONOR_IN_USE_LOCK = 1
    13:18:01 PPVL: obtar option OB_STAT = 1
    13:18:01 PPVL: obtar option OB_VOLUME_LABEL = 1
    13:18:01 PPVL: obtar option OB_SKIP_CDFS = 1
    13:18:01 PPVL: obtar option OB_DEVICE = tape
    13:18:01 PPVL: obtar option OB_BLOCKING_FACTOR = 128
    13:18:01 PPVL: obtar option OB_VERIFY_ARCHIVE = no
    13:18:01 PPVL: obtar option OB_PQT = 134217728
    13:18:01 DSIN: 2GB+ files are supported, 2GB+ directories are supported
    13:18:01 SETC: identity is already root/root
    13:18:28 qtarndmp__ssl_setup: SSL has been disabled via the security policy
    13:18:28 RONPC: issuing NDMP_DATA_START_RECOVER
    13:18:33 RONPC: started NDMP restore
    13:18:33 MNPO: received NDMP_NOTIFY_DATA_READ, offset 0x0, length 0xFFFFFFFFFFFFFFFF
    13:18:33 MNPO: sent corresponding NDMP_MOVER_READ
    13:18:33 QTOS: received osb_stats message for job admin/80, kbytes 64, nfiles 0
    13:18:33 await_ndmp_event: sending progress update
    13:18:33 SPU: sending progress update
    Error: Could not make file /restore: Is a directory
    13:19:27 MNPO: jumped over filemark fence
    13:19:27 VLBR: not at bot: 0x90000000
    13:19:27 VLBR: tag on label just read: ""
    13:19:27 QTOS: received osb_stats message for job admin/80, kbytes 3145856, nfiles 0
    13:19:27 VLBR: master tag now ""
    13:19:27 RLE: set kb remaining to 819375104
    13:19:27 RLE: qdb__set_kb_rem_se reports vol_oid 0, arch_oid 0
    13:19:27 RLE: noticed nil label
    13:19:27 RLE: qdb__noticed_se reports vol_oid 0, arch_oid 0
    13:19:27 VLBR: setting last section flag for backup section oid 380
    13:19:27 MNPO: sent successful mover close
    13:19:27 MNPO: data service halted with reason=internal error
    13:19:27 SNPD: Data Service reported bytes processed 0xC0020000
    13:19:27 SNPD: stopping NDMP data service (to transition to idle state)
    13:19:27 MNPO: mover halted with reason=connection closed
    13:19:27 MGS: ms.record_size 65536, ms.record_num 0xC002, ms.bytes_moved 0xC0020000
    Error: NDMP operation failed: unspecified error reported (see above)
    13:19:27 RONPC: finished NDMP restore with status 97
    13:19:27 RONPC: NDMP read-ahead positioned tape past filemark; backing up
    13:19:27 RONPC: We believe this because initial file # 0 isn't end file # 1
    13:19:27 RONPC: the section-relative block number at end of restore is 0x1
    13:19:27 RONPC: tape position after restore is 0001032B0080
    13:19:27 QREX: exit status upon entry is 97
    13:19:27 QREX: released reservation on tape drive tape
    13:19:27 RDB: reading volume record for oid 137
    13:19:27 RDB: reading section record for oid 369
    13:19:27 RDB: adding record for oid 369 (file 1, section 1) to section list
    13:19:27 RDB: reading section record for oid 378
    13:19:27 RDB: adding record for oid 378 (file 2, section 1) to section list
    13:19:27 RDB: reading section record for oid 380
    13:19:27 RDB: adding record for oid 380 (file 3, section 1) to section list
    13:19:27 RDB: file 1 has all 1 required sections; clearing incomplete backup flags
    13:19:27 RDB: reading section record for oid 369
    13:19:27 RDB: file 2 has all 1 required sections; clearing incomplete backup flags
    13:19:27 RDB: reading section record for oid 378
    13:19:27 RDB: file 3 has all 1 required sections; clearing incomplete backup flags
    13:19:27 RDB: reading section record for oid 380
    13:19:27 RDB: 1 volumes in volume list
    13:19:27 RDB: volume oid 137 reports first:last files of 1:3
    13:19:27 RDB: marking volume oid 137 as authoritative
    13:19:27 VMA: reading volume record for oid 137
    13:19:27 RLYX: exit status 97; checking allocs...
    13:19:27 RLYX: from mm__check_all: 1
    ob> catxcr -fl0 admin/81
    2012/09/04.13:19:29 ______________________________________________________________________
    2012/09/04.13:19:29
    2012/09/04.13:19:29 Transcript for job admin/81 running on backup-server
    2012/09/04.13:19:29
    2012/09/04.13:19:30 Info: mount data verified.
    2012/09/04.13:19:30 Info: volume in tape is usable for this operation.
    13:19:31 OBTR: obtar version 10.4.0.1.0 (Solaris) -- Fri Sep 23 23:41:16 PDT 2011
    Copyright (c) 1992, 2011, Oracle. All rights reserved.
    13:19:31 OBTR: obtar -Xjob:admin/81 -Xob:10.4 -xOz -Xbga:admin/81 -JJJJv -y /usr/tmp/[email protected] -Xrdf:admin/81 -e DC-ORCL-
    MF-000001 -F1 -f tape -Xrescookie:0xBE1A8F6 -H client01 -u
    13:19:31 RRDF: restore "/wdn/testf" as "/restore", pos 000000010003
    13:19:31 OBTR: running as root/root
    13:19:31 OBTR: record storage set to internal memory
    13:19:31 ATAL: reserved drive tape, cookie 0xBE1A8F6
    13:19:31 OBTR: obsd=1, is_job=1, is_priv=0, os=3
    13:19:31 OBTR: rights established for user admin, class admin
    13:19:31 SUUI: user info root/root, ??/??
    13:19:31 MAIN: using blocking factor 128 from media defaults/policies
    13:19:31 STTY: background terminal I/O or is a tty
    13:19:31 MAIN: interactive
    13:19:31 DOLM: nop (for tape (raw device "/dev/obt1"))
    13:19:31 DOLM: ok
    13:19:32 RLE: connecting to volume/archive database host
    13:19:32 RLE: device tape (raw device "/dev/obt1")
    13:19:32 RLE: mount_info is valid
    13:19:32 RLE: qdb__device_spec_se reports vol_oid 0, arch_oid 0
    13:19:32 A_O: using max blocking factor 128 from media defaults/policies
    13:19:32 A_O: tape device is local
    13:19:32 A_O: Devname: HP,Ultrium 4-SCSI,H61W
    13:19:32 Info version: 11
    13:19:32 WS version: 10.4
    13:19:32 Driver version: 10.4
    13:19:32 Max DMA: 2097152
    13:19:32 Blocksize in use: 65536
    13:19:32 Query frequency: 134217728
    13:19:32 Rewind on close: false
    13:19:32 Can compress: true
    13:19:32 Compression enabled: true
    13:19:32 Device supports encryption: true
    13:19:32 8200 media: false
    13:19:32 Remaining tape: 819375104
    13:19:32 A_GB: ar_block at 0x100352000, size=2097152
    13:19:32 A_GB: ar_block_enc at 0x100554000, size=2097152
    13:19:32 ADMS: reset library tape selection state
    13:19:32 ADMS: reset complete
    13:19:35 ACFD: positioning (SCSI LOCATE) is available for this device
    13:19:35 GLMT: returning "", code = 0x0
    13:19:35 VLBR: from chk_lm_tag: "", code = 0x0
    13:19:35 VLBR: tag on label just read: ""
    13:19:35 VLBR: master tag now ""
    13:19:35 RLE: noticed volume DC-ORCL-MF-000001, file 1, section 1, vltime 1346566310, vowner root, voltag
    13:19:35 RLE: qdb__noticed_se reports vol_oid 137, arch_oid 369
    (alv) backup image label is valid, file 4, section 1
    (ial) invalidate backup image label (was valid)
    13:19:35 RSMD: rewrote mount db for tape
    13:19:35 ULVI: set mh db volume id "DC-ORCL-MF-000001" (retid ""), volume oid 137, code 0
    13:19:35 ULTG: set mh db tag "" (retid "DC-ORCL-MF-000001"), volume oid 137, code 0
    13:19:35 CALE: created backup section oid list entry for oid 369
    13:19:35 PF: here's the label at the current position:
    Volume label:
    Intro time: Fri May 04 13:35:03 2012
    Volume UUID: d40ea6c6-d6c2-102f-bf51-da716418c062
    Volume ID: DC-ORCL-MF-000001
    Volume sequence: 1
    Volume set owner: root
    Volume set created: Sun Sep 02 11:56:50 2012
    Volume set closes: Sat Dec 01 11:56:50 2012 (no writes after this time)
    Volume set expires: Sat Mar 02 11:56:50 2013
    Media family: DC-ORCL-MF
    Original UUID: d40ea6c6-d6c2-102f-bf51-da716418c062
    Archive label:
    File number: 1
    File section: 1
    Owner: root
    Client host: client01
    Backup level: 0
    S/w compression: no
    Archive created: Sun Sep 02 11:56:50 2012
    Archive owner UUID: f32ac938-6410-102f-a3d5-b94c4468403b
    Owner class UUID: f32a3504-6410-102f-a3d5-b94c4468403b
    Encryption: off
    13:19:35 PF: at desired location
    13:19:35 BT: resid is 1
    13:19:35 ACFD: positioning (SCSI LOCATE) is available for this device
    13:19:35 ADMS: reset library tape selection state
    13:19:35 ADMS: reset complete
    13:19:35 GLMT: returning "", code = 0x0
    13:19:35 VLBR: from chk_lm_tag: "", code = 0x0
    13:19:35 VLBR: tag on label just read: ""
    13:19:35 VLBR: master tag now ""
    13:19:35 RLE: noticed volume DC-ORCL-MF-000001, file 1, section 1, vltime 1346566310, vowner root, voltag
    13:19:35 RLE: qdb__noticed_se reports vol_oid 137, arch_oid 369
    (alv) backup image label is not valid
    13:19:35 ULVI: set mh db volume id "DC-ORCL-MF-000001" (retid ""), volume oid 137, code 0
    13:19:35 ULTG: set mh db tag "" (retid "DC-ORCL-MF-000001"), volume oid 137, code 0
    13:19:35 CALE: found existing backup section oid list entry for oid 369
    13:19:35 ADMS: reset library tape selection state
    13:19:35 ADMS: reset complete
    13:19:35 RLE: read volume DC-ORCL-MF-000001, file 1, section 1, vltime 1346566310, vowner root, voltag
    13:19:35 RLE: qdb__read_se reports vol_oid 137, arch_oid 369
    (alv) backup image label is not valid
    13:19:35 ULVI: set mh db volume id "DC-ORCL-MF-000001" (retid ""), volume oid 137, code 0
    13:19:36 ULTG: set mh db tag "" (retid "DC-ORCL-MF-000001"), volume oid 137, code 0
    13:19:36 PTNI: positioning to "/wdn/testf" at 000000010003
    13:19:37 CNPC: data host reports this butype_info:
    13:19:37 CNPC: tar (attr 0x2C78: B_DIRECT, R_DIRECT, B_INCR, R_INCR, B_FH_DIR)
    13:19:37 CNPC: DIRECT = y
    13:19:37 CNPC: HISTORY = y
    13:19:37 CNPC: LEVEL = 0
    13:19:38 SNP: connection types supported by mover -
    13:19:38 tcp
    13:19:38 SNP: connection types supported by data service -
    13:19:38 tcp
    13:19:38 SNP: selected data connection type: tcp
    13:19:38 SNP: using separate data and tape/mover connections
    13:19:38 SNP: the NDMP protocol version for tape/mover is 4, for data is 4
    13:19:38 SNP: backup-server's NDMP tape/mover service session id is 7935
    13:19:38 RONPC: begin OSB NDMP data restore
    13:19:38 RONPC: need to restore from "/wdn/testf" tree:
    13:19:38 RONPC: tape position before restore is 000000010004
    13:19:38 MGS: ms.record_size 65536, ms.record_num 0x0, ms.bytes_moved 0x0
    13:19:38 RONPC: about to start restore; here are the environment variables:
    13:19:38 RONPC: env BEGINTREE=1
    13:19:38 RONPC: env NAME=/wdn/testf
    13:19:38 RONPC: env AS=/restore
    13:19:38 RONPC: env POSLEN=6
    13:19:38 RONPC: env POS=
    13:19:38 RONPC: env BLEVEL=0
    13:19:38 RONPC: env FIRSTCH=1
    13:19:38 RONPC: env POS_HERE=1
    13:19:38 RONPC: env EX2KTYPE=
    13:19:38 RONPC: env DATA_BLOCK_SIZE=64
    13:19:38 RONPC: env SKIP_RECORDS=3
    13:19:38 RONPC: env LABEL_VERSION=0000012
    13:19:38 SMW: setting NDMP mover window to offset 0x0, length 0xFFFFFFFFFFFFFFFF
    13:19:38 MLIS: mover listen ok for tcp connection; these addresses were reported:
    13:19:38 MLIS: 192.168.3.109:58303
    13:19:38 MLIS: 0.0.0.0:58303
    13:19:38 RONPC: tape fileno/blockno before restore are 0/0
    13:19:38 APNI: a preferred network interface does not apply to this connection
    13:19:38 DPNI: load balancing is in use, skipping default PNI
    13:19:38 RONPC: directing data service to connect to mover
    13:19:11 PPVL: obtar option OB_JOB = admin/81
    13:19:11 PPVL: obtar option OB_RB = 10.4
    13:19:11 PPVL: obtar option OB_EXTR = 1
    13:19:11 PPVL: obtar option OB_EXTRACT_ONCE = 1
    13:19:11 PPVL: obtar option OB_DEBUG = 1
    13:19:11 PPVL: obtar option OB_DEBUG = 1
    13:19:11 PPVL: obtar option OB_DEBUG = 1
    13:19:11 PPVL: obtar option OB_DEBUG = 1
    13:19:11 PPVL: obtar option OB_VERBOSE = 1
    13:19:11 PPVL: obtar option OB_CLIENT = client01
    13:19:11 PPVL: obtar option OB_HONOR_IN_USE_LOCK = 1
    13:19:11 PPVL: obtar option OB_STAT = 1
    13:19:11 PPVL: obtar option OB_VOLUME_LABEL = 1
    13:19:11 PPVL: obtar option OB_SKIP_CDFS = 1
    13:19:11 PPVL: obtar option OB_DEVICE = tape
    13:19:11 PPVL: obtar option OB_BLOCKING_FACTOR = 128
    13:19:11 PPVL: obtar option OB_VERIFY_ARCHIVE = no
    13:19:11 PPVL: obtar option OB_PQT = 134217728
    13:19:11 DSIN: 2GB+ files are supported, 2GB+ directories are supported
    13:19:11 SETC: identity is already root/root
    13:19:38 qtarndmp__ssl_setup: SSL has been disabled via the security policy
    13:19:38 RONPC: issuing NDMP_DATA_START_RECOVER
    13:19:43 RONPC: started NDMP restore
    13:19:43 MNPO: received NDMP_NOTIFY_DATA_READ, offset 0x0, length 0xFFFFFFFFFFFFFFFF
    13:19:43 MNPO: sent corresponding NDMP_MOVER_READ
    13:19:43 QTOS: received osb_stats message for job admin/81, kbytes 64, nfiles 0
    13:19:43 await_ndmp_event: sending progress update
    13:19:43 SPU: sending progress update
    /restore
    Error: Could not make file /restore: Is a directory
    13:19:44 MNPO: jumped over filemark fence
    13:19:44 VLBR: not at bot: 0x90000000
    13:19:44 VLBR: tag on label just read: ""
    13:19:44 QTOS: received osb_stats message for job admin/81, kbytes 51328, nfiles 0
    13:19:44 VLBR: master tag now ""
    13:19:44 RLE: noticed volume DC-ORCL-MF-000001, file 2, section 1, vltime 1346566310, vowner root, voltag
    13:19:44 RLE: qdb__noticed_se reports vol_oid 137, arch_oid 378
    (alv) backup image label is not valid
    13:19:45 ULVI: set mh db volume id "DC-ORCL-MF-000001" (retid ""), volume oid 137, code 0
    13:19:45 ULTG: set mh db tag "" (retid "DC-ORCL-MF-000001"), volume oid 137, code 0
    13:19:45 CALE: created backup section oid list entry for oid 378
    13:19:45 VLBR: setting last section flag for backup section oid 369
    13:19:45 MNPO: sent successful mover close
    13:19:45 MNPO: data service halted with reason=internal error
    13:19:45 SNPD: Data Service reported bytes processed 0x3220000
    13:19:45 SNPD: stopping NDMP data service (to transition to idle state)
    13:19:45 MNPO: mover halted with reason=connection closed
    13:19:45 MGS: ms.record_size 65536, ms.record_num 0x322, ms.bytes_moved 0x3220000
    Error: NDMP operation failed: unspecified error reported (see above)
    13:19:45 RONPC: finished NDMP restore with status 97
    13:19:45 RONPC: NDMP read-ahead positioned tape past filemark; backing up
    13:19:45 RONPC: We believe this because initial file # 0 isn't end file # 1
    13:19:45 RONPC: the section-relative block number at end of restore is 0x1
    13:19:45 RONPC: tape position after restore is 000003230080
    13:19:45 QREX: exit status upon entry is 97
    13:19:45 QREX: released reservation on tape drive tape
    13:19:45 RDB: reading volume record for oid 137
    13:19:45 RDB: reading section record for oid 369
    13:19:45 RDB: adding record for oid 369 (file 1, section 1) to section list
    13:19:45 RDB: reading section record for oid 378
    13:19:45 RDB: adding record for oid 378 (file 2, section 1) to section list
    13:19:45 RDB: reading section record for oid 380
    13:19:45 RDB: adding record for oid 380 (file 3, section 1) to section list
    13:19:45 RDB: file 1 has all 1 required sections; clearing incomplete backup flags
    13:19:45 RDB: reading section record for oid 369
    13:19:45 RDB: file 2 has all 1 required sections; clearing incomplete backup flags
    13:19:45 RDB: reading section record for oid 378
    13:19:45 RDB: file 3 has all 1 required sections; clearing incomplete backup flags
    13:19:45 RDB: reading section record for oid 380
    13:19:45 RDB: 1 volumes in volume list
    13:19:45 RDB: volume oid 137 reports first:last files of 1:3
    13:19:45 RDB: marking volume oid 137 as authoritative
    13:19:45 VMA: reading volume record for oid 137
    13:19:45 RLYX: exit status 97; checking allocs...
    13:19:45 RLYX: from mm__check_all: 1
    ob>
    Please help me to resolve the issue...
    Thanks,
    Sam

    If you're restoring a file you have to list it, so if you are restoring /wdn/file01 then you specify the alternate path as /restore/file01
    Thanks
    Rich

  • AJAX & On Demand Process Error

    Hi All,
    I have a SQL report that display a group of employees with a check box column,when a button pressed i need to
    copy a value of an item to the text box corresponding to the selected employees without refreshing the page.to do this, i used AJAX and On Demand Process and it was the firist time to deal with on demand processes. . But when I clicked the button nothing happened and no java script error is raised.
    the report SQL query:
    select apex_item.checkbox(2,ID,'UNCHECKED') " ",ID, NAME, APEX_ITEM.TEXT(3,ID) "Value"
    from Emp
    where FK_USER_ID=(SELECT "FK_Emp_ID"
    FROM "Users"
    where "User_Name"=V('APP_user'))
    order by 1
    the java script function invoked by the button:
    var arr=new Array();
    var ajaxRequest=new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=copy_process',0);
    arr=document.getElementsByName('f02');
    *for(i=0;i<arr.length;i++){*
    *ajaxRequest.addParam('f12',arr.value);*
    var ajaxResult=ajaxRequest.get();
    ajaxRequest=null;
    and the Process:
    FOR i in 1..APEX_APPLICATION.G_F12.COUNT LOOP
    FOR j in 1..APEX_APPLICATION.G_F03.COUNT LOOP
    if(APEX_APPLICATION.G_F03(j)=APEX_APPLICATION.G_F12(i)) then
    APEX_APPLICATION.G_F03(i):=:VALUE;
    end if;
    end loop;
    end Loop;
    Can any one help me??

    Hi,
    When you post code wrap it to {noformat}
    {noformat} tags so it is easier to read.
    I'm 100% sure you get some JavaScript error. How you have check that there was no errors ?
    Take Firefox and Firebug extension. Run page and check Firebug console.
    Also you do not pass f03 to On Demand process so below part of process do not never loop
    FOR j in 1..APEX_APPLICATION.G_F03.COUNT LOOP
    if(APEX_APPLICATION.G_F03(j)=APEX_APPLICATION.G_F12(i)) then
    APEX_APPLICATION.G_F03(i):=:VALUE;
    end if;
    end loop;Also your report select look strange. Is your table and column names really case sensitive ?
    And do not use v function in report query. Use bind variables like :APP_USERRegards,
    Jari

  • OLE or COM Processing error : Too many fields defined

    i have created a excel workbook  format in data integrator and defined the fields in it, when i tried to run a simple job extracting data from spreadsheet ,  i am getting following error OLE or COM Processing error : <Too many fields defined>.
    all i have in the spreadsheet is 18 rows and 35 columns of data, can any help how to solve this problem. i have used query transform for extracting and loading the data in to a table
    Edited by: Rakesh Chittineni on Apr 1, 2010 3:45 AM

    I have Solved the problem my friend suggestion.
    The excel file i was trying to access is from WEBI report which was saved as .xls format and then then made some modifications to the spreadsheet.
    What i did was i deleted the unused columns, i.e my spread sheet has data upto AQ column so i deleted remaining cells.
    and while  defining the  excel file format i selected the option workbook and selected the proper sheet and in the other options i have chosen column range and also check the box ( extended range) now i could over come the error OLE or COM processing error
    Edited by: Rakesh Chittineni on Apr 1, 2010 9:44 PM

  • How to develp a subreport in the same page of the main report and processed when is called

    SSRS 2012
    Hi guys,
    I am developing a report that includes a subreport.
    therefore The report is made up by 2 sections:
    1) Show a grid (several rows - may be 100 or more - and some columns). It represent high level info  (Each row represent a specific item)
    2) The user click on a Row/column (eg: Item1, to see details that must be shown as graph.
    Here the problem: Searching info about SSRS reporting for subreports, drilldown, nested report and so on, no ones accomplish the requirements for the following reasons:
    1) Subreports: NOT open in the same page. The user must <go back> to see detail for other items, such as Item 2....
    2) Nested and DrillDown: Process data as the Main report (they are hidden and displayed after user action). In my case this leads to performance problem, because: if the main report has 200 objects (it means 200 graphs processed and hidden at the same time
    for the main reports).
    3) DrillThrough and Subreport: The detail data are processed only when the user select the interested item in the main report. Here the problem: the report is shown externally.
    Please, it there any possibility to have a subreport (or anything else) to be executed in the same report as the main report and processed only when the user make action?
    Thanks for your help.

    Hi Fasttrack2,
    According to your description, there is a main report with more than 100 rows of summary information, when users click the item of the row, the report need to jump to detail information shows as graph. The problem you are facing is that you are not sure
    subreport, drilldown or drillthrough report should be used? You hope to set display detail information in the main report and keep high performance of report.
    In Reporting Services, each subreport instance is a separate query execution and a separate report processing task. Subreports are recommended when there are just a few subreport instances. We should not use subreports inside a group when there are many
    group instances, instead, consider using drillthrough reports. Drilldown reports process all data even when the data is first hidden. In order to improve the performance of the report, we can split drilldown reports into parameterized drillthrough reports,
    because Drillthrough reports do not run until a user clicks the drillthrough link in the main report.
    In this case, we can consider using drilldown or drillthrough report. In drilldown report, when we click a plus or minus button to expand or collapse a section of a report, the detail data will be displayed in place. By using drillthrough report, when we
    click the link in the main report, the detail data will be displayed, we can come back to the main report by click return button in the drillthrough report.
    Reference:
    Troubleshooting Reports: Report Performance
    Drillthrough, Drilldown, Subreports, and Nested Data Regions
    If you have any more questions, please feel free to ask.
    Best Regards,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • Report failing with error

    Hi All,
    Application R12.1.3 with Shared Application Tier 2 nodes
    Database : 11g R 11.2.0.2 with RAC 2 nodes with ASM
    We have a concurrent program which gets fired when submitted thru API . For each order program is run once . If there are more orders it will run n number of times . At this time one request is failing with error
    REP-0004:
    REP-0069:
    REP-57054:
    But for the same failed request when we run separately(with same parameters) it is completing Normal . There is no other error in Manager Logs.
    please help what can be the issue.
    thanks
    Mapps

    Please see the following docs/links.
    Concurrent Processing - Concurrent Reports Failing With Errors REP-0004,REP-0082 and REP-0104 [ID 844976.1]
    https://forums.oracle.com/forums/search.jspa?threadID=&q=REP-0004+AND+REP-0069+AND+REP-57054&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    If the links did not help, please enable trace/debug and see if you get more details about the error and post the contents of the log file then -- How Can Trace and Debug Be Turned On For A Concurrent Request? [ID 759389.1]
    Thanks,
    Hussein

  • The report terminated with error:  REP-110: File test2. cannot be opened. REP-1070: An error occurred while opening or saving a document.

    Hi,
    I'm getting the below error for reports.
    The report terminated with error:
    REP-110: File test2. cannot be opened. REP-1070: An error occurred while opening or saving a document. REP-0110: File test2. cannot be opened. .
    When checked Environment using url 'http://host:port/reports/rwservlet/showenv?server=your_repserver_name"
    found below
    ==================================================
    Reports Servlet Environment Variables 11.1.1.4.0
    Security Mode Non-secure
    HTTP Environment Variables 11.1.1.4.0
    SERVER_NAME   09.14.4.41
    SERVER_PORT   8888
    SCRIPT_NAME   /rwservlet
    SERVER_PROTOCOL   HTTP/1.1
    SERVER_SOFTWARE   undefined
    GATEWAY_INTERFACE   undefined
    SERVER_PORT_SECURE   undefined
    ACCEPT   image/jpeg, application/x-ms-application, image/gif, application/xaml+xml, image/pjpeg, application/x-ms-xbap, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
    REQUEST_METHOD   GET
    REMOTE_HOST   test-wam-app
    REMOTE_ADDR   09.14.4.41
    REMOTE_USER   undefined
    AUTH_TYPE   undefined
    PATH_INFO   showenv
    QUERY_STRING   server=RptSvr_test-wam-app_wamtest
    PATH_TRANSLATED   undefined
    CONTENT_LENGTH   undefined
    CONTENT_TYPE   undefined
    AUTHORIZATION   undefined
    USER-AGENT   Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.2; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; InfoPath.3; MS-RTC LM 8)
    REMOTE_IDENT   undefined
    REFERER   undefined
    Oracle Reports Services - Servlet Environment Variables  Select to jump to the top of the page  Return to Top
    KeyMapFile   /u03/apptest/FMW_11.1.1/user_projects/domains/WamTest/config/fmwconfig/servers/WLS_REPORTS/applications/reports_11.1.1.2.0/configuration/cgicmd.dat
    DBAUTH   /u03/apptest/FMW_11.1.1/apphome/reports/templates/rwdbauth.htm
    SYSAUTH   /u03/apptest/FMW_11.1.1/apphome/reports/templates/rwsysauth.htm
    server   rep_wls_reports_test-wam-app_wamtest1
    DIAGNOSTIC   yes
    ERRORTEMPLATE   /u03/apptest/FMW_11.1.1/apphome/reports/templates/rwerror.htm
    SERVER_IN_PROCESS   yes
    COOKIEEXPIRE   30
    ENCRYPTIONKEY   reports9i
    DIAGHEADTAGS   undefined
    DIAGBODYTAGS   undefined
    HELPURL   undefined
    RELOAD_KEYMAP   undefined
    IMAGEURL   http://09.14.4.41:8888/reports/rwservlet 
    SINGLESIGNON   no
    Oracle Reports Services - Server and Engine Environment Variables  Select to jump to the top of the page  Return to Top
    PATH   /u01/wamtest/FMW_11.1.1/apphome/jdk/bin:/u01/wamtest/FMW_11.1.1/apphome/bin:/u01/wamtest/FMW_11.1.1/apphome/jdk/bin:/u01/wamtest/FMW_11.1.1/apphome/bin:/u01/wamtest/FMW_11.1.1/apphome/bin:/u01/wamtest/FMW_11.1.1/apphome/bin:/u01/java/jdk1.6.0_23/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin
    DISPLAY  
    LD_LIBRARY_PATH   /u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/server:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/../lib/amd64:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/native_threads:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64:/u01/wamtest/FMW_11.1.1/apphome/lib:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/server:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/native_threads:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64:/u01/wamtest/FMW_11.1.1/apphome/lib:/u01/wamtest/FMW_11.1.1/apphome/jdk/jre/lib/amd64/server:/u01/wamtest/FMW_11.1.1/apphome/opmn/lib:/u01/wamtest/FMW_11.1.1/apphome/lib
    ORACLE_HOME   /u01/wamtest/FMW_11.1.1/apphome
    TNS_ADMIN   /u01/wamtest/FMW_11.1.1/instance1/config
    NLS_LANG   AMERICAN_AMERICA.WE8ISO8859P1
    USER_NLS_LANG  
    RW   /u01/wamtest/FMW_11.1.1/apphome/reports
    REPORTS_PATH   /u01/wamtest/FMW_11.1.1/apphome/reports/templates:/u01/wamtest/FMW_11.1.1/apphome/reports/samples/demo:/u01/wamtest/FMW_11.1.1/apphome/reports/integ:/u01/wamtest/FMW_11.1.1/apphome/reports/printers:/u01/wamtest/FMW_11.1.1/instance1/reports/fonts:/u01/wamtest/FMW_11.1.1/apphome/reports/templates:/u01/wamtest/FMW_11.1.1/apphome/reports/samples/demo:/u01/wamtest/FMW_11.1.1/apphome/reports/integ:/u01/wamtest/FMW_11.1.1/apphome/reports/printers:/u01/wamtest/FMW_11.1.1/instance1/reports/fonts:
    REPORTS_TMP   /tmp
    REPORTS_TAGLIB_URI   /WEB-INF/lib/reports_tld.jar
    java.class.path   /u01/wamtest/FMW_11.1.1/apphome/reports/jlib/rwrun.jar
    sourceDir  
    tempDir  
    useDataCache  
    ignoreDataParameter
    =========================================================================
    ORACLE_HOME is on mount point u03, checked config.properties but no mention of mount point /u01.
    Dont know from where /u01 came. Could you please help me re configuring the env pointing to /u03.
    Reports server is up though without any issues.
    Regards,
    Djay

    Ensure that the report name is correct. Also ensure that the report exist in REPORTS_PATH environment variable. Otherwise run the report including the reports path.
    E.g.
    report=<reports directory>/test2.rdf

  • Calling report from FORM - error Invalid value of paramente 'P_YEAR'

    Hi guys,
    Could you please help me to figure out what is going wrong
    with my form which run a report?
    I am using Developer suite 10g.
    when i run report from report application it run fine,
    but when i call that report from a form it gives me error.
    I have checked the datatype, checked the parameter value
    that I assign from form is available in the report parameter value.
    What else do i have to check in order to run this report
    from the form.
    Error Message from Report Queue Manager:
    Invalid value for parameter 'P_YEAR'.
    Your insight will be appreciated.

    Thank you for reply Denis,
    Here is the code which run_report from form.
    DECLARE
    -- variables for running individual reports
    report_filename               VARCHAR2(40);
    var_reportpath               VARCHAR2(100);
    report_otherparms      VARCHAR2(200);
    -- variables to keep track of successful reports in silent mode
    rep_status                         VARCHAR2(40);
    rep_req                                   NUMBER := 0;
    rep_count                              NUMBER := 0;
    dummy                                        NUMBER;
    -- variables to load the report names and checkboxes into the parameter list
    pl_id                                        PARAMLIST;
    plname                                   VARCHAR2(20) := 'rpt_list';
    -- variables to loop through the parameter list and run the reports
    i                                                  NUMBER;
    split_loc                              NUMBER;
         param_value                         VARCHAR2(40);
         checkbox_name                    VARCHAR2(40);
         report_basename               VARCHAR2(40);
         svc_name                              VARCHAR2(4);
         run_report                         BOOLEAN;
         disp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'DISP',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    hosp_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'HOSPICE',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    orth_exist BOOLEAN := get_current_service_count( :global.filename_prefix, 'O/P',
                        :reports_control.year_list, :reports_control.quarter_list,
                        :reports_control.group_list );
    BEGIN
    -- Are any reports selected?
    IF BOXES_ARE_CHECKED(:System.Cursor_Block,'PRINT_NULL_REPORT') THEN
    if not CHECKBOX_CHECKED('print_null_report') then
    disp_exist := TRUE;
    orth_exist := TRUE;
    hosp_exist := TRUE;
    end if;
    -- Create Report Parameter Listing
    pl_id := GET_PARAMETER_LIST(plname);
    if NOT ID_NULL(pl_id) then
         DESTROY_PARAMETER_LIST(pl_id);
    end if;
    pl_id := CREATE_PARAMETER_LIST(plname);
    if ID_NULL(pl_id) then
         GENERIC_ALERT('Error creating report listing');
         RAISE Form_Trigger_Failure;
    end if;
    ADD_PARAMETER(pl_id,'id1', TEXT_PARAMETER,'cover_page_intro!INTRO');
    ADD_PARAMETER(pl_id,'id2', TEXT_PARAMETER,'utilization_profile!ALLUTIL');
    ADD_PARAMETER(pl_id,'id3', TEXT_PARAMETER,'utilization_summary!ALL_SUMMARY');
    ADD_PARAMETER(pl_id,'id4', TEXT_PARAMETER,'hiv_profile!HIV_PROFILE');
    ADD_PARAMETER(pl_id,'id5', TEXT_PARAMETER,'wound_care_profile!WOUND_CARE_PROF');
    ADD_PARAMETER(pl_id,'id6', TEXT_PARAMETER,'top_10_diagnosis!TOP10DIAG');
    ADD_PARAMETER(pl_id,'id7', TEXT_PARAMETER,'diagnosis_profile!DIAG_PROFILE');
    ADD_PARAMETER(pl_id,'id8', TEXT_PARAMETER,'physician_profile!PHYS_PROFILE');
    ADD_PARAMETER(pl_id,'id9', TEXT_PARAMETER,'physician_specialty!PHYS_SPECIALTY');
    ADD_PARAMETER(pl_id,'id10',TEXT_PARAMETER,'discharge_profile!DISCHARGE_PROFILE');
    ADD_PARAMETER(pl_id,'id11',TEXT_PARAMETER,'acute_care_discharge!ACUTE_DSCHRG');
    ADD_PARAMETER(pl_id,'id12',TEXT_PARAMETER,'excessive_cost_patients!EXCESSIVE_COST');
    ADD_PARAMETER(pl_id,'id13',TEXT_PARAMETER,'provider_profile!PROV_PROFILE');
    ADD_PARAMETER(pl_id,'id14',TEXT_PARAMETER,'service_profile!SERVICE_PROFILE');
    ADD_PARAMETER(pl_id,'id15',TEXT_PARAMETER,'age_gender_profile!AGE_GENDER_PROF');
    ADD_PARAMETER(pl_id,'id16',TEXT_PARAMETER,'network_services!NETWORK_SERVICES');
    ADD_PARAMETER(pl_id,'id17',TEXT_PARAMETER,'thh_section_header!THH_COVER');
    ADD_PARAMETER(pl_id,'id18',TEXT_PARAMETER,'thh_utilization!THH_UTILIZATION');
    ADD_PARAMETER(pl_id,'id19',TEXT_PARAMETER,'thh_service_profile!THH_SVC_PROF');
    ADD_PARAMETER(pl_id,'id20',TEXT_PARAMETER,'hit_section_header!HIT_COVER');
    ADD_PARAMETER(pl_id,'id21',TEXT_PARAMETER,'hit_utilization!HIT_UTILIZATION');
    ADD_PARAMETER(pl_id,'id22',TEXT_PARAMETER,'hit_service_profile!HIT_SVC_PROF');
    ADD_PARAMETER(pl_id,'id23',TEXT_PARAMETER,'hme_section_header!HME_COVER');
    ADD_PARAMETER(pl_id,'id24',TEXT_PARAMETER,'hme_utilization!HME_UTILIZATION');
    ADD_PARAMETER(pl_id,'id25',TEXT_PARAMETER,'hme_service_profile!HME_SVC_PROF');
    ADD_PARAMETER(pl_id,'id26',TEXT_PARAMETER,'disp_section_header!DISP_COVER');
    ADD_PARAMETER(pl_id,'id27',TEXT_PARAMETER,'disp_utilization!DISP_UTILIZATION');
    ADD_PARAMETER(pl_id,'id28',TEXT_PARAMETER,'disp_service_profile!DISP_SVC_PROF');
    ADD_PARAMETER(pl_id,'id29',TEXT_PARAMETER,'hosp_section_header!HOSP_COVER');
    ADD_PARAMETER(pl_id,'id30',TEXT_PARAMETER,'hosp_utilization!HOSP_UTILIZATION');
    ADD_PARAMETER(pl_id,'id31',TEXT_PARAMETER,'hosp_service_profile!HOSP_SVC_PROF');
    ADD_PARAMETER(pl_id,'id32',TEXT_PARAMETER,'orth_section_header!ORTH_COVER');
    ADD_PARAMETER(pl_id,'id33',TEXT_PARAMETER,'orth_utilization!ORTH_UTILIZATION');
    ADD_PARAMETER(pl_id,'id34',TEXT_PARAMETER,'orth_service_profile!ORTH_SVC_PROF');
    ADD_PARAMETER(pl_id,'id35',TEXT_PARAMETER,'encounter_detail!ENCOUNTER_DETAIL');
    --- set up other parameters to send to generate_report
    if :reports_control.output_choices = 'FILE' then
    var_reportpath := :global.report_directory || :reports_control.year_list;
    if :global.filename_suffix <> '_A10G' then
         var_reportpath := var_reportpath || 'q' || :reports_control.quarter_list;
    end if;
    var_reportpath := var_reportpath || '_G' || :reports_control.group_list || '_';
    else
         var_reportpath := '';
    end if;
    report_otherparms := 'p_year='||:reports_control.year_list;
    if :global.filename_suffix <> '_A10G' then
         report_otherparms := report_otherparms || '     p_quarter='||:reports_control.quarter_list;
    end if;
    report_otherparms := report_otherparms || ' P_REPORTGROUPID='||:reports_control.group_list;
    --- Check if reports are checked and submit to Reports Server
         for i in 1..35 loop
              GET_PARAMETER_ATTR(pl_id,'id'||i,dummy,param_value);
              split_loc := instr(param_value,'!');
              checkbox_name := substr(param_value,1,split_loc-1);
              report_basename := substr(param_value,split_loc+1,length(param_value));
    if CHECKBOX_CHECKED(checkbox_name) then
         run_report := TRUE;
         svc_name := substr(report_basename,1,4);
         if svc_name = 'DISP' then
              if not disp_exist then
                   run_report := FALSE;
              end if;
         elsif svc_name = 'ORTH' then
              if not orth_exist then
                   run_report := FALSE;
              end if;
         elsif svc_name = 'HOSP' then
              if not hosp_exist then
                   run_report := FALSE;
              end if;
         end if;
         if run_report then
              report_filename := :global.filename_prefix || report_basename || '_10G';---- :global.filename_prefix || report_basename || :global.filename_suffix;
         GENERIC_ALERT(report_filename || ' ' || report_otherparms);
              rep_status := GENERATE_REPORT(report_filename,:reports_control.output_choices,var_reportpath,report_otherparms);
              rep_req := rep_req + 1;
              if rep_status = 'FINISHED' then
                   rep_count := rep_count + 1;
              end if;
         end if;
         end if;
         end loop;
    -- if we're in silent mode, display a completion message
         if :reports_control.output_choices = 'FILE' and CHECKBOX_CHECKED('chk_silent') then
              SET_ALERT_PROPERTY('REPORT_CREATED',alert_message_text,
         '' || rep_count || ' of ' || rep_req || ' reports created successfully');     
              dummy := SHOW_ALERT('REPORT_CREATED');
    end if;
    ELSE
    dummy := SHOW_ALERT('select_report');
    END IF;
    END;

Maybe you are looking for

  • Upgrading RAM and SSD on MacBook Pro 15" mid 2009

    Hey, I want to upgrade RAM and SSD on my macbook pro, identifier 5,3, and I want to make sure the parts I picked will be compatible with my Macbook. I'm specifically not sure about its support of 512GB. I thought about RAM: http://www.amazon.com/Cruc

  • Excise Sales Gate Pass with Purchase Invoice details.

    Hi All,                While making a Excise Sales Invoice,we need to link it with the corresponding items Purchase Invoice details for Generate Excise Sales Gate Pass. How can it be done in SAP B1. Please guide me. Thanks in advance Rajesh

  • How to save the retrieved data in a subscreen...

    Hi, I understand that the subscreen has to be created in transaction se51. However, i dont have any idea how to use it and incorporate it in my main program. Im trying to figure out how to place all the data retrieved in a subscreen where the user ha

  • Oracle DB Configuration Assistant hangs (9i install on Solaris 8)

    Attempting to install 9i database (9.0.1) on Solaris 8 on Sparcstation 20. Goes OK until it gets to the Oracle Configuration Assistant. During the "Creating and Starting Oracle instance" phase, it gets to 50% and just stays there. I left it over the

  • Textures in CS5 Extended

    I am pretty  new to photoshop Cs5 and i am not really familiar with where files are inside of the actual program.  I was trying to follow along with a you tube tutorial and it told you to open your "textures" folder and select the "puzzel" texture an