From Oracle Reports to Bi Publisher  :)  [Closed]

Hello.. First I'll explain our situation :)
In our company when we create reports (using oracle reports) we have to insert in our before report trigger this: srw.user_exit('FND SRWINIT') ..An in the after report trigger this: srw.user_exit('FND SRWEXIT') Because this is needed for the CEMLIs (configurations, extensions, modifications, localization, and integrations) of the company in order to measure the time each report takes to finish.
I’ve made some reports using XML Publisher (Bi Publisher) and they are working great :) ..But now some people here are asking me if I could use those same instructions in order to get the information of the time.
I read at Tim’s Blog this:
“.. In good ol Oracle Reports you just added the following command in your before report trigger: srw.user_exit('FND SRWINIT') and it was all done for you. In the world of BIP we go one step further. The executable that runs your data template sets the org id for you so you do not have to do anything. Now there is a caveat to this, as long as you are using the BIP delivered executable (XDODTEXE) in EBS to call the data engine to run your data templates you're fine..” (http://blogs.oracle.com/xmlpublisher/2007/03/22)
We are using the executable XDODTEXE in EBS so I told them we don’t need to use those commands. But when they tested a process in order to get the info of the time (CEMLIs) they got no information.
Now I’m trying to insert in the data template the beforeReport and afterReport Triggers. But.. I don’t know what I should insert as the source:
<dataTrigger name=”beforeReport” source=”???????”/>
*Should I use something like SRW.INIT?
*Or is this already done when we run the concurrent using the XDODTEXE executable? (if yes, how can I verify this?)
*Is any of this possible (use those instructions of reports in bi publisher)?
Any help would be appreciated.. Thanks :)
~ Cori ~
(sorry if I misspelled something.. my English is not very good hehe :P)

Hello Tim, Thanks for your reply :)
Some people of Oracle told us we needed to use this command because with this a trace file is created. This are the steps they gave us (this is only used at OnDemand):
1) to be able to run a CEMLI, on the report you have to use in a before report trigger: srw.user_exit('FND SRWINIT'). In the after report trigger: srw.user_exit('FND SRWEXIT') (we didn't follow this step because we're using XDODTEXE as the executable)
2) in the report add a numeric parameter named ‘P_CONC_REQUEST_ID’
3) activate the Trace Option in the concurrent of the report.
4) execute the concurrent of the report
5) execute the concurrent ‘CEMLI Performance Checker’
6) fill the cemli_performance_standard file (this is a .xls file we have) with the information that was on the output of step No 5
We weren't getting the output of step No 5.. But now we could make it work :D
We were skipping step No 2, we just added the parameter and now everything is working fine :)
Thanks :)
~ Cori ~

