Archiving Vendor master

Hi,
I try to archive vendor master with the object FI_ACCPAYB   Vendor master data
I am able to archive the company code and the purchasing data by the series of steps I execute. As a result the entries are deleted from the database tables, LFB1 and LFM1.
However, the data from the table LFA1 is never deleted. Does archiving not delete the general data for the vendor master?
With Kind Regards
Faisal

Hello Faisal,
I believe you are missing archiving the "general data" step for vendor masters.  Depending on the release you are at, you either need to make sure the "General master records" check box is selected in the prepare job (release 4.6C), or the "Data to be Archived" selection is set to "General Data" (release ECC 6.0).
Here is some additional information:
Definition
Vendor master data is archived and deleted using the archiving object FI_ACCPAYB.
Use
Vendor master data is stored in three different areas, and therefore also archived in three different areas:
●     General data
●     FI data (company code-specific)
●     MM data (purchasing organization-specific)
To be able to archive, you must set the deletion flag in the master record. You can set this flag for a complete vendor or for individual company codes or purchasing organizations.
Use
In order for the system to only archive data that is no longer needed in current business processes, this data must meet certain conditions. To make sure the data to be archived meets these conditions, the write program performs several checks.
Master data is only eligible for archiving if you have set the deletion flag in the master record in each area.
When you archive general data for vendor master records, the system automatically checks whether the following conditions have been met:
·        The deletion flag is set.
·        The vendor is not locked for deletion.
·        Dependent data of the following types no longer exists in the system:
¡        Business partner of the vendor
¡        Vendor plants
¡        Customer/Vendor links
¡        Company code-specific data (FI data)
¡        Purchasing data (MM data)
¡        Vendor partner roles
Additional checks may be implemented in your system via the BAdI FI_ACCPAYB_CHECK.
When you archive FI data for vendor master records, the system automatically checks whether the following conditions have been met:
·        The deletion flag is set.
·        The vendor is not locked for deletion.
·        Dependent data of the following types no longer exists in the system:
¡        Transaction figures
¡        Special general ledger transaction figures
¡        Open items
¡        Cleared items
¡        Store items
¡        Customer/Vendor links
¡        Parked documents
Additional checks may be implemented in your system via the BAdI FI_ACCPAYB_CHECK_FI.
When you archive MM data for vendor master records, the system automatically checks whether the following conditions have been met:
·        The deletion flag is set.
·        Dependent data of the following types no longer exists in the system:
¡        Purchasing documents
¡        Purchasing info records
¡        Vendor partner roles
Additional checks may be implemented in your system via the BAdI FI_ACCPAYB_CHECK_MM.
Hope this helps.
Regards,
Karin Tillotson

