Archiving purchase orders of a specific order-type

hello,
does anyone have a simple-doc or plan for archiving purchase orders. archiving for dummy's as I have never done this?
points to be taken into consideration:
- order of a specific type (ZRL0)
- order must be older then 10 days
thanks,

Hi,
In order to archive PO's , there are a number of considerations that must be taken into account.
The archiving program SARA -> MM_EKKO , Write , does a large number of checks before archiving can be done.
The first step is to go to SARA -> MM_EKKO , customizing. In here , you can specifiy what kind of documents you want to archive and specify the retention period (document life) for each type of document.
For example :
Go to C MM-PUR : Reorganization PO
You will find several type of PO Doc types
DB     Dummy purchase order           Standard
NB     Standard PO           Standard
NB     Standard PO     K     Consignment
NB     Standard PO     L     Subcontracting
NB     Standard PO     S     Third-party
NB     Standard PO     D     Service
UB     Stock transport ord.     U     Stock transfer
Suppose you want to archive Standard PO's  , go into the customizing option and then set the residence time 1 and residence time 2.
Res time 1 is the number of days which must elapse after which a deletion indicator can be set for the document. The elapsed days are calculated from the last change date of the document record in EKKO table.
Res time 2 is the number of days which must elapse after which a document with a deletion indicator can be actually deleted out of the EKKO table.
Once the customizing is finished , then you should run the SARA Preprocessing job (which sets the deletion indicators for the selected set of documents) , then the write job (which will write the DLT status documents to an archive file) and then the delete step (which will remove documents from the EKKO and other related Purchasing tables. TO get a trailer of what gets archived and deleted , run the archive write job in "Test" Mode , rather than "Production" mode.
Hope this helps.
-Chandra

Similar Messages

  • List of sales orders with a specific condition type.

    Hi Gurus,
    Could any one help me on how to get a list of sales orders for a date range for a particular sales area which contains a specified condition type.
    I tried VA05 but there is no additional selection for a condition type, VBAK/VBAP does not have condition type field.
    Points will be rewarded suitably.
    Vivek

    Pls find it in the table KONV.
    VBAK-KNUMV = KONV-KNUMV
    For this combination, you can get all the condition types or the desired condition types.

  • How to get Exchange rate from SO to specific Document type in PO

    Dear Experts,
    I have an Intercompany scenario in which I need to have Exchange rate used in Sales Order into a specific document type in a PO. Is it possible to achieve this?
    Thanks
    Manish

    Hi ;
    To my knowladge , you have two options.
    1- Fix exchange rate in PO
    2- You can get exchange rate in Miro based on invoiced date.
    Another ways will be development ...
    Regards.
    M.Ozgur Unal

  • Archive Purchase Order on SRM

    Hi experts,
    I'm working on the SRM archive process. I'm in extended classic scenario so my purchase order is created on SRM and duplicated on ECC. I only want to archive purchase order on SRM and not on ECC.
    When the user is looking for the purchase order on ECC how does he know that the order is archived on SRM ?
    Thank you for your help.
    Regards,
    Mikaël.

    Hi Peter,
    Thank you for your answer.
    I will used a cutomer field on the ECC purchase order and create a specific program to update this customer field from SRM data and tables ZARIX...
    Thanks,
    Mikaël.

  • How to extract TEXT for archived Purchase Orders ?

    Hi Friends,
    Can any one tell me how to extract TEXT for archived Purchase Orders ?
    I have used READ_TEXT but that is not fetching texts for archived PO's. Whenever I am trying to fetch data from STXH against archived PO, no value is coming and resulting SY_SUBRC <> 0.
    Any demo code will be highly appreciated.
    Thanks in advance..
    Sivaji

    Hi,
    You can see that table STXH is linked to archiving object MM_EKKO (you can see it in tcode DB15).
    My suggest is that you must get the data. See the demo object BC_SBOOK in tcode AOBJ. You can see the report to reload data. The object is get the data in an internal table. So for report SBOOKR you can see this function module:
    *   get data records from the data container
    *   SBOOK
        CALL FUNCTION 'ARCHIVE_GET_TABLE'
          EXPORTING
            archive_handle        = lv_handle
            record_structure      = 'SBOOK'
            all_records_of_object = 'X'
          TABLES
            table                 = lt_sbook_tmp
          EXCEPTIONS
            end_of_object         = 0.         "not entries of this type
    *   check lt_sbook_tmp entries against selections. Delete not
    *   requested entries
        LOOP AT lt_sbook_tmp ASSIGNING <ls_sbook>
                             WHERE carrid IN s_carrid
                               AND connid IN s_connid
                               AND fldate IN s_fldate.
          APPEND <ls_sbook> TO lt_sbook.
        ENDLOOP.
        REFRESH lt_sbook_tmp.
    The idea is that you get the same data that you handle in READ_TEXT (because you don't have the data in database) and recovery the text.
    I hope this helps you
    REgards
    Eduardo

  • How to add a specific order type into any particular report

    Hi All,
    How to add a specific document type(order type) into any particular report in order to review OTD performance.
    I need to add one specific order type to existing reports which will help to check the performance of the delivery type for that particular order type to the users.
    Thanks,
    Raj

    Hi Rajesh,
    thanks for the reply when i tried as the way you said.. but the system is asking more details like varient. so if you can clearly specify the process for order type (VOV8-- table TVAK) so it will helpful for me.
    Thanks
    Raj

  • Problem in Sales Order with specific condition type.

    Hello Experts,
    I'm facing a problem in sales order creation for a specific condition type.
    the actual scenario is as below,
    We have created a new condition type for special discount.This condtion type is applicable only for specific sales channels.Also the discount percentage has to fetched from a custom table.
    To achieve this I've written a user exit "RV64A999"
    In the FM, i've calculated the subtotal and fetched the discount percentage and calculated the discount amount. After implementing this, the SO were been created properly. for all the line items the discount amount was getting calculated properly.
    But then I added a condition at the top of code in exit that the calculation for the new condition type should happen only for selected sales channels.
    But after adding this condition in code, i'm facing problem. Now when I create/ change any SO, the discount amounts are getting calculated incorrectly. I'm getting discount amount even if the line item subtotal amount is zero (0).
    Any help or pointers reagrding this issue will be very helpful and highly appreciated.

    Hi ..
    Check your config. again or debug the routine code with your ABAPer and find the problem area.
    -Maharshi

  • Archiving Purchase Orders.

    Hi Friends,
    I am trying to Archive Purchase order using archiving object mm_ekko.
    I get the following errors.
    1. Could not delete some subitems                                 
    2. Delivery costs have not been balanced                          
    3. GR qty is smaller than ordered qty minus underdelivery tolerance
    4. GR qty not the same as delivered quantity                      
    5. GR qty not the same as GI qty                                  
    6. Invoiced quantity is smaller than ordered quantity             
    7. Item is blocked                                                  
    8. Posting date of delivery costs within retention period         
    I just want to ingnore / correct them and move ahead.
    Any solutions ??
    Thanks in Advance
    Kanica

    Hi Kanica,
    If you think to implement same solution in production system then problems are,
    1. Payment - Payment posting to vendor will happen and updated to FI accounting documents aganist to that vendor
    2. You may land up with audit related issues.
    If this seems to be ok with your client then you can proceed with that.
    Otherwise you can think of the option of setting deletion flag for the line item and archive it. Once you do this nothing will be changed apart from deletion flag settings for this line item.
    Hope this will help for your issue.
    -Thanks,
    Ajay

  • Display archived purchase orders in Lists (e.g. ME2L)

    Hi everybody,
    Last week we upgraded our system to SP13 (ECC 6.0). Since then we have problems with our archived purchase orders.
    Usually all purchase orders (independent from where they are saved (archive or database)) are displayed in standard reports like the ME2L. Since the upgrade we cannot access the archived POs when we start the ME2L.
    When I use SARA (e.g.: RM06ER30) to read the archive it works. When I start the ME24N and pic a archived purchase order it works fine too.
    I have two questions now:
    1.) I'm not 100% sure if the old behavior was standard or if some modification has been carried out in our system some time ago. Can anybody tell me if archived POs are displayed in MM-lists like the ME2L in SAP-standard?
    2.) Does anybody has a solution how I can fix that?
    Thanks upfront and kind regards
    Alex

    Hi,
    I was over looked! Please check below tables
    Please check the arciving procedure from SAP help
    SAP Library - Materials Management (MM)
    VARCHIVEKEY find  in table ADMI_FILES ( *MM_EKKO)
    Below FM's
    MM_EKKO_AS_SHOW
    MM_EKKO_02_DISPLAY_DATA

  • Reload archived Purchasing orders or reference archived PO's in MIRO

    Hi Colleagues
    Is there a way to
    Reference an archived Purchase order in a MIRO posting?
    or alternatively reload archived purchase orders? I hjave reviewed SAP note 456129 and this states that RM06ER30 can be amended by SAP as remote consulting
    Any thoughts?
    Thanks
    Steve

    I would not do this, as it can cause inconsitencies.
    And I would only consider it:
    when I archived much more than it should be because of wrong selection
    AND if this has happened right now and no new POs where created.
    I would not even think about such option just because of an unexpected late invoice.
    You can post this invoice thru FI transaction FB60

  • Retrieve the Archived Purchase order

    Hello All,
    Please help me with transaction to retrieve the archived  Purchase order.
    Regards
    Kalyani.

    In transaction AOBJ, object MM_EKKO has no entry for a retrieval program.
    In help.sap.com the document for MM_EKKO states:
    There is no provision for the retrieval of previously archived data.
    details: http://help.sap.com/saphelp_erp2005/helpdata/en/8d/3e5be0462a11d189000000e8323d3a/frameset.htm

  • Archive Purchase Order in SRM 5.0@ extended classic senario

    Dear SRM Guru,
    I use SRM 5.0 in extended classic senario, how can i archive purchase order with limit order using standard SAP?
    Thanks.
    Regards,
    Kim

    Hi Kim,
    your question is a quite open one. So I try to answer with different flavours - hope there a right one for you.
    In case you'd like to archive over system boundaries, i.e. since to ECC PO is a copy of a leading PO in SRM, you might expect that you somehow can archive both at once. This is not happening - i.e. you have to archive both separately.
    When you look up notes 726509 SRM archiving: Archiving of R/3 documents with SRM, 723685 SRM: History after the archiving of R/3 documents you might figure out more.
    There was an issue in archiving that the workitems were not archived with reference to the SRM document - but this is resolved via note as well. Search for related notes with 'Archiving' + 'SRM' in the service portal.
    When you want to figure out more regarding the archiving dependencies you can look up the archiving trx. SARA resp. the archiving programs in SE38:   BBP_DP_ARCH_* (CHECK, DELETE, WRITE, SET_STATUS).
    Regards,
    Richard

  • Blocking Specific Material Type in Work Order

    Dear Gurus,
    Is there any way to block specific material type in work order. Could not find any suitable link in SPRO.
    Advance thanks for the update / response.
    Sahu.

    Hello Ajaya,
    Though I have never realized such requirement in SAP but I think user-exit "CNEX0026 : Customer enhancement for general inspection of material" can be useful. You can make use of structure RESBD or CAUFVD and fetch the material number which is being reserved in the maintenance order. Also, you will have to define the Z-Table for maintaining the material numbers which needs to be blocked. Configure the error message at the SAVE event.
    I have used this user-exit to make the entry of storage location mandatory whenever the material is reserved.
    I hope this helps. Please update the thread if you have managed to realize the requirement.
    Cheers!!!
    TOM

  • Stop user creating process order with material for specific order type

    Hey Team,
    Is there a way where I can stop creating process order with material for specific order type says Z*. We are using ZNMA  order type to create trial batch and we do not want to create process order with material for this order type.
    Any ideas?
    Thanks
    Bhavesh Patel.

    You can restrict the order creation in CO01 based on authorization, Remove the authorization for Z order type for the particular user,  Check with your basis Guy

  • Batch management config for specific order type

    Hi SAP gurus,
    Below are my clients  requirement.
    They want to interduce batch management for few materials, but they want the same to be implemented only for order-to-cash sale. order type ZOTC.
    When I tried to simulate the same, for other order type(Ex: ZOR),  system is also asking to maintain the batch at the time of goods issue as the material is now managed under batch & not allowing me to do the goods issue for the delivery for which the refering order type is ZOR.
    How can I configure the same, so that, for the same material,if order type is ZOTC then batch will be determined at delivery & for all other order types, system will not check the batch during goods issue if the batch field is blank in delivery?
    Help me.
    Manoranjan

    Dear Manoranjan,
            requirement doesnt seems either logical or possible.
    When material is activated as "batch Management" in Material Master, then there is no way to maintain the stock without batch.
    you have to have stock in batches only.
    Next, when you are delivering goods in OTC sales, then in delivery system will ask from which batch goods has to be issued , because they are managed in batches.
    So while delivering goods through OTC, you should either enter the batch manually or determine batch in del item category as in std.

