Archiving Change Documents

Hi all,
  I am working with the archive engine. And i am using archiving classes for archiving of change documents (CDHDR/CDPOS). I have made all the customizing that has to be done in the engine. But somehow my change documents after having written into archive file are not getting deleted from the database when the delete phase is executed. Any help would be very useful.
Thanks in Advance.
Warm Regards,
Naveen M

Hi mahesh,
i checked in the SARA transaction the DB table names include that table..
Scenario and problem i am facing:
I have created a archiving object to archive some data in my project.. and to archive the associated change documents i have created the archiving class... my main header table data is working properly i mean its getting archived and deleted from db also.. but unfortunately the change documents associated with them is not getting deleted after the delete phase..
And i dont know if they are getting archived as i dont know where in the archive file browser the change documents which are archived can be found.. Even if they are getting archived why are they not getting deleted???
Thanks in advance..
Regards,
Naveen M

Similar Messages

  • Can't display archive change documents for agreement (COND_B)

    Hello,
    I want to display archive change document for object class : COND_B (agreement) via transaction MEB3:
    The archive works fine, and I can found the archive change documents form SARA.
    (Archive Objetc = CHANGEDOCU
    Archive info structure = SAP_CHANGEDOCU2 (is active))
    But the display from the application transaction : MEB3 doesn't work.
    In the DEBUG:
    the Function module is called automatiquely: COND_B_DISPLAY_DOCUMENT
    THEN SUBMIT RSSCD100
    THEN The function module is called with the no parameter READ_CHANGEDOCU (ie with space value)
    THEN the program reads only from DB
    Question : HOW I oblige the program to read from the archive  (READ_CHANGEDOCU = 'X') ?
    I checked these SAP notes 1050935,1299903, 1308024, 1128954, 1050335
    but no results.
    May be I forgot some customizing ( SARA,, AOBJ )?
    Thanks for your help.

    Hi,
    As I understand, the change documents archived using the CHANGEDOCU archiving object are no longer available using the application object.
    Refer to Notes 1257133 and 140255 where they mention the above point.
    If you want to read change documents along with the application, then you must first archive the change documents along with the application.
    In your case, for agreements, you should use object SD_AGREEM so that the change documents also gets archived along with the agreements. Refer to note 761281 to check whether the archiving class CHANGEDOCU is already defined along with object SD_AGREEM in your system.
    Hope this helps,
    Naveen

  • Archiving Change Documents - XML Archiving.

    Hello Archiving experts,
    I need to archive change documents of my application. There is already a change document archiving class "CHGDOCU" which I can use for this. But this is only for ADK based approach.
    Basically, I want to know if there is any Archiving class available for archiving change documents in XML based archiving?
    Thanks for your help.
    Best Regards,
    Pramod

    Hi Thomas,
    if you want to go with SARA, you would have to archive hundreds of objects, since change documents are (as of 4.5B, I think) no longer deleted/archived by themselves, but always with their respective objects.
    You can easily check that for yourself: in transaction DB15 click on the radio-button 'Archiving Objects' --> Objects for Table --> CDCLS (you can only view the cluster, not it's components). You will get a list of all archiving objects that 'contain' change documents.
    That leaves you the option to find out, to which object most of your 500 mio. change document positions belong, but my guess would be that this would be quite a lot ... so either, you are considering an overall archiving project (which is no short-term goal) or you use one of the reports that make a 'hard-cleanup' of CDCLS --> there are various notes in OSS about that topic, make sure you read them all, since the impact is not to be necglected.
    As for the artice in question, you may not need it ... there are 33 hits for object CHANGEDOCU in OSS - I think you can get all the information you need there, however - if you want to use this object, please keep in mind that you are cutting the connection between the business object and the changedocu - like described in note 1325862.

  • Archiving change documents: any experience?

    Hi,
    We hav some 500 million entries in CDPOS and must archive.
    Can anyone share experience in archiving change documents?
    Should I use TX SARA like archiving any other business object?
    Thanks in advance
    T

    Hi Thomas,
    if you want to go with SARA, you would have to archive hundreds of objects, since change documents are (as of 4.5B, I think) no longer deleted/archived by themselves, but always with their respective objects.
    You can easily check that for yourself: in transaction DB15 click on the radio-button 'Archiving Objects' --> Objects for Table --> CDCLS (you can only view the cluster, not it's components). You will get a list of all archiving objects that 'contain' change documents.
    That leaves you the option to find out, to which object most of your 500 mio. change document positions belong, but my guess would be that this would be quite a lot ... so either, you are considering an overall archiving project (which is no short-term goal) or you use one of the reports that make a 'hard-cleanup' of CDCLS --> there are various notes in OSS about that topic, make sure you read them all, since the impact is not to be necglected.
    As for the artice in question, you may not need it ... there are 33 hits for object CHANGEDOCU in OSS - I think you can get all the information you need there, however - if you want to use this object, please keep in mind that you are cutting the connection between the business object and the changedocu - like described in note 1325862.

  • Problem in archiving change document

    Hi Experts,
    While doing function ' check in archive ' (CV02N) I am getting error that "problem in archive path"
    Can anybody tell me what may be the problem for this and how to overcome the same?
    Please do the needful.
    Thanks and best regards,
    Pravee

    Check this.
    1. Deletion flag is set or not.?
    2. Execute MCDOKDEL and check for the document
    3. Archiving path Storage Path location.?
    Thanks
    S.N.

  • Where can I see ARCHIVED Business Partner Change Documents?

    Hi,
    I am archiving change documents of BPs with infostructure and Content Repository so that the change documents can be displayed in Archive Explorer TX SARI.
    Now I am wondering if the archived change documents could also be displayed in transaction BP.
    There in the menu is the option:
    - Environment
    - Archived Data
    When I click on this I get the error message
    There is no suitable active info structure
    Message no. Q6507
    But I have info structure SAPCHANGEDOCU1 active (I can see also in table AIND_STR2).
    When I debug the transaction u2013 Environment u2013 Archived Data I see that it is expecting archiving object CA_BUPA (Business Partner) and not the archiving object CHANGEDOCU.
    Does this mean that in the menu I only can see ARCHIVED BPs and not archived BP change documents?
    I the archive Explorer the only place I can see the archived BP change documents?
    Thanks in advance,
    Thomas

    Hi Ram,
    Although, there is no standard functionality where you can see blocked business partners in the SAP ECC system. Please can you let me know as to why you are required to see blocked business partners in the SAP ECC system.
    But if really required, you can design such a thing and  that is  possible as I have worked on a similar requirement some time back.
    Regards,
    Aman

  • Problem in transporting change document

    Hi guys,
    I have created one change document for customized field.
    I m getting problem while transporting this change document.
    The view is not generating in production system.
    Function group is coming blank for change document object in production.
    Is there other way of generating the change document ???
    Kindly reply.
    Regards,
    Siya

    Check this.
    1. Deletion flag is set or not.?
    2. Execute MCDOKDEL and check for the document
    3. Archiving path Storage Path location.?
    Thanks
    S.N.

  • Archiving EHS document with ADK

    Dear all,
    I am running ECC 5.0.  I am trying to archive EHS documents with ADK using the object CV_DVS. I am following the documentation from IMG, Under the step "Check Document Types and Document Statues" I create the status HI, AL and AR for the document type SBR.  I ran the preprocessing step for CV_DVS and I get nothing to archive.  I check the log and here is the message.
    Job started
    Step 001 started (Program RC1_DVSARCH_PREP, variant TEST1)
    Change report bodies:
    Report DW_PERFORMI XXX_US_SDS E 00002 is not archived; document for report missing in SAP database
    The status you enter does not exist
    The status you enter does not exist
    No reports were set to the status "Archiving is Running (AL)'
    Job finished.
    I just wonder have anyone using CV_DVS to archive those MSDS reports and would like to know how do you configure 
    "check document types and document statuses"? it seems something is missing in my ECC 5.0 default configuration for the table.
    Thanks.

    Hi,
    As you experienced all DIALOG function modules will not work in Batch because the is no connection with a frontend (PC).
    You have to get your PDF on a server so you can process them in Batch.
    Maybe you can than use the FM: ALINK_DOCUMENTS_CREATE_FILE
    Success,
    Rob

  • Reports showing Archived Sales Documents

    Hi, I am working on using SARA to archive SD documents, and it seems as if Document flow and Change logs are not archived, and not possible to see in reading the archived Sales Orders from SARI/SARJ. Are there SAP standard  reports which can fetch and show data from archive, or any other way to find a 'document flow' (to eg. deliverys or billing docs)  and 'change log' from an archived Sales Order?
    Thanks!

    Hello,
    The answer from Caveman is correct, the DRB - tcode ALO1 (that is the letter o not a zero) retains some of the document flow of archived data.
    Do not use transaction VPAR as that archives data related to preference determination and transaction VF07 does not show document flow.
    If you have implemented the PBS modules to view archived data, they retain the document flow information and you can view the data exactlly how it looked before it was archived.
    Hope this helps.
    Best Regards,
    Karin Tillotson

  • Archiving fi documents

    FI Friends,
    Let me know how to archive fi ducuments.
    regards
    srinivas
    < PLEASE SEARCH FORUMS BEFORE POSTING -- Moderator >

    Hi,
    Archival is done with tcode SARA
    Configuration
    In SARA tcode,
    Object : FI_DOCUMNT (For archive FI Documents) and press enter
    click on customizing button
    Maintain account type life
    Maintain document type life
    For Archiving FI documents:
    Object : FI_DOCUMNT (For archive FI Documents)
    Select Write Option.
    Put a variant name and click maintain.
    In the next screen (change screen assignment) check the check box and click continue.
    Enter Company Code, Fiscal Year / Period and all Document numbers, Remove Test run button and Click on Attributes
    Enter meaning text and Save.
    In Main screen again click on SAVE and click on BACK.
    Go to start date run it immediately. Then,
    Go to spool parameters and check it.
    Click on Immediate
    Click on Save.
    Go to Spool Parameters. Click on ok.
    Execute the same now job is scheduled.
    Go to SM37 and check scheduled job.
    Click on job log and note session number for archival
    Now to delete the documents:
    Object : FI_DOCUMNT
    Click on Delete
    Click on archive selection, select session number and schedule background job.
    Regards,
    Kiran Varma

  • Change document and triggering workflow

    Hi,
    There's a z-table in ERP. The requirement is to send a notification to the Java server whenever there is a change in the data content of this table.
    Can anyone describe the steps to be followed.
    Thank you.

    Hi Pavan, Sharath,
    Now that I understand the concept of change documents, I have doubts about it's utility. I mean I did not find it to be a very good feature. The reason I say that is that one has to code for everything. It becomes the developer's responsibility to get the old record and the new record and pass these to the WRITE_CHANGE_DOCUMENT function. In addition, the developer also has to pass an indicator representing what kind of change is it - insert, update, delete.
    The only utility I see is when you have maintain an archive of the changes that happened in a table's content over a long period. In that case, you could refer to the CDHDR and CDPOS tables and find out what change occurred on which date.
    Your comments would reinforce my understanding of the concept.
    Thank you.

  • How to display list of TCodes with Change Documents enabled

    Hi
    I have 42 transaction codes (e.g. QA11, QA12, QE51N, QE01, QE02, MM01, MM02) and I want to verify if "change document" logging is enabled for the critical data elements in these transactions. 
    I'm aware that you can individually check "change document" setting per table via SE11 > Enter Table Name > Technical Settings > “Log Data Changes” option.   Given the number of transactions (with multiple data elements) I need to check though, is there a  table in SAP where the field, table, tcode and existing change document setting can be viewed?
    Thanks
    T-code
    Description
    MM01
    Create material
    MM02
    Change material
    ME01
    Maintain source list
    MSC1N
    Create batch
    MSC2
    Change batch
    QA01
    Create inspection lot
    QA02
    Change inspection lot
    QA11
    Record usage decision
    QA12
    Change usage decision
    QA14
    Change usage decision without history
    QA16
    Collective usage decision for OK lots
    QA32
    Inspection lot selection
    QAC1
    Correct actual quantity in inspection lot
    QAC2
    Transfer inspection lot quantity
    QAC3
    Inspection lot – reset sample calculation
    QE01
    Record results
    QE02
    Change results
    QE51N
    Work list: results recording
    QM01
    Create quality notification
    QM02
    Change quality notification
    QP01
    Create Inspection Plan
    QP02
    Change Inspection Plan
    CS01
    Create BOM
    CS02
    Change BOM
    CC01
    Create Change Master
    CC02
    Change Change Master
    SU01
    Maintain authorizations
    SE38
    Execute program
    COR2
    Change process order
    CC22
    ECM Change Object Management Records
    MMDE
    Delete all materials
    COR1*
    Create process order with material
    QA08*
    Mass change of quality management inspection data
    C201*
    Create Master Recipe
    C202*
    Change Master Recipe
    C298*
    Deletion of Task Lists without Archiving
    QPR4*
    Process Physical-Sample Drawing
    COEBR*
    Batch Record Approval
    QPR1*
    Create physical sample
    QPR2*
    Change sample
    CV01N*
    Create Document
    CV02N*
    Change Document

    hi Raphael,
    you can also use following two table to view the change log at data element level:
    CDHDR - Change document header
    CDPOS - Change document items
    e.g. give the table CDHDR in SE16N enter your transactions field "TCODE", and date parameter, you can see the results.
    Regards
    Javed

  • Resubmitting the archived XML Documents?

    Hi,
    I just wanted to confirm whether archived XML documents can be resubmitted?
    The XI message has been archived in a storage system and now its required to retrieve it in XI system.
    Does XI allow this resubmitting?
    Edited by: sriparna1 on Nov 16, 2009 8:11 AM

    Hi Sriparna,
        Synchronous messages occupy lot of space in the memory/database and hence they are not persisted by default.
    If you want the synchronous messages to be persisted, then follow this blog:
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417200)ID1629352550DB00149050467001567547End?blog=/pub/wlg/1629
    Refer this discussion to understand the concept of persistence with respec to sync msgs.
    Synchronous Messages persistence in XI
    And regarding your question about "How are the successfull and erroneous synchronous messages handled while archiving",
    it is very staright forward.
    By default, all the succesful messages are archived by the archiving job.
    The error messages are not archived.
    If you want the error messages to be archived, you have to Cancel them.
    After canceling, the status changes from error to cancelled. Then the archiving job will archive the cancelled messages also.
    Regards,
    Ravi Kanth Talagana

  • Issue in generation of Change Document - ChaRM

    Dear All,
    We are implementing ChaRM, I have copied the standard transaction type to z.
    I am able to create request for change with transaction type zmcr but when the normal change or urgent change document are created they have standard transaction type.
    I have made the changes in SPRO (Defining copy control of transaction type) but still document are getting generated with standard transaction type.
    Please attached document of copying control.
    Thanks in advance
    Regards
    Sushant

    I have removed zmcr - smmj but now the change document is not getting generated. Please see the screen shot attached.
    Regards
    Sushant

  • How to use change document object ?

    Friends,
    I am learning to use the Change Document object for one of my Z table. I have created a change doc object using SCDO. I have now written a test report in which i am issuing the SELECT statement for fetching old and new values from the Z table and passing them to the FM generated by SCDO.
    I am not able to see the changes in the CDHDR and CDPOS tables. I am doubtful abt the values being passed to the FM. Here are the values i am passing:
    CALL FUNCTION 'YTEST_WRITE_DOCUMENT'
      EXPORTING
        objectid                      = 'YTEST'
        tcode                         = 'se38'
        utime                         = sy-uzeit
        udate                         = sy-datum
        username                      = sy-uname
      PLANNED_CHANGE_NUMBER         = ' '
       OBJECT_CHANGE_INDICATOR        = 'U'
      PLANNED_OR_REAL_CHANGES       = ' '
      NO_CHANGE_POINTERS            = ' '
       UPD_ICDTXT_YTEST               = 'U'
        n_ztest_cle                   = wa_ztest_cle
        o_o_ztest_cle                 = o_ztest_cle
      UPD_ZTEST_CLE                 = ' '
      tables
        icdtxt_ytest                  = itab_cdtxt.
    Is the object ID the same as the Change Document Object name ??
    Please help.
    Thanks,
    Ram.

    Well, i found a way out for the problem i was facing. I was not setting the "UPD_ZTEST_CLE " FM parameter. When i set it to 'U', the changes got reflected in the CDHDR and CDPOS tables.
    Can i reward myself as i solved this by myself ???

Maybe you are looking for

  • I think my hard drive is about to die, can I get some help?

    Hello!  Well, I have an iMac (I believe it's a mid 2007 model?) 20 inch, Core 2 Duo, and I believe my hard drive is failing.  It's a long story, but its more or less exactly how it played out, so bear with me. I noticed a few things going wonky a lit

  • HT1539 How can a digital copy be used in a household with multiple apple ids, synced on the same computer?

    How can a digital copy be used in a household with multiple apple ids, synced on the same computer?  I want to put a digital copy on my device, and on my wife's device. Please help.

  • Indesign CS6 Custom Dictionary

    I'm a copywriter, and I use Dynamic Spelling in Indesign CS6. I work in an industry that uses a huge amount of unconventional spellings. I cannot find a dictionary setting that checks spelling using my custom dictionary when each page is opened; but

  • Error package com.darwinsys.util does not exist

    Hi, i keep getting the following error: "error package com.darwinsys.util does not exist" its refering to one of the libraries ive placed in my code. Ive downloaded this library but i dont know where to install it. Can anyone help? its really urgent

  • Regarding FIle 2 RFC  using BS

    HI Friends,                          I am gettting the following error when the file was copied in the server. Success Channel File_Sendar: Send binary file  "d:\file2rfc.xml". Size 190 with QoS BE 2008-05-22 05:43:10 Error Attempt to process file fa