Archiving / Purging Custom table

Hello!
I would like to ask if there is a program in Oracle EBS that I could used to set up to archive custom tables? If not, what would you recommend a best approach.

9ff898ea-85f6-4303-af4e-b42cfcc64343 wrote:
Hello!
I would like to ask if there is a program in Oracle EBS that I could used to set up to archive custom tables? If not, what would you recommend a best approach.
Oracle doesn't provide seeded concurrent programs to purge/archive custom tables since this varies from one customer to another and the business requirements are not the same -- You should create custom concurrent programs (or scripts) to purge/archive your custom tables.
If you are looking for 3rd party archiving/purging solutions, please see:
https://forums.oracle.com/message/4060032
https://forums.oracle.com/message/9155043
Thanks,
Hussein

Similar Messages

  • Data Archival for Custom Tables

    Hi Experts,
    We have a requirement of archiving the related custom tables while we archive the standard SAP tables data. We are going a head with creating the custom archiving objects to handle this. However, i would like to know about the feature of "Exit routine assignement in generation" in the standard Archiving objects (AOBJ).  Can this be used to handle custom tables data? If yes, can you please provide me an example how this can be acheived? If not, what is the purpose of this?
    Please help!!
    Thanks and Best Regards,
    Surya

    Hello Lavaughn,
    I can not speak for SAP, but from my personal experience TimeStamps are the state of the art to store time date info in db tables. Even with date/Time fields a conversion to the local timezone is necessary. Of course you can reuse your db definition on dynpros. But since UI and business logic will be divided anyway this is also not really a valid point.
    Best Regards
    Klaus

  • RE: Include customized table into MM_EKKO archiving

    I had a customized table, ZEXP_PO that shares the same key as EKKO.
    I want to include this table during the archiving for MM_EKKO.
    Can any guru shares on how to configure it?
    Do I need to create a new customized program to archive as well as  delete?

    Hi,
    You can enhance the write program RM06EW47 using the BAdI ARC_MM_EKKO_WRITE. This BAdI is used to write the customer specific table entries to the archive. It is called within the write program for each  business object between the call function ARCHIVE_NEW_OBJECT and ARCHIVE_SAVE_OBJECT.
    Hope this helps.
    Cheers!
    Samanjay

  • 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

  • Create Object for archiving Custom Table

    Hi guru!!
    I have a problem, I must create a archiving object for custom table..
    I must create a report for READ, DELETE and ARCHIVING this type of table..
    colud you help me?
    thanks a lot guru!!!

    Hi,
    Steps..
    GO TO SE11
    Give the table name
    Press change..
    In the menu..UTILITIES -> TABLE MAINTENANCE GENERATOR.
    GIve the authorization group &NC&
    Choose the single step radio button..
    Give the screen number 1.
    Give the function group..Give the table name itself as the function group.
    Press create. button.
    Now the screen is generated..go to sm30 and maintain the table entries..
    Thanks,
    Naren

  • How to archive custom tables???

    Hello gurus,
    I have been assigned to a archiving assignment..
    To archive standard tables SAP provided with standard archiving object.. but how to archive custom tables and how to creat customized archiving object..
    each reply will be rewarded...
    Regards
    RR

    Hi Ramana,
    Check the following links:
    Re: Archiving of Z Table
    Re: Archiving
    These contain the information you need to archive custom table.
    These may be helpful to you.
    Regards.
    Rajat

  • 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.

  • Archiving customized tables

    Hi,
    I want to archive around 10 tables for the past 30 days.  i  have used the following code to archive for one table.
    * Internal table to store the records that was retrieved
    DATA :  BEGIN OF GET_TAB OCCURS 1000.
            INCLUDE STRUCTURE ZFIT0056.
    DATA :  END OF GET_TAB.
    MOVE SY-DATUM TO TEMP_DATE.
    SUBTRACT 30 FROM TEMP_DATE.
    IF WA_CNT <> 0.
      PERFORM MOVE_RECORDS.
    ENDIF.
    FORM MOVE_RECORDS.
      CLEAR GET_TAB.
      TEMP_DATE = TEMP_DATE  + 1.
      MOVE TEMP_DATE+0(4) TO DATE_YY.
      MOVE TEMP_DATE+4(2) TO DATE_MM.
      MOVE TEMP_DATE+6(2) TO DATE_DD.
      CONCATENATE 'DR' DATE_DD DATE_MM DATE_YY '.AAA' INTO FILENAME.
      SELECT * FROM ZFI00001 INTO GET_TAB WHERE FILENAME1 = FILENAME.
        IF SY-SUBRC  = 0.
          APPEND GET_TAB.
        ENDIF.
      ENDSELECT.
      PERFORM ADD_RECORDS.
    ENDFORM.                 
    FORM ADD_RECORDS.
      INSERT ZFI00006 FROM TABLE GET_TAB.
      IF SY-SUBRC = 0.
        PERFORM DELETE_RECORDS.
      ENDIF.
    ENDFORM.                    "add_Records
    FORM DELETE_RECORDS.
      DELETE FROM ZF000001WHERE FILENAME1 = FILENAME.
      IF SY-SUBRC = 0.
        WA_CNT = WA_CNT - 1.
      ENDIF.
    ENDFORM.                    "delete_records
    can anybody suggest me a simpler way to archive all the 10 tables in a single program.

    Hi,
    Hope this link will helpful to you Re: Archiving
    http://www.pbs-software.com/medien/praesentationen/PBS_CUSTOM_EN.pdf
    Regards,
    Pravin

  • Custom Table for Verifying Duplicate Invoice against Legacy Invoice Data

    Hi All,
    We are trying to upload legacy invoice data in a custom table. Then we want to use SAP duplicate invoice check functionality to look for the potential duplicate invoice from this custom table as well apart from the standard SAP tables.
    If you know of some user exit or any function module which I can use to link this custom table with the standard SAP duplicate invoice check functionality then it would be of great help.
    Regards,
    Sanjay

    Hi Jurgan!
    Thanks for the reply,
    We are using ECC6,
    Support pack : SAPKH60013
    Settings for Duplicate Invoice Check In Vendor Master is correct
    Customization setting OMRDC transaction, tick mark for invoice reference no. only
    If all the cited characteristics match, the system displays a
    customizable message. M8462 (if logistics invoice documents are found) or M8108 (if accounting documents are found).
    I have ensured that message M8108 (if accounting documents are found) is maintained as an error message in OMRM.
    Still system is allowing duplicate invoices for the reference nos. 00082 and 00072.
    For other reference Nos. which are previously used for other documents, system issues error message successfully.
    I dont want to delete archived accounting doc. and if I maintaind BKPF entris of this archived doc manually it will create probelm in FI.
    is this happen due to life span of secondory index of archived accounting doc. is completed ?.
    Please Help
    Many Thanks
    Vikas

  • Giving Error When Selecting From a Custom Table

    There is a custom report 'Z*'  which archives data.
    In this report, while selecting data(needs to be archived) from a custom table 'Z*_T', giving runtime error in Production Server.
    The select statement is written below :
    *data izX like z_t occurs 1000 with header line._
    *select * from z*t into table i_zX.*_
    How can I change the select statement so that it will work properly?

    Sas..
    From your example code it appears you are trying to use a wild card for both your dbtable and the internal table.
    To do this, you will lilkely need to use a Field Symbol for the target internal table and your FROM will need to be a varible
    FROM (dbtabname)
    The ABAP Helps gives this example for the Select Table
    DATA  TABNAME(10).
    DATA: BEGIN OF WA,
            ID   LIKE SCUSTOM-ID,
            NAME LIKE SCUSTOM-NAME,
            REST(134),
          END OF WA.
    TABNAME = 'SCUSTOM'.
    SELECT * INTO WA FROM (TABNAME).
      WRITE: / WA-ID, WA-NAME.
    ENDSELECT.

  • Archiving of 'Z' tables

    Hi Experts,
    I am working on archiving project.
    How to archive the 'Z' table data or 'Z' objects??
    any steps??
    and how to find which transactions effecting (inserting) data into which tables ??
    regards,
    Saurabh

    Hii..
    the main 2 t-codes for archiving are
    SARA----
    Archive Administration
    SARE----
    Archive Explorer
    additional some t-codes are-
    SARFC----
    Server Resources for Asynchr. RFC
    SARI----
    Archive Information System
    SARJ----
    Archive Retrieval Configurator
    SAR_FLAG_SESSIONS--To be archived or invalid status set
    SAR_OBJ_IND_CUS----
    Cross-Archiving-Obj. Customizing
    SAR_SHOW_MONITOR----Data Archiving Monitor
    thanks.....

  • Error while deleting a customer table

    When I try to delete a customer table which is saved as a local object I get an error stating that the table is still used in ABAP Dictionary. It seems that the customer table is still used in a customer program, but the program is already deleted! I deleted the program earlier and thus no longer exist in our system. I cannot find any trace of the program, but am unable to delete the customer table now. Any suggestions?

    Program name would have been of the table maintenance generator and you deleted it manually.
    It should have been deleted from TMG .
    Your problem will be resolved if you will create Table maintenance of the database table and then delete it again.

  • How to find out the user who has created  a new field in the custom table.

    How to find out the user details who has created  a new field in the custom table.
    Thanks,
    Joan

    Hi Jesudasan ,
    You can know the user details with version management.Please find the
    below procedure to know.
    Go to table->Utilities tab->version->Version management->Compare the previous one .
    Hope this solves the issue,Let me know if you have any issues.
    Thanks,
    Rajani

  • How to find the Table from which a Custom table is created.

    Hi Gurus,
    I have a custom table in SAP and want to figure how that has been created. How can I do that?
    Regards
    Prashant

    Hello Prashant,
    what do you mean by "how"?
    When you say custom table do you mean "Customization table" or a "Customer table" (in namespace Z... or Y...)
    Anyway, you can access SE11 transaction, view the table and then check its attributes.

  • Converting garbled characters for JAPANESE characters in a custom table

    Hi all,
    I have a custom table that store Japanese characters.
    After my company has upgraded to ECC6.0, this data in the custom table has become garbled and its alot of it garbled.
    Is there any SAP tool that can I use to make the correction on those garbled Japanese characters?
    Thanks,
    William Wilstroth

    Hi Nils,
    I really really really had a field day reading and testing around UC... To my dissappointment, I do not have the authorization to use SUMG and SCP too as well as a few of the TCODES...
    I finally told my higher level technical mgnt. that this table might need some changes...
    Has this problem of mine got anything to do with MDMP since its no longer supported in ECC6 and I found one coding that search for MDMP in RSVTPROT...
    My colleagues suggest that the data be corrected from table DBTABLOG... which i find, in my opinion, is not the right way...
    Thanks,
    William

