Sales Order Archieving

Hi
i have a query regarding the sales order archival.
We want to archive the Sales Order irrespective of complete delivery or billing against that sales order. How to archive sales order and where this archival indicator ( OR anything which indicates that the perticular sales order has been archieved ) is stored at database level.

HI Sunraj,
Data Archiving – a service provided by SAP NetWeaver – removes mass data that the system no longer needs online, but which must still be accessible at a later date if required, from the database.
Step 1: Creating (the First) Archive Files
In step one, the write program creates an archive file. The data to be archived is then read from the database and is written to the archive file in the background. This process continues until one of following three events occurs:
1. All the data is written to an archive file
2. Archiving is not complete, but the archive file reaches the maximum size specified in archiving object-specific Customizing
3. The archiving is not yet finished, but the archive file contains the maximum number of data objects specified in Customizing.
If event 2 or 3 occurs, then archive management continues with the delete step (assuming that the following indicators are marked in archiving object-specific Customizing: Start Automatically and Delete Before Storage).
Step 2: Storing Archive Files
Once the write program has finished creating archive files, these can be stored.
There are several ways of storing archive files:
• Storage Systems:
If a storage system is connected to mySAP Business Suite: At the end of a successful write job, a request is sent to this system to store the new archive files (provided the appropriate settings were made in Archiving Object-Specific Customizing. You can also store archive files manually at a later point if you do not want them to be stored automatically. Storage is carried out by the SAP Content Management Infrastructure (which contains the ArchiveLink/CMS interface).
• HSM Systems
If you use an HSM system, it is sufficient to maintain the file name in Customizing (Transaction FILE). You do not then need to communicate with the storage system using the SAP Content Management Infrastructure, because the HSM system stores the files on suitable storage media according to access frequency and storage space.
• Existing Storage Media
Once the delete program has processed the relevant archive file, you can manually copy archive files to tape.
Step 3: Running Delete Programs
After closing the first archive file, Archive Administration creates a new archive file and continues with the write process. If the settings were made accordingly in archiving-object-specific Customizing (see Settings for the Delete Program), a delete program is started automatically in parallel for the previously created archive file, to read the data in the archive file and then delete it from the database. This procedure guarantees that only data that has been correctly saved in the archive file is deleted from the database.
You can also schedule the delete program manually, for example, so that you can save the archive files before deletion, or because the next available time window is not sufficiently long to also include deletion. The following scenario may also be a reason to manually schedule the delete program:
You create an archive file by starting a write program. The data records are written to an archive file, but the system terminates processing before the delete program starts to run. In this case you must delete the archived data manually in a separate step.
If you do not carry out deletion until after the data has been stored, you can make a setting in Archiving Object-Specific Customizing so that the system will read archive files the from the storage system during deletion. In this way, you can detect errors in good time which might arise when transferring or saving the archive files in the storage system.
When the last archive file is closed, a delete program starts to run for this file. The graphic shows that several delete programs are running simultaneously for previously created archive files. Because, unlike the delete program, the write program does not generally carry out any transactions that change data in the transactions, the write program creates new archive files faster than they can be processed by the delete program. This decreases the total archiving runtime because the database is used more efficiently.
Sales order Archiving:
In Sara transaction you can select the number of the sales orders that you want to archive.
The archive procedure has two steps:
First - you run the preparation to the archive (here the documents steel in database, is just a test to know if the documents are ready to be archive, that means, they are completed)
Second - You run the archive process. Here, if you have a variant to eliminate the documents automatically, the documents disappear for the data base.
If your SAP version is ECC 6.0, the archive documents steel available in VA03, with the message, ' This document is been post by the archive '
SD Archiving:
SD archiving objects are:
SD_VBAK sales orders
RV_LIKP deliveries
SD_VBRK billing documents
FI_ACCRECV --- Customer master
Reward points pls.
Regards,
Govind.

Similar Messages

  • Sales order archieved

    Hi All,
    I am able to create a sales order sales order no saved but when I am going to change sales order system giving the message SD document 14 is not in the database or has been archieved.
    Can any one tell me the process how to solve this issue.
    Regards
    Sasikanth

    hi
    chk out this link.. might be of some help..
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-sd/sd-document-1100680-is-not-in-the-database-or-has-been-archived-480974
    Reward if Useful
    Thanx & Regards.
    Naren..

  • Sales order is deleted or archieved but delivery is there

    Hi everyone,
    I m trying to see the document flow of a delivery document and I found the order was already deleted. It is showing "sales order has been deleted or has been archieved".
    Please help me out to find the possible reason on How  an order can be deleted while the subsequent documents exist.
    Thanks in advance

    Hi,
    Sales order cannot be deleted if delivery exists. Also, archiving process are not allowed for sd_vbak
    I suppose you havegot inconsistences between entries into VBAk/Vbap and VBFA document flow.
    Regards, david

  • Sales order cannot be rejected -problem log status item status is incorrect

    Hi,
    I need to reject this particular sales order, but when i try to reject it says to check the problem log which states that the item status is incorrect. It says subsequent documents exists for some lines even though no documenst are attached.
    There were a delivery attached to this order earlier but that has been archived. I ran repors SDVBUK00 etc but nothin seem to sort this issue..
    I just need to reject the whole sales order. does anyone know any reports or somethin to rectify this issue.
    Thanks
    Keshini

    Dear Keshini,
    Could you please update with the process of Delivery Document Archieved?
    I mean, had you reversed the delivery (T. Code: VL09) and then deleted the items from reversed Delivery Doc (T. Code: VL02N), before deleteing the Delivery Doc?
    Was there any subsequent document for Delivery Doc.?
    Best Regards,
    Amit
    Note: Also, check with Copy-Control settings for Order-to-Delivery (T. Code: VTLA)
    1. Field: Update Document Flow is marked ticked at
    Item (Dialog Structure) --> Item Category --> Control data
    2. Field: Pos./neg. quantity with entry "+"

  • Link of production order to sales order

    Hello,
    Would like to ask how could we check a production order confirmation and movements when we just have a sales order? and the problem is those sales order we have is arcieve already in 2006 and we assume the production order also was archieve already too. We really want to check those production orders inviolved on the materials of our sales order, how could we check this even it was archieve already? Could you help us with this ? Because we have Financial control at this moment and this is very important case.
    Regards
    Edited by: SAP_PHIL on Sep 16, 2009 1:00 PM

    Dear,
    To display archieved orders.
    Choose Logistics -
    > Production -
    > Production control ---> Tools -
    > Archiving -
    > Orders.  Or CO78 transaction
    Choose Retrieval. Enter the selection criteria. choose Archive Selection, select the required archive file(s) and choose .The selected orders are then displayed in the Order Information System.
    If your Production is based on MTO scenario, then you can enter the sales order number in COOIS screen and check whether they exist in System without archival. Please remember to activate check box for "orders with Deletion Flag/indicator" in the additional selection critera in the Initial screen.
    Regards,
    Prasobh

  • Mass Deletion of Sales Orders

    Hi Gurus,
       I have some unused old sales orders which  affects the MRP run , to rectify this we want to delete or archieve the old SOs. How to do Mass deletion or Archieve the unused SOs?
    Kindly help to resolve .
    Thanks in Advance,
    Regards,
    Joseph

    hello again, Joseph.
    until someone comes up with a standard solution, i believe what ABAP will do is to come up with a customized table that will show all sales orders with status 'not yet processed' (from table VBUK) within a date range.  when the list is called, you will be enable to enter a value in the field 'reason for rejection' (field name ABGRU).
    when you have entered a reason for rejection, the sales orders are effectively closed (completed) and a subsequent transaction based on these orders cannot be done.  you can ask ABAP to use an available user exit to further prevent the re-opening of these orders.
    regards.

  • Pulling through the Variant description to the sales order

    Is there a way to change the material description in the sales order to match the Characteristic Value?  Is there an enhancement that may work?  Also, looking for an enhancement that will update the Equipment Master description based on the serial number with the Characteristic Value
    Example:
    Characteristic  XXXX Unit
    Characteristic Value number one :  XXXX   Standard Unit
    Characteristic Value number two:    XXXX  Standard Unit with  Upgrade
    Example:
    Sales Order was for the variant XXXX  Standard Unit with  Upgrade
    I would like to update the Equipment Master with this; so in the event a RMA was created we know which variant is being sent in for repair.
    Material Number: XXXXXX
    Serial Number XXXXXXX
    Description: XXXX  Standard Unit with  Upgrade
    Edited by: Kim Blair on Nov 10, 2011 3:06 PM

    hi Nikhilesh,
    Thanks for your reply, i have tried this but i am not able to save the HU (HU02), while saving i get the following error, "<b>SD doc 5141(this no. is the 1st 4 digits of my SO no.) is not in the database or has been archieved"</b>.
    It asks to run the report 'SDRQCR21', even after running this program i get the same error.
    Regards,
    Surya

  • Sales order number

    Hi Friends,
    I have created a sales order, sales order has been saved (Example : S.O No Is 2) when i go to delivery time system is  not giviing the sales order number.
    And i have checked in the change mode also system is giving the order number is archieved.
    what should be the reason i could not able to see the order number in change mode also?
    Thanks & regards,
    vasu

    Hi,
    It might be because of the UPDATES TERMINATED
    Goto the Transaction code SM13 and check the status  in UPDATE SYSTEM, If it is Update is not active , wait for some time and  Try again,
    If it is Active , then execute this transaction with STATUS  - ALL and find the ERROR.
    It will lead to the Program where the issue lies, check with the Developer on what is missing.
    regards,
    santosh

  • GI for sales order stock

    Hello Gurus,
    I have special stock as sales order stock (stock type E) booked against the particular sales order. Now that sales order is archieved since it is old SO. I want to now issue this special stock, but system gives error message type "SO has been archieved". Is there any way how can I issue this stock?
    Thanks

    Before you archive anything you should make sure that you have the most recent OSS notes in the system.
    Looks like OSS  Note 196062 - Sales orders with sales order stock are archived
    was not implemented. Hence your system was able to archive such documents because of a program error.
    OSS  Note 202345 - Transfer posting of sales order stock without sales doc.
    may help youo out of this situation.

  • Preventing changes to component quantities of Sales BOM in Sales Order

    Hi All,
    I would like to enquire whether it is possible to prevent anyone from changing the quantity of the components when a Sales BOM is used in a Sales Order. I would like to archieve this without using any customer exits if this is at all possible.
    Currently you can change the quantities of the components and this has no effect on the quantity of the Header material.
    Thanking you in advance for your assistance.

    Hi,
    May be u can achieve this throguh blocking authoirzation at item level for users with the help of ABAPers...This is the only was other than sales order user exits...
    If u want to use user exit then please have a look into userexit_Field_modification, Userexit_save_document
    , userexit_save_document_prepare...
    Regards
    Sankar

  • Open Sales Orders Backlog Report

    Hi All: I have been asked to create Backlog reports for Open Sales Orders and the revenue amounts for the next 15days, one month, 2 months, 3 months 6 months etc etc. Does anyone know of a standard report that covers that and the business content and cues that go with it?
    Thanks in advance
    Bobby

    I haven't seen any standard content for it, with my client, we actually developed the open order report from Item extractor and status extractor. And compare the created on date to the system data to see how long it has been opened for and put it in different buckets.
    Hopes that help.
    thanks.
    Wond.

  • Open sale order aging report

    Need a report on open order aging.  The open order means not delivered or partially delivered. Further with days range since its open or not fully delievered i.e. > 15 days or 15-30 days and so on.
    The standard transactions Va05 and VL10c can provide the list but dont provide any aging info.
    Kindly help in this.
    thanks
    anu

    Dear Anu
    1. First in VA05 you can use Variants and get the report as desired by you,create one variant and use Filter along with greater then, less then (all are in selection option icon)
    This way you can create three variants.
    But limitation is dates has to be manually changed in variants each time.
    2. Try this Tcodes
    S_ALR_87014387 Display Document Flow
    S_ALR_87014392 Display Document Flow
    This reports will give you document flow run report with ticking checkbox for sales order,delivery and goods isse then after getting the list expand all (Shift+F12)
    you will get the quantities for sales order, and what is delivered and what is issued.
    3. As such if you want exactly the report you can take help of ABAP to create the ALV
    4. Report or create Queries in SQVI , or else create MCSI report
    Regards
    Jitesh

  • How to restrict manual changing of free goods in sales order

    Hi ,
    Goodmorning ,
    We have some requirement : In sales order free goods quantity determination by system  should not be allowed to change manually , where can we do this ?
    Looking for your inputs
    Thanks and regards
    Venkat

    As per SAP Standard, when the main Item quantity is changed, the Free Goods are redetermined. In this case any manual changes to Free Goods Quantities are lost.
    But your requirement is for restricting the Chages of the Quantity of Free Goods Correct?
    I believe there is no SAP standard solution for this. You will have to apply a User Exit, which will check the Item category of each LIne item & if it is free goods (TANN) then changes are not permitted.
    Hope this helps.
    Thanks,
    Jignesh Mehta

  • Query help needed for Sales order panel user field query.

    I have a user defined form field on sales order row level called = U_DEPFEEAMT
    1, I would like this field to get the value from a field on this sales order row level multiplied by what is in point 2 below. The details of field in point 1 is :
    Form=139, item=38, pane=1, column=10002117, and row=1
    2. The contents in field 1 should be multiplied  by a value coming from another user field linked to OITM master item.
    The details of user field attached to OITM is :
    OITM.U_DepositFeeON
    Appreciate your help.
    Thank you.

    Try this one:
    SELECT T0.U_DepositFeeON*$[$38.10002117.number\]
    FROM dbo.OITM T0
    WHERE T0.ItemCode = $[$38.1.0\]
    Thanks,
    Gordon

  • Logic for Open Sales order qty

    What should be the logic given to determine "open sales order qty" during designing a report.
    Note the criterias are as under:
    1) Open sales order qty is the confirmed qty less the delivery qty.
    2) The delivery qty should be delivery order qty (The delivery should not necessarily be pick, packed & PGI)

    sorry it doesn't work for services, since they do not create requirements.
    in this case you can use VBFA table, subracting all the delivered quantities VBFA-RFMNG with VBFA-VBTYP_N = J and VBFA-VBELV/VBFA-POSNV = to your order/item from the ordered quantities
    hope  this help you.
    Roberto

