Dr. Damien's Development - Object Based File I/O VI - Implementation I

This time, a few tweaks to design and start implementation of the base classes.
Top Level Design
Location — Add Open, OpenAs, and Close methods to open and close locations in the file. Open is only usable on self–describing files. OpenAs specifies the data type on non–self–describing files and overrides the data type (if possible) on self–describing files.
Data — Moved data into children so that they could contain an array of instances of their parents.
DataArray and DataScalar — Added containedData and accessors.
Processing — Added internal data to determine whether the processing is on read, write, or both.
In thinking about the location format, I came to the conclusion that the hierarchical path format given last week cannot be used for a raw binary file. The only information of import is the location in the file. This can be specified in bytes or numbers of a certain data type, but a “path” is not appropriate. I could coerce it into some sort of path format, but this would be equivalent to creating a formatted binary file, such as TDMS or HDF5, and that is not the intent of this exercise. The path format is appropriate for the other file types.
Attached is the start of an implementation of the base classes. All base classes are all created and inheritance is in place. Base icons have been created. The icons file attached includes these so you can use them in your icon creation, as well (feel free to do a nicer job ). Note that the icons include an area at the bottom to enable customization for the file type. Only one or two of the methods have been created.
Next time, I will try to finish off the implementation of the base classes. If time permits, I will start on a vertical slice through the binary file type. After that, the next file type is up for discussion. INI, TDMS, ZIP, HDF5, ??? What would you like to see implemented?
Previous Posts In This Series:
Representative File Types with conversation on design
Requirements
Top Level Design
Design II
Design III
This account is no longer active. Contact ShadesOfGray for current posts and information.
Attachments:
FileIOClassDiagram.zip ‏7 KB
FileIOIcons.zip ‏5 KB
LVObjectFileIO(LV2009).zip ‏133 KB