Maybe you are looking for

  • Setting up a Network form my work to my home computer: Both are Macs

    I have a Dual-Core Intel Xeon at work and a MacBook Pro at home. I want to be able to access my office computer from home. Is there a complete step y ste setup guide somewhere to talk me through exactly what needs to be done? I have a home network wh

  • How to upload JPEG files using ActionScript 3.0

    Hi all, It's very urgent. I am new to ActionScript. Presently, I am working on ActionScript3.0. I am using flash 9.0 and the code I ned is for ActionScript3.0. I have a combo-box on the stage with a few items in the combo-box and also have correspond

  • Avoid Commit after every Insert that requires a SELECT

    Hi everybody, Here is the problem: I have a table of generator alarms which is populated daily. On daily basis there are approximately 50,000 rows to be inserted in it. Currently i have one month's data in it ... Approximately 900,000 rows. here goes

  • ASMLib for CentOS 4.6

    Hi All, I have CentOS 4.6 with Kernel2.6.9-27ELsmp i686. I've so far been unable to locate a corresponding Driver for it on Oracle site. Unless of course I've been looking in the wrong direction. Kindly point me in the right direction. Regards, Timot

  • DAQMx has no output when the pulse width is less than 0.1sec

    Hi,     I am developing a application to generate square wave(voltage) and out put from a DAQMx card (PCI-6723   - 32 point analog in/out).  I attache a simplified code (labview8.5) I wish somebody can help me to figure out what is the problem     Wh