Maybe you are looking for

  • Internal error

    Hi, I am getting this error when adding a dimension column to the report. Query Status: Query Failed: [nQSError: 46036] Internal Assertion: Condition tableTree.GetSearchCond() == NULL, file ./Src/SQOIORGeneratorOracle803.cpp, line 1452. Is it related

  • Adobe wants to spy on me - where do I stop them?

    Ok, so I see with the latest version of Cash Cow that Adobe stated it would monitor my usage in detail and report back to them. Well, specifically they required me to agree to their spying. (In tiny print in loooong legal script that couldn't even be

  • Version question - v1.4.1_02-b06

    Hi all, Quick question - could someone confirm if the above runtime environment is a beta version, or full release? I've tried searching the java site to no avail - if anyone can help it would be very much appreciated! Cheers, Tony

  • No radio in menu of iTunes 7.5?

    So I have downloaded iTunes 7.5 and would like to listen to streaming radio programs. However, all the Support instructions say to just click on the radio icon that's in the left hand nav and I do not see any icon. It is just not there. Is there some

  • ISE-switchport session remain authenticated

    I am facing a problem during deployment. Customer is using Avaya IP phone. If an autheticated workstation/laptop shift from one phone to another, the old switchport session remain there. The laptop acquire IP from new phone but even fail to ping gate