Reloading of Archived Sales Activity in SAP database

Hello Everyone,
                         I have a query regarding reloading of Archived Sales Activity document.
Suppose I archive a Sales Activity (SD_VBKA) through SARA in my external Storage system and then delete it. An archive key will be generated.
After that i reload ithe data again in Database and then again rearchive it. So a new Archive key is generated.
And if i try to read it, i am unable to read it as it is pointing to the original first archive Session and not the newer one.
Please help me on that. How can i now read this archived Sessiion
Edited by: Suruchi Razdan on Jul 29, 2011 8:41 AM

Dear Gayathri,
Please be aware that you have opened the question two times, please close this one from your side!
Regards,
Gerhard (Moderator)

Similar Messages

  • Archive Smartform printout into SAP database

    Dear All,
    I am printing a smartform through Z-Program.
    I need to archive this printout.
    Please suggest me the solution.

    Hello,
    Please be noted that archiving documents other than ABAP lists has been
    deactivated through SAP note 725723.
    So, OTF objects should be archived directly from the application.
    The suggestion was that when the application calls the Smartforms
    function module, it asks to prepare the OTF data and give it back to
    the application.
    If you set parameter CONTROL_PARAMETERS-GETOTF = 'X', then OTF data will
    be returned to application and no printing/ archiving will be performed.
    The application can manipulate the returned data. for instance convert
    it to PDF and send as email (usual practice).
    The application can also accumulate the OTF data received from different
    Smartforms and then call the archiving procedure. e.g.
       perform otf_archive in program SAPLSTXBC tables otfdata
                                              using  arc_params
                                                     arc_index.
    It was also suggested that some modifcations to the OTF data before
    appending it to a common table otfdata.
    For instance, if you want to put 3 Smartforms into one archive, the
    nntermediate OTF data returned will be OTF1, OTF2, OTF3. For OTF1
    last line ('//'), for OTF2 you need to delete the first and last line,
    for OTF3 you need to delete the first line only.
    Then you can append them into the one OTFDATA table and do the call
    above to otf_archive.
    Or you can also use the Storage Mode Print and Archive instead of Print Only when print.
    Regards,
    David

  • How to reload archived data into SAP database for object FI_DOCUMNT

    Hi..could any one plz let me know how can i reload the archived data  which is on third party storage into sap database back. The archived data is related to FI_DOCUMNT. We don't have the Reload program for this object. The requirement is : Some of the FI documents are archived before being cleared. So, we want to reload the archived data back to SAP database and then do some modifications.
    Please tell me how this is possible..thanks a lot in advance.
    It's urgent.
    Thanks,
    Shamim

    Thanks Mylene. I've already gone through the same note..i was just looking out for the new standard program or any one have created any new program for the same. I think it's better we must wait for SAP to launch its reload program or else it's not possible to reload the archived data for this object.
    Thanks
    Shamim

  • How to reload the archived data for Fi_documnt

    Hi..could any one plz let me know how can i reload the archived data which is on third party storage into sap database back. The archived data is related to FI_DOCUMNT. We don't have the Reload program for this object. The requirement is : Some of the FI documents are archived before being cleared. So, we want to reload the archived data back to SAP database and then do some modifications.
    Please tell me how this is possible..thanks a lot in advance.
    It's urgent.
    Thanks,
    Shamim

    Hi Siddhesh,
    Thanks for your reply.
    The information u provided looks good. However, as you know SAP has removed the Reload option for the archiving object FI_DOCUMNT in the last year. When i'm following ur steps, it's again taking me to the SARA transaction where i don't find the button for Reloading the archived data. The issue is like we have archived some of the posting documents or FI documents but during archiving, the complete flow was not followed and now we are required to archive the missing documents. In short, we have archived the FI documents whose clearing date was not even set or we have missed some of the documents. So we need to reload all the FI documents and then archive all the reloaded data with proper FI flow.
    Or do we have any custom program which will reload the archived data from the archive files??
    Would this really helpful for us if you show some inputs on this.
    Thanks alot,
    Shamim

  • Due to deleted Sales order line items and Archived Sales order is still showing as Incomplete in BW as Open Order reports because of Incorrect SAP R/3 Rejection Status("A") in VBUP table.

    In a archived saler Order user had deleted Line Item and completed overall sales order. Now this sales order is archived, but it is stll appearing in BW report as open order because of deleted item  with rejection Status is maintained as “A” (Not yet Processed).
    We want to change this status from "A" (Not yet Processed) to "C" as completed.
    I have tried to reload Archive data but due to some limitation I was not able to do it. Also I feel this will like this s not the proper way to do it.
    Could you please help me to correct way to do it???
    Thanks in advance....

    Hi Vaibhav,
    If you can get the list of Sales orders which has deleted line items and force completion status. You can manage them in BI via lookup  or navigation attribute.
    Just my views I am sharing .
    Thanks,
    KDJ

  • Steps to archive SAP Database

    Dear Sir,
    Please suggest me that how many steps are there to Archive SAP database and how can sequencially execute those steps.
    I am confused that which step i have to execute first and which one after that and so on.
    Please provide me some documents or link throgh which i can go through and successfully i can execute this task.
    Regards,
    Mushtaq

    Hello Mushtaque,
    You can use the link
    http://help.sap.com/saphelp_nw70/helpdata/EN/8d/3e4e74462a11d189000000e8323d3a/frameset.htm
    Regards, Jatin

  • Creating Sales Order in SAP from a web application database

    Hello All,
    I am trying to create a sales order from a web based package .Means a web based package is running in the system and the user will enter the sales order data in the web application and it gets saved in that database.
    Now i want to retrieve the data from that database and post sales order in SAP using batch processing .
    Can someone help me out how to do this ????
    Please provide some sample codes .
    Thanks,
    Amit

    Hi Amit,
    Using Ado.net you can retrive the data from database
    Refer This.....
    Link: [url] SAP B1 Web Application asp.net DI Server DI API
    Link: [url]   Method of using ADO.Net connect to SAP Company DB
    Thanks
    Shafi

  • A question about SAP database archiving

    Hi Archiving experts,
    I am working on SAP database archiving. Due to operation error, I run two times write program "S3VBAKWRS" for object SD_VBAK. so there are generate two archiving session in tcode SARA. so whether I can maked one archiving session as invalid? 
    Kelvin
    Regards

    Srikishan D wrote:
    Hi,
    >
    > You would need to activate logon tickets for the ABAP system.
    > Follow this link and set the profile parameters accordingly followed by a system restart.
    >
    > http://help.sap.com/saphelp_dimp50/helpdata/en/62/831640b7b6dd5fe10000000a155106/content.htm
    >
    > Regards,
    > Srikishan
    Hello there and happy new year !
    Thanks for the link, according to the documentation in this link, I'm supposed to install
    SAPSECULIB (I don't have enough rights in my MarketPlace account to download softwares).
    However, as I understand (please correct me if I'm wrong) what I have installed on my PC
    is not a complete SAP system. It is just a trial version with an ABAP server allowing to test
    local codes and developing. Are  you sure that SAPSECULIB goes as well with a trial version
    of SAP? because I checked in the  installation package, there were no SAPSECULIB to install so
    I thought maybe it is not going  to work with this version of SAP Netweaver (Yet, it is strange
    because in the download page  it is specifed that we may create web dynpro with this package)
    Thanks in advance,

  • Erasing Sales data from SAP

    Hello everyone,
    We are going to give the SAP server to another company from inside our organization and we are 'cleaning' up the data they won't need.
    For instance, we will use transaction code OBR1 to clean up some credit movements, etc..
    I know that there are some transactions/programs to clean up the masterdata, but, is there any program I could exclude the following data from SAP:
    - Sales Orders
    - Deliveries
    - Invoices
    - VK12 registry as well
    Thanks for the help!
    Ricardo Sancio Lóra - Brazil

    Hi,
    Did you give a thought about Archiving of data? I guess by Archiving you can Archive all old data and keep in your record and can free SAP database.
    Thanks,
    Raja

  • Archiving Information from "old" SAP systems and switch off the server

    Good day
    I hope someone can offer some advice. Our company has a few sites across the globe. Three of the sites in South Africa ( where I'm working at the moment ) had their own SAP systems. Three odd years ago, we implementeted a new SAP system, combining the separate SAP systems into the new one, running of the same box etc etc. The "old" SAP systems were still availbale after the new one went live, in the event that people want to look back at history.
    We are you busy with a project where we are going to merge our current SAP implementation into our global SAP system... obviously only the current master data are going to be transfered to the new system. It's an idea time for us to clean up our data.
    My question: Once we go live on our global SAP system, we want to "export" or archive from the 3 "old" SAP systems the Master Data from the HR module ( like employees who's left the company - it's law to keep the records for 5 years at least once a employee has left) , HSEC and FI modules into a single datastore... this way we don't have to keep the three servers running in the event that history is required. The servers wil be kept off-line and only switched back on if a detailed audit is required.
    The global SAP system does not have an archive solution implemented to we can't access archived data from the new system...
    So, we need to export master data from our 3 old SAP boxes into a Unicode type file system, and our local South African sites needs to be able to access the information using a text type editor or a web based interface we can run off our SAP Portal...
    Thank you

    Hello Cornelius,
    To introduce myself, I am an active SDN/BPX member as well as an ASUG Archiving and Information Lifecycle Management Volunteer.
    Decommissioning Legacy Systems (SAP and non-SAP systems) is quite the topic these days with divestitures becoming such a common occurrence. 
    Some things to think about in this situation are:
    Identifying the data to be decommissioned:
    what information would be needed for an audit
    what information would be needed for a lawsuit situation
    Identifying the access requirements to this data.
    Identifying the retention policies for this data (this will be
    driven by regulatory requirements, etc.).
    If this has not already been done - define retention periods for this data - it will most likely have different retention periods based on the type of data.
    You mention that you do not have an archive solution in place yet. 
    I would recommend that you may want to research that option because typical requirements for retaining legacy data is that it is stored in such a manner so that it is protected from any type of modification.
    There are a lot of 3rd party archiving/storage solutions that provide this type of secure storage.
    You are correct in that you will want to export or archive the legacy data as opposed to loading the data into your current system.  It would probably involve a large increase in the size of your SAP database and you would probably run into number range overlaps.
    But, if this data is exported to a filesystem, you will be losing the business logic associated with the data, and the information is no longer in its original format (this could have legal ramifications). 
    I would recommend using SAP Archiving functionality for this effort.  If you are looking for outside resources, there are many vendors out there that have a lot of experience with these types of projects.
    Two that come to mind are Dolphin IT and OpenText.
    Or, depending on the timeline of your project, SAP is coming out with a tool that can be used for decommissioning SAP Systems.  It is part of
    their SAP ILM solution.  It will be called Retention Warehouse.  Here is a paragraph from their latest white paper describing this new tool:
    With the retention warehouse, SAP now offers a
    standardized method for system decommissioning in
    answer to these pressing issues. It allows you to reuse the archived data outside the original system in a central
    retention warehouse.
    For more detail on this topic, the white paper can be found on the SAP ILM Website:
    service.sap.com/ilm
    This tool is part of a larger initiative from SAP to help customers with their ILM (Information Lifecycle Management) strategy.  This tool is near and dear to me as I was fortunate enough to be part of an
    ASUG Influence Council that helped with some of the requirements for this solution.
    I hope this information is useful. 
    Good luck and Best Regards,
    Karin Tillotson

  • How can we read archived sales order data?

    Hi there,
    We need information about sales orders, which are already archived (e.g. VBAK, VBAP).
    How can we read these data from archive?
    Do you know the necessary function modules?
    Thanks a lot for help.

    Hi,
    The main transactions that provide access to sales orders data are the following:
    VA03 Display Sales Order
    ALO1 Document Relationship Browser
    Other:
    KABP Controlling Documents: Plan
    KSB5 Controlling Documents: Actual
    KVBI Sales Documents: Actual Line Items
    Standard Reports:
    S3VBAKAU: Program for sequential reading of archived sales documents
    If at least one of the archiving information structures SAP_DRB_VBAK_01- SAP_DRB_VBAK_02 is active, I suggest to use the transaction ALO1.
    More info can be found at:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/19/68c149815cfa4997525e0e7d7509bf/content.htm]
    Regards,
    Andrea

  • Document stores in both SAP database and Content Server

    Hi,
    We don't want to store doc. in SAP database and chose to use content server. We have KPro checked in configuration also.
    Our basis team has created a content repository ZP that points to the content server, in the document area.. they enter "ARCHLINK" instead of DMS. So they told me to create doc. and pick this new ZP to store the doc. But we I created a doc. in CV01N, went to check in the original, the new repository ZP is not on the list of choice to pick from. So I cannot store the doc. in that new content repository.
    Our basis team told me that if we use DMS in the document area, the doc. stores in both SAP database and Content Server. We don't want to have doc. stores in SAP database that's why we have content server.
    How can I create DMS and store in content server only (not SAP database) ?
    Thank you,
    Sam Schwartzberg

    Hi Samantha,
    While check-in activity are you able to choose the new content repository i.e. ZP?
    If not then use t-code OAC0 and while creating the repository check whether the certificate is activated by basis or not .
    If not then you need to activate the certificate for the new repositoty in CSADMIN then only it will appear in the list while "check-in" the dcouments.
    Please check for the same. Also check the t-code OACT , this new repository is shown or not.
    I hope this will resolve the query.
    Regards,
    Ravindra

  • Is it possible to read archive files outside of SAP?

    Hi Experts,
    I would like to read SAP archived data (*.ARCHIVE.ARCHIVING)  with non-SAP application. I already know, that data is automatically compressed (and maybe encrypted?).
    My question: Is there some possibility to read archive files outside of SAP? I suppose that would be needed to do some decompress first.
    Your help is appreciated. Thank you!
    Jan

    Hi Stefan,
    Thanks for your reply. I found some points with your hint. Some summary for others:
    460620 - Migrating archive files:
    "Archived data may have to be migrated. One solution is to perform an SLO service archive migration. You can also perform an archive migration for archive files using the Archive Development Kit (ADK)."
    153433 - Access to archived data from other logical systems
    "For data security reasons, the ADK checks whether an archive file was created in the same system and client where it is to be read. If the client, system or file key do no longer correspond to the meta data that were valid at the time of archiving, you can no longer always access the archive file, particularly for reloading. If only the system ID changes when a new installation due to a system copy is carried out, read accesses are still possible. No solution is provided in the standard system. The access to archive files from other logical systems must be taken into account and carried out in a migration project."
    Unfortunately, I still do not know if it is possible to read archived data outside of SAP.
    Best Regards,
    Jan

  • How to upload a Flat file into sap database if the file is in Appl'n Server

    Hello Sap Experts , Can you tel me
    " How to upload a Flat file into sap database if the file is in Application Server.
    what is Path for that ?
    Plz Tel Me its Urgent
    Thanks for all

    Hi,
    ABAP code for uploading a TAB delimited file into an internal table. See code below for structures.
    *& Report  ZUPLOADTAB                                                  *
    *& Example of Uploading tab delimited file                             *
    REPORT  zuploadtab                    .
    PARAMETERS: p_infile  LIKE rlgrap-filename
                            OBLIGATORY DEFAULT  '/usr/sap/'..
    DATA: ld_file LIKE rlgrap-filename.
    *Internal tabe to store upload data
    TYPES: BEGIN OF t_record,
        name1 like pa0002-VORNA,
        name2 like pa0002-name2,
        age   type i,
        END OF t_record.
    DATA: it_record TYPE STANDARD TABLE OF t_record INITIAL SIZE 0,
          wa_record TYPE t_record.
    *Text version of data table
    TYPES: begin of t_uploadtxt,
      name1(10) type c,
      name2(15) type c,
      age(5)  type c,
    end of t_uploadtxt.
    DATA: wa_uploadtxt TYPE t_uploadtxt.
    *String value to data in initially.
    DATA: wa_string(255) type c.
    constants: con_tab TYPE x VALUE '09'.
    *If you have Unicode check active in program attributes then you will
    *need to declare constants as follows:
    *class cl_abap_char_utilities definition load.
    *constants:
    *    con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB.
    *START-OF-SELECTION
    START-OF-SELECTION.
    ld_file = p_infile.
    OPEN DATASET ld_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
    IF sy-subrc NE 0.
    ELSE.
      DO.
        CLEAR: wa_string, wa_uploadtxt.
        READ DATASET ld_file INTO wa_string.
        IF sy-subrc NE 0.
          EXIT.
        ELSE.
          SPLIT wa_string AT con_tab INTO wa_uploadtxt-name1
                                          wa_uploadtxt-name2
                                          wa_uploadtxt-age.
          MOVE-CORRESPONDING wa_uploadtxt TO wa_upload.
          APPEND wa_upload TO it_record.
        ENDIF.
      ENDDO.
      CLOSE DATASET ld_file.
    ENDIF.
    *END-OF-SELECTION
    END-OF-SELECTION.
    *!! Text data is now contained within the internal table IT_RECORD
    * Display report data for illustration purposes
      loop at it_record into wa_record.
        write:/     sy-vline,
               (10) wa_record-name1, sy-vline,
               (10) wa_record-name2, sy-vline,
               (10) wa_record-age, sy-vline.
      endloop.

  • Reports showing Archived Sales Documents

    Hi, I am working on using SARA to archive SD documents, and it seems as if Document flow and Change logs are not archived, and not possible to see in reading the archived Sales Orders from SARI/SARJ. Are there SAP standard  reports which can fetch and show data from archive, or any other way to find a 'document flow' (to eg. deliverys or billing docs)  and 'change log' from an archived Sales Order?
    Thanks!

    Hello,
    The answer from Caveman is correct, the DRB - tcode ALO1 (that is the letter o not a zero) retains some of the document flow of archived data.
    Do not use transaction VPAR as that archives data related to preference determination and transaction VF07 does not show document flow.
    If you have implemented the PBS modules to view archived data, they retain the document flow information and you can view the data exactlly how it looked before it was archived.
    Hope this helps.
    Best Regards,
    Karin Tillotson

Maybe you are looking for

  • How can i running servlet in tomcat 4.1

    sir, i want to know ,what are the settings?i have to do before running a servlet i installed tomcat4.1 in C:\Program Files\Apache Group\Tomcat 4.1. but i reffered a lot of tutorial ,i couldnt understand that. and also i set jsdk path;

  • How can I find and remove duplicate photos from my computer?

    How can I find and remove duplicate photos from my computer?

  • Can't find funds in campaign

    scenario : I create a campaign C-00000041 under the marketing plan M-00000041. I have assigned the funds plan21 to the campaign. Question: When I try to assign funds to this campaign, there is no funds in the pop-up windows. can anyone give some info

  • Instance Status Yellow on SAP MMC Console

    Dear Experts, We are installing NW 7.0 dialog instance on Windowsx64 bit platform, Central instance is running on Aix64 bit, NW 7.0 Java add-in has installed on Central instance, I want to start only abap instance on new windows application server, i

  • Create IDOC from file

    I have received an IDOC order file, and I know there is a standard program RSEINB00 to create IDOC in system. I would like to delete/add segments, change field contents in segements in the IDOC according to some of the segments in IDOC. Where can I m