Get the next one in this series here.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • Dr. Damien's Development - Object Based File I/O II - Requirements

    Last time, we looked at some representative file types. This time, we will look at requirements.
    Interface
    File objects should be as interchangeable as possible. One of the primary purposes of this exercise is to allow easy interchangeability of file types in the code.
    API should be as flexible as reasonably possible. Given the choice between flexible and ease–of–use, flexibility wins. Ease–of–use can be gained by combining multiple, harder–to–use pieces together.
    API will consist of several layers — expert, intermediate, and easy. The expert layer will be the focus of this exercise due to the emphasis on flexibility. However, the intermediate and easy levels will be considered during the design.
    All layers will be usable together.
    As the layers get easier, they will probably more resemble the current APIs for the particular file type, but it is expected that the interchangeability will drop. This drop in interchangeability will be avoided as much as possible.
    Data Handling
    All LabVIEW numeric data types will be supported.
    Timestamps will be supported.
    Waveforms of all flavors will be supported.
    Strings will be supported.
    Clusters may be supported. Their use can generally be supported through use of the base data types.
    Objects may be supported through flattened strings.
    Arrays and matrices of arbitrary dimensions of all supported data types (which support arrays and matrices) will be supported.
    Compression will be supported.
    Audio and video codecs will be supported.
    Decimation for display will be supported.
    Security will be supported as needed by the file types.
    Arbitrary metadata will be supported. Metadata is ancillary data which is used in conjunction with the main data. For example, the timestamp and period are metadata to a waveform.
    Arbitrary hierarchy in the file will be supported.
    Fixed hierarchy in the file will be supported.
    Compressed files will be supported (e.g. ZIP or bz2).
    File Formats
    ASCII file types, such as LVM, TDM, and XML, will be supported.
    “Unstructured” binary will be supported.
    Image file types, such as PNG and JPEG, will be supported.
    Audio file types, such as WAV and MP3, will be supported.
    Video file types, such as AVI and MPEG, will be supported.
    Scientific file formats, such as FITS, DICOM, and HDF5 will be supported.
    LabVIEW native file types, such as LVM, DataPlugin, and TDMS, will be supported.
    Office productivity software file types, such as XLSX and ODC will be supported.
    Note that support means that it can be relatively easily added to the framework, not that it will actually be written in the next few weeks. There are many man–years of work in the above list. Support is also contingent upon support in the underlying file type. I will be implementing a small subset of it, but hopefully a useful core that others can build upon. I spent a month exposing a fraction HDF5 in LabVIEW many years ago. It would probably take equal work to expose any of the complex file formats given above or in last week's list, such as FITS or TIFF. In addition, the easy availability of codecs and the proprietary nature of many of them will preclude easy implementation of many of the audio and video file types, although personal use of such frameworks as ffmpeg may make this much easier.
    Previous Posts In This Series:
    Representative File Types with conversation on design
    This account is no longer active. Contact ShadesOfGray for current posts and information.

    My comments and requests;
    1) I Agree that we/you are just going to start us off in the right direction>>> not all of the above will be implemented.
    2) LV 2009 and higher please.
    3) A design document showing where the other version will fit into the puzzle.
    4) A "tester" for each version of file that will verify it can operate in an exe (moving to a built version is something I need to learn more about since paths can change and dynamic loading of Classes needs to be taken into concideration)
    5) Repeating (sorry) images of the Classes and how they will interact. UML and LV are different critters and translating from one to another is not always straight forward (where does THIS instance of the object live? in a SR in a Class in a SR etc)
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Problem with 2 View Objects based on One Entity -Probably a Bug in ADF BC

    Hi
    I am using JDeveloper 10.1.3(SU5) and adf faces and ADF BC and to explain my problem I use HR schema.
    First, I created 2 view objects based on countries table named as TestView1 and TestView2. I set TestView1 query where clause to region_id=1 and TestView2 query where clause to region_id!=1 in the view object editor and then I created 2 separated form on these 2 view objects by dragging and dropping from data control palette.
    Now when I insert a record in the form based on TestView1 with region_id set to 1 and commit the record and go to the next form I can see the record in the second form which is completely wrong since it is against the where clause statement of the second form.
    I am really confused and the situation is very wired and it seems to me something like bug in adf bc.Am I right.Is there any work around or solution for solving this problem.
    Any help would be highly appreciated.
    Best Regards,
    Navid

    Dear Frank,
    Thank you very much for your quick response.
    Reading your helpful comments now I have some questions:
    1- I have commited the record in the database so shouldn't the query of view objects be re-queried?
    2- We try to use ClearVOCaches (entity_name,false) in afterCommit of the base entity object but unfortunately it does not work correctly. after that,We got root app module and used findViewObject method to find all the view of that entity (we have found them by using name not automaticlly) and called executeQuery of all views. From my point of view it has 2 big disadvantages. First suppose that this entity is an important entity and 4 or 5 viow objects are based on it. Now, For inserting one record we should re-execute 4 or 5 view which I think makes some performance issues. Besides, If during the development one programmer add a new view object based on this entity and don't add the executeQuery in the afterCommit for this view, again we have the same problem. Isn't there at least a way that automatically refresh all related view objects however the performance issue still exists.
    3- You mentioned that this issue is handled in the developer guide. Could you kindly give me a refrence which developer guide you mean and which section I should read to overcome this problem.(I have ADF Developer's Guide for Forms/4GL Developer's Guide , however I search for clearVOCaches and surprisingly nothing was found!!!)
    4- Could you please give me some hints that from your point of view what is the best method to solve this problem with minimum performance effect.
    Any comment would be of some great help.
    Thanks in advance,
    Navid

  • Net.sf.jasperreports.engine.JRException: Error loading object from file : C

    I started using JasperReports for my web application report generation. I'm using JSPs for web development.
    I created a .jrxml file using iReport and used the following code to generate the report.
    try {
              JasperDesign jasperDesign = JRXmlLoader.load("C:\\tomcat\\webapps\\web\\JSP\\reports\\samples\\pmm-final.jrxml");
              JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
    // Second, create a map of parameters to pass to the report.
              Map parameters = new HashMap();
              parameters.put("Title", "JasperReport");
    // Third, get a database connection
              Connection conn = null;
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              conn=DriverManager.getConnection("jdbc:odbc:driver={Microsoft Access Driver (*.mdb)};DBQ=C:/tomcat/webapps/db1/db1.mdb");
    // Fourth, create JasperPrint using fillReport() method
              JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport,
                                  parameters, conn);
    // You can use JasperPrint to create PDF
              //JasperExportManager.exportReportToPdfFile(jasperPrint, "C:\\tomcat\\webapps\\web\\JSP\\reports\\TestReport.pdf");
              JasperExportManager.exportReportToHtmlFile(jasperPrint, "C:\\tomcat\\webapps\\web\\JSP\\reports\\TestPMM.html");
              JRXlsExporter exporter = new JRXlsExporter();
              exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
              exporter.setParameter(JRExporterParameter.OUTPUT_FILE_NAME, "C:\\tomcat\\webapps\\web\\JSP\\reports\\TestPMM.xls");
              exporter.exportReport();
    // Or to view report in the JasperViewer
              //JasperViewer.viewReport(jasperPrint);
    } catch (JRException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
    } catch (SQLException e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
    The above pmm-final.jrxml uses a subreport 'top.jasper'. Error being thrown while loading top.jasper file. Error is as follows.
    java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBaseReport; lo
    cal class incompatible: stream classdesc serialVersionUID = 604, local class ser
    ialVersionUID = 606
    at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:86
    at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLo
    ader.java:236)
    at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubre
    port.java:295)
    at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:
    340)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBand(JRVert
    icalFiller.java:1224)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVe
    rticalFiller.java:353)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRV
    erticalFiller.java:205)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVertic
    alFiller.java:119)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
    613)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
    483)
    at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:77
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
    nager.java:248)
    at org.apache.jsp.JSP.UserGuide_jsp._jspService(org.apache.jsp.JSP.UserG
    uide_jsp:74)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:325)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
    95)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
    a:148)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:306)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:684)
    at java.lang.Thread.run(Unknown Source)
    NESTED BY :
    java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBaseReport; lo
    cal class incompatible: stream classdesc serialVersionUID = 604, local class ser
    ialVersionUID = 606
    at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:86
    at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLo
    ader.java:236)
    at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubre
    port.java:295)
    at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:
    340)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBand(JRVert
    icalFiller.java:1224)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVe
    rticalFiller.java:353)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRV
    erticalFiller.java:205)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVertic
    alFiller.java:119)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
    613)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
    483)
    at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:77
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
    nager.java:248)
    at org.apache.jsp.JSP.UserGuide_jsp._jspService(org.apache.jsp.JSP.UserG
    uide_jsp:74)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:325)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
    95)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
    a:148)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:306)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:684)
    at java.lang.Thread.run(Unknown Source)
    NESTED BY :
    net.sf.jasperreports.engine.JRException: Error loading object from file : C:\tom
    cat\webapps\web\JSP\reports\samples\top.jasper
    at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:90
    at net.sf.jasperreports.engine.util.JRLoader.loadObjectFromLocation(JRLo
    ader.java:236)
    at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubre
    port.java:295)
    at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:
    340)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageBand(JRVert
    icalFiller.java:1224)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVe
    rticalFiller.java:353)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRV
    erticalFiller.java:205)
    at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVertic
    alFiller.java:119)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
    613)
    at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:
    483)
    at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:77
    at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillMa
    nager.java:248)
    at org.apache.jsp.JSP.UserGuide_jsp._jspService(org.apache.jsp.JSP.UserG
    uide_jsp:74)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:325)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
    95)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:178)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:126)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:105)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:107)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
    a:148)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:306)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:745)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:868)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:684)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBas
    eReport; local class incompatible: stream classdesc serialVersionUID = 604, loca
    l class serialVersionUID = 606
    at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at net.sf.jasperreports.engine.util.JRLoader.loadObject(JRLoader.java:86
    ... 33 more
    Anyone pls help. It's bit urgent. Thanks.

    I was using iReport v0.5.0 and it uses jasperreports-0.6.7.jar (v0.6.7) of
    JasperReports. I compiled and i deployed my application in BEA weblogic server. I got the error listed below. Only after i saw your
    response explaining that iReport was the issue, i checked the iReport lib directory and found this version of jasperreport jar.
    iReport creates a java source file which is used to a jasper file.
    iReport will link in the v0.6.7 version of jasperReports. When you
    deploy your web application it will recognize this version through the compiled jasper file and give you the InvalidClassException, even
    though you only have one jasperReport jar deployed with your war file.
    The way i fixed this problem was to create my web application with the
    jasperreport jar comes with iReport.
    Thanks for mentioning iReport.
    Christopher
    Error:
    Caused by: java.io.InvalidClassException: net.sf.jasperreports.engine.base.JRBas
    eReport; local class incompatible: stream classdesc serialVersionUID = 607, local class serialVersionUID = 10002
    at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
    ...

  • Creation of New Custom Development Object in Solar02

    Hi,
    We are trying to create an object type of Form for a new custom development object in solar02 under tab Development,and for this I get an error that the object doesn’t exist in development environment. 
    Based on my analysis, it looks like Solution Manager only allows to link pre-existing development objects but not creating new objects.  Is that right?  If  not please advice how can we add new custom objects through solution manager.
    Thanks & Regards,
    Sandeep Alapati

    hi,
    solar01/02 is the tools for documenation, it is not for creating objects. 
    basically it should allow you to enter any developement objects names, irerespective of whether they are created in the back end system or not.
    please provide the screenshots.
    Thanks
    Jansi

  • Importing Development Objects in Integration Repository ?

    Hi ,
    How do i import development objects that have been exported ? e.g , i export a "message mapping" object using Tools->Export Development Objects, could see it stored in a folder in the XI server m/c , however , when i try import development objcts option from Tools menu, i don't see an option to specify the location of the .tpz file which has to be used for import !!
    Also , if i try to import the message mapping object which was created in a different namespace to my new namespace, will there be any issues ?
    Are there any changes that have to be done in my new namespace( assuming i will be able to do the import in the first place).
    Ne pointers as to how to do it are welcome
    Thanks
    Saravana

    Hi,
    When you export 'a message mapping object'/repository objects (all objects in repository is called repository objects), it is stored under
      <install_path>/xi/repository_server/export
    To import this object, you must manually copy this into
      <install_path>/xi/repository_server/import
    and then choose the Tools -> Import Design Objects..." menu option to import the repository objects (only the files from the import directory can be selected).
    If the import is sucessful, the import object will be moved to /importedFiles folder.
    While importing, i don't think you can change the namespace of the object. After importing also it will have the same namespace as before importing.
    Hope it helps.
    - Sreekanth

  • Develop report based on INFOCUBE and ODS

    Hi,
      Pls, can anybody help regarding developing reports based on INFOCUBE
    and ODS object
    i am using SAP BW 7.0
    what is the transaction code for reports
    what are the steps to develop reports
    Thanks\
    - Mubeen.

    There is no transaction code as such as you have to use the front-end application to create queries off your Cubes/ ODS.
    open Bex query designer -> select info provider (cube or ods) -> drag and drop the keyfigures in columns, -> char in rows -> save.
    Also look at
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm

  • Web based file explorer

    Hi all, I'm new here, but i hope you guys can help me out
    I've had some good experience with DW, but on php. Now i'm
    working on a company where I'm forced to use ASP, and I am quite
    enjoying it.
    I developed a web based file explorer, with a javascript
    frame on the left with the folder tree, and mainwindow on the
    right, to ease up the file download.
    Basically, all i do with my script, is to send a folder
    string via url like this:
    www.blablabla.com/xpto/files.asp?folderref=./folder1/folder2
    the script just grabs a handle on the folder
    /xpto/data/folder1/folder2/ and list the files, with links, icons
    for every file, last mod date, size, and file type.
    My problem... I need to do a back button to do a folder up.
    I'm currently using the javascript:history.back(-1) system, but
    that's not very reliable since you can browse a different folder in
    the tree and clicking it goes back to the last folder it was in.
    other thing
    i have a path string using the string passed by url, and
    replacing the / by -> and . by home... I'd like to put links in
    each of the folder names so it'd go directly to those folders
    ie. Home -> folder1 -> folder2 -> folder3
    the link in folder 2 would resolve /xpto/data/folder1/folder2
    Any way to strip the string that way?
    One other thing...
    The file explorer tree, gets the folder structure from a
    multi-dimesnional array set this way:
    ['Home', 'index.asp?folderref=.',
    ['a', 'index.asp?folderref=.',
    ['b', 'index.asp?folderref=.',
    ['c', 'index.asp?folderref=.'],
    This causes me a problem... It's not as dynamic as i wanted
    it to be. Is there a way to make a script that generates the folder
    structure, but only needs to be run everytime the folder structure
    is altered? The file structure is altered very few times. (once a
    month or so)
    Or
    Is there a way to generate the file structure everytime the
    script is run?
    Which is more reliable?
    Thanks in advance
    Cheers
    Eddy

    If file structure updates so few times per month, I think it
    is good idea to generate structure of files and folder through cron
    (unix scheduler) or some kind of scheduler for windows
    But if your files updated frequently it is better to generate
    structure at every request to files.asp

  • How can i get session object based on session id?

    I have tried searching in forum but i can't find any solution that i can get session object based on session id and i also would like to know how to check whether the session is still active? My company currently using weblogic 5.1. I really hope that some one or anyone can help. I am new in using Servlet. I hope that i can find some answer here. Thank you.

    I have a need to get a Session object from a session id, so I don't think that the above should be deprecated. Here is my use case:
    0. I am displaying files in a file list
    1. I am downloading files.
    2. I am downloading files through a Servlet
    3. I am displaying the files as images in an applet
    4. The applet is ImageJ, and it apparently uses a full URL to download the file.
    5. I use request.getRequestURL() in the applet .jsp to get the full URL (the hostname and port)
    6. My app server is OC4J and it's behind an apache server and is host aliased.
    7. Thus the hostname is different between my applet .jsp and the Servlet URLs
    8. Thus I have 2 different sessions
    9. Thus I need to pass the session id (or some other unique identifier).
    10. I could stored the unique identifier in the application object, but then I would need to clean it up
    11. I cannot pass the the full path to the image due to security problems (what if someone downloads my password file?)
    12. I would like this to work in a clustered environment
    13. I think that WebDAV would solve my problems, since I could pass a full URL of webDAV to ImageJ for download. However, I am unsure how the security of WebDAV would work with ImageJ/URLConnection. I will have to research this feature in ImageJ.

  • Importing Development Objects

    I created a transport request into which I packed my gallery folders and development objects. I exported the request as a local file
    I then deleted all the folders along with the development objects and then imported the .sda file using the SDM. 
    The folders were recreated, but the development objects did not re-appear even though I had turned off the post-processing by setting the devobj.after_import_processing key to false.
    In addition, I tried to manually import the development objects, but they were not availalble there either.
    Any help would be appreciated.

    Hi Gregory,
    Please note that you export the GP Contents to the ABAP stack of a server,
    and while importing you need to Select the same Server to which the contents were exported.
    Server1(Java Stack) --> <b>Export</b> --> Server2(ABAP Stack)
    Server2(ABAP Stack) --> <b>Import & Release</b> --> Server2(Java Stack)
    Hence while importing you need to see to which Server you exported from same server you need to import.
    Hope it will help....
    Regards,
    Deepak

  • Object based navigation not working in FPN

    Hi All,
    We are having issue with Object Based Navigation in FPN. 
    System details are, Central Portal 7.01 sp 06 and Child (SRM) Portal 7.01 SP 07.
    We are using the standard business package iView Check Status, which is working fine in Producer Portal and the same is not working in Central Portal.
    Kindly help us on this.
    Regards,
    Venkatesh K

    Hi Venkatesh,
    Before gettign into the isue there is some limitation given by sap on this reagrds of OBN with fpn:
    1.A content developer may create an OBN source iView to call the OBN service to run code that processes a number of target iViews and displays them for the user to choose from, during runtime, in a context menu accessible from the source iView.
    When in remote delta link mode, the federated portal network does not support this implementation of OBN, regardless or whether the source iView calling the OBN service was created in NetWeaver 7.1 or in NetWeaver 7.0 and then upgraded to 7.1.
    2.The user on the consumer side may have additional roles that the respective user on the producer does not have.
    Conversely, OBN does not search for targets in roles that the user has on the producer, which do not exist on the consumer.
    Note also: In remote role assignment mode all content editing is done on the producer, including the editingobject-based navigation, such as the removal and addition of implementations and changes in priority
    so as per your perspective issue can i clearly knwo abou the issue your getiing ,as it is working fine in Producer Portal and not in central portal right?
    Once check for the remote delta link which might help you to resolve your issue,Hope this information helps you or take near to the issue any more queries get back !
    Thanks&Regards
    AswinChandraGirmaji

  • Import SQL Developer xml History files to a table

    I'd like to import my SQL Developer xml history files into an Oracle table. What's the best way to do this?

    I had some success in Pages 1, but I've only tried a couple of times so far in Pages 2 without success. The trick was to make sure the table is the exact number of columns wide. It's very "klunky" but I've ended up converting the tab-delimited text to a table in AppleWorks, saving the AppleWorks file with the table as a "floating" object (fixed objects don't translate) & opening the file in Pages. It's quicker & easier for most of what I do to just drag & drop in Pages.
    Peggy

  • Export of development objects

    Hello everybody,
    I need some help with my SAP BW 3.1 WAS 6.20. I would like to export a development object with all the contained elements into a file so that I can import this development object into another SAP system. I have searched the SAP help and the internet but unfornutaly without any success. I will appreciate any help or hint on how I can do this.
    Thanks in advance,
    Daniel

    Hi Alec,
    I think that of the 3 you mentioned Crystal Reports is your best bet. WebI & DeskI do not schedule to XML using the standard scheduler.
    You might also consider Query As A Web Service which will retrieve your data in XML format.
    Regards
    Alan

  • How to programatically syntax check development objects

    Hello,
    We are going through a test upgrade project (4.6C to 4.7) and need to identify all custom objects that have syntax errors. I was able to find some FMs that do syntax check for executable programs (EDITOR_SYNTAX_CHECK, CHECK_SOURCE, etc) but was not able to find any FM/Program that can syntax check different kind of development objects like tables, FMs, Includes, programs, etc. It seems that different objects use different syntax check programs. I am basically getting a list of custom objects from tadir and then want to submit this object to a FM that can tell me if the object is syntactically OK.
    Any help is much appreciated.

    Hello All,
    With the tips I got from you I was able to identify a transaction called SCI - Code Inspector that does everything that I was wanting to do.
    You need to specify an object set that you want to inspect (e.g.: Z programs, Z function groups, etc) along with the type of inspection (syntax check, object generation, etc) you want to perform via a variant and then create an inspection referring to the object set and variant and that's it. The result gives a complete list of objects based on the type of inspection you wanted performed. Another useful thing that I found was an ABAP statement called syntax-check that you can use to check executable programs and function groups without calling any FMs. It is limited in the type of objects it can check but works great for executable programs.
    Keep up the great work and thanks again to all of you that responded.
    A special thanks to Sailatha for the code inspection program tip.
    Best regards,
    Shamim

  • I am developing turn based game but it does not clear the badge number

    Currently i am developing turn based game and i get notifications for new game if someone invite me but i unable to clear these badge number . Is there any one who can suggest me how to clear badge number's for turn based game in objective c ?

    HI
    As per my understanding of your  issue, there  are 2 ways.. one is what u are trying...in this way first ensure your  item have proper  canvas setup. Or  try to  display the canvas without  using  button.  If this work, then there should not be problem.
    Second way of doing is ..
    Using  TAB Canvas.   You put all your 'MYBLOCK' data on  TAB PAGE(2ND PAGE), ....AND  in when buttong pressed, u just use go_block...will complete your job without much effect.
    If any issue, post here..

Maybe you are looking for

  • 6680 Software update fail halfway - pl. help

    I installed the latest PC Suit and it informed me that I should update my phone software to version v5.04.40. Hence, I downloaded the update software from the nokia site, backed up the phone and started the update (with the charger plugged in). Every

  • Cascading a Wireless WRT300N to a BEFSX41....

    Have tried connecting the wireless router to the other router many times by following the instructions received from Linksys and changing the IP Address on the wireless router as instructed. Tried both methods without success. Receive a very strong s

  • Dot1q tunneling and security

    Hi, I don't understand how to make to improve the security of dot1q tunneling. If the client makes some errors by example by disabling the spanning-tree on a vlan and he creates a loop between differents sites (L2VPN). What are the safety standards f

  • SQL*Loader-929: Error

    Hi I am getting following error SQL*Loader-929: Error parsing insert statement for table XXEEG.XXCONV_NOR_OKS_CON_HEADERS. ORA-00947: not enough values while running SQL*Loader. I have same number and types of columns in target table, data file and i

  • Combining pages in the same file

    Hello all, How do I combine two pages, in the same file, to create a single page document? Thanks Acrobat 9 Pro