Reporting ADK archived files in BI

Does anyone know a way to build a query on archive files, archived in BI using the SAP ADK standard tools?
We don't want to load back the data that we archived with transaction SARA.
So is there a way of using archive files as DataSources to build VirtualCubes on?

oops - sorry
We are plannign to actually do this and use a FM to call the archive objects from the raw table within the generic extractor
ie
call function 'ARCHIVE_OPEN_FOR_READ'
call function 'ARCHIVE_GET_NEXT_OBJECT'
call function 'ARCHIVE_GET_TABLE'
It's on my hit list to do in the next few months

Similar Messages

  • Read some HR archive files (object PA_PIDX) using Abap report

    Hi experts,
    an ABAP program that is supposed to read some HR archive files (object PA_PIDX) but all we can read is the object, we cannot access the individual lines. Please help
    My code
    Output of the report as well as output of archive program
    Cycles comptab. archivés
    0000000038
    0000000040
    0000000044
    0000000045
    0000000047
    0000000050
    Cycles comptab. ignorés (pour détails voir protocole de job)
    0000000001  Simulation
    0000000002  Simulation
    0000000003  Simulation
    0000000004  Simulation
    0000000005  Simulation
    .....etc
    Please help
    Edited by: Blaiso on Apr 1, 2011 5:54 PM
    Edited by: Blaiso on Apr 1, 2011 5:59 PM
    Moderator message: please post only relevant code parts, your post must be less than 5000 characters to preserve formatting.
    Edited by: Thomas Zloch on Apr 2, 2011 9:59 PM

    Hi Ajay,
    1.  You have to create a separate field catelogus and AIS according to your requirement with the required fields you want . Because the standard structures and field catelogues contains many fields from all tables. So before doing the read operation you have to deactivate the standard AIS and activate your newly created AIS .
    2. Can you give some more details for this question to be answered.
    3. The important archiving tables used are ARCH_IDX,ARCH_RPRG,ARCH_DEF.
    4. While scheduling the Read process in batch mode , it will give you three criterias to be entered.
         . Spool Parameters
         (ii). Start date
         (iii). Archive selection of files.
        Unless you enter values for any one of these options , You cannot execute the batch job.
    Hope this would help you.
    Regards - Swarna.

  • Had to uninstall Firefox, now I can't reinstall. Get error message "Can not find archive file." Please help!

    I believe I had some kind of virus attack. I got everything cleaned up. (I HOPE) In the process of cleaning the virus, I unintalled Firefox because it wouldn't open. Kept getting the error message that Firefox was already open and I had to close out of the sessions or restart the computer. After restarting the computer several times and not being able to find any open sessions in task manager, I uninstalled. When trying to reinstall, I get the error message "can not find archive file." I've tried downloading Firefox from cnet as well as the Mozilla site to no avail. Please help. I'm getting tired of using Chrome already!

    Hello,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    Please report back to see if this helped you!
    Thank you.

  • Where yo find reporting services log files in sharepoint 2013 integrated mode

    i use to find the reporting services log files in the msrs folder in sharepoin 2010 integrated mode. but when we migrated to sharepoint 2013. i am not able to find the logs.i wanted to check all the executed sql statement using the logs as we don't have
    access to sql server profiler. does anybody know the location of yhe logs?

    Hi there,
    Not sure you'll see the sql statements however you can find information on the ULS logs here:
    http://technet.microsoft.com/en-us/library/cc627510(v=sql.105).aspx
    http://technet.microsoft.com/en-us/library/ff487871(v=sql.105).aspx
    and here:
    http://technet.microsoft.com/en-us/library/ms156500(v=sql.105).aspx
    You might want this once ULS log is capturing info.
    http://archive.msdn.microsoft.com/ULSViewer
    cheers,
    Andrew
    Andrew Sears, T4G Limited, http://www.performancepointing.com

  • Report for Archived data by using exicutable program.

    Hi,
    In already existed Zreport data is fetching from table like below.
    SELECT belnr bewtp budat lfbnr lfpos FROM ekbe INTO TABLE it_ekbe
                                                   WHERE bewtp IN ('R' , 'Q') "Only IRs
                                                      AND budat IN s_date.
    Like the above in the report fetchnig data from somany tables so mant times.
    Now my requirment is the archived consultants archived old data. some table are archived some are not archived.
    So i need to fetch the old data also from the archived files. Achived consultants given below details.
    zarixmm3------------>zerox table for MM related tables after archived the data.
    I searched in google got some code to fetch the data from archived fiels. The below code.
    1. I fetched the key  archive key number from the zerox table.
    SELECT archivekey  FROM zarixmm3 INTO TABLE it_get
                                       WHERE budat IN s_date
                                         AND werks IN s_werks.
    CLEAR : wa_ekbe.
    LOOP AT it_get INTO wa_get.
      v_arcdoc = wa_get-archivekey+0(6).
      wa_arcindx1a-archivekey = wa_get-archivekey.
      wa_arcindx1a-v_arcdoc = wa_get-archivekey+0(6).
      CLEAR : wa_get.
      APPEND  wa_arcindx1a TO  it_arcindx1a.
    ENDLOOP.
    SORT it_arcindx1a BY v_arcdoc.
    REFRESH it_get.
    CLEAR: v_arcdoc.
    DELETE ADJACENT DUPLICATES FROM it_arcindx1a COMPARING v_arcdoc.
    2. I passed the key in FMs.
    LOOP AT it_arcindx1a INTO wa_arcindx1a.
      v_key = wa_arcindx1a-archivekey+0(6).
      CALL FUNCTION 'ARCHIVE_OPEN_FOR_READ'
        EXPORTING
          archive_document = v_key
    *     archive_name     = wa_arcindx1-archivekey
          object           = 'MM_EKKO'
        IMPORTING
          archive_handle   = lv_handle
        EXCEPTIONS
          OTHERS           = 1.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        EXIT.
      ENDIF.
      DO.
        CALL FUNCTION 'ARCHIVE_GET_NEXT_OBJECT'
          EXPORTING
            archive_handle = lv_handle
          EXCEPTIONS
            end_of_file    = 1.          "nur die Ausnahmen, auf die man
        IF sy-subrc <> 0.                "wirklich reagieren will
          EXIT.
        ENDIF.
        CALL FUNCTION 'ARCHIVE_GET_TABLE'
          EXPORTING
            archive_handle        = lv_handle
            record_structure      = 'EKBE'
            all_records_of_object = 'X'
          TABLES
            table                 = git_ekbe_temp
          EXCEPTIONS
            end_of_object         = 0.
        LOOP AT git_ekbe_temp ASSIGNING <ls_ekbe>
                               WHERE bewtp = 'R' OR bewtp = 'Q'
                                AND budat IN s_date.
          MOVE-CORRESPONDING <ls_ekbe> TO wa_ekbe.
          APPEND wa_ekbe TO it_ekbe.
          MOVE-CORRESPONDING <ls_ekbe> TO wa_ekbee.
          APPEND wa_ekbee TO it_ekbee.
          CLEAR wa_ekbe.
          CLEAR wa_ekbee.
        ENDLOOP.
      ENDDO.
      CALL FUNCTION 'ARCHIVE_CLOSE_FILE'
        EXPORTING
          archive_handle = lv_handle.
      CLEAR wa_arcindx1a.
    ENDLOOP.
    Like the above i diid for all tables wich are used in the Zreport.
    Please tell me i am going in right direction or not. The above logic taking time because it is reding entire data in the table.
    If new logic is there please provide me to improve performance of the zreport.
    Regards,
    Maruthi S

    Hi Friends,
    I am waiting for solution aobve.
    Regards,
    Maruthi. S

  • How many messages are in an archive file?

    Hi,
    Is there a way to tell how many messages are written to each archive file?  It looks like the default file size is 200M.
    Your help will be greatly appreciated.
    Regards,
    Rick

    Hey
    If you really want,you can cancel this job in sm37.
    But i would say that you can let it run. as long as it does not affects the performance of PI system you should be ok.
    a better approach would have been to increase the retention period in sxmb_adm,then go to SE38 and execute the program RSXMB_SHOW_REORG_STATUS, this will tell you how many messages will be archived/deleted once the job run.
    You can set the retention period so that it takes around 50-60K messages, then let the report run ,should finish in 3-4 hours max (thats what i used to do), then go back to sxmb_adm and reduce the retention period.execute the report again and see how many messages it will archive now.
    Keep on doing this until you archive/delete all the messages.
    Thanks
    Aamir

  • 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

  • Access SAP Data Archival file from outside SAP

    Hello Everyone,
    I have a requirement to archive the SAP data, dump that outside SAP in some other system like ILM or BI and build a reporting tool on top of that data.
    So, basically customer want to shutdown the SAP and want to retain data for legal and audit pourpose.
    I was doing some RnD and done archiving of MM_EKKO using SARA. the file got generated with extention .ARCHIVE. I donwnloaded teh file but it is encoded file with all special character in it.
    My question is:
    1. How can I read the archieved SAP data from outside SAP system.
    2. Can we decode the .ARCHIVE file to get it in .DAT format?
    3. Or Is there any other way to access the SAP data outside SAP in a report format.
    Thanks,
    Chintan SOni.

    Hi Chintan,
    1. How can I read the archieved SAP data from outside SAP system.
    For this you could refer SAP Note   460620 - Migrating archive files
    2. Can we decode the .ARCHIVE file to get it in .DAT format?
    As per my knowledge,it's not possible to decode or move to .DAT format.
    3. Or Is there any other way to access the SAP data outside SAP in a report format.
    Refer my first response & the SAP note.
    Hope this will help you.
    Good luck !!
    Gaurav

  • "Archive file does not exist" error message in KSB1

    I'm fairly new to SAP, and I am receiving this error in KSB1:    Archive file 000786-002 CO_ITEM does not exist.
    When my co-worker runs the report using the same cost center, data is returned. We are running this for the current accounting period. Is there some kind of setting or other access I need in order to view this? Any help is much appreciated.

    Hi,
    Please, refer to note 143135.
    Regards,
    Eli

  • Archive File error

    Hi,
    I am archiving Cockpit documents using the Archive object /COCKPIT/S,  
    I find the entries in SARA tables and ADMI tables too. but when I try to view the document I get the error ''ARCHIVE FILE DOES NOT EXISTS'.
    Please let me know what will be the reason and let me how to find the archived files are getting stored.
    Regards,
    Prabhu
    Edited by: prabhu jayaraman on Dec 22, 2008 9:59 AM

    Hey,,
    Once u archive the data using std ADK from SARA, the archived data will be stored onto the logical file system with some name ( like ARCHIVE_GLOBAL_PATH) also its physical location file can be found at your user. ( like c:\usr\sap\sid\sys\global\<file_name>).
    Hope u got it.
    thanks\
    Mahesh

  • How can i retrieved data into the infocube from archived files

    hi,
    i have archived cube data and i have to load data into the cube from archived files.
    so now i want to find archived files and how to load data into the cube.
    thanks

    Hi.....
    Reloading archived data should be an exception rather than the general case, since data should be
    archived only if it is not needed in the database anymore. When the archived data target is serving also as a
    datamart to populate other data targets, Its recommend that you load the data to a copy of the original
    (archived) data target, and combine the two resulting data targets with a MultiProvider.
    In order to reload the data to a data target, you have to use the export DataSource of the archived data
    target. Therefore, you create an update rule based on the respective InfoSource (technical name 8<data
    target name>). You then trigger the upload either by using ‘Update ODS data in data target’ or by
    replicating the DataSources of the MYSELF source system and subsequently scheduling an InfoPackage
    for the respective InfoSource
    If you want to read the data for reporting or
    control purposes, you have to write a report, which reads data from the archive files sequentially.
    Alternatively, you can also use the Archiving Information System (AS). This tool enables you to define an
    InfoStructure, and create reports based on these InfoStructures. The InfoStructures define an index for
    the archive file data. At the moment, the archiving process in the BW system does not fill the
    InfoStructures during the archiving session automatically. This has to be performed manually when
    needed.
    Another way of displaying data from the archive file is by using the ‘Extractor checker’ (TCODE RSA3).
    Enter the name of the export DataSource of the respective data target (name of the data target preceded
    by ‘8’), and choose the archive files that are to be read. The extractor checker reads the selected archive
    files sequentially. Selection conditions can be entered for filtering but have to be entered in in internal
    format
    It will remain same in the change log table.
    Check this link :
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b32837f2-0c01-0010-68a3-c45f8443f01d
    Hope this helps you...........
    Regards,
    Debjani............

  • Is it possible to save a report to a file in background job?

    Hi,
    I want to save a report as a file every day, is it possible to do it by background job?
    Thanks.

    thanks all of you,
    I don't went to save the file manually.
    I only want to a function just like archiving function which can save file in background job.
    I can develop a program to save a report as file in background job,but I have to develop a program for every report,I want to know is there any standard function for it, just like throwing  the report to spool.

  • Error while creating a report from personal files.

    Hi All,
    We are trying to insert a report from excel file( Env BO XIr3 Desktop intelligence)
    Poping up with error "Too many data to display"
    Is there any data limit or data size limit or no of rows limit.
    Thanks in advance...

    Hi Rachna,
    Can you try one thing can you restrict the values to less then 16000 to check the behavior.
    What is the excel version is it 2007 Excel.
    Are you  trying to use an excel sheet which have more then 256 columns 
    Regards
    Kultar

  • Help needed  while exporting crystal reports to HTML file format using java

    Help needed  while exporting crystal reports to HTML file format using java api(not using crystalviewer).i want to download the
    html file of the report
    thanks

    the ReportExportFormat class does not have HTML format, it has got to be XML. Export to HTML is available from CR Designer only.
    Edited by: Aasavari Bhave on Jan 24, 2012 11:37 AM

  • Unable to get Field Names from Archived File

    Hi All,
    We have a ECC 6 Ehp4 system. When i retrieve Idocs archived using SARA, the data only contains application data. There is no field names available - eg: posting date, tax code etc. Please find below the background on this issue.
    I configured archiving of process idocs (status 52,12,03) from EDIDC tables. I set up the settings for Archive Object IDOC and archived the data for 15 days.
    Both archiving and deletion of data from the table was successful.
    I tried reading the Idoc data from Archive File using the Information System option -> Info structure (available as default for Idoc).
    But the data retrieved only shows the Application data for all the segments of the IDoc. The fields for the segments like Tax Code, Posting Date etc are not available in the data. Functional teams will not be able to make sense with just the application data.
    Am I missing some setting? Is there any way to retrieve the related field values also ?
    Please help.
    Thanks and Regards,
    Raghavan

    Hi All,
    There is tcode WE10. You could choose if the data source is archive and also the archive session. You will get the list of segments provided. click on the segment number and you will get the data.
    Thanks and Regards,
    Raghavan

