Skip to Content
author's profile photo Former Member
Former Member

Archiving MM_EKKO

We have started archiving mm_ekko obbject . Situation which i am facing is that when i ran write job to archive few month of data i was able to archive majority of that data but for some purchase document i get this message "Change date of purchasing doc. item within retention period".

I have checked the config for all the doc type and we have specified residence time 1 and 2.

Also when i check these document in ME23N i get a message displayed that "Document is archived" but i don't see any archive file created for these document which i can delete and store in the archive server. Now when the user pull up the information for these document it still coming from SAP DB .

Can some please provide the config information which i need to change for such document . The delivery date which is mention on these document are in the range of date for which i am archiving.

Please provide some information on how i can archive such document


Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 24, 2010 at 09:09 PM

    Dear Andy,

    Thats really weird.

    What is the release you are using??

    In Standard SAP, 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 .

    And if you are using 4.6c Version, then OSS note 588463 .

    A document item gets deactivated (deletion indicator) if you have more than one items in a document, but not all fulfill the archiving criteria, then the once that fulfill the criteria get deactivated, the other remain untouched. But the document gets only archived if all items are deactivated.

    Please check and let us know.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 27, 2010 at 02:30 PM

    You would have got a detailed log of Purchase orders which were not archived due to various reasons. Was this purchase order is on the list.

    The system archives complete documents only, and only if all the items in the document fulfill the criteria for deletion. Assume that a purchasing document has 100 items, 99 of which satisfy the deletion criteria and one of which does not. The document will not be archived. The system only sets the deletion indicator for the 99 items.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      I was able to archive the data . I created a new variant and used that to archive the doc which were not getting archived early.

      What i think is that either the document got archived because of the new variant or i had not touched the document for around 7 days and ran yesterday and they got archived. It could be that there some flag set in some table which prohibits document to get archived once preprocessing is run and there is some issue in write archive.

      Any how i archived the document and thanks all for input.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.