Read archive in  apex 3.1

I am researching how to read the contents of a file on my desktop and display it in a report, and I can not find information anywhere. Does anyone know if this is possible?
thanks for your attention!!

Hi,
you could also transfer data from these uploaded files into your database, but it seems I misunderstood what you were searching for. Loading data into a database table can be much easier.
You are either searching for the APEX feature "Create Application from Spreadsheet", as documented here:
http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/bldapp.htm#BABICHBC
This will enable you to manage the data with that application after loading.
Or you are looking for a way to load several documents into the database. Then you should give the Data Load-Utility in the SQL-Workshop (SQL Workshop > Utilities > Data Workshop) a try. That feature is documented here:
http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e12857/sql_utl.htm#insertedID2
You might also be interested in having an overview for other import mechanisms:
http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e12857/sql_utl.htm#BCECBCEC
-Udo

Similar Messages

  • ERROR:Could not read archive file - during Processing Base System Part 2

    Hi there,
    What I have:
    * I have problem with installation of the Mac OS X Panther v10.3 on iMac.
    * I have 3 original CDs (black with silver X).
    What I did:
    * I made new 1 partition and formated disk as Mac OS Extended (Journaled) over the Disk Utility in the first CD as normal without additional options (if I tried to format disk with zero all data and 8 way random write format after 3 days computer freeze)
    * I verified disk over this utility - that was ok - HFS volume verifed.
    * Then I restarted the computer and ran installation from this first CD
    What happened:
    * installation did not finish, because there were some problems during installation process.
    * i tried to customize installation just for essential work (without other languages support, printers etc), but it was still the same problem
    Installation log:
    After I choosed installation type, there was first error, but it did not look like important.. - root: bootstraplookup(): unknown error code
    Checking your installation disk - OK
    Preparing disk - OK
    Preparing base 1 and 2 - OK
    Other preparing.. - OK
    Processing Base System Part 1 - OK
    Processing Base System Part 2
    ==
    ERROR:Could not read archive file. - pax: Invalid header, starting valid header search.
    ERROR:Could not read archive file. - pax: Invalid header, starting valid header search.
    last message repeated 2 times
    ERROR:Could not write file. - pax: WARNING! These patterns were not matched:
    Some files for Essentials may not have been writen correctly.
    root: Installer[108] Exception raised during posting of notification. Ignored. exception: Some files for Essentials may not have been written correctly. (code 1)
    Install Failed
    Error detected
    Name: NSGenericException
    Reason: Some files for Essentials may not nave been written correctly. (code 1)
    ==
    It seems like a problem with reading some data from the CD, but during the installation checking of disk was ok.. maybe it can be problem with the cd-rom..? Or problem with data on cd-rom - I mean bad archive file..? But it is original CD.. What do you think??
    Thank you!

    Tomas,
    On THIS Page, locate your iMac model.
    From the Documents column, click on the appropriate number link.
    Using the info in the document that opens, locate the serial number of your iMac.
    On THIS Page, in the text field for Search Tech Specs, enter that serial number.
    Click on the model of iMac that appears.
    Post a link to the page that opens, or post the info requested below.
    Exactly which model iMac is it?
    What is the Processor speed?
    What size is the Hard Drive?
    How much Memory is installed?
    What type of internal Optical Drive does it have?
    Which version of OS, was the original Installed Software?
    ali b

  • How to Read Archived Messages in XI

    HI
    I am facing problem in reading archived XI messages.
    i am trying to read messages archived in November. Can please anyone explain me how to read this.
    Thanks in Advance
    Regards
    Swapnil

    Hi Swapnil,
    >>I am facing problem in reading archived XI messages.
    please let me know the Exact problem what u r facing?
    i felt that, u are unable to findout the output file in the month of novmber which was archived.
    while configuring the adapter we have Archive mode.
    once u select the archive mode,
    asking for the archive directory and followed by ADD time stamp.
    it mean's the output file as well as archived file generated with the following name.
    i.e filename+Timestamp(yyyymmdd-hh:mm:ss-msec).
      eg: XI_ouput20080118-190544-843
    award the points if it really help to you.
    Reagrds
    Mahesh.

  • Interface Builder Error: Could not read archive

    I created a new project in Xcode. I double click on MainWindow.xib and it opens up Interface Builder like it should, but then I get an error saying "Could not read archive". This happens every time with any project I have tried to start; please help.

    I' ve the same problem. And if I make a new interface and save it, after a new klick on MainWindow.xib there's tthe error saying too.
    Sorry for my bad Englisch, but I'm German.

  • Is it possible to read archive files outside of SAP?

    Hi Experts,
    I would like to read SAP archived data (*.ARCHIVE.ARCHIVING)  with non-SAP application. I already know, that data is automatically compressed (and maybe encrypted?).
    My question: Is there some possibility to read archive files outside of SAP? I suppose that would be needed to do some decompress first.
    Your help is appreciated. Thank you!
    Jan

    Hi Stefan,
    Thanks for your reply. I found some points with your hint. Some summary for others:
    460620 - Migrating archive files:
    "Archived data may have to be migrated. One solution is to perform an SLO service archive migration. You can also perform an archive migration for archive files using the Archive Development Kit (ADK)."
    153433 - Access to archived data from other logical systems
    "For data security reasons, the ADK checks whether an archive file was created in the same system and client where it is to be read. If the client, system or file key do no longer correspond to the meta data that were valid at the time of archiving, you can no longer always access the archive file, particularly for reloading. If only the system ID changes when a new installation due to a system copy is carried out, read accesses are still possible. No solution is provided in the standard system. The access to archive files from other logical systems must be taken into account and carried out in a migration project."
    Unfortunately, I still do not know if it is possible to read archived data outside of SAP.
    Best Regards,
    Jan

  • How to read Archive data??

    Hi,
    I am developing a program which requires me to retrive the <b>archive</b> data of table BSAK and then fill it into an itam then output the list.
    I use T-code 'SARA' to find the object name is 'FI_DOCUMNT'. There u can find that BSAK is contained in it.
    And i reference the DEMO programm 'SBOOKR' and coding as belows, but the error message always shows and F1 couldnt help.
    [IMG]http://www.designoo.com/files/6678/incorrectInfo.jpg[/IMG]
    My code:
    * for Read Archive
    DATA: handle                 LIKE sy-tabix,
          buffer                 TYPE arc_buffer,
          wa_arc_bsak               LIKE bsak,
          number_of_records_read TYPE i.
    data: LE_DATA(8192) TYPE C,
          LE_STRUCTURE  LIKE ARC_BUFFER-RNAME.
    perform read_archive_bsak.
    FORM read_archive_bsak.
    * open existing archive files for BSAK
      CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ'
           EXPORTING
                object         = 'FI_DOCUMNT'
           IMPORTING
                archive_handle = handle
           EXCEPTIONS
                OTHERS         = 1.
    *  IF sy-subrc <> 0.
    *    WRITE: / 'No file can be accessed'(001).
    *    EXIT.
    *  ENDIF.
      CLEAR number_of_records_read.
    * loop to get the next data object from the archive file(s)
      DO.
        CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT'
             EXPORTING
                  archive_handle = handle
             EXCEPTIONS
                  end_of_file    = 1
                  OTHERS         = 2.
        IF sy-subrc <> 0.
          EXIT.
        ENDIF.
    * get data records from the data container
        DO.
          CALL FUNCTION 'ARCHIVE_GET_NEXT_RECORD'
               EXPORTING
                    archive_handle   = handle
               IMPORTING
                    record           = LE_DATA
                    record_structure = LE_STRUCTURE
               EXCEPTIONS
                    end_of_object    = 1
                    OTHERS           = 2.
          IF sy-subrc <> 0.
            EXIT.
          ENDIF.
          CASE buffer-rname.
            WHEN 'BSAK'.
              wa_arc_bsak = LE_DATA.
              move-corresponding wa_arc_bsak to Tab_ARC_bsak.
                APPEND Tab_ARC_bsak.
                CLEAR: wa_arc_bsak, LE_DATA, Tab_ARC_bsak.
          ENDCASE.
          ADD 1 TO number_of_records_read.
        ENDDO.
      ENDDO.
    * close the archive session
      CALL FUNCTION 'ARCHIVE_CLOSE_FILE'
           EXPORTING
                archive_handle = handle.
    Move-corresponding tab_arc_bsak to tab_bsak.
    append tab_bsak.
    clear tab_bsak.
    ENDFORM.                    " read_archive_bsak
    Anyone helps??
    Thanks in advance!!!
    Hoo
    Message was edited by:
            Hoo lala

    Hi Aditya,
    The error msg is 'Incorrect access to an archive.'
    Thanks.
    Hoo.

  • Could Not Read Archive Interface Builder

    I made a new project in Xcode without tweaking any settings. When I go to open my mainwindow in interface builder I get an error saying Could Not Read Archive. Does anyone know whats going on. Please help as I can't work with my interface files

    I' ve the same problem. And if I make a new interface and save it, after a new klick on MainWindow.xib there's tthe error saying too.
    Sorry for my bad Englisch, but I'm German.

  • Cannot read archived messages

    Hi,
    I am getting an error saying "Cannot read archived messages; reason: " in Runtime workbench -> Message Monitoring  -> Archive. Also i am not able to see any messages there. It says ' 0 Messages from Archive '. However i can see in SXMB_MONI the messages which are archived.
    Can anyone please tell me why I am getting this error message in runtime workbench and how can I rectify it?
    Regards,
    Mateen.

    Hi,
    unable to locate tht pdt guide, mean while plz go thru this:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/402fae48-0601-0010-3088-85c46a236f50
    regards

  • Error When reading Archived XML Message

    I am having the next issue reading the archived messages (error msg: Could not find message in archive).
    can anybody help me.
    my problem is the same that this topic.
    Problems with reading archived Messages
    Any suguest please?
    Regards
    RP.

    Hi Sudharshan/Cornelius,
    Thanks for your support. I am glad that my inputs were helpful.
    Shudarshan, what do you mean by the process?
    If you are talking about the arhiving process, then it is very huge topic
    in itself. You can find that in help.sap.com.
    But in this specifc case, what happens is that to made archiving possible,
    there are different objects involved. e.g Archiving object, read write methods, Infostructures etc. In our case, the infostructure objects is in "inactive" state. Which seems to be a mistake from the SAP side. All we need to do is activate that object. And we are done.
    Actually I also had the same issue, and I found this thread with few threads with no answer :-(.  Then I just went deep into it and I found this "mistake"
    It is just yesterday, when I cracked this issue by myself. I decided to put in the thread.
    again I am happy my efforts were useful to you people.
    Thanks and Regards,
    Arundeep Singh
    001-416-828-1307

  • Reading Archived Data Through SAP Query Report

    Dear SAP Gurus,
    My client archived their SAP data in a particular year range and all the Z reports have to modified to read these archive data. Normal ABAP reports can be modified to read the archive data without no problem.
    But there are two Z SAP query reports which should be modified the same way so it will be able to read archive data.
    What is the best method for this? Does SAP Query tool provide facility to read archive data? or do I have to append the code?
    Thank you in advance for your help
    Regards,
    Isuru Fernando

    >
    Isuru U Fernando wrote:
    > hi Manthan,
    >
    > Yes I used these FMs and read the data without any problem for normal ABAP reports.
    >
    > But SAP query report is the problem. Is it advisobale to modify the SAP query generated report source code? since it is a system generated report.
    >
    > Regards,
    > Isuru
    No, do not adapt the SAP generated report source. The reason is: every time someone re-generates the query from tx. SQ01 your changes will be lost.
    You could add the functionality Manathan gave you to add to the infoset of said query - but to be honest: in my opinion that is shooting nuclear rockets at flies. Also you run the risk that every change of the infoset (add a join/delete a join) requires adjustment of said coding you applied ... and where will you be then? Fancy repairing the same query over and over again? Try talk sense to your client - go for a Z-report here ...

  • Reading archived data of different archive objects in Z programs

    Hi,
       I have Z programs which are getting data from various tables. Now i needt to read archived data of those tables in my Z programs also. i.e. i need to modify those programs so that data archived for those tables should also be extracted. Now for exmple if the program is fetching data from MARA, EKKO, LIKP, KONP tables based on certain selection criteria, then how do i fetch archived data for same criteria as each of these tables may belong to different archive objects ? Please help me. Thanks in advance.

    Hie Naganath
    Using transaction SARA you can identify the archive objects for the tables you want to use. 
    For material master you can use object MM_MATNR, for Purchasing documents use object MM_EKKO, for conditions use SD_COND and for deliveries use object RV_LIKP.
    Retrieve the archive key and offset from table ZARIXMM5 (for Purchasing documents) for your select options and pass the offset and key to function ARCHIVE_READ_OBJECT to get the handle and then pass the handle to function ARCHIVE_GET_TABLE to read the record.  Have a look at the below code
    select archivekey archiveofs into corresponding fields of table lt_arch_keys
                   from zarixsd1 "SD Index table for billing documents
                  where vbeln in s_docrng
                    and kunrg in s_arc_kn
                    and fkdat in s_arc_dt
                    and fkart in s_arc_rt
                    and vkorg in s_arc_og.
      loop at lt_arch_keys assigning <fs_lt_arch_keys>.
    *Read information from archive
        call function 'ARCHIVE_READ_OBJECT'
          exporting
            object         = 'SD_VBRK'
            archivkey      = <fs_lt_arch_keys>-archivekey
            offset         = <fs_lt_arch_keys>-archiveofs
          importing
            archive_handle = ls_handle
          exceptions
            others         = 1.
    *Get the requested header detail data for billing document
        call function 'ARCHIVE_GET_TABLE'
          exporting
            archive_handle          = ls_handle
            record_structure        = 'VBRK'
            all_records_of_object   = 'X'
            automatic_conversion    = 'X'
          tables
            table                   = lt_vbrk "Header data
          exceptions
            end_of_object           = 1
            internal_error          = 2
            wrong_access_to_archive = 3
            others                  = 4.
    *Get the requested line item detail data for billing document
        call function 'ARCHIVE_GET_TABLE'
          exporting
            archive_handle          = ls_handle
            record_structure        = 'VBRP'
            all_records_of_object   = 'X'
            automatic_conversion    = 'X'
          tables
            table                   = lt_vbrp "Line item data
          exceptions
            end_of_object           = 1
            internal_error          = 2
            wrong_access_to_archive = 3
            others                  = 4.
        clear: ls_vbrk.
        loop at lt_vbrp assigning <fs_lt_vbrp>.
          read table lt_vbrk into ls_vbrk with key vbeln = <fs_lt_vbrp>-vbeln.
          move-corresponding <fs_lt_vbrp> to lt_archive_records.
          move-corresponding ls_vbrk to lt_archive_records.
          append lt_archive_records to gt_archive_records.
        endloop.
      endloop.
    Do the same for your material master and condition records as well.
    regards
    Isaac Prince

  • URGENT!!!!  - Reading Archived Data from a Report.

    Hi,
    The data, prior to 15 months, of some tables (BSEG, BSAK),
    used in the report YGF11347 has been archived.
    Previously this report YGF11347 was run for vendor payment information for any time frame
    through FBL1N.  So any vendor line items from 2004, 2005, 2006 and current year,
    all data elements were available to be extracted and displayed on the report.
    Recently the Check Amount is missing when executing the report for payments made prior to
    04/01/2006. This is because of archiving the data prior to 15 months.
    My requirement is tht i need to display this archived data also in the report "YGF11347".
    Can anyone please help me on this issue.
    Regards,
    Akrati

    hi
    good
    check this link, hope this would help you to solve your problem.
    http://www.ams.utoronto.ca/Assets/output/assets/ixos_637070.pdf.pdf
    thanks
    mrutyun^

  • Regds : Read archive Directory

    I want to read the archive directory name in sender file adapter at runtime in the message mapping?
    Please suggest how can i achive this?

    Want to read the archive directory name in sender file adapter at runtime in the message mapping?
    Why?
    For a given sender file channel, the Archive Directory is constant. One sender file channel can be used only in one Sender Agreement. That means for given combination Communication Component, Interface, Namespace there is only one Communication Channel (Archive Directory). These three variable can be accessed in UDF using
    map = container.getTransformationParameters();
    headerField = (String) map.get(StreamTransformationConstants.INTERFACE_NAMESPACE);
    /* similarly Communication Component, Interface */
    http://help.sap.com/saphelp_nw04/helpdata/EN/43/09b16006526e72e10000000a422035/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/EN/78/b4ea10263c404599ec6edabf59aa6c/content.htm
    i.e. if this combination of Communication Component, Interface, Namespace then this is Archive Directory, if this combination of Communication Component, Interface, Namespace then this is Archive Directory.
    Now we have 2 option:-
    1. Hard code in UDF for this combination this is Archive Directory.
    2. Store these values in a database (this combination this is Archive Directory) and access it in message mapping by database lookup.
    There is other option, write a Adapter module, which populate the Archive Directory in SOAP header of messages in Adapter Engine. And access Archive Directory in UDF, similar to this http://help.sap.com/saphelp_nw04/helpdata/EN/78/b4ea10263c404599ec6edabf59aa6c/content.htm
    . But, this option is not recommended as it is performance overhead, and as for a Communication Channel, Archive Directory will not change (we have to do manual edit), At least very less in production (we don't change it very day ).

  • Update to Acrobat 9.5.1 breaks Flash functionality for reading archived emails

    On installing update 9.5.1 to Acrobat Pro on WinXP, I can no longer read the index of previously archived email collections created using the Email to PDF macro in Outlook 2007.
    The PDF data file indices were readable before, and are still readable in Acrobat X Reader.  Hence the data file content seems to be correct.
    I get the error message as below and then on Cancel (as the download page does not work) I can only see the first email in the collection as a two pgae PDF, which is limited to say the least.
    Please advise how I should restore the functionality I had prior to this upgrade.

    Yes, as I said in my original post.the link to the download page did not work.  Also as Acrobat X Reader worked (on the same computer), then the required Flash software was already somewhere on my computer
    However, this issue has now been resolved by applying the recent update from Acrobat Pro v.9.5.1 to v.9.5.2, reopening the PDF portfolio and following the link in the new dialog box that appeared, to go to the correct Adobe(R) webpage to download and install the Flash Software update.  This latest webpage has a date of this month (August 2012).
    As of v.9.5.2 this problem is solved.

  • Change default option to read archive files

    Hello all!!
    i would like to ask you all a question and maybe someone can help me!!
    We have some data archived with fi_documnt and we can read the data from different transactions without problems.
    But, i would like to know if there is any possibility to change the default value when we select the data source.
    For example, we want to read some data wich is archived. In fbl3n transaction, we click on "data sources" and a pop-up appears.
    We select then "archive" and two more options appears.
    "Archive information system" and "Select files manually".
    The problem is the the option "Select files manually" is marked and default, and we would like to change it to the other option by default.
    Is there any way to do that???
    Many thanks in advance and best regards,
    Gonzalo.

    Gonzalo,
    something else ... I have just tried in another system and here I get a popup in FBL3N which says:
    Report RFITEMGL is not intended for archiving object FI_DOCUMNT
        Message no. AS_DATASOURCE006
    Diagnosis
        You want to use report RFITEMGL to read data for the archiving object
        FI_DOCUMNT, but report RFITEMGL is not intended to read data for this
        archiving object.
    System response
        Running this report will probably not produce the desired results.
        However, this message is merely a warning, because it could still make
        sense for you to run the report for an archiving object that is not, or
        has not yet been assigned to this report.
    Procedure
        Use F4 to select an appropriate archiving object. The F4 help list only
        contains archiving objects that can be used with this report.
        You can also run report RFITEMGL with archiving object FI_DOCUMNT.
        However, running the report might produce either no data or incorrect
        data.
    Procedure for System Administration
        If you are sure that running report RFITEMGL together with archiving
        object FI_DOCUMNT produces meaningful data, you can enter the combination
        in Customizing. Use transaction SM30 to enter the following data into        <--------
        table ARCH_REPOW:                                                            <--------
             FI_DOCUMNT    RFITEMGL
        This will have the following results:
        o  This message will not appear again.
        o  Archiving object FI_DOCUMNT appears in the input help list (F4) of the
           data source dialog.
        o  Report RFITEMGL appears in the list of the Archive Administration
           (transaction SARA) read program.
    The arrows point to the interesting bits. Please check in your system.

Maybe you are looking for

  • How can i get my laptop to function like and ipod

    Is there any way I can get my laptop itunes to be managed by mac mini itunes master library similar to what itunes does to ipods? I'm a working DJ and have over 25000 songs so Itunes match is out of the question. I am looking for a way to make master

  • Everything from my old firefox is gone how do i get it all back?

    i had very important stuff on my old firefox today a new one popped up and skipped ahead without me clicking anything and everything is gone and i cant get it back or anything because it has the new firefox what do i do? == This happened == Not sure

  • Migration from SQL 7.0 to Oracle

    Hey guys ! I am required to migrate from MS SQL7.0 to oracle which has around 150 stored procedures and a database schema of 50 tables. its oracle 8/8i version. can u suggest how to go about ? ie. should I used Migration workbench or go doing it conv

  • Fetching SQL statements is not supported for this report.

    Post Author: Adam20002 CA Forum: .NET I am using the following code to try and get the SQL string of a report in code. This works for all our reports apart from one which gives us the above error message. The code we are using is as follows:- rptDoc.

  • Need advice about best characterset for XMLDB

    Hi, Oracle 9.2.0.5 Windows 2000 Please, give me an advice about best character set configuration for XML DB. During installation Oracle istallator suggests charset =AL32UTF8 for multilingual data and ncharset= AL16UTF16. Is it good settings for datab