Similar Messages

  • Vendor master Archiving

    Hi Experts,
             I am trying to Archive the vendor master.The process i am following is like:
    1.In XK06 - Deletion flag for the vendor.
    2.Then went to T-code-F58A.Then in that i maintained the Variant name as vendor_del.After that i click on maintain & give the required vendor to be Archived.
    3.After that when i am trying to come out of that screen the error msg is coming as
    <b>Links stored incompletely:</b>
    Message no. FG166
    Diagnosis
    Customer/vendor links are to be taken into consideration when archiving or deleting customers or vendors. To do this, link data from the database is required which in this case has not yet been put together.
    System Response
    Neither archiving nor deletion was carried out.
    Procedure
    Run program SAPF047 in the background at a time when no customer/vendor changes are being made. This program puts together the link information in table KLPA so that links (for example, specification of an alternative payee or dunning recipient) can be taken into consideration during deletion or archiving. You can find more information in the documentation for SAPF047.
    This is the MSG i am getting in Help
    4.After that i tryed to link that table KLPA.But not able.
    So pls guide me the exact process to do the same.
    Thanks,
    Das

    Please read the documentation of the program SAPF058V :
    Program SAPF058V allows you to automatically set archivable vendor master data for archiving. The same checks are carried out as with archiving.
    Firstly a proposal list is issued. You can set and save the archive flag in this list.
    If the program is started in the background, the archive flag is set automatically for all archivable data.
    Archiving itself is only permitted for master records where the archiving flag is set. If a proposed archivable data record is to actually be archived, the archiving flag must be set.
    You can restrict the quantity of master records to be checked by selecting
    o   Vendor numbers
    o   Minimum number of days in the system
    o   Company codes, if FI data is to be considered
    o   Purchasing organization, if MM data is to be considered
    o   System criteria (see below)
    Requirements
       Program modes
    The program can be run in three different modes:
    1.  Only general data is set for archiving (A segments)
    2.  Only application-specific data is set for archiving (B segments)
    3.  General and application-specific data is set for archiving
    Check whether data can be archived
    Mode 1: The A segments selected must be set for archiving, and no dependencies to B segments may exist. For example, no company code data may exist for a vendor if the general data is to be archived.
    Mode 2: The application-specific data must satisfy the relevant application criteria:
    FI: Company code data is archivable if no special G/L figures or transaction figures and no open or cleared items exist. In addition, the archive flag must be set at company code level.
    MM: Purchasing organization data is archivable if the archive flag is set at this level.
    Mode 3: The A or B segments selected must be set for archiving. The A and B segments of a record are deleted if the archive flag is set in the A segment. The B segment only of a record is deleted if the archive flag is set in the B segment (in this case, the A segment is only copied to the archive). In addition, the application-specific data must also satisfy the criteria from mode 2.
    The A segments are archived if all of the dependent B segments are archived and the vendor is not referred to anywhere else. If this is not the case, the A segments are copied into the archive.
    For all modes: Vendors cannot be archived if they are referred to on a general/company code level from other vendors (for example, financial address or alternative payee). This check can be deselected however (use the field "FI link validation off") if you know that all the vendors that refer to the first vendor are to be archived in this or a following run.

  • Vendor Master Data Archiving

    Hi,
    I wanted to archive vendor master data. I got program - SAPF058V which gives FI,Vendor Master Data Archiving: Proposal list.
    This program checks whether and which Vendor Master data can be archived or not. I am getting error message after running this program with selection of one of the Vendor saying that "Links stored incompletely". Can someone pls help on this
    Thanks...Narendra

    Hi,
    Check if you have an entry in table FRUN for PRGID 'SAPF047'. Other option is set the parameter 'FI link validation off'' with the flag on (ie: value 'x'). Check the help for this flag, surely this vendor have a code of customer. Perhaps you must try to delete this link in customer and vendor master before.
    I hope this helps you,
    Regards,
    Eduardo

  • Archiving of Vendor Master Data,

    Hi All,
    I want to Archive Vendor Master data .
    For this purpose , I used two Archiving Objects - FI_DOCUMNT and FI_ACCPAYB so that I can archive data from tables LFA1 and LFB1.
    After archiving using FI_DOCUMNT , I tried archiving(write) using FI_ACCPAYB.The job did not pick up even a single record with an eror - transaction figures exist.
    Hence to remove  transaction figure I used Archiving Object FI_MONTHLY. After Archiving using FI_MONTHLY,
    when I again tried archiving FI_ACCPAYB,I faced another error - "cleared items still exist".
    I found out 3 tables related to cleared Items.
    BSE_CLR
    BSAK
    BSAS
    I got cleared Items cleared form BSE_CLR through FI_DOCUMNT,but those cleared items still exist in rest two tables.For all these three tables archiving object is same i.e. FI_DOCUMNT. I don't know why it did not delete data from rest two tables.
    Please clear my following doubts-
    1. what is the proper data dependency and archiving Object to archive Vendor master data.
    2. In DB15 -When we search tables for a particular   archiving Object, does it mean that that particular Archiving object will archive data from all tables listed for that OBJECT.

    Hi Deepti,
    Archiving object FI_ACCPAYB is dependent on various other archiving objects such as FI_DOCUMNT, MM_EKKO and so on which means that before archiving FI_ACCPAYB, first we have to archive dependent AO if we want to keep track on all the transaction data for this Vendor.
    You can directly archive VMR with FI_ACCPAYB with out considering dependent archiving object also, Prerequisites for this are:
    1. There should be no open items for this vendor
    2. It should be marked for archiving at company code level and Purchase organization level.
    3. Deletion indicator should be marked through Preprocessing program
    If a VMR have all the above criteria then you can archive the vendor.
    2 Question:
    When we archive then write program picks up the data from the table that is mentioned in the DB15 transaction under the particular archiving objects.
    Reward if it is benifits.
    -Thanks,
    Ajay

  • To archive material master, use MM71 or FI_ACCPAYB?

    Hi!
    We are preparing archiving on material master in our ECC6.0.
    We know that FI_ACCPAYB can be used for that purpose.
    However, we also are told that we can go t-code  MM71 to archive material master as well.
    Please inform us whether it is true?   And if so,  which method is better?
    Thanks a lot!
    P.S.  Actually I notice MM_MATNR  is for material master as well.  So which one should we
    choose among above 3 possibilities?

    Hi Linda,
    MM_MATNR is the correct object for archiving material master. FI_ACCPAYB is for archiving vendor master.
    Please refer to the following link for documentation on archiving material master.
    Link:[http://help.sap.com/saphelp_erp60_sp/helpdata/en/8b/8e963466880c30e10000009b38f83b/frameset.htm]
    Before archiving material master, you will need to archive all the documents which has reference to the material (such as purchasing documents etc)
    While archiving, if any material is not eligible for archiving, you will get an error message in the archive log. Please refer to SAP Note 900537 for the meaning of the error messages.
    Thanks,
    Naveen

  • Standard method to archive/delete all vendor master data

    Hi every abap expert
    Does anyone know how to archive all vendor master data
    in a client?
    If use T-code : SARA . The vendor master data is required to mark deletion flag before archiving.
    Any standard T-code can set all vendor master data with  marked deletion flag ?

    Hi Boris!
    Give XK99 a try. With XK06 a single change is possible and in FI also FK06 is available.
    When XK99 has problems with field LFA1-LOEVM, then you can make easily a CATT for XK06.
    Regards,
    Christian

  • Delete Vendor Master Data xk01

    I have created Vendor Master in XK01 including purchase organization.
    I want to delete it permanently.  I have not made any POS and data.

    Go to Tcode : SARA, enter the Object FI_ACCPAYB
    Then :
    1 Maintain write variant, it depends, if the vendor data only create for Purchasing Level only,than you can choose MM data.
    When you archive MM data for vendor master records, the system automatically checks whether the following conditions have been met:
    · The deletion flag is set.
    · Dependent data of the following types no longer exists in the system:
    Purchasing documents
    Purchasing info records
    Vendor partner roles
    2. Maintain Deletion variant--> start deletion process --> this step will completely remove data from table.
    If then some dependent data of above mention still exist,then you need also to close /archive the dependent data also.
    Read below link also
    http://help.sap.com/saphelp_erp2005/helpdata/en/8d/3e4c11462a11d189000000e8323d3a/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/ba/4b68b8327911d2a25c0000e8a5f24f/frameset.htm

  • Vendor Master Purchasing Block

    Dear All,
    Im having a very weird issue.
    For certain vendors, the vendor master purchasing block was automatically set by the system.
    I know it was done automatically because when i checked the vendor master change documents and audit trail, no changes were made.
    I got to know this issue when users were trying to raise PO, and the error Vendor Blocked appeared, then when i checked XK05, it had a purchasing block.
    Is it possible for it to be blocked automatically? or am i missing something somewhere?

    I dont think that system will set vendor blocks itself.
    this are the cases that do not create change documents: direct table maintenance or an own defined ABAP, or were already sentered with creation of the vendor.
    an other possibility is: archiving  change records, as the cahnge records table is usually one of the biggest tables in a SAP system.

  • VENDOR MASTER DELETION

    Dear Experts,
    I want to delete 2 vendor master data.permanentlyt from database.
    I tried with xk06.Then in OBR2,in test run its showing no data to delete.
    If it can be done in T-Code SARA,please explain me stepwise how to do so..

    Hi Aritra,
    To delete the vendor master, you must proceed as follows:                                                                               
    Call transaction SARA.  Choose object FI_ACCPAYB and choose archiving  Maintain variant.  Maintain vendors, general master data, FI link  validation off, FI data - enter company codes, detail log.   Execute the variant.  This will delete all data except the purchasing  address.                                                                               
    You must then go into SARA again and maintain another variant  and enter the same thing except do not click on FI data but click  on MM data. This will delete the rest of the vendor master data.                                                                               
    If you are confident that there is currently no FI data then you will not need to run the first step, only that relating to the MM data.                                                                               
    Please be careful and run archives in TEST mode first.                                                                               
    (The program that runs the deletion/archive is SAPF058.You may need to finally re-run SAPF019 (transaction OBR2) This program deletes master data in Financial Accounting and is designed ).
    Hope this help
    Regards,
    Mauro

  • Vendor master marked for deletion

    Hi Gurus,
    I have the following issues related to vendor master deletion.
    1. I can  able to create PR, release the PR for the vendor after marked for deletion and also blocked in XK05.
    2. It allows to maintain RFQ for the vendor marked for deletion and also blocked in XK05.
    3. It allows to release PO for the vendor marked for deletion and it blocks only after blocking in XK05
    4. It allows to post GR and IR for the vendor marked for deletion and also in blocked in XK05.
    Appreciated your help on this.
    Thanks and regards
    Durai

    the deletion indicator is a preparation for archiving.
    However, archiving will check whether the vendor is still in use and must be kept.
    A deletion indicator will with standard customizing not restrict the usage. The user get a warning message and this should him make start thinking.
    1. I can able to create PR, release the PR for the vendor after marked for deletion and also blocked in XK05.
    Do you have a purchasing organisation. in the requisition? XK05 restricts the order creation, I do not know about any restriction in requistion creation or release.
    2. It allows to maintain RFQ for the vendor marked for deletion and also blocked in XK05.
    This should not be possible if the purchasing block is set according to OSS note 67341
    3. It allows to release PO for the vendor marked for deletion and it blocks only after blocking in XK05
    Thats correct, If the vendor was not blocked at PO creation, then system has to allow the follow on activities, explained in OSS note 129836
    4. It allows to post GR and IR for the vendor marked for deletion and also in blocked in XK05.
    same as for Q3, explained in OSS note 129836

  • Problems in Vendor master record.

    Hi Sdn Experts...Could you help me?
    I have problems with vendor master record. I have vendors in duplicity....to solved this I aplly the solution by sap for make the consistency by Tax number. Now I cant insert the vendor with the same Tax Number...But appear other problem..I have a lot of vendor in duplicty befora i aplly the solution and i need to eliminate this vendors...
    I execute the Transaction XK05 ( Block Vendor ) and XK06 (Mark Deletion Flag), but doesnt work...because if i make any modification in a vendor master correct the system show up the message..
    ''Vendor master record with the same tax number already exists''
    There is other way to make the deletion the vendor record? How I solve this issue?  Pleaaase help meee!
    Take a look in the File
    [http://www.easy-share.com/1903543315/vendor_problem.doc]
    Thanks,

    hi
    u have to archive the vendors inOBR2 or the simple way is go to XK99 here give the list of the vendors and then change the description with * in mass
    so description of all the duplicate vendors will be * and then flag them for deletion so they cant be used again
    agin u can use them agin by changing the name by some other vendor so u can use the same vendor code for other vendor by just changing the  description
    regards
    KI

  • Vendor master deletion question..

    I need confirmation about something.
    In order to delete vendor master data from the system, even though the vendor has never been used, has no transactinal data and has been blocked and marked for deletion... does it still have to be archived with the transaction SARA?
    In other words, it is not possible to remove any vendor master data that exists post go live without going through the archive process.. is that correct?

    Yes, you are right.
    If the Vendor Master has never been used, then don't archive it. Since it can be used for future vendors. Right now you can change the description to 'Deleted' and make sure you block the Vendors through MK01 and FK01.
    I hope you know there are two data: Master and Transactional.
    The Master data cannot be deleted and can be set for deletion mark and can be deleted through archiving.
    The transaction data can be deleted without archiving.
    Hope it helps.

  • Delete vendor master record

    Dear All,
    We need to delete some vendor master records and following the below procedure for deletion.
    Step1:   Flag for deletion for the vendor to be deleted in XK06
    Step2:   Maintained logical file and assigned path in  T- code FILE (Physical path is maintained as F:\usr\sap\T3P\DVEBMGS00\work\{<FILENAME>} taken from T code AL11from the directory  DIR_HOME)
    Step3:   In SARA, maintained object as FI_ACCPAYB and in configuration maintained logical file name
                    Selected write option, maintained variant with the vendor name ,selected the check box General master records and saved
                    Executed the archive program
    Step4:   In job overview write job is shown but not delete job (ARV_FI_ACCPAYB_WRI20090427155628)
    We followed the above procedure for material master and it was deleted well but unable to delete vendor master.
    Please let us know if there is any other procedure to delete vendor master or we missing anything in maintaining the logical file or in archiving procedure.
    Note      : No transactional data exists for these vendors to be deleted.

    Dear,
    Deleting Vendor master is a big task even for experienced Consultants - I feel.
    Usually you can change vendor name as DO NOT USE or DELETED. If any user try to use this vendor the name will appear as above.
    Please check the OSS note:
    Note 206812 - User exit for archiving MM vendor master data
    Note 122641 - Vendor change documents not archived
    Note 77670 - FI - Master data archiving Delete deletion flag
    Note 84913 - Vendor master; deleting invalid partner functions
    Regards,
    Syed Hussain.
    Edited by: Syed Hussain on Jan 9, 2010 10:40 AM

  • IDOC capturing the old data from Vendor master instead of modified data

    Hello Friends,
    Could you please guide me on the below issue  ?
    Vendor master was changed with the address being modified at 1300 system time.   => change log shows as 1300
    Payment run and IDOC generation ( RFFOEDI1 ) was executed at 1400 system time.  =>  IDOC created time as 1400
    but  , Still the  IDOC captured the old vendor master address data onto the IDOC .
    this is very strange to me and no idea how this can happen.
    thanks
    Raghu V
    Edited by: Raghunandan Vasudevarao on Jan 27, 2011 11:29 AM

    Moderator message: I am sorry but I had to remove the "correct answer" as it was not correct.
    It is well possible to remove the purchasing view via archiving, since archiving of vendor masters is divided into 3 activities: archiving purchasing view, archiving company code views, archiving general data.
    Of course there are preconditions: you cannot archive purchasing data view if you had already created orders. In that case you have to archive the orders first.
    See the network graphic,  in SARA enter object FI_ACCPAYB, then click the icon for network.
    In that particular case you would even create inconsistencies if you delete a table entry.
    And before you delete table entries you should in general know about the relationship of tables.
    Just thinking that a vendor master is LFA1, LFB1 and LFM1 is much to short. Goto DB15, enter FI_ACCPAYB (this is the archiving object) in the lower part and see how much tables are returned. These are all tables that can have data if you maintain a vendor master.
    Now check all those tables if they have a relation to LFM1 and if they contain data
    what will happen if you delete the vendor despite of existing orders? you probably get a dump when you access the purchase order.

  • Archive Vendor

    Hello,
    I have in my data base a lot of vendors, I want to archive an delete these informations from my system?
    How can I do that?
    Than you.
    Best regards,
    Bouchaib.

    in general you do that in transaction SARA, object FI_ACCPAYB
    docu can be foiund here:
    http://help.sap.com/saphelp_470/helpdata/EN/ba/4b68b8327911d2a25c0000e8a5f24f/frameset.htm
    Before you can archive a vendor you have to archvie all dependend data first, e.g. purchase orders where this vendor is used
    You can see the objects that have to be archived prior to the vendor master when you click the network button in SARA after you have entered the archiving object.

Maybe you are looking for

  • Read PDF Formatted Spool and write PDF File to Application Server

    Hi Experts, After ECC 6.0, HR-W2 and W2C Form Spools are getting generated in PDF format. We have a requirement wherein we want to read the PDF Spool Programatically and write the PDF file to Application server (Using OPEN DATASET and CLOSE DATASET)

  • Can no longer telnet to my Cisco 2924 xl

    Hi, I have a Cisco 2924 XL where port 24 is trunked to another port on Cisco 3750. Both interfaces are up, but I can no longer telnet til the switch. I get this error message "VLAN-4-VTP_INTERNAL_ERROR: VLAN manager received an internal error 26 from

  • Help needed in removing duplicate items of list box  in java

    How to remove duplicate items of list box while dynamically inserting (on-click event) It is not identifying duplicate data Variable name is HP_G1 HP_dmg1 = (DefaultListModel) HP_G1.getModel(); int a = HP_G1.getModel().getSize(); System.out.println("

  • Organizing photos from finder

    Hi!, I am a new Mac user and I organized all my pictures from i photo library in finder; I moved pictures in the Data file and also in the originals; now I can't see some of my pictures in iphoto... what can I do to retrieve this??? Thank you!!

  • NW EHP1 SPS10 installation fails @PREPARE_JSPM_QUEUE

    Our System is ERP - ECC 6.0 (ABAP+JAVA) ABAP - EhP4 SPS08 (ABAP) JAVA - Ehp1 SPS 07. We are trying to upgrade this can some help us with the following Issue =============================================== The execution of PREPARE_JSPM_QUEUE/PREPARE_J