Creating z archive objects???

Hello gurus,
in one of my assignment we need to archive z tables.. its understood that we need to create z archive objects for them..we have differenct types of tables.. input, output and masterdata tables...
1. can i create a single archive object for these tables.
2. can i create a separate objects for input , output and master data tables
<<removed>>
Edited by: Matt on Feb 1, 2009 9:09 PM

Hello my friend I have  the same situation in my case I have a tutorial of sap which I have read and I recomend you that you need to read in order to under stand archiving.
in this tutorial there are some parts in which you can see some pages where it mentions some sample of writing, delete, reading archiving progrma  that there are in SAP system.
Check this link and I think it can help you.
In my case I do not understand all the code sample.
http://help.sap.com/saphelp_nw2004s/helpdata/EN/2a/fa043a493111d182b70000e829fbfe/frameset.htm

Similar Messages

  • Creation of archiving objects in AFX_WB

    Hi,
    I am trying to create an archiving object in AFX_WB.
    I assigned a custom package which I created to the archiving object.
    The transaction generates the programs for the archiving object by itself with the inputs given.
    In one of the steps, I am getting an error " SAP Object cannot be assigned to the custom package".
    When I tried with a standard package, I got error in another step saying "custom object cannot be assigned to standard package".
    Is there an appropriate package which I can assign the archiving object ( as it has got a combination of custom and SAP standard object) ?
    What is the purpose of including package in package hierarchy and defining user access for them?
    Thanks and regards,
    Lakshmi Reghuvaran

    Hi,
    What is your Apex version?
    Is your Apex instance runtime environment or can you login to INTERNAL workspace?
    See this for Apex 4. Document do not say how disable demonstration app creation on runtime environment.
    http://download.oracle.com/docs/cd/E17556_01/doc/admin.40/e15521/adm_mg_service_set.htm#sthref255
    Regards,
    Jari

  • Archiving Object-File Struct tab?.

    Dear Friends,
    When we are going to create an Archiving object.  we can get 4 tabs those are Select Data, File struct, Folder, Delete. 
    Kindly could any one explain me about Folder tab.
    Thanks & Regards,
    Shaliny M

    Alberto,
    Can you explain what you are trying to do. Are you trying to archive data from a BI object or are you trying to export data out of a BI object using open hub.

  • Archiving Object - Entry missing in Customizing table for object Z*********

    Hello friends,
    We have created a archiving object in transaction AOBJ. However when i enter this object in SARA, we get this error message.
    "Entry missing in Customizing table for object Z******* "
    I have matched my object with few other archiving objects and things looks similar.
    Have you faced this kind of problem..
    thanks
    ashish

    Hi,
    I checked and i can see entry for ZSCS_TRAFO object in AOBJ.
    But when i enter ZSCS_TRAFO, i get this error :
    Entry missing in Customizing table for object ZSCS_TRAFO
    Message no. BA057
    Diagnosis
    A function cannot be executed due to a missing table entry.
    Procedure
    Please create an entry for the archive object ZSCS_TRAFO with the AOBJ transaction.
    However, a few other Z objects works well.
    thanks
    ashish

  • Regarding Archiving Object

    Hello Experts,
    I have few questions about Archiving object:
    1. How to create an archiving object for set of Z tables? shall i create a new archiving object by clicking on new entry or shall i copy an existing archiving object.
    2.is there any restrictions on number of tables being used in an archiving object? in our scenario there are around 15 Z tables...
    3. in T code AOBJ, i want to maintain customizing settings, but the screen is greyed out,which authorzation role will give me the access to this screen.
    4.what are the retrieval methods avaialable in system???
    5.in our scenario we have created a new archivie info structure,shall we use standard field catalog or need to create a new one???
    awaiting your reply
    Regards
    Ramana Reddy

    hi
    ans 4 :
    you should call 4 function modules in sequence to retrive the archived data from archiving files to your report program.
    see the below sample code:
    data declaration
    data: handle                 like sy-tabix,
          buffer                 type arc_buffer,
          sbook_wa               like sbook,
          number_of_records_read type i.
    open existing archive files
    call function 'ARCHIVE_OPEN_FOR_READ'
         exporting
              object         = 'BC_SBOOK01'
         importing
              archive_handle = handle
         exceptions
              others         = 1.
    if sy-subrc <> 0.
      write: / 'No file can be accessed'(001).
      stop.
    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           = buffer-segment
                  record_structure = buffer-rname
             exceptions
                  end_of_object    = 1
                  others           = 2.
        if sy-subrc <> 0.
          exit.
        endif.
        add 1 to number_of_records_read.
      enddo.
    enddo.
    write: / 'Total number of records read: '(002), number_of_records_read.
    skip.
    write / 'Last record read: '(003).
    skip.
    case buffer-rname.
      when 'SBOOK'.
        sbook_wa = buffer-segment.
        write: / 'CARRID    :', sbook_wa-carrid,
               / 'BOOKID    :', sbook_wa-bookid,
               / 'CONNID    :', sbook_wa-connid,
               / 'FLDATE    :', sbook_wa-fldate,
               / 'CUSTOMID  :', sbook_wa-customid,
               / 'ORDER_DATE:', sbook_wa-order_date,
    when ...
    If the archive object contained more than one table
    (different buffer-rname), more cases would be needed.
    endcase.
    close the archive session
    call function 'ARCHIVE_CLOSE_FILE'
         exporting
              archive_handle = handle.
    ans 5:
    you can either use standard field catalog, from the available field in field catalog you can select the required fields alone to your info structure.
    regards
    mano

  • Using instruction for creating field catalog to archive object "MM_MATNR"

    Hi all,
    I need a using instruction for creating a new field catalog to archive object "MM_MATNR". I'd like to create a field catalog using some fields of tables mara, makt, mvke and marc.
    Thanks for your help!

    Hi,
    Go to following link;
    [Material Master Archiving|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90f75a80-867f-2d10-7aa6-ac164e43e89f?quicklink=index&overridelayout=true]

  • Creating archive object

    Hello Friends,
    I want to create archiving object for statistical tables or tables starting with S namely, ie S9XX etc. Through transaction MSCX I am able to create the object but I also have to create field catalogues for retrieval process. I was directed to transaction MC20 for this but I don't know how to use this transaction. I have found some SAP documents which define the process through Archive Retrieval Configurator but there is no info on where this might be. How can I use MC20 or the Archive Retrieval configurator?
    Thx in advance,
    Ali

    found solution

  • How to create infostructure for my own archiving object?

    We created our own archiving objects.
    Could you help tell how to create infostructure for each of them?
    Any info would be appreciated.

    Hi,
    Infostructure creation:
    1. Create Field Catalog
    2. Create Infostructure and assign Field catalog created
    3. Activate Infostructure
    4. Fill Infostructure
    >> Retrieve archived data
    Path to create Field Catalog:
    Goto SARI >> Customizing >> Environment >> Create Filed catalog
    Note: 1. During creation of Field catalog make use of field name from SE11 transaction.
    2. Target field and Reference filed should be same and Source table from which you are considering the filed name
    3. Key filed name should be Indicated
    Path to create Infostructure
    Goto SARI >> Customizing >> Environment >> Create Infostructure
    Assign Archiving object for which this infostructure is created and assign filed catalog
    Activate it.
    Path to Fill structure
    Goto SARI >> Status >> Select Archiving object and consider option Fill per Infostructure
    In Archiving explorer you can retrieve archiving data.
    -Thanks,
    Ajay

  • Create archive object

    Hello.
    I created a new archive object at AOBJ.
    I copied MM_ACCTIT actually.
    But an error message "Entry & does not exist in ARCH_OBJ" is shown when I enter the new archive object at SARA.
    The error does not occur in development system.
    Beacause entry exists in table ARCH_OBJ.
    I transported the new archive pbject to production system.
    And I found no entry exists in table ARCH_OBJ.
    The enrty was not transported.
    I don't remember how to create entry in ARCH_OBJ.
    I guess the entry is created by running in any transaction.
    But I don't know what the transaction is.
    Thank you and regards.
    Emma S.

    hi,
      check this link, it contains how to create field catalog.
    http://www.sap-press.de/download/dateien/362/sap_press_archiving_sap_data.pdf
    do reward if it helps,
    priya.

  • During writing for archiving object FI_MKKDOC, file is not getting created

    Hi Experts,
    I am new to archiving concept & have one archiving object FI_MKKDOC which i have to complete as soon as possible.
    In this i have done all the basic settings & when i am excuting the transaction after putting production variant & scheduling it as immediate with LP01 printer.Job is finished successfully but in the log there is no message for any file creation. I have checked AL11 transaction also, no file is getting generated. Please help, we have configured the logical file ARCHIVE_GLOBAL_PATH and ARCHIVE_DATA_FILE.

    dont you have a spool file for this archiving job? This should usually list errors that prevented an item from beeing archived, and if nothing was archived, then no file exists.
    When you define a variant for the write step, then select full detailed log in the lower part of the selection screen, especially if it is the first time that you archive with this object.
    Further, please read the docu behind the blue info button in the selection screen. This tells you the sequence you have to use for the archiving as well as other important details.

  • MM_EKKO Archiving Object

    Hi,
    Reg: MM_EKKO - Material Management Archiving Object.
    I have executed the Write Job it completed successfully. And then I executed Delete Job in 'Test Mode', it also executed successfully and it didn't delete the record from the table which is correct. But when i tried to open the Purchase order from ME23N it shown message in status as ' Purchase Order already archived'. Kindly let me know why this message is produced.
    Regards,
    Vimal

    Hi Reddy,
    Thanksfor your reply.
    Actually my concern is not that.
    Write Job(Production Mode) --  It Created a Archive file with the Purchase Order i specified in the selection parameter. So write Job is fine.
    Delete Job(Production Mode) - It deleted the Purchase Order from the database and the archived PO is displayed from ME23N. So this is also fine.
    Delete Job(Test Mode) -- It just executed, Purchase Order is not deleted from database. Which is also fine and correct as well. When i displayed the same PO in ME23N, The PO is displayed with message 'Purchase Order is already archived' . But it should not show the message bcoz i didnt archived it. This is wat my concern.
    Regards,
    Vimal

  • Archiving Objects in SAP Retail (transaction SARA)

    Hi All.
    I have problem with archiving object WS_ACSITE in SAP RETAIL.(Transaction SARA)
    When I write data archiving, message appeard is that archive sessions are created.
    When I try to execute the next step: delete - the archive sessions are not appearing in the dialog box where we should choose the archive sessions for deletion.
    The above situation appear when I am working with plants existing in system for a while, but when I've create a new one and try to go through all SARA's steps it is OK, and master date of sites are deleted (e.g WB03).
    Can anyone help me?
    The second question is u2013 can I restore deleted sites to system?
    thanks in advance.
    Marcin

    Hello,
    Check below information for Material master record required to archive:
    1. Is there any stocks in the plant for which MMR need s to be archived? (Stock = Zero)
    2. Is there any open items at FI accounting? (There should be no pending bills or parked documents)
    3. Is there any pending delivery for this material? (there should be no open deliveries)
    If all the above criteria is met then set the deletion flag and indicator for perticular Plant you are looking for.
    Note: Make sure that non of the other plants which is sharing this MMR is marked for deletion flag / indicatory
    Then execute Archive run for archiving object MM_MATNR.
    Note: All the required configuration is done for archiving object MM_MATNR.
    Hope this will help you to archive MMR only for your required plant.
    -Thanks,
    Ajay

  • Archiving Object PP_BKFLUSH

    We are in the process of archiving PP_BKFLUSH for our client.
    1. Can anyone help me by sharing any documents on the functionalities, restrictions and dependencies of the archiving object PP_BKFLUSH (other than in help.sap)? and
    2. Any document on the step by step process of archiving methodogy (live example of any archiving object)?
    Would be grateful if anyone can send it immediately
    Thanks & Regards
    Anupama

    Hi,
    1. Objescts like PP_BKFLUSH will be created based on Tables.
    2. Objects will be archived first and then deleted based on "Retention Period"
    3.Once you archice the date you cannot retrive the data back but you can view provided you have an "archiving info  structure" through  t.code "SARI"
    Please let me know if you have any concerns,
    Hope understood and assign points if you get through.
    Thanks,
    Vasu..

  • Archiving object in open hub with logical file name

    Hello,
    I am trying to use an open hub with a logical file name.
    By the SAP help looks like you have to use/define a archiving object:
    http://help.sap.com/saphelp_nw70/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/8d/3e4ec2462a11d189000000e8323d3a/frameset.htm
    Steps 1 and 2 of "Defining Logical Path and File Names" are done and tested:
           1.      Definition of the logical path name
           2.      Definition of the logical file name
           3.      Assignment of the logical fine name for the archiving object
    But is it not clear to me if an archiving object is suppose to be used, which one then?,  or if you have to create a new archiving object, with which characteristics?
    Any help welcome,
    Alberto.

    Alberto,
    Can you explain what you are trying to do. Are you trying to archive data from a BI object or are you trying to export data out of a BI object using open hub.

  • Archiving object CHANGEDOCU

    Hi,
    I need to archive data using archiving object CHANGEDOCU. Now the condition is that in this archiving object, I need to restrict the data (to be archived) to company code 1030 (country US). As the company code field is not available in the selection screen of this archiving object, can you please tell me, how can I limit the data to company code 1030, using other fields in the selection screen.
    Thanks and Regards,
    Anuj

    Hello,
    If you are targeting few tables for your requirement than you may create a customized(Z) archiving object for them using transaction AOBJ.
    While creating the archiving program you can create your own selection screen. On this basis you can write the select queries and then archive them.
    A detailed steps to create a customized archiving object and program is mentioned in below link.
    **************** - Step-by-step procedure for Creation of Custom Archiving Object
    Reward points if this is useful
    With Regards,
    Viral Bhuva

Maybe you are looking for