Get archived purchase order

hi all
i want to look purchase order from year 2008, but there data are archieve, how can i look backP
THX abap_begin.

Hey,
Check for the Archive Documentation. SAP ADK.
To get the Purchase order, there are set of FM's given by SAP. I don't remember the exact name but you can check with the following: ASHdoc* for ARCHIVEEKKO* (not able to recollect the exact names)
Use SARE and SARJ transaction to go to the archiving tables. Provide your Archiving object name, click display, click on technical details and you can get archiving table names as well. Never use table name directly but use FM's given by SAP.

Similar Messages

  • 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

  • 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

  • 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 get the Purchase order Qty in the object dependency

    Hi,
    We are using variant pricing in the purchase order. I have condition type say u201CZVBPu201D for Pallet cost. I defined Pallet cost as 5 USD per each (pallet). I have to calculate Number of pallets = Purchase order Qty/ 5. The number of pallets should be rounded to nearest integer.
    My question is how to get the Purchase order Qty in the object dependency?
    Is there any reference table and field can be used to get Purchase order Qty just like we use MMCOM-VKOND for variant pricing.
    Appreciate your help
    Thanks,
    Srini

    Hi,
    1. I do not have system now so I can not conclusively tell about table field .
    2. Since I did it long back so I also do not exactly remember it, there are more than one place where PO qty appears for example Item overview and Item details - one of the PO qty when used in the characteristic do pull the PO qty which can be used for variant pricing (so request to please update the forum with the correct table and field once you find it - in the meantime if I get opportunity to get to system I will also try and find out ).

  • HOW CAN I GET THE PURCHASE ORDER RELEASE DATE

    Dear All,
    HOW CAN I GET THE PURCHASE ORDER RELEASE DATE - any reprot is there?
    Thank you
    Ahmad

    Hi,
    u goto that PO and select Environment on top line .under that select header changes if u click on that u will get entire details who reased when released, date , time etc
    regards,
    Srinivas Kona

  • 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

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

  • 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

  • How to get the Purchase Order sample form to have 2 detail regions?

    I would like to use the "Purchase Order" sample form as the base, and add one more "detail header" and "detail" subform to it.
    So I copy and paste the "detail header" + "detail" subforms, and position them right beneath the first "detail" subform.
    It works to certain extend.  I can click the "Add Item" button(s), and it would expand the respective "detail" region.
    The problem comes when things get expanded to the 2nd page.
    Say, I first add 5 rows to the 2nd "detail" region, everything still fits in one page;
    then I keep adding rows to the 1st "detail" region, and it begins to expand to the 2nd page....
    everything in the first "detail" region can still fit in the first page,
    the rows in the 2nd "detail" region should get pushed to the 2nd page...
    but when I look at the 2nd page of the form, the "detail header" on the 2nd page is that of the "FIRST" detail header, not the 2nd detail header!!
    So, when you look at the entire form, you have
    First Detail Header
    some First Detail Rows
    2nd Detail Header
    some 2nd Detail rows
    --- end of page 1---
    --- page 2---
    First Detail Header
    some detail rows (can't tell if they belong to the first detail region or 2nd detail region)
    This obviously is not right.
    So, how do I fix it such that the Detail Header on the 2nd page is that of the 2nd Detail header???

    an update:
    I have found out that the detail rows on the 2nd page are all that of the 2nd detail region.
    so, it's like this:
    when you look at the entire form, you have
    First Detail Header
    all the First Detail Rows
    2nd Detail Header
    some 2nd Detail rows
    --- end of page 1---
    --- page 2---
    First Detail Header
    some 2nd detail rows

  • How to get the purchase order's delivery completed date in the dictionary

    Hi consutant :
    In me23n transaction code ,I set the delivery completed indicator mannul . I can see the state of
    delivery completeed by click environment->item changes menu . But I don't find the date that I  set
    the state of delivery completed  in the abap dictionary .
    How to find that table store the date of delivery completed about purchase order ?
    thanks .

    hi
    you will get delivery date from
    eket table .
    and field name is eindt.
    how to go there. ?
    ans===>
    SELECT ebeln  ebelp  eindt          " For Delivery Date EKET
         FROM eket
         INTO TABLE it_eket
         FOR ALL ENTRIES IN it_ekpo
         WHERE    ebeln = it_ekpo-ebeln
          AND     ebelp = it_ekpo-ebelp.
    reward point if its usefull.

  • BAPI or Function Module for getting Pending Purchase Orders Information

    Dear Sir,
    We have input information comprising of  :
    List of Item Codes
    Plant
    WBS Element
    For this input data set , We want to know the list of Pending Purchase Orders information . To get the desired information , we are looking for the suitable  BAPI / Function Module which can provide the desired information .
    I understand that there is ME2L tcode availavle which can give the desired information .
    But as we need to use the information in one of our Z program , so we need the  BAPI / Function Module  .
    Kindly help us to know the suitable  BAPI / Function Module  available for getting the desired information .
    With Thanks and Rgds
    Sonia Agarwal

    Hi
    Check if this is helpfull:
    BAPI_PO_GETDETAIL
    BAPI_PO_GETDETAIL1
    regards,

  • Archiving purchase orders/requisitions

    Hi all,
    Pls. advice how to proceed with the archiving of purchase requisitions/purchase orders...!! what amopunt of involvement is there in this regards for a basis consultant and an MM consultant...what are the responsibilities shared by the 2 consultants?

    Hi Cynthia,
    Steps involved in Archiving PR's. Use txn "ME97"
    MM Consultants:
    1. Setup variant for "RM06BW30" program with relevant field values. (Decide 1step or 2step Process)
    2. If 2step process setup another variant for "RM06BW30" program for setting deletion indicator setting.
    3. Setup Job variant for Deletion program "RM06BD30".
    Basis Consultant:
    1. Plan and setup Database for storage of archived data.
    2. Setup up relevant links between the system.
    3. Based on the job sechedule given by MM Folks schedule and run the jobs in sequence.
    Hope this helps....
    Regards,
    Prasobh.K
    Reward points if this was helpful

Maybe you are looking for