Publish report remotely onto Enterprise system using webservice...

Hi,
I was planning to publish report remotely onto Enterprise system using webservice. In this regard can I get some sample code.
Thanks,
Shashi

See if the samples here help:
https://wiki.sdn.sap.com/wiki/display/BOBJ/NETWebServicesSDKSamples
Also see:
Web Services SDK secLDAP
https://wiki.sdn.sap.com/wiki/display/BOBJ/GettingStartedwiththeWebServicesSDK
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup

Similar Messages

  • How to emabed BI Publisher report  to a different application using GO URL

    Hi all,
    How to emabed BI Publisher report to a different application using GO URL.
    I put the BI Publisher report in dashboard and create a go url but the problem is it is showing top header and all dashboard names present in my dashboard.
    I want to show only report.
    If we do a GO url of answers requst it shows only report . Same way can we do for BI publisher request.
    Thanks

    10g or 11g?
    for any you can get the link from BIP report properties. and use that link

  • Communicating with a 3rd party system using webservices

    Hi all,
    I have a scenario
         3rd party <-> XI<->CRM.
    here im using SOAP between 3rd party <->XI, xi<->CRM im using ABAP proxies.
    scenario 1. 3rd party would send messages(client request) to cRM to get some data. CRM has to respond for that.
    scenario 2. CRM would request the 3rd party to get some data, then 3rd party would respond.
    scenario 3. there is no request from 3rd party but crm has to send the data.
    So 3rd party would communicate using webservices sends the request to cRM. if there is any request from cRM then 3rd party have a webservice to serve.
      My question is
      1) for cRM side i should create a webservice? if i create this where shold i create? i mean i should put this webservice on WAS of CRM or on XI ? If i create this webservice and put on CRM WAS, could this communicate with XI by using ABAP proxies? when CRM sends a request to 3rd party, to send this i should create another webservice ?
    could you please anyone tell me about this?
    thanks a lot in Advance

    Hi,
    <i>for cRM side i should create a webservice? if i create this where shold i create? i mean i should put this webservice on WAS of CRM or on XI ? If i create this webservice and put on CRM WAS, could this communicate with XI by using ABAP proxies?</i>
    As to your first question, you dont have to create webservice on CRM side, all you have to do is to define an outbound interface in XI, and generate proxies for that outbound interface in CRM.
    <i>when CRM sends a request to 3rd party, to send this i should create another webservice ?</i>
    You havent specified who the 3rd party is DataBase/R3/etc. Let us assume the end system is truely external from your landscape. if the 3rd party provides you with a webservice, you can import taht webservice into XI and use it as an inbound interface.
    Hence, you would then map the outbound interface from CRM-> XI to your inbound interface XI->3rd party.
    3rd party provided webservice could be written in java/.net.
    Naveen

  • Run report from Backend BI system using Bex analyzer

    Dear All,
    End user (GM)  is having access to 5 queries (reports). Right now end user is accessing reports via enterprise portal system. Now requirement has come that end user will login to BI backend system and he should see the query names in his Role/User menu then he will double click on query name and it will point to Bex analyzer.
    So end user will see reports via Bex analyser using backend system.
    in backend BI system, in end user's pfcg role, i added role menu as BW report ID, it is showing in end users's user menu, but when he click on that..it is pointing to Bex analyzer but not opening report. Then again end user has to type query name there and execute...
    please advise how end user can see all query names in his role menu's ?
    Edited by: Imran  Mulani on Aug 23, 2008 1:56 PM
    Edited by: Imran  Mulani on Aug 23, 2008 1:57 PM

    Hi
    Why dont you create and save the workbook per query in his role?
    Regards,
    BVC

  • Open BI Publisher report  using URL View activity

    Hi,
    i need to call BI Publisher report and I want to use URL View activity (i followed instruction on http://oraclebizint.wordpress.com/2007/07/30/customizing-obi-ee-%e2%80%93-go-url-parameters/ but i can't have HTML Form inside af:form)
    But parameters on URL View activity are visible and i have to send username and pass..
    Is there another way?
    Tnx.
    Andreja

    Yes, I can put HTML form at top or bottom of page but i wanted to put in panelCollection (because of page design)....
    but I will think out something to look nicely too :)
    Tnx

  • Remotely monitor my CCTV system using my Mac

    I am in the process of installing a CCTV system at my house with a VXM4 DVR Hard drive recorder. It is very straight forward to remotely monitor the system using a PC with an internet connection, but I can't seem to do it using my Mac. I desperately don't want to use a PC to do this. Does anyone know how I can do it using my MAC. Thank you.

    Casino128 wrote:
    I am in the process of installing a CCTV system at my house with a VXM4 DVR Hard drive recorder. It is very straight forward to remotely monitor the system using a PC with an internet connection, but I can't seem to do it using my Mac. I desperately don't want to use a PC to do this. Does anyone know how I can do it using my MAC. Thank you.
    Welcome to the Apple boards.
    Does your camera/recorder itself connect to the internet? Some do and all you need to do is browse to the IP address it is set for, just like any other website.

  • Anyone used Code128 Barcode to print the BI Publisher Report?

    Hi,
    Anyone used Code128 Barcode to print the BI Publisher Report?
    Meetu

    Hi,
    I have used in some of my reports.
    Before developing reports with Barcode, there are few setups to be implemented.
    1. Install Barcode fonts.
    2. Install Oracle Reports Barcode PLL library.
    3. Call below function in your query.
    idautomation_uni.Code128(<column_value>, 'TRUE')
    For complete information, you can refer below link:
    http://www.idautomation.com/fonts/tools/oracle/
    Thanks,
    Ajay

  • XML Publisher Report Bursting Program (XDOBURSTREP) is failing after ATG7

    Hello
    After upgrading ATG RUP7, we have issue related to the XML Bursting Program.
    XML Publisher Report Bursting Program (XDOBURSTREP Short Name) is failing with error when there is no output is generated by the Oracle Report, this was working fine before the ATG RUP7.
    Oracle XML Publisher Template Builder for Word
    Version 5.6 Build 45
    Oracle RDBMS : 10.2.0.4.0
    Oracle Applications : 11.5.10.2
    Concurrent Program: XML Publisher Report Bursting Program
    Concurrent Short Name:XDOBURSTREP
    Executable: XDOBURSTRPT
    The following is the log file of Bursting
    XDOBURSTREP module: XML Publisher Report Bursting Program
    Current system time is 22-OCT-2010 08:41:09
    0.932: [GC 0.932: [DefNew: 1792K->191K(1984K), 0.0190521 secs] 1792K->243K(6080K), 0.0193017 secs] [Times: user=0.01 sys=0.00, real=0.02 secs]
    1.637: [GC 1.638: [DefNew: 1983K->45K(1984K), 0.0279269 secs] 2035K->283K(6080K), 0.0281136 secs] [Times: user=0.03 sys=0.00, real=0.03 secs]
    2.369: [GC 2.369: [DefNew: 1837K->192K(1984K), 0.0249747 secs] 2075K->597K(6080K), 0.0251559 secs] [Times: user=0.02 sys=0.00, real=0.03 secs]
    3.186: [GC 3.186: [DefNew: 1984K->130K(1984K), 0.0208499 secs] 2389K->713K(6080K), 0.0210453 secs] [Times: user=0.02 sys=0.01, real=0.02 secs]
    3.938: [GC 3.939: [DefNew: 1922K->114K(1984K), 0.0219872 secs] 2505K->825K(6080K), 0.0221742 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
    4.781: [GC 4.781: [DefNew: 1906K->192K(1984K), 0.0271288 secs] 2617K->1258K(6080K), 0.0273437 secs] [Times: user=0.03 sys=0.00, real=0.03 secs]
    4.931: [GC 4.931: [DefNew: 1983K->192K(1984K), 0.0114155 secs] 3049K->1575K(6080K), 0.0116308 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
    4.978: [GC 4.978: [DefNew: 1974K->1K(1984K), 0.0032511 secs] 3357K->1415K(6080K), 0.0034360 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    5.001: [GC 5.001: [DefNew: 1790K->34K(1984K), 0.0020751 secs] 3204K->1448K(6080K), 0.0022582 secs] [Times: user=0.01 sys=0.01, real=0.00 secs]
    5.023: [GC 5.023: [DefNew: 1814K->68K(1984K), 0.0021542 secs] 3228K->1481K(6080K), 0.0023365 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    5.273: [GC 5.273: [DefNew: 1860K->119K(1984K), 0.0055906 secs] 3273K->1533K(6080K), 0.0057779 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
    5.451: [GC 5.451: [DefNew: 1911K->58K(1984K), 0.0059780 secs] 3325K->1587K(6080K), 0.0061632 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]
    5.653: [GC 5.653: [DefNew: 1850K->103K(1984K), 0.0034036 secs] 3379K->1632K(6080K), 0.0035865 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    5.813: [GC 5.813: [DefNew: 1895K->86K(1984K), 0.0053900 secs] 3424K->1667K(6080K), 0.0055748 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
    5.932: [GC 5.932: [DefNew: 1878K->124K(1984K), 0.0035633 secs] 3459K->1705K(6080K), 0.0037447 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    6.057: [GC 6.057: [DefNew: 1916K->147K(1984K), 0.0043476 secs] 3497K->1760K(6080K), 0.0045299 secs] [Times: user=0.01 sys=0.00, real=0.00 secs]
    6.214: [GC 6.214: [DefNew: 1939K->192K(1984K), 0.0120992 secs] 3552K->2141K(6080K), 0.0122907 secs] [Times: user=0.01 sys=0.00, real=0.01 secs]
    XML/BI Publisher Version : 5.6.3
    Updating request description
    Retrieving XML request information
    Preparing parameters
    7.104: [GC 7.104: [DefNew: 1982K->192K(1984K), 0.0200714 secs] 3932K->2346K(6080K), 0.0202692 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
    Set Bursting parameters..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=16649488, user-variable:cp:language=en, user-variable:cp:responsibility=23202, user-variable.OA_MEDIA=http://d1at2.atco.ca:8010/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=N, user-variable:cp:parent_request_id=16649488, user-variable:cp:locale=en-US, user-variable:cp:user=URU4.ASHAFI, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=16649506, user-variable:cp:org_id=43, user-variable:cp:reportdescription=XXPAY Database Audit Series Change Register}
    Start bursting process..
    7.845: [GC 7.845: [DefNew: 1984K->158K(1984K), 0.0181146 secs] 4138K->2495K(6080K), 0.0183025 secs] [Times: user=0.01 sys=0.00, real=0.02 secs]
    7.885: [GC 7.885: [DefNew: 231K->14K(1984K), 0.0055622 secs]7.891: [Tenured[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor2]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor1]
    : 2486K->2073K(4096K), 0.2881229 secs] 2568K->2073K(6080K), 0.2940010 secs] [Times: user=0.29 sys=0.02, real=0.29 secs]
    8.682: [GC 8.682: [DefNew: 1787K->170K(1984K), 0.0120166 secs] 5861K->4243K(6080K), 0.0122079 secs] [Times: user=0.02 sys=0.00, real=0.01 secs]
    9.163: [GC 9.163: [DefNew: 1524K->74K(1984K), 0.0086781 secs]9.171: [Tenured: 4237K->2299K(4352K), 0.2773675 secs] 5597K->2299K(6336K), 0.2863681 secs] [Times: user=0.28 sys=0.00, real=0.29 secs]
    9.472: [GC 9.473: [DefNew: 90K->17K(1984K), 0.0025361 secs]9.475: [Tenured: 4299K->2311K(6104K), 0.2718601 secs] 4390K->2311K(8088K), 0.2747072 secs] [Times: user=0.28 sys=0.00, real=0.27 secs]
    9.822: [GC 9.822: [DefNew: 585K->42K(1984K), 0.0027399 secs]9.825: [Tenured: 4311K->2085K(6104K), 0.3354828 secs] 4897K->2085K(8088K), 0.3385340 secs] [Times: user=0.34 sys=0.00, real=0.34 secs]
    Bursting process complete..
    Generating Bursting Status Report..
    --Exception
    /oracle/appl/orad1at2/product/comn/temp/102210_084117484/AUDIT_GS_BI-WEEKLY.pdf (No such file or directory)
    java.io.FileNotFoundException: /oracle/appl/orad1at2/product/comn/temp/102210_084117484/AUDIT_GS_BI-WEEKLY.pdf (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.zipOutputFiles(JCP4XDOBurstingEngine.java:532)
         at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:299)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Heap
    def new generation total 1984K, used 194K [0xb1000000, 0xb1220000, 0xb4780000)
    eden space 1792K, 10% used [0xb1000000, 0xb1030a98, 0xb11c0000)
    from space 192K, 0% used [0xb11c0000, 0xb11c0000, 0xb11f0000)
    to space 192K, 0% used [0xb11f0000, 0xb11f0000, 0xb1220000)
    tenured generation total 6104K, used 4085K [0xb4780000, 0xb4d76000, 0xd0400000)
    the space 6104K, 66% used [0xb4780000, 0xb4b7d490, 0xb4b7d600, 0xb4d76000)
    compacting perm gen total 12288K, used 7424K [0xd0400000, 0xd1000000, 0xd8400000)
    the space 12288K, 60% used [0xd0400000, 0xd0b402a8, 0xd0b40400, 0xd1000000)
    ro space 8192K, 80% used [0xd8400000, 0xd8a73430, 0xd8a73600, 0xd8c00000)
    rw space 12288K, 59% used [0xd8c00000, 0xd9330510, 0xd9330600, 0xd9800000)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Executing request completion options...
    Finished executing request completion options.
    Concurrent request completed
    Current system time is 22-OCT-2010 08:41:20
    Any Help Appreciated
    Thanks

    Hi;
    Similar issue mention at below notes, Please review:
    NPE Error While Bursting Using XDOBURSTREP in EBS R12 [ID 754790.1]
    Bursting Engine Ends With Java.Lang.Nullpointerexception[Article ID 559443.1]
    XDOBURSTREP - XML Publisher Report Bursting Program Fails with InvalidPropertyValueException[Article ID 603424.1]
    If its not help I suggest rise SR
    Regard
    Helios

  • XML Publisher Report Bursting Program Randomly failing

    Hi,
    In our environment "XML Publisher Report Bursting Program" fails randomly and failures are very very few and random, and can not be reproduced.
    The error message is
    +++++++++++++++++++++++++++++++++++++++++++
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    Current system time is 16-APR-2013 14:00:42
    Exception in thread "main" java.lang.NullPointerException
    at java.util.Hashtable.put(Hashtable.java:394)
    at oracle.apps.xdo.oa.cp.CPUtil.getSessionProperties(CPUtil.java:42)
    at oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine.runProgram(JCP4XDOBurstingEngine.java:84)
    at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    oracle.apps.xdo.oa.cp.JCP4XDOBurstingEngine
    Program exited with status 1
    Executing request completion options...
    ++++++++++++++++++++++++++++++++++++++++++++++
    Had been trying to find out any pattern, but no fix time or particular parent request.
    Only common point in failure with above error are below columns in fnd_concurrent_request
    Description - blank
    LFILE_SIZE - 1476
    & interim_status_code - Blank
    Any suggestions will be helpful

    Hi;
    Similar issue mention at below notes, Please review:
    NPE Error While Bursting Using XDOBURSTREP in EBS R12 [ID 754790.1]
    Bursting Engine Ends With Java.Lang.Nullpointerexception[Article ID 559443.1]
    XDOBURSTREP - XML Publisher Report Bursting Program Fails with InvalidPropertyValueException[Article ID 603424.1]
    If its not help I suggest rise SR
    Regard
    Helios

  • XML Publisher report not printing German character ü properly

    Hi
    We have a BI PU Report which gets the XML from the 10g report.
    When I run the report in Oracle Apps, the XML generated by the report has the correct name, but the pdf output doesnot show the correct name on it.
    Name (in XML file): *<FSE_NAME>Kühn, Thomas</FSE_NAME>*
    Name printed on pdf output: Kühn, Thomas
    This issue doesnot occur when I run the report on the local system using the xml file and rtf template.
    Please let me know if anyone has any idea about this issue. Attached is the xml file, rtf template and the pdf output.
    Thanks & regards,
    Anoop

    Hi,
    Please find below sql which will find the special characters in column of table,
    SET serveroutput ON size 1000000
    DECLARE
    PROCEDURE gooey (v_table VARCHAR2, v_column VARCHAR2)
    IS
    TYPE t_id IS TABLE OF NUMBER;
    TYPE t_dump IS TABLE OF VARCHAR2 (20000);
    TYPE t_data IS TABLE OF VARCHAR2 (20000);
    l_id t_id;
    l_data t_data;
    l_dump t_dump;
    CURSOR a
    IS
    SELECT DISTINCT column_name
    FROM dba_tab_columns
    WHERE table_name = v_table
    AND data_type = 'VARCHAR2'
    AND column_name NOT IN ('CUSTOMER_KEY', 'ADDRESS_KEY');
    BEGIN
    FOR x IN a
    LOOP
    l_id := NULL;
    l_data := NULL;
    l_dump := NULL;
    EXECUTE IMMEDIATE 'SELECT '
    || v_column
    || ', '
    || x.column_name
    || ', '
    || 'dump('
    || x.column_name
    || ')'
    || ' FROM '
    || v_table
    || ' WHERE RTRIM((LTRIM(REPLACE(TRANSLATE('
    || x.column_name
    || ',''ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789@#$%^&*()_+
    -=,!\`~{}./?:";''''[ ]'',''A''), ''A'', '''')))) IS NOT NULL'
    BULK COLLECT INTO l_id, l_data, l_dump;
    IF l_id IS NOT NULL
    THEN
    FOR k IN 1 .. l_id.COUNT
    LOOP
    DBMS_OUTPUT.put_line ( v_table
    || ' - '
    || x.column_name
    || ' - '
    || TO_CHAR (l_id (k), '999999999999')
    DBMS_OUTPUT.put_line (l_data (k));
    DBMS_OUTPUT.put_line (l_dump (k));
    DBMS_OUTPUT.put_line ('*********************');
    END LOOP;
    END IF;
    END LOOP;
    END gooey;
    BEGIN
    gooey ('GL_ALLOC_BATCHES', 'DESCRIPTION');
    END;
    Thanks,
    Amogh

  • Calling BI Publisher Report

    I call a bi publisher report from an apex button using:
    javascript:popupURL('&BI_URL.Guest/MERCURY/CUSTOMS/REJECTS/MER_REJECTS_MISC/MER_REJECTS_MISC.xdo?_xpf=&_xpt=0&_xdo=%2FGuest%2FMERCURY%2FCUSTOMS%2FREJECTS%2FMER_REJECTS_MISC%2FMER_REJECTS_MISC.xdo&P_REJECT_ID=&P59_REJECT_ID.&_xt=MER_REJECTS_MISC&_xf=rtf&_xmode=4');
    {CODE}
    The report opens but there is no standard toolbar, ie, cannot print or save. Do I need to specify something in the url.
    If I open this as a pdf then the print, save options are there
    Gus                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I changed the url and have managed to get the report to open in Word properly, ie, with toolbar.
    javascript:popupURL('&BI_URL.Guest/MERCURY/CUSTOMS/REJECTS/MER_REJECTS_MISC/MER_REJECTS_MISC.xdo?_xpf=&_xpt=1&_xdo=%2FGuest%2FMERCURY%2FCUSTOMS%2FREJECTS%2FMER_REJECTS_MISC%2FMER_REJECTS_MISC.xdo&P_REJECT_ID=&P59_REJECT_ID.&_xt=MER_REJECTS_MISC&_xf=rtf');I changed the xpt=0 to xpt=1 and deleted anything after the _xf=rtf'.
    This now opens in word correctly, but also opens an extra blank window. I have had this problem before and thought I had solved it by using the aboce codel.
    Does anybody know how to stop the generation of the blank window
    Cheers
    Gus

  • FO processing for XML Publisher Report Bursting Program

    Hello,
    I am facing the following problem: if i try to burst a report using XML Publisher Report Bursting Program special characters like (ş,ţ,ă, etc.) in the resulting PDF look strange. I have tried running the report without bursting it and the characters appear just fine (after i've set the FO Processing Font Mapping). My guess is that XML Publisher Report Bursting Program is not using the right font mapping. Have you faced this problem before? Do you have any idea how to set the right font mapping for XML Publisher Report Bursting Program.
    Thank you.

    So the answer was to make sure the location in the bursting file (location="xdo://schema.template_code.en.US) exactly matches the language/country setting in the uploaded Definition. Then make sure the fonts have been added to the xdo.cfg file matching what your Font Mappings are:
    <font family="Cambria" style="normal" weight="normal">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIA.TTC" />
    </font>
    <font family="Cambria" style="normal" weight="bold">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />
    </font>
    <font family="Cambria Bold" style="normal" weight="bold">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />
    </font>
    <font family="Cambria Bold" style="normal" weight="normal">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />

  • Register BI Publisher report in Oracle Apps

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

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

  • Publishing reports to Enterprise - Remote database access.

    Enterprise newbie.
    I can publish a report that accesses a database residing on the same server as Crystal Enterprise. Under the CMC, report process, database, I'm using the default report DB connections option. It runs fine in the user mode.
    The Problem
    Attempting to publish a report accessing a database not located on the same server as Crystal Enterprise, I get theis error: " There was an error retrieving data from the server: The database logon information for this report is either incomplete or incorrect. "
    I've tried a number of variations on the process database setup and have established user accouts on the remote server, using that accout as the report user and pw under process - database. 
    Both reports created on my desktop with ODBC conections.
    I think I am missing some page or cache server set-up.  Any suggestions appriciated.
    Paul

    Hi,
    If the ODBC connection is set up properly then make sure the servers  in the CCM are running on the domain administrator account.
    Please revert in case of any queries

  • Error when publishing report to remote crystal 2008 server

    In attempting to publish a report to a remote crystal server (see code below) I get this exception. 
    Since the server is on a remote host, it doesn't make sense to me to set the BOBJHome property or pass the file path.  This is why I am using the addUniqueFile() with the byte[] parameter file contents. 
    Is this the cause?  Is there a better way?  Please let me know if anyone has ideas. 
    Thanks,
    --Jeff.
    [http-8080-Processor25] ERROR gov.nrc.nsts.reporting.backend.helpers.PublishCrystalReportHelper - Could not publish report, exception:
    com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.b: Adding Crystal Report "6cc6326cc9dbc0" failed. An internal error occurred.
          at com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.d.a(Unknown Source)
          at com.crystaldecisions.sdk.occa.managedreports.reportadd.internal.d.refreshReportObjectProperties(Unknown Source)
          at com.crystaldecisions.sdk.plugin.desktop.report.internal.m.refreshProperties(Unknown Source)
          at gov.nrc.nsts.reporting.backend.helpers.PublishCrystalReportHelper.execute(PublishCrystalReportHelper.java:99)
         public void execute() {
              try {
                   // Ensure that the new parent is a folder
                   String query = "SELECT * FROM CI_INFOOBJECTS "
                       + "WHERE SI_ID = '" + cmsId + "'";
                   IInfoObjects parents = oInfoStore.query(query);
                   if (parents.size() != 1) {
                        resultSet.addException(new Exception("Parent Element not found: CMSID="+cmsId) );
                        return;
                  IInfoObject parent = (IInfoObject) parents.get(0);
                  // Enforce business logic
                  if ((parent instanceof IFolder)==false) {
                       // Can't add folder to a non-folder
                        resultSet.addException(new Exception("Parent element must be a Folder: " + parent.getTitle()));
                        return;
                   //You need to set the CeEnterpriseContext.BOBJ_ENTERPRISE_HOME property first
                   //in order to upload new reports because the runtime needs to have access
                   //to some utility files located in the Business Object Home directory
                   //Modify this to point to your Business Objects installation directory
                   //String BOBJHome = "C:\\Program Files\\Business Objects";
                   //Retrieve the system properties
                   //Properties properties = System.getProperties();
                   //Set the Business Objects home directory
                   //properties.setProperty(CeEnterpriseContext.BOBJ_ENTERPRISE_HOME, BOBJHome);
                   //Update the system proeprties
                   //System.setProperties(properties);   
                   //Retrieve the PluginMgr object.
                   IPluginMgr oPluginMgr = oInfoStore.getPluginMgr();
                   //Use PluginManager to retrieve the Report plugin, which is needed to publish a new report.
                   IPluginInfo oPluginInfoNewReport = oPluginMgr.getPluginInfo("CrystalEnterprise.Report");
                   //Create a new InfoObjects collection to add the new report to
                   IInfoObjects oInfoObjects = oInfoStore.newInfoObjectCollection();
                   //Add the newly created report plugin to the oInfoObjects collection. This will create
                   //a new InfoObject based on the type of plugin passed in.
                   oInfoObjects.add(oPluginInfoNewReport);
                   //Retrieve the newly created report InfoObject
                   IInfoObject oInfoObjectNewReport = (IInfoObject)oInfoObjects.get(0);
                   //Set the report name and file location
                   InstanceNameBean inb = (InstanceNameBean)Helper.getDto(params, InstanceNameBean.class);
                   oInfoObjectNewReport.setTitle(inb.getName());
                   //FilePathBean fpb = (FilePathBean)Helper.getDto(params, FilePathBean.class);
                   //oInfoObjectNewReport.getFiles().addFile(fpb.getPath());
                   byte[] reportContents = (byte[])Helper.getDto(params, byte[].class);
                   oInfoObjectNewReport.getFiles().addUniqueFile(reportContents);
                   //Set the parent folder for the new report.
                   oInfoObjectNewReport.properties().setProperty(CePropertyID.SI_PARENTID, cmsId);
                   //Refresh the report properties to update the new report information before
                   //committing the changes to the InfoStore
                   IReport oReport = (IReport)oInfoObjectNewReport;
         -->          oReport.refreshProperties();  <-- !!throws exception here!!
                   //Commit the new collection to the CMS using the commit method. This publishes the new report.
                   oInfoStore.commit(oInfoObjects);
              } catch (SDKException e) {
                  logger.error("Could not publish report, exception: ", e);
                   resultSet.addException(e);

    This is an example of a stored procedure that is trying to be linked to a new report as the only datasource.
    If I remove the parameter I can create a report, however this will return all of the results of thw query to the report, rather than the desired results. If I add the parameter on the Crystal Report, the stored procedure then has to return all of the results to Crystal and then perform the filtering of records. By using a parameter in the stored procedure, you should be able to do all of the filtering as part of the query on the databse server, making this more efficient.

Maybe you are looking for