Converted Oracle 6i Report

Hi All,
I used BI Publisher conversion utility to convert oracle report 6i to BI Publisher. In the following XML template file i got few quries. I need a hint how can i migrate this report to APEX.
Thanks.
Ribhi
<?xml version="1.0" encoding="UTF-8" ?>
- <dataTemplate name="DbitList" defaultPackage="DbitList" version="1.0">
- <properties>
<property name="xml_tag_case" value="upper" />
</properties>
- <parameters>
<parameter name="USER_LOAN" dataType="character" />
<parameter name="FROM_DATE" dataType="date" defaultValue="20/11/2002" />
<parameter name="TO_DATE" dataType="date" defaultValue="20/11/2002" />
</parameters>
<lexicals />
- <dataQuery>
- <sqlStatement name="Q_1">
- <![CDATA[ SELECT
a.REFERENCE_NUMBER a_refNo,
a.REFERANCE_DATE   a_refDate,
rtrim(p.name) p_name,
a.DATE0 a_date,
a.FK_AGREEMENTNUMBER  a_loan,
a.FK_AGREEMENTsub_nu  a_sub,
     DbitList.cf_2formula(:CS_wi_curr, :CS_curr_name, :CS_general) CF_2,
     DbitList.cf_rep_descformula(:CS_desc, :CS_desc_wr) CF_rep_desc
FROM
ADVICE_NOTE a,
project  p, agreement agr,  agreement_transact t
where
agr.number0 = :user_loan    and
agr.sub_number <> 'P'
and agr.number0 = t.FK_AGREEMENTNUMBER  
and  agr.sub_number = t.FK_AGREEMENTsub_nu
and  agr.number0 = a.FK_AGREEMENTnumber
and  agr.sub_number  =   a.FK_AGREEMENTsub_nu
and t.FK_ADVICE_NOTEREF0    = a.REFERANCE_DATE
and t.FK_ADVICE_NOTEREFE  = a.REFERENCE_number
   and t.type = 2   
and
agr.fk_projectnumber0 = p.number0  
and a.REFERANCE_DATE >= :From_date    and
a.REFERANCE_DATE  <= :To_date
group by 
a.REFERENCE_NUMBER  ,
a.REFERANCE_DATE , 
rtrim(p.name) ,
a.DATE0  ,
a.FK_AGREEMENTNUMBER  ,
a.FK_AGREEMENTsub_nu  
order by 
a.REFERENCE_NUMBER ,
a.REFERANCE_DATE   ,
rtrim(p.name),
a.DATE0 ,
a.FK_AGREEMENTNUMBER ,
a.FK_AGREEMENTsub_nu
  ]]>
</sqlStatement>
- <sqlStatement name="Q_2">
- <![CDATA[ SELECT 
  T.VALUE_DATE  t_value_date ,
t.amount   t_amount,
wr.serial_number   wr_ser_no,
wr.transfer_rate  wr_transfer_rate,
  rtrim(wr.application_number)    wr_app_no,
nvl(rtrim(wr.application_sub_nu), ' ')    wr_app_sub,
rtrim(wr.application_type)    wr_type,
wr.fk_bank_instrucser  WR_BI,
nvl(rtrim(wr.description) ,' ')   wr_desc,
t.FK_AGREEMENTNUMBER,
T.FK_AGREEMENTSUB_NU,
t.FK_ADVICE_NOTEREF0  t_ref_date,
t.FK_ADVICE_NOTEREFE  t_ref_no,
     DbitList.cf_composed_noformula(rtrim ( wr.application_type ), rtrim ( wr.application_number ), nvl ( rtrim ( wr.application_sub_nu ) , ' ' )) CF_composed_no
FROM AGREEMENT_TRANSACT t,  withdrawal_request wr
where
t.type = 2  and
t.status = 1
  and t.fk_withdrawal_rser     = wr.serial_number and t.FK_AGREEMENTNUMBER=:a_loan and T.FK_AGREEMENTSUB_NU=:a_sub and t.FK_ADVICE_NOTEREFE=:a_refNo and t.FK_ADVICE_NOTEREF0=:a_refDate
  ]]>
