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

Similar Messages

  • MM_EKKO Archiving - PO deactivated

    Hello all,
    In R/3 4.6C i made a test run for MM_EKKO archiving object, the spool result differenciate between PO archived and deactivated. Could you please explain me the difference?
    One more question, the test run shouldn't se the indicator for deletion, is it correct? it seems that in my test run the system modified all PO insered into archiving selection.
    Thank you for collaboration.
    Fuffo

    Deactivated means that you have executed a 2-step archiving.
    You have different residence times. SAP set the deletion flag if residence time one is met, but residence time 2 not yet.
    If both times are met, the PO gets archived.
    for examples see OSS note 948493 - Residence time in new reports RM06EV47, RM06BV47
    You probably have customized the test variant for MM_EKKO as production variant, other wise SAP would not have updated your database.

  • Can you please give me the details of Archiving object for Reservations

    Hi All,
    Could you please give me the details of Archiving object for Reservation documents. If there is no standard object can you please give me the details, for which program we are using.
    Regards,
    Ram

    Hi,
    You do not need to configure the tables to be deleted for any archive object through AOBJ. SAP would have maintained the list of tables from which data will be deleted if you archive a particular object. In case of archiving MM_EKKO, data will be deleted from many other tables apart from EKKO and EKPO. Here is the list of tables from which data will be delete if you archive PO using MM_EKKO.
    A068
    A081
    A082
    A215
    ADR10
    ADR11
    ADR12
    ADR13
    ADR2
    ADR3
    ADR4
    ADR5
    ADR6
    ADR7
    ADR8
    ADR9
    ADRCOMC
    ADRCT
    ADRG
    ADRGP
    ADRT
    ADRU
    ADRV
    ADRVP
    AUSP
    CDCLS
    CDHDR
    CDPOS_STR
    CDPOS_UID
    CMFK
    CMFP
    DJEST
    EIKP
    EIPO
    EKAB
    EKBE
    EKBEH
    EKBZ
    EKBZH
    EKEH
    EKEK
    EKES
    EKET
    EKETH
    EKKN
    EKKO
    EKPA
    EKPO
    EKPV
    EKUB
    EREV
    ESKL
    ESKN
    ESLH
    ESLL
    ESSR
    ESUC
    ESUH
    IBADDR
    IBIB
    IBIBOBS
    IBIBT
    IBIN
    IBINDOMAINS
    IBINOBS
    IBINOWN
    IBINT
    IBINTX
    IBINVALUES
    IBSP
    IBST
    IBSTREF
    IBSYMBOL
    INOB
    JCDO
    JCDS
    JEST
    JSTO
    KAPOL
    KOCLU
    KONH
    KONM
    KONP
    KONW
    KSSK
    MLBE
    MLBECR
    MLWERE
    NAST
    RESB
    STXB
    STXH
    STXL
    WRF_PSCD_DLHD
    WRF_PSCD_DLIT
    WRF_PSCD_DLIT_SH
    Hope this helps
    Cheers!
    Samanjay

  • 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

  • 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

  • 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

  • Archiving object CRM_SEOPD in solution manager

    Hello,
    The self diagnostics for solution manager throws a warning under "Service Desk" functionality with message text "Critical number of incidents per support team or error reading volume". The detail display shows:
    Strategy for resolving the alert -  to start an archiving project for incidents using archiving object CRM_SEORD.
    Details of this Alert - 1. No support teams, i.e. business partner type organization (Message no. DSWP_SD127).
    Does anyone have a clue how to go about resolving this warning.
    Thanks,
    Asif

    Hello,
    For Archiving Support Desk messages you should refer to SAP Note  1329247 - Archiving Solution Manager Service Desk messages. It describes the process which is a two part process, one part in Solution Manager, the second part in CRM.
    This will resolve this issue.
    Glad to help!
    Regards,
    Paul

  • 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 for the tables

    Hi,
    I want to archive the tables.But some of the tables I did not find the archiving object.What should be done on this.Pls guide.
    Tables w/o archiving object which i want to archive
    APQD,ARFCSDATA,DYNPSOURCE,WBBP,REPOLOAD,REPOSRC,BDCP,BDCPS
    Thanks

    Hi Rajesh,
    Not all tables can be archived. For some tables there may be option available for plainly deleting the contents without archiving. Please check the Data Management Guide available at the service marketplace for further information. You may also refer to SAP note 706478.
    Word of caution: Not all tables are meant to be archived / deleted. Some tables maybe required for proper functioning of the SAP system (however big the table is). So please proceed with caution if you are trying to develop a custom program to delete contents from a standard SAP table, you may end up deleting some data which was required. Even when deleting using standard SAP programs, proper due diligence and testing is necessary
    Hope this helps,
    Naveen

Maybe you are looking for

  • 6/4/2014 - Beta - Flash Player 14.0.0.126

    The latest Flash Player 14 builds are now available.  You can download Flash Player here:http://www.adobe.com/go/flashplayerbeta. Please note that this build is identical (except for version number) with the official release slated for next week.  Pl

  • Sales By Amt Query Change

    Hello All - We have this Query used to view sales by Amt for each month.  Can we modify it so it does not show every month.  Instead, gives option to select the month at the start of the Query and only shows the month selected in the results? Keep ev

  • Output Problem with Smartform Lines

    Hai i have done an HR payslip by using smartform.All the form output has gone perfectly, but the lines given to template are not reflecting in the hardcopy of the printout but we can see these lines in output properly. My client is using Epson Line P

  • Portal Usage Reporting and Statistics

    Does any body know/use software that can do Portal Usage Reporting? It do not must to be SAP software.

  • Unable to search with indexing Tools.

    In Acrobat Reader 8.0 (in build IFilter is installed) indexing software is unable to parse text from PDF file for indexing. It was works fine with earlier version of 8.0 but not with 8.0 what will be the reason and why it is not work with Acrobat Rea