PO Data Archiving Read

Hi,
I am trying to do a report that from a selection screen input parameters with a date range will produce a list of PO:s,
also including the archieved ones.
This will however take ages to run.
Maybe I don't have the whole picture, so maybe someone can help me out on this.
This is what I do for the archived records.
1. Get all records from table ZARIXMM4 where BEDAT is in my selection screen range and ARCHIVEKEY is like '%MM_EKKO%'.
2. Get all records from table ADMI_FILES where ARCHIV_KEY equals to ZARIXMM4-ARCHIVEKEY with for all tentries from above.
3. Loop at the ZARIXMM4 records and look up the ADMI_FILES record.
4. Add the ADMI_FILES record to table SELECTED_FILES and the ZARIXMM4 record to ARCHIVE_FILES (range kind of table).
5. Run FM ARCHIVE_OPEN_FOR_READ with OBJECT 'MM_EKKO* and the tables above go get the HANDLE.
6. Run FM ARCHIVE_GET_NEXT_OBJECT witth the HANDLE or ARCHIVE_READ_OBJECT with the OBJECT, ARCHIVKEY and OFFSET to get the HANDLE..
7. Run FM ARCHIVE_GET_NEXT_RECORD to get the RECORDS.
8. Now check the RNAME to get the correct data and append.
9. Close the file.
10. Get next record from ZARIXMM4 and do step 4-9.
Is there a better, faster way to do this by? How does ME23N get the data from the archive?
This method above works fine for few records, but for larger amount of data it will take too long.
Can anyone please help me out?
/Fredrik.