</sqlStatement>
- <sqlStatement name="Q_4">
- <![CDATA[ SELECT
wi.FK_WITHDRAWAL_RSER  wi_wr_ser,
wi.KD_AMOUNT  wi_kd_amt,
wi.amount  general_format,
  wi.fk_contract_lisfk   wi_contract  ,
  wi.fk_contract_lisser   wi_contract_item ,
to_char(wi.AMOUNT,'999,999,999.999')   format1,
to_char(wi.AMOUNT,'9,999,999,999.99')   format2,
to_char(wi.AMOUNT,'999,999,999,999')   format3,
wi.FK_CURRENCYCODE  wi_curr,
nvl(wi.FK_AGREEMENT_TOSER,0)  wi_ar,
wi.FK_LIST_OF_GOODSER  wi_item,
rtrim(c.short_name_e)  c_curr,
     DbitList.cf_1formula(wi.FK_CURRENCYCODE, to_char ( wi.AMOUNT , '999,999,999.999' ), to_char ( wi.AMOUNT , '999,999,999,999' ), to_char ( wi.AMOUNT , '9,999,999,999.99' )) CF_1
FROM WITHDRAWAL_ITEM wi, currency c
where c.code  = wi.fk_currencycode and wi.FK_WITHDRAWAL_RSER=:wr_ser_no
  ]]>
</sqlStatement>
- <sqlStatement name="Q_5">
- <![CDATA[ select
clgd.number0  itm_txtNo,
  clgd.fk_contractserial,
  clgd.serial_number
from contract_list_of_g clgd
WHERE clgd.fk_contractserial=:wi_contract and clgd.serial_number=:wi_contract_item
  ]]>
</sqlStatement>
- <sqlStatement name="Q_3">
- <![CDATA[ SELECT BI.SERIAL_NUMBER  BI_SER,
RTRIM(BI.DESCRIPTION)  BI_DESC
FROM BANK_INSTRUCTION BI
WHERE BI.SERIAL_NUMBER=:WR_BI
  ]]>