Maybe you are looking for

  • Error message when adding a filter to DV and HDV footage

    Hi, I do not understand why I am getting an error message saying, " The effect 'refraction, twirl, insect eye' failed to render: Your Hardware cannot render at the requested size and depth" Can some help me out? I have a first generation Mac Pro 2..6

  • Need help please. Trying to update 10.4.11 to 10.4.8

    First, looks like I have to update to 10.4.2, then 10.4.3 and so on and so on to get to 10.4.8. Can this be true? I downloaded 10.4.2 and when I tried to install I selected my HD as the destination and got a message that said "You cannot install as t

  • Project file disappeared while working!!!!

    Hello, l work on a double dual core 3ghz intel mac, 8 gig of ram and a load of disk space (2 tera). Good machine. I've been editing on a network drive (full of space and very quick, far enough for sp DV, wich is the format I'm on). Now everything is

  • Change First Approver in Requisition Approval using AME

    Hi , I have defined rules in AME for Purchase requisition which builds Approval hierarchy based on business rules. Every thing works as expected but when there is an Approver1 added to the Approval list and when we want to change the first Approver t

  • Contact ne fonctionne pas

    bonjour, j ai mon ipad 2 depuis cette apres midi, je l'ai passé de la 4.35 a la 5.01 sans probleme. Ce soir j'ai voulu importer mes contacts via itunes, ca ne marche pas j'ai essayé en m envoyant un fichier "all contacts.vcf" et quand je veux l'ouvri