Error in archive purchase order

Hi!
I am trying to archieve a purchase order; I have an error in the final step: maintain retention period.
Could anyone please tell me form where can I set retention period for purchase order?
Thanks!

In SARA,
enter MM_EKKO, hit enter
now click Customizing button.
Do the customizing in application specific customizing

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

  • 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

  • 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

  • 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

  • Error in posting purchase order delivery

    Hi
    I got an error while posting purchase order delivery through Tcode- MIGO
    This is the Error Message:
    Posting only possible in 2009/04 and 2009/03 in company code XXXX
    I checked everything Fiscal year variant,Posting period variant,etc.
    And in Tcode- OMSY.
    Let me know as early as possible how to solve this issue.
    Thanks and Regards,
    Deepthi.

    Hi Deepthi,
    You need to understand that posting periods 3 and 4 does not necessarily mean march and april in SAP.
    Check your fiscal year variant for the months which correspond to periods 3 and 4.  Then you will be able to solve your problem by yourself.
    Open and close periods in FI -  OB52
    Close periods and open new periods in MM Side - MMPV
    Hope this helps you....
    Regards,
    Sreekanth....

  • 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

  • Archiving Purchase Order in SAP 4.6C

    Good day
    My client has upgraded to ECC6 on a new server. They've requested that I archive all the 4.6C data which will then be taken across to ECC6 via the TOA* and ADMI* tables.
    The problem I have now is that there are Purchase Orders that cannot archive due to Received / Invoiced errors, etc. The client is not prepared to correct the transactions and I need a way to bypass the validations in the archiving run to archive the transactions even though they're in error.
    Kind regards
    Mark

    You cannot archive incomplete business processes in general and there might be 30 or more different errors. Resolving all those errors can take months and years. I have several thousand old POs that cannot be closed and archived , because the company was sold and left our SAP system .
    I heard recently  that there is a new functionality in PLM (costs extra money) that allows to archive such records, but I am not certain if it only archives the records but leaves the records in the system or if it deletes the records as well from your system.
    More  confusing to me is your statement: quote}which will then be taken across to ECC6 via the TOA* and ADMI* tables. quote}
    This sounds like you think you could then recreate the POs in ECC6 without needing to migrate them. Can you clarify this.

  • Error while creating purchase order with account assignment category "A"

    Dear All,
                      At the time of creating purchase order with account assignment category A - Asset its throwing error as " GL Account 123400 can not be used"
    how to resolve this  issue"
    Edited by: Matt on Sep 16, 2010 10:09 AM - removed bold tags

    HI,
    Assign all assets GL to Asset Class
    spro --> financial accounting new -->assets accounting --> assets accounting (lean Implementation) --> organization structures --> Assign GL
    Hope Help U !
    Regards,
    Pardeep Malik

  • Error in Asset Purchase Order

    Hi,
    We are in SRM 7.01, EHP1. I created a shopping cart with asset account assignment. Shopping cart created without any problem. When i am creating PO against shopping cart in sourcing cockpit or with source of supply in shopping cart i am getting the following error.
    Line 1: Enter another transaction type (Transaction typedoes not exist)
    Line 1: Error in account assignment for item 1
    And i am not able to create the purchase order. I am able to create the purchase order with all other account assignments for example:  WBS, cost center, Order .
    Please advise where i am doing mistake.
    (N. Kiran Kumar)

    Hi Kiran,
    Please implement the note below in order to solve this issue.
    954904   Follow-on Note of Note 905635
    Also please take a look at the note below.
    1410321  Shopping cart w/ asset acct assignment:Checks are
    Best regards,
    Christian Zeuch

  • Error while saving purchase order

    Hi all,
    While saving purchase order i am getting the following error.
    Syntax error in program SAPLV61A
    in include RV64A932
    in line 10
    Statement"*&"is not defined.check your spelling.
    Thanks& Regards,
    Hari.

    Hi Hari,
    I've just encountered the same problem as you have now in your latest post.
    Normally the include that you mentioned is a formula condition value include which you can modify but you probably have
    to register this object first on the SAP OSS pages to get an Access key to modify it.
    After you've obtained a key launch transaction VOFM and comment out the line "TABLES: VBRK, VBAK".
    As you see below SAP did exactly the same thing in several other includes.
    Include FV64A582
    -> is a formula condition value
        tx VOFM
                -> Formulas
         -> Condition Value
         -> Routine number 582
    At line 37 I commented out "TABLES: VBRK, VBAK." which is not used
    anyway in this include.
    On top of that SAP commented out these definitions in several other
    includes: eg. FOICH002, FOICH002, OI_LV61ATOI.
    If other persons have comments on this topic please respond/advise.
    Hari, inform us if this resolved your problem.
    Also reward points if my post aided you in resolving your issue.
    Thank you for feedback.
    Best regards,
    Tom Cockaert.

  • G/L Account Error While doing Purchase Order In ME21N

    Hi,
    While Doing Purchase Order in ME21N,i am getting the below error.Kindly help me.
    G/L account 809001 cannot be used (please correct)
    Message no. ME045
    Diagnosis
    Comparison of the field selection strings from the G/L account 809001 and the account assignment category F reveals that there is an incompatible combination of field selections for the field selection group 'Network'.
    The G/L account field selection is stored in table T004F; that for the account assignment is stored in table T162K.
    Procedure
    Please enter a correct G/L account.
    Thanks
    Supriya

    Hi Supriya,
    U will have to check the field status of account assignment category F in tcode OME9 and compare it with the Field status group that is assigned to GL 809001.
    Kindly note that the field status has a prority in the following order.
    Supress
    Display
    Required
    Optional
    Thus if the network field is suppressed in GL field status and option in account assignment category F, then the below error would come.
    Regards,
    Kiran

Maybe you are looking for

  • Installation of Oracle 11g on RHEL 5 (Listener cannot start )

    Hello, I have install Oracle 11g on my linux RHEL5. The installation was succesfull but cannot start the listener. The configuration of even the EM at the end of the installation for the same reason , Listener not started. Trying to connect to my Lis

  • T-Shirt designing #2: How do I change the background of my image?

    Using CS6... I'm also using the t-shirt template. On my screen is a t-shirt with a small rectangle inside of it. And another large rectangle beside it. I plan on making my image inside of the large rectangle (which is also the guide). Right now it is

  • View bill option

    I wanted to get an excel file of my itemised call log - no problem with the most recent bill - I got it through the view bill option. However the view bill option is not shown for the previous bill - is it possible to make it available or to get the

  • Status of ADF BC / JSF Version of Developer Guide?

    Can anyone provide an update on when this will be available (Developer guide based on ADF BC and JSF vs. Toplink)? I'm EAGERLY awaiting - this will be very helpful. I was able to download the SRDemo app based on ADF BC / JSF - this is very helpful to

  • How to get elive tab

    how to get elive tab