Archiving objects SD_VBRK, SD_VBAK, SD_VTTK, and RV_LIKP

Hi,
I need to archive data using archiving objects SD_VBRK, SD_VBAK, SD_VTTK, and RV_LIKP. Now the condition is that in all these archiving objects, 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 screens of these archiving objects, can you please tell me, how can I limit the data to company code 1030, using other fields in the selection screens.
Thanks and Regards,
Anuj

Hello Claire,
If an archive object has Application-Specific customizing, this information must be configured in order for the write program to find data eligible for archiving.  Also, for SD related data, the data must be business complete for it to be archived as well.
I hope this helps.
Best Regards,
Karin Tillotson

Similar Messages

  • Archiving object for tables GLPCC and GLPCO

    Hi All,
      GLPCA table stores the actual line items in PCA and GLPCT table stores the totals records of PCA.
    What are the transactions which get affected in regular course by these tables?
       GLPCC - EC-PCA: Transaction Attributes
       GLPCO - EC-PCA: Object Table for Account Assignment
    There is no archiving object for the tables GLPCC and GLPCO when checked in DB15. What is the alternative for archiving the entries in those tables?
    Thanks in advance
    Regards
    Anupama

    Hello Anupama,
    The standard archiving objects for PCA are EC_PCA_ITM & EC_PCA_SUM. Most of the data is archived with above two objects.  Hence it would be better to use given archiving object. About 80% of data can be archived through standard archiving objects.
    For more information you may read SAP Data Management Guide.
    Regds
    Ambadas

  • Residence and restention time for archiving object

    Folks
    I am starting archiving in our company and have question on residence time and retention time of the document.
    In which activity or t code we use to specify these timing once we determine that timing after discussing with business.
    So we have to specify these timing by module like SD ,MM or individually for each archiving object eg
    SD_VBKA
    Can some one specify the IMG activity in where to specify these timings or direction in this area
    thanks

    HI,
    Please check the below link :
    http://help.sap.com/saphelp_45b/helpdata/en/ed/df10ecd81411d1a9620000e8a6f09e/content.htm
    http://www.saptips.com/wpSelectDoc.asp?cmbCategory=Data%20Archiving
    Regards
    Sreedhar Reddy

  • SAP Archived object in MM . Cross verify and test.

    Hi All,
    We are on Process of Archiving data from Production, Configuration and  Object done up to Quality client. We are started testing in Quality. As a functional consultant how to cross verify and check how the data like PO,PR,Material documents archived or not.
    Now data archived for only May 2008. I would like to test the case with in the period, the data is properly archived or not. any difference is there??
    Can you please let me know how to take care of this and do the testing for SAP archiving in MM perspective.
    Thanks for all your help.

    Hi Hare,
    For SAP Data Archiving testing you have to look at mainly two things: residence period and business completion requirements. Residence period is the time the data needs to be in SAP before it's eligible to be archived (data old enough) and business completion requirements is basically checking that the object is "closed" before archiving it. For instance, you can not archive a service order that is opened or an equipment that is installed.
    You should check different combinations like data old enough (for the period that you want) and not complete (should not be archived) and then data old enough and complete (should be archived).
    Check the data before running the archiving jobs and see what should be / not be archived according to you, run the archiving jobs and then check the data again to see if results are expected.
    Hope this guidelines help you.
    Cheers.

  • Archive Object  GLFUNCA, GLFUNCP and other Custom table ZGLFUNCA, etc

    Hi Expert,
        I am encountering one issue that is how to define the write and delete program. I have three standard tables which have standard archive object and meanwhile I have another three custom own table which have the relationship with these standard table. Now I'm wondering should I defiine the dependency of these two archive objects and check only when the first object is done, the second one can proceed.
       I'm really looking forward your advice, so far I plan to create one 'z' archive object which include three custom tables and put the standard archive object as dependency object. But how to proceed with the write and delete program?
    Please kindly give your advise and solutions. Thank you.

    Hi,
    you can ask your ABAP consultant to code in the table maintenance events. We need to call appropriate authorization objects in the events and allow/disallow the changes for a field/record based on the authorization.
    If you want more details on TMG events, just search in SCN. We have lot of information on this.
    Thanks,
    Vinod.

  • Details of database and status information of archived object can't be seen

    Hi
    I am trying to archive the ODS-0FIAP_O03 and the job overview(T.Code SARA) shows the status as finished. Attached screenshots show the statistics of written data objects and active records in spool. However when we display statistics(T.Code SARA ) , I do not see any details of database and status information of archived object.Please suggest where could the error be.
    Also let me know if you want to see the related screenshots.
    Will award high points.Thanks
    Reenu Lodha

    This could be an issue due to program error.
    Would you provide me the archiving object so as to find OSS notes if available.
    This is a common issue for most of the archiving objects..we do generally miss out the statistics..and that is after the modification in the program, this is ok.

  • 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

  • Prompt NODE_NOT_FOUND when doing archiving object

    Hi Expert,
    I find an exception raise when accessing logs of archiving objects: "MM_MATNR" and "SD_VBAK" in t-code: SARA. Could you advice what's the problem and how to fix it? Thanks!
    Rdgs,
    Emily

    HI Emily,
    Try to upgrade system kernel with 720.Kindly refer SAP doc Upgrading SAP Kernel from Release 700 to SAP Kernel 720_REL / 720_EXT Part II of II
    Regards,
    Gaurav

  • 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

  • How to find out prerequisites of archiving objects?

    As we plan an archiving project for our ERP system, I would like to know how to find out the prerequisites for archiving the different objects.
    For example, as I know for archiving material master data, the usage of object MM_MATNR requires that the deletion flag is set on materials.
    Or as I assume, orders probably can only be archived if they are delivered and closed.
    How to find out these prerequisites?
    Best regards
    Martin

    Hi Martin,
    Network Graphics helps in determining the dependencies among the archiving objects.Once you have sorted out the flow you can schedule archiving in test mode to find more details.
    Eg PP_ORDER you can find out why a particular order is not archivable...may be cos of unsettled balance..etc.
    You can find few details about the prerequisites in the archiving run (test)
    Hope this helps.
    Thanks,
    Priya.

  • 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

  • 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 : CO_TOTAL  - Fiscal year issue regarding

    Hi,
    I am trying to archive  (01.04.2007 - 31.03.21008).    - fiscal year : 2008
    when i give the fiscal year : 2008  ( period 1 - 12)
    it 's archiving all the datas relevant to 01.04.2007 - 31.03.2008.  which  is correct.
    but some of company codes following a  calendar year as financial year .
    in that case  if i give 2008 (period 1 -12)  ( it is archiving jan'2008 - dec'2008) data.
    which is incorrect.
    in the archiving object configuration , there is no way for company code wise processing....
    *the company code which follows a calendar year is having different controlling area....
    Your inputs are useful to us.
    Thanking you.
    Regards
    Giri

    Hi Soyab,
    Before archiving these CO archiving objects please check whether DaRT is taken care. As CO_ITEM is already ongoing then i thing DaRT is done.
    1. CO_TOTAL: This archiving object is dependent on CO_ITEM, so first archive this AO and later with CO_TOTAL.
    - Controlling area, Order type, Fiscal year and Value type are the major selection criteria for restricting it for archiving.
    2. CO_CCMAST: Dependent on CO_ITEM and CO_TOTAL.
    - Controlling area, Cost center group and Fiscal year are the major selection criteria for restricting for archiving.
    Apart for this there are no other reports to execute before archiving these archiving objects.
    Reward if it benifits.
    -Thanks,
    Ajay

  • Archiving Object Impact

    I  am trying to run some analysis for my customer - they are interested in knowing all ABAPs (SAP standard and Z-ABAP) that would be impacted if we archived certain data.
    I have tried looking at SE11 for specific tables but that is throwing up a lot of ABAPs.
    Does anyone know if there is a way in SAP (or some 3rd party tool) where by I can enter the archiving object (rather than the specific table) and for the system to return a list of ABAPs that are impacted by 1 or more tables with in that object.
    thanks in advance

    Shibu:
    EMMA archive should have no impacts, provided you are not using EMMA cases OR if you are archiving for periods which are no longer used in case management.
    regards,
    bill.

  • Archiving object CRM_SERORD

    Hi everyone-
    I need to clean up my transaction monitor screen (delete/archive old test messages). I am able to delete the basis part of the message fine by running the report Z_DELETE_BASIC_NOTIFICATIONS per note 566225, however I need some help in archiving the CRM part of the message.
    I know that this is done in transaction SARA by using archiving object CRM_SERORD, but that is all I know....once I execute transaction SARA, what do I do next?
    Can anyone walk me through the steps for archiving the CRM side of the message?
    Thanks,
    Nathan

    Hi,
    Data is said to be archived when both the Write job and Delete job for the data has run successfully. TA: SARA is used to run both the Write and Delete programs. Before you run these programs you need to do some customizing
    - Archive Object Specific
    - Application specific
    For detailed steps visit this <a href="http://help.sap.com/saphelp_crm50/helpdata/en/e6/c66f3b6c980c3be10000000a11402f/content.htm">link</a>
    Hope this helps
    Cheers!
    Samanjay

Maybe you are looking for