Similar Messages

  • Problem calling XML Report Publisher from Oracle Reports

    Hi,
    I'm facing a problem in calling XML Report Publisher from Oracle Reports.
    Basically, I'm trying to customise Dunning Letter program. The program which is submitted calls another program. I have customised the second program and added a call to a stored procedure which in turn calls XML Report Publisher.I have created a template and attached it to the second program as well.
    The procedure code is as follows.
    v_request_id := FND_REQUEST.SUBMIT_REQUEST(application => 'AR'
    ,program => 'ARDLP_NON_SRS'
    ,description => 'Dunning Letter Print from Dunning Letter Generate'
    ,sub_request => FALSE
    l_status := fnd_concurrent.WAIT_FOR_REQUEST
    ( REQUEST_ID => v_request_id,
    INTERVAL => 15,
    MAX_WAIT => 180,
    PHASE => l_phase,
    STATUS => l_status_code,
    DEV_PHASE => l_dev_phase,
    DEV_STATUS => l_dev_status,
    MESSAGE => l_message );
    v_xml_req_id := FND_REQUEST.submit_request(application => 'XDO',
    program => 'XDOREPPB',
              argument1 => v_request_id,
    argument2 => 'FLS DE AR Dunning Letter Print - German',
    argument3 => 603, -- changed 665 -- was 551,
    argument4     => NULL,
    argument5 => 'N',
    argument6     => 'RTF',
              argument7     => 'PDF');
    Now, there are two problems I'm facing...
    1. when the second program('Dunning Letter Print from Dunning Letter Generate') gets called it executes this procedure ... logically the 'Dunning Letter Print from Dunning Letter Generate' should get called twice ... second time from the procedure. Its getting called multiple times .. as many as 15 - 20 times.
    2. The Xml Report Publisher program ultimately gets called but its erroring out with the following error:
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.DS_APP_SHORT_NAME DS_APP_SHORT_NAME, B.DATA_SOURCE_CODE DATA_SOURCE_CODE, L.LOB_TYPE LOB_TYPE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE (L.LOB_TYPE = 'TEMPLATE' OR L.LOB_TYPE = 'MLS_TEMPLATE') AND L.APPLICATION_SHORT_NAME= :1 AND L.LOB_CODE = :2 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :3 AND L.TERRITORY = :4 ) OR (L.LANGUAGE = :5 AND L.TERRITORY = :6) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
    I have checked from database that the XDO_LOBS/ XDO_TEMPLATES_B table has corresponding registration data.
    I don't know what's creating the problem.
    If anyone has customised the Dunning Letter program before or having any idea about this problem, please help me out ..
    Thanks

    satrajit,
    Now I am getting the same error you got, Can you please tell me the solution you found?.
    XML Report Publisher 5.0
    Updating request description
    Waiting for XML request
    Retrieving XML request information
    Preparing parameters
    Process template
    --XDOException
    java.sql.SQLException: No corresponding LOB data found :SELECT L.FILE_DATA FILE_DATA, DBMS_LOB.GETLENGTH(L.FILE_DATA) FILE_LENGTH, L.LANGUAGE LANGUAGE, L.TERRITORY TERRITORY, B.DEFAULT_LANGUAGE DEFAULT_LANGUAGE, B.DEFAULT_TERRITORY DEFAULT_TERRITORY,B.TEMPLATE_TYPE_CODE TEMPLATE_TYPE_CODE, B.USE_ALIAS_TABLE USE_ALIAS_TABLE, B.START_DATE START_DATE, B.END_DATE END_DATE, B.TEMPLATE_STATUS TEMPLATE_STATUS, B.USE_ALIAS_TABLE USE_ALIAS_TABLE FROM XDO_LOBS L, XDO_TEMPLATES_B B WHERE L.LOB_TYPE = :1 AND L.APPLICATION_SHORT_NAME= :2 AND L.LOB_CODE = :3 AND L.APPLICATION_SHORT_NAME = B.APPLICATION_SHORT_NAME AND L.LOB_CODE = B.TEMPLATE_CODE AND ( (L.LANGUAGE = :4 AND L.TERRITORY = :5 ) OR (L.LANGUAGE = :6 AND L.TERRITORY = :7) OR (L.LANGUAGE= B.DEFAULT_LANGUAGE AND L.TERRITORY= B.DEFAULT_TERRITORY ) )
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.initStream(TemplateInputStream.java:309)
         at oracle.apps.xdo.oa.schema.server.TemplateInputStream.<init>(TemplateInputStream.java:187)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.getTemplateFile(TemplateHelper.java:776)
         at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:1269)
         at oracle.apps.xdo.oa.cp.JCP4XMLPublisher.runProgram(JCP4XMLPublisher.java:807)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:148)

  • How to create pdf files in UNIX directory from oracle reports

    I would like to know how to create pdf files in UNIX directory from oracle reports.
    Thanks,

    Please make your question more clear . Also mention the reports version.
    1) If you are runnning reports in Unix, you can give
    .... destype=file desformat=pdf desname=<filename>
    in command line
    Please refer docs below.
    2) If by your question you mean
    "My reports server is running in Windows but I want to ftp my files to Unix after creating it"
    then the answer is that you can use pluggable destination "ftp"
    .... destype=ftp desformat=pdf desname=<ftp url>
    Pluggable destinations download
    http://otn.oracle.com/products/reports/pluginxchange/index.html
    Thanks
    Ratheesh
    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf

  • Outputing reports to Word from Oracle reports

    I have already created the template in word, I saved it as an html file. Opened it from Oracle reports and have started working on the web source, but I don't really know where to go from here.
    Help it urgent.
    Thanks

    Please refer "Building reports" manual. (below)
    Also click on the documentation link above and navigate to "Reports" section. There are many white papers and collaterals available.
    Thanks
    Ratheesh
    [    All Docs     ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • Oracle reports and xml publisher

    Hello,
    I would like to know what we can do with an XML generated with Oracle Forms in BI publisher.
    I have never used BI publisher before.
    Thank you.

    There is a conversion tool available to convert Oracle Reports file to BI Publisher.
    More information: [Converting Reports from Oracle Reports to Oracle BI Publisher|http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T518230T518393.htm]
    I have used it to migrate Oracle Reports file. For simple reports it is usable. For complex ones you have to check manually and do some changes in the result

  • How can I use unix commands from oracle report

    I have to use the following command from oracle reports.
    In oracle forms we can use the HOST command but what about oracle reports2.5.
    I have to email the attached file 100245.pdf from oracle reports to the given email id
    uuencode 100245.pdf 100245.pdf | mailx -s "test" [email protected]

    Hi,
    It's because .bat (or .cmd) files are scripts and not executables and are interpreted using the command line executable - which is normally cmd.exe (although you can buy others).
    So you need to call cmd.exe passing the bat file name as a parameter, something like
    cmd.exe /c batchfilename
    Without the /c you will never get a response.
    However, this brings us to the bizarre conclusion that you are going to:
    call cmd.exe (a shell interpreter)
    to launch a batch file
    that calls cygwin (another shell interpreter)
    which then runs ls
    When shouldn't that just be:
    call cmd.exe to run the dir command
    Or better yet, If you are just after a file name listing and you seem to understand Java stored procs, why not just write a JSP to list the contents of a directory? No problems with OS dependant commands, scripts and 3rd party interpreters. Plenty of examples of that out on the internet as well.
    HTH
    Chris

  • Getting a report in excel format from oracle report builder 10gDS release2

    I want to get a report in excel format from oracle report builder 10gDS release2.
    Is there ne method by which minimum effort is required for changing already made reports .
    I have searched for it on internet :-
    http://www.oracle.com/webapps/online-help/reports/10.1.2/state/content/navId.3/navSetId._/vtTopicFile.htmlhelp_rwbuild_hs%7Crwwhthow%7Cwhatare%7Coutput%7Coutput_a_simpleexcel~htm/
    Example, given in the last of the page opened from the above url, is not working.
    Can neone plz explain the example and how to use it
    Thanks & Regards
    JD

    Ok, for the release 2 its quite straightfoward, in your calling form you would have something like this code:
    declare
         pl_id ParamList;
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    v_rep_status VARCHAR2(20);
    v_repsrv     VARCHAR2(100):= 'yourreportserver';
    v_serv varchar2(50) := 'yourservername' ;
    begin
    pl_id := Get_Parameter_List('tmpdata');
    if not id_null(pl_id) then
    Destroy_Parameter_List( pl_id );
    end if;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'DESTYPE' ,TEXT_PARAMETER,'Screen' );
    Add_Parameter(pl_id,'PARAMFORM' ,TEXT_PARAMETER,'NO' );
    repid := FIND_REPORT_OBJECT('yourreport');     SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER, v_repsrv);
    set_report_object_property(repid,REPORT_DESTYPE,CACHE );
    set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
    v_rep := RUN_REPORT_OBJECT(repid,pl_id);
    v_rep := substr(v_rep,length(v_repsrv)+2,10 ) ;
    end;
    I have plenty of reports being formated to excel with this same method so it should work for you, the only diference with my previous code is this line.
    set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
    The rest remains untouched.
    Hope it helps.

  • How to send a PDF file as a FAX from Oracle Reports 6i

    Hi
    I want to know how to send a PDF file as a FAX from Oracle Reports 6i. Or please post any sample code in reports that sends PDF document as FAX
    Help need immediately.
    Thanks in advance. my email id is
    [email protected]
    Arun
    null

    hello,
    there is no native support for directly faxing a report. you could e.g. use a fax-software that has a printer-driver that supports this.
    regards,
    the oracle reports team

  • Generated pdf file from oracle reports show bad characters

    Hello all,
    Iam fighting with a problem with generated pdf file from oracle reports which show some bad characters. I was searching for some information but it didnt help...
    I have Oracle Database 11g R2 (or 10g R2) on Oracle Linux or Windows, Oracle forms and reports 6i (i know that is very old and not supported with 11gr2 but we are in this scenario).
    NLS parameters are set like this
    server:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY AMERICA
    NLS_LANGUAGE AMERICAN
    client:
    NLS_CHARACTERSET EE8MSWIN1250
    NLS_TERRITORY SLOVAK
    NLS_LANGUAGE SLOVAKIA
    When I run Oracle Reports it show perfect in display and when I try to print them, they are all good with good characters, but when I try to generate pdf file, some characters like č,š,ľ are not displaying corectly... This happen only when try to generate to pdf...
    I try to work with uifont.ali on client side but without any result. Fonts for reports were installed on client and server side... Can someone help me with this problem? Thank you very much for every advice.
    Martin

    Hi Sergiusz,
    Thank you for your reply. I look at what you wrote and try to make some test...
    1) For first I download FontForge, which can generate type1 font from true type. So I open FontForge and open my Arial.ttf font and use "Generate Fonts" to save my Arial.ttf font to pfb and pfm (whoch are need to set in uifont.ali). I have to change encoding, because my font has 2byte encoding so I reecondode the font from ISO10646-1 to ISO8859-2 and generate to pfb.
    2) Then I navigate REPORTS_PATH from regedit to my *.pfm and *.pfb files.
    3) I add these lines to end of my uifont.ali
    [ PDF:Embed ]
    Arial = "Arial.pfm Arial.pfb"
    ArialNarrow = "ArialNarrow.pfm ArialNarrow.pfb"
    4) Then I generate my report but nothing change... I check "Font used" in my pdf file, but there were not my fonts embedded I guess..
    I also try PDF:Subset, but it doesnt change anything... I try PDF aliasing to see if my uifont is working - this work very well, but I dont need to change font...
    Any other advice? Thank you so much to everyone!
    Martin

  • Extraction of Specification from oracle reports

    Hi,
    I am currently working with Oracle 10g Reports .I need to extract specifications from Oracle Reports which is in RDF format .Looking for tools or API for extracting specification.Kindly anybody tell me from where i can get this tool or API.If no tool or api is available then suggest me how to extract specifiaction from oracle reports.Need it urgently
    Regards
    Mani

    Look into converting the reports into .REX file, which gives pretty clear textual description of all the report elements.

  • How to embed an attachment in rtf(excel output) from oracle reports

    Hi,
    I have a requirement to embed an attachment from oracle reports(fnd_lobs) into rtf template which will generate excel output.
    Can you please provide me suggestions on this.
    Thanks,
    Kavya

    Hi,
    I will judge few records whether to display or not. i am using one variable to handle its display.
    i want to avoid using IF in my templated .
    Please suggest the best way
    Regards,
    Phani Reddy

  • Migrating to Oracle Reports 6i from Oracle Report 9i

    Hi all,
    We re-compiled original Forms & Reports 6i source code with Oracle 9i Forms & Reports.
    Forms are working really nice with almost no change at all with Oracle 9ias Forms services and Oracle 8i as db. The Oracle 9ias server is W2k. Will be upgrading to oracle 9i db in a short time.
    The only change we applied to forms source code was the function to call reports. We are using WEB.SHOW_DOCUMENT() instead of RUN_PRODUCT.
    i.e. the URl is formed in all reports as
    http://ip_address:port/reports/rwservlet?DESTYPE=cache&DESFORMAT=PDF&userid=user/passwd@dbname&report=f:\web\formas\ametas\REP_DET_METAS_DPTO.REP&estrategia_par='08'&centro_par=249&depto_par=27100&anio_par=2003&TRIMESTRE_PAR=1
    At the beginning we used directly the 6i reports but they were running inconsistently, after several calls to reports they got stock and we did need to reboot report services.
    Then as a suggestion we re-build only two reports in reports 9i for testing. But same result when running in combination with 6i reports. Combination means, sometimes called 6i reports someothers reports in 9i.
    The reports run fine several times but inconsistently. What I mean is that they can be running normaly many times and suddenly the reports server sends this message
    REP-50002:Server is shutting down
    DBA reported this issue to our local support but they said configuration is ok.
    In other tests and only running 9i reports it seems not getting stock never, at least we run two 9i reports more than 40 times. So the problem seems to be when we run 9i reports in combination with 6i reports. We are planning to migrate all our reports but this mean to rebuild all reports again.
    Is someone facing this kind of problem?
    Or is this the only solution? Losting men/machine hours rebuilding the reports.
    Any suggestion for my DBA to check in configuration?

    Sorry for the confusion the subject for this issue should be
    Migrating to Oracle Reports 9i from Oracle Reports 6i

  • Values returned from oracle reports

    hello,
    i want to write a program which comunicates with
    oracle report builder. passing arguments to oracle
    reports is no problem but is it possible to get
    return values from oracle reports so that i can
    proceed with them in my java application.
    thank you
    thorsten lorenz

    Hi Stewart,
    thank you for your answer. I think i'll try this
    approach. I will start the runtime-Version of Oracle Reports
    from java with parameters. exec(param 1,param 2). The only
    thing returned is an integer indicating if this call
    to reports was successfull. but with your idea i think
    i got a nice workaround.
    Greetings
    Thorsten Lorenz

  • Need to build Nicely formatted XLS report from Oracle reports

    Hi,
    Please let me know if there is any option in developing a formatted XLS report from Oracle reports.
    I am using Report Builder 10.1.2.0.2.
    Please advice.

    Hi,
    it may help you.
    Generating Oracle reports o/p to xls format.
    PS

  • How to execute this statement from oracle reports

    have to use the following command from oracle reports.
    In oracle forms we can use the HOST command but what about oracle reports2.5.
    I have to email the attached file 100245.pdf from oracle reports to the given email id
    uuencode 100245.pdf 100245.pdf | mailx -s "test" [email protected]

    > u can execute any exe using host that host must contain a bat file
    Incorrect. There is no HOST command in PL/SQL.
    And please note that this is the Database » SQL and PL/SQL forum - and not the Oracle Forms or SQL*Plus forum.
    Also, when using the SQL*Plus HOST command for example, you can execute any executable and not just a BAT file. SQL*Plus on Windows uses the Win32 API call CreateProcess() - and it has no limits as to what/which executable can be executed.

Maybe you are looking for

  • ALV report : to display description in two lines.

    Hi all, In a ALV grid display,  I want to print description(40 characters) of a field in two lines(20 characters in each). Please suggest me how to achive the same. Thanks in advance.

  • I want switch back

    My dears, 3.0 it's a nightmare for me, no longer incoming calls and battery get low after few hours. Please tell me i can switch back !! Please.

  • Default from .xls to .xlsx in SE11

    Folks, When we try to download data from SE11..LOCAL file->Spread sheet->there we have .xls. How can this be changed to .xlsx..?? Basically im trying to download the data n .xlsx format. We are currently running with SAP4.7 version.Do we need to inst

  • Unable to switch to tty

    Hi all, after putting my system in hybernate mode, i realized something went wrong. I'm not able to switch to tty anymore by pressing ctrl-alt-fx (x=1..6). I also noticed that boot and close messages don't appear anymore. What can i do? Thanks in adv

  • WVC54GC and the Wireless B BEFW11S4

    I have a new WVC54GC camera that I hooked up to my Wireless B router. I ran the whole setup disc and I can see my camera on my computer. The thing is I cannot access it through the internet from work. I called LInksys and since the router is so old t