Maybe you are looking for

  • Sony Handycam Problem

    Last week I bought a sony dcr-dvd403 to videotape my daughter's first birthday party, which is now tomorrow!!! It is a mini DVD, not a mini DV. The recording and finalizing go fine. The video plays on the camera. Then, I load the disc into the top lo

  • DISPLAY COLUMN NO'S AND ROW NO'S IN SMARTFORMS

    HI ALL, I M HAVING REQUIRMENT TO DISPLAY COLUMN NUMBERS AND ROW NO'S IN SMARTFORM I'M NEW TO THIS PLS SUGGEST ME. THANK YOU ALL IN ADVANCE. Moderator message: please search for information and try yourself before asking, do not post in all upper case

  • How do I stop automatic transfer of purchases from Apple tv to computer?

    I bought the 160 gig Apple tv so I could spare my macbook from iTunes content (The MB has a small harddrive). I unchecked the "sync TV show" option in iTunes (under the Apple tv). The problem is that my Apple tv keeps transferring my purchases back t

  • No matter what I do I cant get into my ipod

    I forgot my password and to many attempts so now I am locked for 23 million mins. I have tried to do a recovery but it doesnt work what is my next step. Pat Gardner

  • [Solved] Integrating new Partitions into the Filesystem

    Hello, I reinstalled arch a couple days ago. I'm not using GPT with /var, /boot, / , and /home partitions. However, during the installion, i didnt add /var, /boot, and /home to my fstab [ i assumed genfstab would do this] Thus, i've only been using o