</sqlStatement>
</dataQuery>
- <dataStructure>
- <group name="G_a_date" dataType="varchar2" source="Q_1">
<element name="p_name" dataType="varchar2" value="P_NAME" />
<element name="a_date" dataType="date" value="A_DATE" />
<element name="a_refNo" dataType="number" value="A_REFNO" />
<element name="a_refDate" dataType="date" value="A_REFDATE" />
<element name="a_loan" dataType="number" value="A_LOAN" />
<element name="a_sub" dataType="varchar2" value="A_SUB" />
<element name="CS_desc" function="first" dataType="varchar2" value="G_VALUE_DATE.CS_BI_DESC" />
<element name="CS_kd" function="sum" dataType="number" value="G_VALUE_DATE.t_amount" />
<element name="CS_general" function="sum" dataType="number" value="G_FK_WITHDRAWAL_RSER1.general_format" />
<element name="CS_wi_curr" function="first" dataType="varchar2" value="G_wi_wr_ser.wi_curr" />
<element name="CS_curr_name" function="first" dataType="varchar2" value="G_wi_wr_ser.c_curr" />
<element name="CS_app_no" function="first" dataType="varchar2" value="G_VALUE_DATE.CF_composed_no" />
<element name="CF_2" dataType="varchar2" value="CF_2" />
<element name="CF_rep_desc" dataType="varchar2" value="CF_rep_desc" />
<element name="CS_desc_wr" function="first" dataType="varchar2" value="G_VALUE_DATE.wr_desc" />
<element name="CS_ITEM" function="first" dataType="varchar2" value="G_wi_wr_ser.CS_itm_text" />
<element name="CS_KD_FIRST" function="first" dataType="varchar2" value="G_wi_wr_ser.CS_itm_kd" />
- <group name="G_VALUE_DATE" dataType="varchar2" source="Q_2">
<element name="WR_BI" dataType="number" value="WR_BI" />
<element name="wr_transfer_rate" dataType="number" value="WR_TRANSFER_RATE" />
<element name="t_amount" dataType="number" value="T_AMOUNT" />
<element name="CS_BI_DESC" function="first" dataType="varchar2" value="G_BI_SER.BI_DESC" />
<element name="wr_desc" dataType="varchar2" value="WR_DESC" />
<element name="wr_app_sub" dataType="varchar2" value="WR_APP_SUB" />
<element name="wr_type" dataType="varchar2" value="WR_TYPE" />
<element name="wr_ser_no" dataType="number" value="WR_SER_NO" />
<element name="WR_NO" dataType="varchar2" value="WR_APP_NO" />
<element name="VALUE_DATE" dataType="date" value="T_VALUE_DATE" />
<element name="FK_AGREEMENTNUMBER" dataType="number" value="FK_AGREEMENTNUMBER" />
<element name="FK_AGREEMENTSUB_NU" dataType="varchar2" value="FK_AGREEMENTSUB_NU" />
<element name="FK_ADVICE_NOTEREF0" dataType="date" value="T_REF_DATE" />
<element name="FK_ADVICE_NOTEREFE" dataType="number" value="T_REF_NO" />
<element name="CF_composed_no" dataType="varchar2" value="CF_composed_no" />
<element name="CS_Ordinary_kd" function="sum" dataType="number" value="G_wi_wr_ser.CS_itm_kd" />
- <group name="G_wi_wr_ser" dataType="varchar2" source="Q_4">
<element name="wi_item" dataType="number" value="WI_ITEM" />
<element name="FK_WITHDRAWAL_RSER1" dataType="number" value="WI_WR_SER" />
<element name="wi_curr" dataType="number" value="WI_CURR" />
<element name="c_curr" dataType="varchar2" value="C_CURR" />
<element name="CS_itm_text" function="first" dataType="varchar2" value="G_fk_contractserial.itm_txtNo1" />
<element name="CS_itm_kd" function="sum" dataType="number" value="G_FK_WITHDRAWAL_RSER1.wi_kd_amt" />
<element name="CS_itm_general" function="sum" dataType="number" value="G_FK_WITHDRAWAL_RSER1.general_format" />
- <group name="G_itm_txtNo" dataType="varchar2" source="Q_4">
<element name="wi_ar" dataType="number" value="WI_AR" />
<element name="wi_contract" dataType="number" value="WI_CONTRACT" />
<element name="wi_contract_item" dataType="number" value="WI_CONTRACT_ITEM" />
- <group name="G_FK_WITHDRAWAL_RSER1" dataType="varchar2" source="Q_4">
<element name="general_format" dataType="number" value="GENERAL_FORMAT" />
<element name="format2" dataType="varchar2" value="FORMAT2" />
<element name="format3" dataType="varchar2" value="FORMAT3" />
<element name="format1" dataType="varchar2" value="FORMAT1" />
<element name="wi_kd_amt" dataType="number" value="WI_KD_AMT" />
<element name="CF_1" dataType="varchar2" value="CF_1" />
</group>
- <group name="G_fk_contractserial" dataType="varchar2" source="Q_5">
<element name="itm_txtNo1" dataType="varchar2" value="ITM_TXTNO" />
<element name="fk_contractserial" dataType="number" value="FK_CONTRACTSERIAL" />
<element name="serial_number" dataType="number" value="SERIAL_NUMBER" />
</group>
</group>
</group>
- <group name="G_BI_SER" dataType="varchar2" source="Q_3">
<element name="BI_SER" dataType="number" value="BI_SER" />
<element name="BI_DESC" dataType="varchar2" value="BI_DESC" />
</group>
</group>
</group>
<element name="CS_1" function="first" dataType="varchar2" value="G_a_date.p_name" />
<element name="CS_rep_kd" function="sum" dataType="number" value="G_a_date.CS_kd" />
</dataStructure>
</dataTemplate>

Hi Kesava
Can you check the $APPLCSF/$APPLOUT directory and see if you can see the file and its size? Maybe open it with vi or emacs and goto the last line and see if its complete.
You might also check the OPP log for this request to see if there is anyting in that log?
Regards
Tim
http://blogs.oracle.com/xmlpublisher