Check the following:
[Link to External Storage Systems(help.sap.com)|http://help.sap.com/saphelp_nw70/helpdata/EN/8d/3e4ca0462a11d189000000e8323d3a/frameset.htm]
[ILM Store Browser(help.sap.com)|http://help.sap.com/saphelp_nw70/helpdata/EN/46/9f7ff73ebe2c06e10000000a114a6b/frameset.htm]
[XML-Based Archiving(help.sap.com)|http://help.sap.com/saphelp_nw70/helpdata/EN/fa/2250e2bc4b1442a39265abba676cd9/frameset.htm]
Regards,
Nelis

Similar Messages

  • Goldengate Extracts reads slow during Table Data Archiving and Index Rebuilding Operations.

    We have configured OGG on a  near-DR server. The extracts are configured to work in ALO Mode.
    During the day, extracts work as expected and are in sync. But during any dialy maintenance task, the extracts starts lagging, and read the same archives very slow.
    This usually happens during Table Data Archiving (DELETE from prod tables, INSERT into history tables) and during Index Rebuilding on those tables.
    Points to be noted:
    1) The Tables on which Archiving is done and whose Indexes are rebuilt are not captured by GoldenGate Extract.
    2) The extracts are configured to capture DML opeartions. Only INSERT and UPDATE operations are captured, DELETES are ignored by the extracts. Also DDL extraction is not configured.
    3) There is no connection to PROD or DR Database
    4) System functions normally all the time, but just during table data archiving and index rebuild it starts lagging.
    Q 1. As mentioned above, even though the tables are not a part of capture, the extracts lags ? What are the possible reasons for the lag ?
    Q 2. I understand that Index Rebuild is a DDL operation, then too it induces a lag into the system. how ?
    Q 3. We have been trying to find a way to overcome the lag, which ideally shouldn't have arised. Is there any extract parameter or some work around for this situation ?

    Hi Nick.W,
    The amount of redo logs generated is huge. Approximately 200-250 GB in 45-60 minutes.
    I agree that the extract has to parse the extra object-id's. During the day, there is a redo switch every 2-3 minutes. The source is a 3-Node RAC. So approximately, 80-90 archives generated in an hour.
    The reason to mention this was, that while reading these archives also, the extract would be parsing extra Object ID's, as we are capturing data only for 3 tables. The effect of parsing extract object id's should have been seen during the day also. The reason being archive size is same, amount of data is same, the number of records to be scanned is same.
    The extract slows down and read at half the speed. If normally it would take 45-50 secs to read an archive log of normal day functioning, then it would take approx 90-100 secs to read the archives of the mentioned activities.
    Regarding the 3rd point,
    a. The extract is a classic extract, the archived logs are on local file system. No ASM, NO SAN/NAS.
    b. We have added  "TRANLOGOPTIONS BUFSIZE" parameter in our extract. We'll update as soon as we see any kind of improvements.

  • Data Archiving - System Prerequisites

    Hi,
    We are planning to ARCHIVE some of the tables to reduce the TCO. (Total cost of Ownership)
    In this regard, I would like to know the following:
    On the Basis side, I want to check for any prerequisites etc (like Minimum SP LEVEL, Kernel version, Import Notes to be applied etc)
    Are there any document which clearly talks about these prequisites for preparing the System in order to be able to carry out the Archive work without any issues.
    (Note:  We are not using ILM solution for Archiving)
    I am mostly concerned with the SAP Notes that are considered to be the prerequisites.
    Best Regards
    Raghunahth L
    Important System information :
    Our system version is as follows :
    System  -> ERP 2005  (Production Server)
    OS      -> Windows 2003
    DB      -> Oracle 10.2.0.2.0
    SPAM    -> 7.00 / 0023
    Kernel  -> 7.00 (133)
    Unicode -> Yes
    SP Info:
    SAP_BASIS 700(0011)
    SAP_ABA 700(0011)
    PI_BASIS 2005_1_700(0003)
    ST-PI 2005_1_700(0003)
    SAP_BW 700(0012)
    SAP_AP 700(0008)
    SAP_HR 600(0003)
    SAP_AP 700(0008)
    SAP_HR 600(0013)
    SAP_APPL 600(0008)
    EA-IPPE 400(0008)
    EA-DFPS 600(0008)
    EA-HR 600(0013)
    EA-FINSERV 600(0008)
    FINBASIS 600(0008)
    EA-PS 600(0008)
    EA-RETAIL 600(0008)
    EA-GLTRADE 600(0008)
    ECC-DIMP 600(0008)
    ERECRUIT 600(0008)
    FI-CA 600(0008)
    FI-CAX 600(0008)
    INSURANCE 600(0008)
    IS-CWM 600(0008)
    IS-H 600(0008)
    IS-M 600(0008)
    IS-OIL 600(0008)
    IS-PS-CA 600(0008)
    IS-UT 600(0008)
    SEM-BW 600(0008)
    LSOFE 600(0008)
    ST-A/PI 01J_ECC600(0000)
    Tables we are planning to archive
    AGKO,     BFIT_A,     BFIT_A0,     BFO_A_RA,     BFOD_A,     BFOD_AB,     BFOK_A,     BFOK_AB,     BKPF,     BSAD,     BSAK,     BSAS,     BSBW,     BSE_CLR,     BSE_CLR_ASGMT,     BSEG_ADD,     BSEGC,     BSIM,     BSIP,     BSIS,     BVOR,     CDCLS,     CDHDR,     CDPOS_STR,     CDPOS_UID,     ETXDCH,     ETXDCI,     ETXDCJ,     FAGL_BSBW_HISTRY,     FAGL_SPLINFO,     FAGL_SPLINFO_VAL,     FAGLFLEXA,     FIGLDOC,     RF048,     RFBLG,     STXB,     STXH,     STXL,     TOA01,     TOA02,     TOA03,     TOAHR,     TTXI,     TTXY,     WITH_ITEM,          COFIP,     COFIS,     COFIT,     ECMCA,     ECMCT,     EPIDXB,     EPIDXC,     FBICRC001A,     FBICRC001P,     FBICRC001T,     FBICRC002A,     FBICRC002P,     FBICRC002T,     FILCA,     FILCP,     FILCT,     GLFLEXA,     GLFLEXP,     GLFLEXT,     GLFUNCA,     GLFUNCP,     GLFUNCT,     GLFUNCU,     GLFUNCV,     GLIDXA,     GLP0,     GLPCA,     GLPCP,     GLPCT,     GLSP,     GLT0,     GLT3,     GLTP,     GLTPC,     GMAVCA,     GMAVCP,     GMAVCT,     JVPO1,     JVPSC01A,     JVPSC01P,     JVPSC01T,     JVSO1,     JVSO2,     JVTO1,     JVTO2,     STXB,     STXH,     STXL,     TRACTSLA,     TRACTSLP,     TRACTSLT,
    in addition we have some Z Tables to be archived.

    Hi,
    Pre-requisites for search OSS notes or BC Sets depends upon the program that is used in archive, delete or read.
    If there is no proper selection criteria in write variant selection,
    If the program is getting terminated due to long processing time,
    If percentage of data archived for your selection is less even after data meeting minimum criteria,
    If system allows user to change archived data,
    With all the above scenarios we will search for OSS notes. If SAP has released BC sets then we will implement these.
    If you have any problem while archiving and based on the archiving experience if you think that some of the oss notes will help then take a call on implementing it.
    With the tables you have mentioned i can say that archiving objects such as FI_DOCUMNT, FI_SL_DATA, EC_PCA_ITM, EC_PCA_DATA, CHANGEDOCU, ARCHIVELINK.
    You have to search any latest release BC sets or OSS notes for your system application.
    -Thanks,
    Ajay

  • A question on different options for data archival and compression

    Hi Experts,
    I have production database of about 5 terabyte size in production and about 50 GB in development/QA. I am on Oracle 11.2.0.3 on Linux. We have RMAN backups configured. I have a question about data archival stretegy.  To keep the OLTP database size optimum, what options can be suggested for data archival?
    1) Should each table have a archival stretegy?
    2) What is the best way to archive data - should it be sent to a seperate archival database?
    In our environment, only for about 15 tables we have the archival stretegy defined. For these tables, we copy their data every night to a seperate schema meant to store this archived data and then transfer it eventualy to a diffent archival database. For all other tables, there is no data archival stretegy.
    What are the different options and best practices about it that can be reviewed to put a practical data archival strategy in place? I will be most thankful for your inputs.
    Also what are the different data compression stregegies? For example we have about 25 tables that are read-only. Should they be compressed using the default oracle 9i basic compression? (alter table compress).
    Thanks,
    OrauserN

    You are using 11g and you can compress read only as well as read-write tables in 11g. Both read only and read write tables are the candidate for compression always. This will save space and could increase the performance but always test it before. This was not an option in 10g. Read the following docs.
    http://www.oracle.com/technetwork/database/storage/advanced-compression-whitepaper-130502.pdf
    http://www.oracle.com/technetwork/database/options/compression/faq-092157.html

  • What is data archiving and DMS(Data Management System) in SAP

    what is data archiving and DMS(Data Management System) in SAP
    Welcome to SCN. Before posting questions please search for available information here and in the web. Please also read the Rules of Engagement before further posting.
    Edited by: kishan P on Aug 31, 2010 1:06 PM

    Hi,
    Filtering at the IDoc Level
    Identify the filter object (BD59)
    Modify the distribution model
    Segment Filtering
    specify the segments to be filtered (BD56)
    The Reduced IDoc Type
    Analyze the data.
    Reduce the IDoc type (BD53)
    Thanks and regards.

  • Regarding data Archiving

    Hi,
           All
                   my client needs to archive Data in SAP 8.8 each year having only 1 year completed.Can we archive data
                   less than 3 year?
    Thanks in Advance

    There will not be any technical problem if the archiving is done as per the instructions set by SAP (I suggest you go through DATA Archiving Session from SAP), What I meant was that any data which is less than 3 year old may still be considered as new data and if this is archived you are left with no choice to modify anything in this data as this becomes read-only.  If the client is looking for extra space on server by Data Archiving you can suggest other step as well . Again as I said it is the client's call afterall.
    regards
    johnson

  • "No list available" - Spool message  - Data Archiving

    Hi ,
    I am facing problem in CRM Data Archiving .
    Now I am Archiving the Arc Object  >> PRODUCT_MD .
    All the parameters i have given correctly.
    when i execute the job, in the spool message it says <b>"No list available".</b>
    I thought the problem with the input.
    then i executed this tcode  - "COMMPR01" (based on the help.sap.com for this archiving object.)
    I selected some of the  "Material" in that and set the product status as
    <b>"To archive".</b>
    Any Idea on this .
    expecting your valuable inputs .
    Regards
    Ganesh

    When ever we execute logic in batch mode, the ALV list will be populated to the spool. The error says that, there is not data coming up via list output of the report. Hence there is no spool being created.
    Regards,
    Chiranjeevi.

  • Data archiving and data cleansing

    hi experts,
    Can any one tell me step by step guide for Data archiving and Data cleansing of SAP-ISU Object.
    what is the difference between  Data archiving and Data cleansing .
    Thanx & Rgds

    Data Archiving: So many objects are there you can look some of them..........
    ISU_BBP IS-U Archiving: Budget Billing Plan
    ISU_BCONT Business Partner Contacts (Contract A/R + A/P)
    ISU_BILL IS-U Archiving: Billing Document Header
    ISU_BILLZ IS-U Archiving: Billing Line Item
    ISU_EABL IS-U Archiving: Meter Reading Results
    ISU_EORDER IS-U Archiving: Waste Disposal Order
    ISU_EUFASS Archiving of Usage Factors
    ISU_FACTS Installation Facts
    ISU_INSPEC IS-U Archiving: Campaigns for Inspection List
    ISU_PPM Prepayment Documents
    ISU_PRDOCH IS-U Archiving: Print Document Header
    ISU_PRDOCL IS-U Archiving: Print Document Line Item
    ISU_PROFV IS-U Archiving: EDM Profile Values
    ISU_ROUTE IS-U Archiving: Waste Disposal Route
    ISU_SETTLB Settlement Document
    ISU_SWTDOC Archive Switch Document
    Go to SARA t-code and enter the object CA_BUPA for business partner then Press F6 you will get  step by step documentation. please follow the procedure for all the objects.
    Regards,
    Siva

  • Data archival and purging for OLTP database

    Hi All,
    Need your suggestion regarding data archival and purging solution for OLTP db.
    currently, we are planning to generate flat files from table..before purging the inactive data and move them to tapes/disks for archiving then purge the data from system. we have many retention requirements and conditions before archival of data. so partition alone is not sufficient.
    Is there any better approach for archival and purging other than this flat file approach..
    thank you.
    regards,
    vara

    user11261773 wrote:
    Hi All,
    Need your suggestion regarding data archival and purging solution for OLTP db.
    currently, we are planning to generate flat files from table..before purging the inactive data and move them to tapes/disks for archiving then purge the data from system. we have many retention requirements and conditions before archival of data. so partition alone is not sufficient.
    Is there any better approach for archival and purging other than this flat file approach..
    thank you.
    regards,
    varaFBDA is the better option option .Check the below link :
    http://www.oracle.com/pls/db111/search?remark=quick_search&word=flashback+data+archive
    Good luck
    --neeraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • New to SAP Data Archiving

    Hi,
    Is it a must to have third party tool/ software for SAP Data Archiving
    OR
    SAP has its own solution for (CREATE archive files, WRITE archive files and DELETE from database).
    Any pointers for some more information on different stages of SAP Data Archiving project. (Any links to how-to documents would be great help.)
    Regards,
    Rehan

    You have posted your query in a wrong forum.
    This space is for discussion on SAP TDMS topics.
    You may check in the forum Information Lifecycle Management
    for any available information.

  • The best practice for data archiving

    Hi
    My client has been using OnDemand for almost 2 years, there are around 2M records in the system(Activities), so just want to know what is the best practice of data archiving, we dont care much about the data in the 6 month ago.

    Hi Erik,
    Archival is nothing but deletion.
    Create a backup cube in BW. Copy the data from your planning cube to the backup cube, and then delete that data region from your planning cube.
    Archival will definitely improve the performance of your templates, scripts, etc; since the system will now search from a smaller dataset.
    Hope this helps.

  • Repository A2 is already used for document area DATAARCH (Data Archiving].

    Dear ALL,
    Actually I am getting probelem Photo configuration in back end.
    I am using Transaction SM31 maitaining the table TOAAR_C, here I am getting probelem  'Content Repository Identification' (A2), here i am getting below error.
    Repository A2 is already used for document area DATAARCH (Data Archiving].
    Please look in to issue.
    Regards,
    venkat

    Jürgen - your answer was very helpful and I'm sure I'm now in the right direction!
    However I still have an issue:
    When the write job is finished and before deleting and storage, the archive file is not accessible - and then I am not able to continue with deletion and storage.
    An example:
    Filename: RMM_EKKO11180104855_CLL
    Logical path: ARCHIVE_GLOBAL_PATH_WITH_ARCHIVE_LINK
    Physical file name: E:SAPContRepZ5RMM_EKKO11180104855_CLL
    E:SAPContRepZ5 is the root of the content repository and should according to the documentation contain the file during the delete phase and until final storage in the repository. But there is no file there.
    In the log of the write job there are the following entries:
    Job started
    Step 001 started (program RM06EW70, variant Z_DEMO_7, user ID CLL)
    Reading purchasing documents
    Archiving session 000913 is being created
    Path:
    Name for new archive file: RMM_EKKO11180104855_CLL
    1 of 1 purchasing documents processed
    Job finished
    I am a little concern about that no path is written to the job log - could maybe mean something.
    Any ideas?
    Thanks,
    Claus.

  • Business Intellience and Data Archiving

    Once you have implemented Data Archiving, what are the possible ways of allowing BI standard and custome extractors to look at both SAP ECC online and archived data (the archived data sits on Open text). How do you deal with BI complete reload and refresh requirement for a specific data if the data has been already been archived?

    Is there any addiotional things we need to do at info source level after activating the content? Selecting the correct data source etc.
    If there is a enhancement to the extraction structure then what all steps manually  we need to do at info source level? When we replicate the data source which has been enhanced, will it create the infoobjects automatically so that they can be used in infosource communication structure?
    As I am new to the system, I am running in to all these questions.
    Appreciate any help in step by step how things will work.
    Thanks.

  • BW Master Data archiving - possible?

    Dear Experts!
    I have a question, regarding SAP BW archiving. Is master data archiving possible in SAP BW 7.02? If it's possible, what is the solution for that?
    Tkanks in advance!

    Hi,
    I am thinking about creating a "twin" object of the one that you want to archive (identical).
    Once create, refresh the new object with the information that you want to keep, and dont refresh any more.
    But if you are interested in doing several archives and keep the data within that object, you can create a new field within the new Twin Characteristic as "key field" to store the date of when you do the archiving.
    I hope that it helps!

  • MATERIAL MASTER DATA ARCHIVING

    Dear Experts,
    I have archive material master data from the data base.
    As a prerequisite for material master data archive,
    Purchase orders for the materials are archived already.
    Invoices documents are archived already
    Material documents are archived already
    No material stocks exists for these materials.
    Please tell me deletion flag is to be set for the material at client level ?
    Table MARA
    Field LVORM

    you can delete and archive a material master at any level.
    If you want archive the full material master, then you have to set the deletion indicator in MM06 on top level. if you just want archvie a storage location view, then you set your deletion indicator at this level only, as well in MM06.
    In general MM06 is not necessary, as the SARA MM_MATNR write program allows to archive materials without having a deletion flag.

Maybe you are looking for

  • How do I share one book with a class set of ipads

    I am new to ipad I was given 14 iPads and want to be able to share books(class set) and documents with all of the iPads so that we could review the books and documents together

  • Urgent: SP9 installation always shows portal favorites

    Hi, I have a problem with the detailed navigation area on my Enterprise Portal 6.0 SP9 installation: It's always visible and shows the portal favorites although there are NO items to show (both in the detailed navigation area and portal favorites are

  • Reverse settled cost of AuC

    Hi All, We have settled cost to AuC in Mar' 08 and now we can reverse it in Mar'09, Is it possible? When I try to reverse it the following message is displayed, " Reversal not possible; last settlement was in period 012 2009. Message No. KD547. pls.

  • Unable to convert postscript file...

    I can't print a PDF file in Adobe Acrobat XI Pro for Mac (OS X 10.9.1). The file sent to print remains stuck in the queue saying "Printing - Unable to convert Postscript file".  My printer is HP OfficeJet 8600 Plus. It seems to be a problem related t

  • Display the last item in Content Query web part

    Edited my post I was trying to create a CQWP that will display 5 blog posts in the following format: Name of the blog                | Previous blog posts:    |  Post 5                               |  Post 4                      |  Description