Can u access Oracle9i Reports objects from Java Code?

Hi,
How can you access Oracle9i Reports (Rel 2) objects like Body, DataSource, Groups etc from Java Code?
What are the available APIs?
I went thru the APIs at http://otn.oracle.com/products/reports/htdocs/getstart/docs/Javadocs/oracle/reports/plugin/definition/package-summary.html
However various constructors stated in these APIs are using classes from "oracle.reports.definition" package which are difficult for me to locate.
For eg. Report constructor is using oracle.reports.definition.RWReport and there is no API documentation available for RWReport class.
Please suggest me the site for the above APIs or the method to get a reference to "Report" instance.
Thanks
Rakesh.

Thanks Tugdual for your quick reply.
Thats exactly what I am trying to do. I want to develop a utility which can have a subset of Report Developer's functionality.
Currently using Reports Developer & Report Wizard, I can create a report by providing SQL statement and few parameters (like Report Style, Calculated Fields, Template file etc). I want to put all these parameters in a XML file and run my java utility (based on the APIs which I am looking for) which will use these XML parameter file and generate a '.rdf' file.
Also, could you please suggest me the site for oracle.reports.definition package API or the way to get a reference to oracle.reports.plugin.definition.Report instance.
Thanks,
Rakesh

Similar Messages

  • Nwdi-managed access of pcd-objects from java web dynpro

    Hi,
    im am trying to access portal pcd-objects from a java web dynpro component (namely getting and setting personalized iview properties). for locally managed web dynpro components this works fine with the code below.
    when i try the same with a nwdi managed web dynpro component i run into problems regarding references to used dcs. for instance, i need to reference used dc SAP_JTECHS/tc/epbc/pcm/adminapi/java because the build needs tcepbcpcmadminapijava.jar which is inside the mentioned dc. but access permissions of this dc don't allow the dependency. when i try to "add used dc ..." in nwds i get the error message: illegal dependency: access list does not allow use of ...
    has someone any solution for this problem? are there other ways of accessing pcd-objects from java web dynpro (nwdi managed!)?
    thanks
    heiko
    private static void savePersonalizationData(String value) {
         try {
              IAttributeSet attributeSet = (IAttributeSet) getIview(IVIEW);
              attributeSet.putAttribute(ATTRIBUTE, value);
              attributeSet.save();
         } catch (Exception e) {
    private static Object getIview(String pcdPath) throws Exception {
         Hashtable env = new Hashtable();
         env.put(
              com.sap.portal.directory.Constants.REQUESTED_ASPECT,
              com.sap.portal.pcm.admin.PcmConstants.ASPECT_SEMANTICS);
         env.put(
              Context.SECURITY_PRINCIPAL,
              WDClientUser.getCurrentUser().getSAPUser());
         env.put(
              IPcdContext.PCD_PERSONALIZATION_PRINCIPAL,
              WDClientUser.getCurrentUser().getSAPUser());
         InitialContext iCtx = new InitialContext(env);
         return iCtx.lookup(pcdPath);

    Hi Kust,
    To access the PCD objects the code you used looks ok for me but your main issues is related to the dc access permissions. This thread discussed about the similar issue. Please review this below thread.
    /message/979328#979328 [original link is broken]
    Regards
    Krishna Reddy

  • Accessing the Binding Layer from Java

    Dear All
    How can i Accessing the Binding Layer from Java code i need details document for it becuase i have complex binding object (object inside object)
    Regards
    Mohd.Weshah

    i know but my case is complicated :
    Dear All
    i have generate a human task based task flow and i create a page with payload object . i have an empiterator whcih include the following attributes :
    - id
    - name
    - telephone
    - department (Complex object) it include another attributes - dept and dept Name
    my question i want to fill the empiterator by java code and fill all attributes including complex object (department ) from java code (my backing bean). \
    you can download a document that describe my problems by images and details :
    [http://www.4shared.com/account/document/fTREP1mv/ADF_Question__2_.html]
    Regards
    Wish79

  • Cannot Acccess Applet Object from Java Script

    Hi,
    I am using jRE1.5, and Kava Chart Applets. Those applet jars are compiled in jdk 1.5 version. I have created one jsp where I used ,<applet> tag. The problem is when ever I am going to access the applet object from java script it is not returning the actual java applet object, when put an alert message it shows [object]. So i am not able to access the methods or the applet class.and also the screen gets hung, nothing is coming.It get stuck at the point where i tried to access the applet method like document.getElementById(applet_id).<<<some method of the applet class>>.Also it is not showing any kind of javascript error or Applet class exceptions.
    But the strange thing is, when i use jdk 1.6, the page is running fine.Also when i try to print the applet object from javascript it is showing the proper class name.
    Please help me solving the problem.

    A number of changes and improvements were made between 1.5 and 1.6 - the entire plugin is new. You need to change to 1.6, as 1.5 goes EOL about November this year and future changes to this area in 1.5 are unlikely.

  • How can i access all the objects of one schema from another schema

    Dear All,
    How can i access all the objects(Tables,Views,Triggers,Procedures,Functions,Packages etc..) and do the modifications of one schema from another schema (Without using synonyms concept).
    Thanks in advance,
    Mahi

    First of all, synonyms only help you easy reference the object. It doesn't have any implication of object privilege.
    As long as you have proper privilege on target object. You can access it with or without synonyms.
    Assuming you have proper privilege of objects, you can use following command to assume schema owner.
    ALTER SESSION SET CURRENT_SCHEMA = Schema_owner

  • Accessing excel from java code

    Hello
    our system uses reportNet to generate reports. When reports are generated in CSV format we have a problem:
    Report consists of people (can be more than one) so under name column we have same name in more than one row. BUT if more than one name is suppose to be in the CSV report then the header (column names row) is again printed.
    so for example if i requested rpeort for two names A and B (reportNet uses same template which is executed twice) then report will look like this
    Name (header - column name)
    A
    A
    A
    A
    A
    Name (header - column name)
    B
    B
    B
    B
    I want to be able to remove the second header that comes before B starts.
    so i was thinking i would be able to access this excel sheet from java. and keep record of every row. If the row changes from A to B...i delete the previous row (which would end up being the second header).
    Can this be done thru java. I havnt before accessed excel sheets from java so any pointers would be greatly appreciated.

    Hi, well CSV is not currently an Excel file, it is a Comma Separated Values
    file which can be read through Excel.
    Now, if you wish to remove the header, I would purpose that you develop an
    application that reads the CSV file, as it is mere text, and that it also reads
    another file (lets call it confirguration.txt) in which you determine the pattern
    you want to remove, then you just read your report and if a string line
    matches the pattern you defined in the configuration.txt file, then you simply
    erase it.
    And if you keep interested in reading real Excel files (xls), I would
    recommend you use POI-HSSF API from Apache.org
    http://jakarta.apache.org/poi/hssf/index.html
    Hope this helps, cya around.

  • How register COM object from java?

    Hi!
    In my user home directory I have myCOM.dll. My sign applet use this myCOM.dll. But before use this dll I must register it (by use regsvr32).When myCOM.dll will be success register my applet can work. The problem is that I can not get answer from regsvr3 (is myCOM.dll are successed registered or not, or is user has a grants to register COM object and so on.)
    Again, my java applet can work ONLY when myCOM.dll is registered.
    How I can register myCOM.dll from java applet and if registered is not success exit from java applet?

    I must not have been clear. I am not asking how to access a COM object using Java, we already have tools to do that.
    The question is whether there is a way to define a COM interface using Java. I want to code my COM object in Java. Right now we are using PowerBuilder to code COM objects. I would rather use Java.

  • How to Remove a Report Object from a Category Without Deleting It?

    I'm trying to "remove" a report object (in this case a Webi Report) from a Personal Category. However, I've found that when I right-click on the report within the Category and choose "Organize >> Delete", not only does it remove the report from the Category, it also deletes the "source" report from it's original location... not good.  (NOTE: If I try this as a user without rights to delete report objects, I don't even get the "Organize >> Delete" option, as would be expected based on the behavior I'm seeing.)
    Does anyone know if there is a way to "Remove" report objects from Categories without deleting the report from its original location?  The only option I can think of is to simply recreate (copy/paste) the whole category with all of its components (less the undesired report object) and then delete the original Category.
    Thank,
    Josh
    Edited by: Josh Crawford on Sep 9, 2010 9:25 AM

    Hi,
    This is much easier than it looks like, although it's not intuitive.
    For example, when some webi is in a category, categories where the webi is linked are underlined in blue:
    If you click in those blue marked categories and click Accept, you're unlinking the webi/report/dashboard from that category:
    -->
    Hope it helps
    Alberto

  • Discoverer Report  Can i Access these report vie Internet

    Dear Sir,
    Can i access the report from cyber cafe(Web Enabled) that is generated with oracle 9i Discoverer. If YES then How ?
    If NO then Why
    OR
    any other version from which we can access the report from cyber cafe that created with discoverer

    Hi Felix,
    of course. this works. In the customer exit you can read in step 2 the variables from the input screen.
    function z_bw_e_zepcfiscyvvg.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_VNAM) TYPE  RSZGLOBV-VNAM
    *"     VALUE(I_VARTYP) TYPE  RSZGLOBV-VARTYP
    *"     VALUE(I_IOBJNM) TYPE  RSZGLOBV-IOBJNM
    *"     VALUE(I_S_COB_PRO) TYPE  RSD_S_COB_PRO
    *"     VALUE(I_S_RKB1D) TYPE  RSR_S_RKB1D
    *"     VALUE(I_PERIV) TYPE  RRO01_S_RKB1F-PERIV
    *"     VALUE(I_T_VAR_RANGE) TYPE  RRS0_T_VAR_RANGE
    *"     VALUE(I_STEP) TYPE  I DEFAULT 0
    *"  EXPORTING
    *"     VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID
    *"     VALUE(E_MEEHT) TYPE  RSZGLOBV-MEEHT
    *"     VALUE(E_MEFAC) TYPE  RSZGLOBV-MEFAC
    *"     VALUE(E_WAERS) TYPE  RSZGLOBV-WAERS
    *"     VALUE(E_WHFAC) TYPE  RSZGLOBV-WHFAC
    *"  CHANGING
    *"     VALUE(C_S_CUSTOMER) TYPE  RRO04_S_CUSTOMER OPTIONAL
      data: wa_e_t_range     type line of rsr_t_rangesid,
            wa_i_t_var_range type rrrangeexit.
      data: l_month(2) type n,
            l_year(4)  type n.
      case i_step.
        when '2'.
          read table i_t_var_range
               into  wa_i_t_var_range
               with key vnam = 'M_SEV_01'.
          l_month = wa_i_t_var_range-low+4(2).
          l_year  = wa_i_t_var_range-low+0(4).
          if l_month = '01' or l_month = '02'.
            l_year = l_year - 3.
          else.
            l_year = l_year - 2.
          endif.
          wa_e_t_range-low  = l_year.
          wa_e_t_range-opt  = 'EQ'.
          wa_e_t_range-sign = 'I'.
          append wa_e_t_range to e_t_range.
      endcase.
    endfunction.
    Variable 'M_SEV_01' is a input variable for calmonth. From this variable the coding extract the fiscal year.
    Sven

  • How to transport the report object from development clint to quality clint

    any body knows different ways of transferring  report object  from  development clint to quality clint.pse send ...

    Hi..
    LSMW:
    There are 2 ways for transporting LSMW data from a system to another.
    Export/import this method gives you the opportunity to select the subprojects or objects you want to transfer. LSMW -> Extras -> Export project
    Transport request with this method, you can transport a LSMW project in full (you can not select the objects you want). With this method, the project will be transported as any other SAP object in a transport order. LSMW -> Extras -> Create change request
    Program variants
    If you have several program variants in a development system that you want to transport, use the following method to transport them:
    Execute program 'RSTRANSP' (via se38) and inform the program and/or variant names (you can transport variant of several programs in one shot).
    Layout
    In some transactions, one can save layout of the screen (sort, filter, ... criteria).
    These layouts can be transported: In the required transaction, when your layouts have been saved, go to Settings -> Layout -> Layout Management. Select the desired layouts and go to Layout -> Transport... There you can add your layouts in existing TO or create a new one.
    Database data
    In some unusual cases, you might have to transport data of a SAP table.
    Go to transaction SE16, select your entries and go to Table entry -> Transport entries. It's only possible for some tables...
    If you cannot do it that way,you have to create a Workbench transport order with transaction SE10. When created, click on it, go in menu Request/task -> Object list -> Display object list.
    Go in modification mode and add a new line with:
    PgmID = R3TR
    Obj = TABU
    Object name = Name of your table
    Double-click on the created line and, depending on your need, put '*' in the key field or double-click on it and select the key you need to transport.
    Queries
    Queries, datasets and user groups can be exported/imported between the systems using the Program RSAQR3TR.
    Report template (ALV variants)
    There is a button or somewhere in the menu Change/Select/Save/Manage Layout.
    Go to Manage Layout, than Layout menu/ Transport.
    SAPSCRIPT Files Transport
    Use the program RSTXSCRP to upload and Download the SAPSCRIPT files to different systems
    Transport SAPSCRIPT
    Use the Program RSWBO052 to create the Transport Request for a SAPSCRIPT, In the Selection screen of the program, give R3TR – FORM – Give the Form name and press Execute button, it will ask the Development Class and the transport Request No.
    Standard texts
    Standard texts used in SAPScript(created with transaction SO10) can be included in transport orders. You have to create a Workbench transport order with transaction SE10. When created, click on it, go in menu Request/task -> Object list -> Display object list. Go in modification mode and add a new line with:
    PgmID = R3TR
    Obj = TEXT
    Object name = TEXT,,ST,
    Example :
    R3TR / TEXT / TEXT,YMM_MEDRUCK_MAIN_16_EC,ST,F
    Reward if useful
    ~Lakshmiraj~

  • How to get stylesheet object from JAVA RESOURCE stored in DB

    Hi,
    I stored a xslt file in the database and have a JAVA RESOURCE file now. How can i get a stylesheet object from this resource file?
    I took the following class to get an impression how to get the contents of the resource but -although the name of the resource was spelled correctly- i got a file not found exception.
    Whats wrong?
    public class PrintRessource {
    public static void print (String p_ressource){
    try {
    Class c = PrintRessource.class;
    System.out.println(c.toString());
    InputStream file = c.getResourceAsStream(p_ressource);
    if (file == null)
    throw new FileNotFoundException("XSLT file not in DB");
    byte[] buffer = new byte[4096];
    int bytes_read;
    while ((bytes_read = file.read(buffer)) != -1)
    System.out.println(new String(buffer, 0 , buffer.length));
    catch (Exception exp) {
    System.out.println(exp);
    Thanks

    The code works as is. I just forgot to add the slash in front of the Resource file name.

  • Accessing XI Tables (ABAP Stack) from Java code

    Hi,
    IS it possible to access tables like SXMSPMAST, SXMSPEMAS directly from Java code without the use of any RFC or BAPI in between?
    Cheers,
    Earlence

    I think it is technically possible, as you can get access to the JDBC Connector service using J2EE's JNDI feature ... Then you can use the internal DB datasource to read data from tables (read ONLY, cuz I'm not sure it is a good idea to update data "outside" the box, and reading can also have potiential perf or stability issue) ... Some (better) methods can also exist !
    Chris
    Edited by: Christophe PFERTZEL on Jan 15, 2010 3:07 PM

  • How to run report from java code

    I am a begginner in Oracle Reports. We have no AS installed, so we run reports either from Reports Builder or by calling rwrun. I would like to know how to embed report calling into java code , let's say into simple swing application. Some example code would be welcomed. Thanks.

    Hello,
    You can find examples in :
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_webservice.htm
    Oracle® Application Server Reports Services Publishing Reports to the Web
    10g Release 2 (10.1.2)
    B14048-02
    14 Using the Oracle Reports Web Service
    Regards

  • Access other schema object from connection

    Hi;
    from the dbconnection, how can I access other schema object?
    Thanks

    Hi,
    I don't know if I understand correctly but if you mean the scenario you connect to the database as SCOTT and you want to map table EMPLOYEES from HR schema, you can do it within wizard and in read only view object you
    use schema name as prefix like select * from HR.EMPLOYEES. If you mean something else please describe it more.
    regards,
    Branislav

  • HT1338 Why I can not access to yahoo games from my Mackbook Air?

    Why I can not access to yahoo games from my Mackbook Air?. I am using Mac OS X 10.7. 4.

    http://jdk7.java.net/download.html
    u10 fixes yahoo game problem.

Maybe you are looking for

  • PowerOn Failed Error: Domain Does Not Exist

    [Simon Thorpe's blog |http://blogs.oracle.com/simonthorpe/2009/07/migrating_a_vmware_server_2_wi.html] I'm new to OracleVM. The wizard through OVM Manager successfully converted a windows VMWare vm to ovm. I was able to start up the VM once and get t

  • Not able to select Adapter engine with adapter configuration

    Hello, We've just installed new XI system (PI 7.0 SP7). When we want to configure an comm. channel adapter running on the central adapter (eg. RFC_adapter)engine. In the dropdown bo for the Adapter Engine No entry is available for selection. When loo

  • Safari. When going back on a web page, why does that page start at top?

    Hi, new to Apple and macbooks etc, but bought a new Macbook Pro and very happy I am with it too. However, one thing with Safari bothers me. When I am on eBay for instance and have scrolled halfway down a page, I then click a link that takes me to wha

  • About OLE2_OBJECT problem

    Hi everybody! I found a few OLE code. as follows   CREATE OBJECT EXCEL_OBJ 'Excel.Application'.   IF SY-SUBRC NE 0.     MESSAGE E796(F9) WITH 'Can not Create Excel Object!'.   ENDIF.   CALL METHOD OF EXCEL_OBJ 'Workbooks' = WORKBOOK_OBJ.   CALL METHO

  • Convert WPD to PDF

    I have a user that when she tries to open a WordPerfect file with Acrobat she gets a "Unsupported file type error" for the .wpd extension. Is that something that is supported or that just needs to be configured, within Acrobat. Thanks