Similar Messages

  • How to Convert Oracle Apps Report into XML Publisher

    Hi
    How to Convert Oracle Apps Report into XML Publisher?
    Thanks

    In Brief :
    Re: XML Publisher
    In Details :
    http://www.oracle.com/technology/products/xml-publisher/docs/XMLEBSRep.pdf

  • Convert Oracle Application Reports to Oracle Reports

    Hi All,
    Our company has an old Oracle Financial Application with number of Reports. The Application Version is 10.7.0 SC161 and the database version is Oracle7 Server Release 7.3.4.3.0 - Production. It was installed in 1998 and was used till 2005. Now we have moved to different Financial App. The data on the application is not being updated anymore. Only the reports are being run on the old historical data. All the reports are canned reports that came with the application, for example Trial Balance, GL Transactions, etc. The rdf files are for example GLRTBD.rdf, GLACTANP.rdf, etc. My challenge is to convert these old application tied reports to new oracle reports and publish them to a new application server for use. I have moved the data by full export / import to a new 9i database. I have downloaded and installed the Reports developer in my workstation and got all the .rdf files from the old server to my workstation. When I try to open some of these rdf files I get compilation errors because of old pll librarys. I recompile them with out error when I am connected to the new database. The biggest problem is there are no direct sql statements in the reports. All of them use flex fields and they are populated by application packages. For example, the GLRTBD report has the following query:
    SELECT
    &PAGEBREAK_SEGMENT PAGEBREAK_SEGMENT_H,
    &ACCOUNTING_SEGMENT ACCOUNTING_SEGMENT_H,
    &FLEXDATA FLEXDATA_H,
    &BEG_BAL BEG_BAL_H,
    &ACTIVITY ACTIVITY_H,
    &END_BAL END_BAL_H
    FROM
    GL_BALANCES GLB,
    GL_CODE_COMBINATIONS GLCC
    WHERE
    GLB.ACTUAL_FLAG = 'A'
    AND GLB.SET_OF_BOOKS_ID = &P_SET_OF_BOOKS_ID
    AND GLB.CURRENCY_CODE = :P_CURRENCY_CODE
    AND &CURRENCY_WHERE
    AND &PERIOD_WHERE
    AND GLB.CODE_COMBINATION_ID = GLCC.CODE_COMBINATION_ID
    AND GLCC.CHART_OF_ACCOUNTS_ID = :STRUCT_NUM
    AND GLCC.TEMPLATE_ID IS NULL
    AND &PAGEBREAK_WHERE
    &GROUPORDER
    and the the beforereport trigger contains:
    SRW.USER_EXIT('FND FLEXSQL
    CODE="GL#"
    APPL_SHORT_NAME="SQLGL"
    OUTPUT=":PAGEBREAK_WHERE"
    MODE="WHERE"
    DISPLAY=":P_PAGEBREAK_SEG_NUM"
    NUM=":STRUCT_NUM"
    TABLEALIAS="''''||GLCC"
    OPERATOR="BETWEEN"
    OPERAND1=":P_LOW_PB_SEG"
    OPERAND2=":P_HIGH_PB_SEG"');
    This is just one example. All the reports are like this. My question is what is the best way to convert these application reports to normal oracle reports and publish them to a new app server. All the reports need concurrent manager in the old server running to process the reports. How can I run them in a new application server without concurrent manager? We use about 20 reports from the old server. I would like to move these 20 reports to the new server and get rid of the overhead of running a whole application. I am looking for a way to convert these reports without recreating them. I would really appreciate your advise/direction in this situation. Thanks in advance.

    Thanks for your suggestion Rajesh. That is what I would like to do. But how do I recreate the reports in the new APEX server? All the flexfields are populated by the Oracle Application packages like:
    SRW.USER_EXIT('FND FLEXSQL
    CODE="GL#"
    APPL_SHORT_NAME="SQLGL"
    OUTPUT=":PAGEBREAK_WHERE"
    MODE="WHERE"
    DISPLAY=":P_PAGEBREAK_SEG_NUM"
    NUM=":STRUCT_NUM"
    TABLEALIAS="''''||GLCC"
    OPERATOR="BETWEEN"
    OPERAND1=":P_LOW_PB_SEG"
    OPERAND2=":P_HIGH_PB_SEG"');
    This is a builtin package for Oracle Application. What is the process getting these SRW packages in to the new server without actually installing the Oracle Applications. I have installed an apex server in a new linux server. How can I recreate these SRW packages in my new apex server? Thank you.

  • How to convert oracle report in html form into excel form?

    Hi friends !! I m trying to convert oracle 10g report into excel form.Its coming in excel form but not with all formats.How to solve the problem?

    Hello,
    Please give us more information what kind of report(s). Sample example etc.,
    Sri

  • How can i convert oracle report in excel format using 8i

    hi,
    I want to convert oracle report in excel format using 6i reports. please give the solution with emp table.
    millons of thanks in advance.

    You'll have to use the destype DELIMITEDDATA to render your Report in CSV format. Then set the mime type to Excel. I don't know the exact syntax, so please do a search in metalink for "reports excel" for examples and more info.
    Regards,
    Martin Malmstrom

  • How to convert Oracle reports into excel?

    How can we convert Oracle reports into excel.
    i know there was a thread on this topic which i am not able to find.
    give the link / help.

    I found Std Oracle Report output to Excel Sheet has some suggestions. Not being a Reports person anymore I am not in a position to vouch for them.
    How did I find this thread? By not using the forum search tool but using Google instead.
    Cheers, APC

  • How to convert Oracle Report Output to Excel Spread Sheet..

    Hello Sir,
    How to convert Oracle Report Output to Excel Spread Sheet..
    Thanks..

    Hello,
    Please give us more information what kind of report(s). Sample example etc.,
    Sri

  • How to convert Oracle reports previewer output into delimited file.

    How to convert Oracle reports previewer output into delimited file if the report has more than 1000 pages.
    I tried with previewer option File --> Generate to file --> Delimited file, but the report engine is crashing.Not generating .TXT file.
    I observed that this option is not working for more than 400 pages.
    I am using Oracle reports 6i version.
    Plz suggest me to generate .TXT file from Report previewer.

    You can specify a delimiter (a character or string of characters) to separate the data (boilerplate or field objects) in your report output in either of the following ways:
    On the command line using the DELIMITER keyword.
    In the Delimited Output dialog box or DelimitedData Output dialog box (displayed with File > Generate to File > Delimited or File > Generate to File > DelimitedData) in Reports Builder.
    for further information goto this link
    http://download.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_concepts2.htm#sthref760

  • Converting Crystal reports to Oracle D2K reports or BI Publisher

    Hi I have one requirement
    I need to convert crystal reports to oracle D2k reports is there any tool which will make my work easier
    any body who has work on it please suggest.
    Thanks in advance
    Edited by: Qwerty on Jul 9, 2010 12:44 PM

    check this it may help
    http://www.oracle.com/technetwork/middleware/bi-publisher/convert-to-bi-publisher-11g-1611815.pdf ( page 25 - 45 )
    http://download.oracle.com/otndocs/xmlp/CrystaltoBIP.pdf

  • Converting from Actuate Reports to Oracle BI Publisher fails

    Hi,
    I'm trying to convert a Actuate report to BIP. The below mentioned error is being displayed.
    "2009/09/29 21:09:312 Begin conversion of Report name 'STARSRPT', Path 'D:\BIP\STARSRPT.bas'.
    java.lang.NullPointerException
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processExpressionInternal(Unknown Source)
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processExpressionInternal(Unknown Source)
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processExpression(Unknown Source)
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processParameter(Unknown Source)
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processArgumentList(Unknown Source)
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processVariableNode(Unknown Source)
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processVariable(Unknown Source)
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processExpressionInternal(Unknown Source)
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processExpression(Unknown Source)
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processAssignmentStatement(Unknown Source)
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processStatement(Unknown Source)
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processMethodDefinition(Unknown Source)
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processClassDefinition(Unknown Source)
         at oracle.reports.actuatereports.vb.VisualBasicTreeWalker.processProgram(Unknown Source)
         at oracle.reports.actuatereports.ActuateReportsToXMLP.run(Unknown Source)
         at oracle.reports.ApplicationRunner.runApplication(Unknown Source)
         at oracle.reports.ApplicationRunner.runActuateReportsConverter(Unknown Source)
         at oracle.reports.ApplicationRunner.main(Unknown Source)
    Any thoughts???
    Thanks,
    Kumar

    I'm able to convert other reports except for one. Sorry for the delayed response. I have raised an SR 3-1016713021 regarding the same in the support web.
    Regards,
    Kumar Madhav

  • Converting oracle reports with .rdf  into bi publisher reports

    Hi Gurus,
    Iam new to BI Publisher, Could some one help me in converting oracle reports with .rdf into bi publisher reports. Any help is greatly appreciated.

    hi,
    What you are trying to do?
    Can you please elaborate , i guess its an rtf template to pdf / excel
    Let me put some points
    1) Bi Publisher is a pixel perfect reports ll generate
    2) Its completely based on XML data ,based on XML data we can create RTF template from where u can get output as PDF/HTML/EXCEL....
    Please go through
    1) http://st-curriculum.oracle.com/obe/fmw/bi/biee/r1013/bipub/intro/gettingstarted.htm
    2) http://st-curriculum.oracle.com/obe/fmw/bi/biee/r1013/bipub/advance/advance.htm
    thanks,
    saichand.v

  • Converting Oracle Reports - PaperLayout to WebLayout

    Hi All ,
    We are migrating Oracle Reports 6i to Oracle Reports 10g R2.
    Now when I open the report rdf file in oracle 10g Reports Builder and run the paper layout ( Ctrl + Shift + R) it shows the output.
    But the same when run for Web Layout ( Ctrl + R) does display a blank htm page opened in new browser window and nothin else.
    Could anyone let me know what the reason for this and how to make the migrated rdf work for web-layout as well in 10g. Do we need to follow any steps to achieve this ?
    Thanks,

    Hello,
    http://www.oracle.com/technology/products/reports/htdocs/faq/faq_migration.htm#368
    When I open an Oracle6i Reports Developer report in the Oracle Reports Builder 10g and run my Web layout, I get an empty Web page in my browser.
    Regards

  • Oracle Financials Reports, when it was Used

    Hi Friends,
    In Oracle financial is there a way to check how many reports in all modules, When it was used. I am new to Financial and converting all these reports in to OBIEE.

    User guides usually have a list an brief description of available standard reports. On use information you may query the concurrent request submission tables, be aware that they may be purged every certain periods.

  • Converting standard rdf report to Discoverer

    Hi
    oracle standard rdf report have so many program unit and five trigger for validation.
    for example:In module AP Report:
    New Supplier/New Supplier Site Listing.
    Is this possible to Convert Oracle standard rdf report to Discoverer Report.

    Well, IMO ... nope - not automatically anyways.
    You would have to do it manually, or I think you can consider an XML kind of method but I believe you can't just 'export rdf to dis' or something and open Discoverer up and there it is.
    Manual method would be to duplicate the report manually in Disco.
    Russ

  • How do I use the Oracle Developer Reporting Control in Visual Basic 6.0?

    I was wondering how to use the Oracle Developer Reporting Control componant in Visual Basic 6.0 to generate reports in Oracle Reports? Any help would be appreciated.

    Hi Rohit,
    Would like to ask you some questions about the oracle report with Visual Basic.
    1. I have a report built in oracle report. Currently there is a Visual Basic program want to pass some parameter to this report. Can Visual Basic program pass the parameter to this oracel report?
    2. Based on yr answer, do i have to installed the oracle report? or just copy and register the Rwsxa60.ocx (i'm using oracle report 6i) in the PC? So can i use this activeX control.
    3. Is this activeX control similar to Crystal report object which can found in VB?
    4. Is there an example/guide on how the Visual Basic pass the parameter to oracel form?
    Your answer will be much appreciated.
    Thanks.
    Regards,
    Hock Leong

Maybe you are looking for