Retrieving archiving MM_EBAN

Hi,
  I need to reload the data from the archive to the database. The object in MM_EBAN and the MM_MATBEL too.
  So I hope someone can help me
Thanks

Hi Laura,
Please check this link on how to retrieve archived files via t/code SARA.
http://help.sap.com/saphelp_47x200/helpdata/en/8d/3e4fed462a11d189000000e8323d3a/frameset.htm
Also please take a look this programs.
<b>RSARCH_RETRIEVE_FILE
RSARCH_STORE_FILE</b>
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.

Similar Messages

  • Retrieve Archived PDF and print

    Hi Folks,
    I have certificates which have been archived. Once I get the Archiv Id of the document from TOA01, how do I use this data to print?
    The Archived Document is a PDF Document. Could you please advise steps on how this data can be retrieved and printed?
    Information I have presently is that I can get the archived data in Binary Format with FM ARCHIVOBJECT_GET_TABLE
    How do you process this binary data to get it printed?
    Greatly appreciate any help.
    Thanks!

    Hi Venkat
    I am looking back on my program now, its been a whild since I finished it,  and I am using it to merge two pdf fields into one pdf spool.
    i am using the global directory I will attach the updated code for you.
    you can also check out the code in this method. CL_SALV_WD_C_TABLE_V_TABLE->ON_PDF_SEND_TO_PRINTER
    <p>
    return.
    l_wa_old_spool-rqident = 30096.
    APPEND l_wa_old_spool
       TO l_i_old_spools.
    l_wa_old_spool-rqident = 30094.
    APPEND l_wa_old_spool
       TO l_i_old_spools.
    BREAK-POINT.
    DATA:
      l_handle           TYPE sy-tabix,
      l_spoolid          TYPE tsp01-rqident,                    "#EC NEEDED
      l_partname         TYPE adspart,                          "#EC NEEDED
      l_new_partname     TYPE adspart,                          "#EC NEEDED
      l_filename(128)    TYPE c.
    data: lv_append type char1.
    l_v_partname = 'darrenTest1'.
    * Create a new spool order for the PDF'S
    CALL FUNCTION 'ADS_SR_OPEN'
      EXPORTING
        dest             = l_v_prdest
        immediate_print  = abap_false
    *   append           = ' ' "append
        doctype          = l_c_doctype
        titleline        = 'Darren Merge Test'
      IMPORTING
        handle           = l_v_handle
        spoolid          = l_v_spoolid
        partname         = l_v_partname
      EXCEPTIONS
        device_missing   = 1
        no_such_device   = 2
        operation_failed = 3
        wrong_doctype    = 4
        wrong_devicetype = 5
        OTHERS           = 6.
    CALL FUNCTION 'ADS_GET_PATH'
      IMPORTING
        ads_path = l_v_globaldir.
    BREAK-POINT.
    PERFORM get_statements.
    READ TABLE gt_return INTO ls_doc INDEX 1.
    CLEAR l_filename.
    *CONCATENATE l_v_globaldir l_v
    *l_v_partname = 'darrenTest1'.
    *l_filename = |{ l_v_globaldir }/{ l_v_partname }.pdf |.
    l_filename = |{ l_v_partname }.pdf |.
    LOOP AT gt_return INTO ls_doc.
      if sy-tabix > 1.
        lv_append = 'X'.
      else.
        clear lv_append.
      endif.
      CALL FUNCTION 'ADS_WRITE_TO_FILE'
        EXPORTING
          filename                     = l_filename
          buffer                       = ls_doc-bindoc
          append                       = lv_append
          useglobaldir                 = 'X'
        EXCEPTIONS
          cannot_open_file             = 1
          open_dataset_no_authority    = 2
          open_dataset_internal_error  = 3
          open_dataset_too_many_files  = 4
          dataset_cant_close           = 5
          close_dataset_internal_error = 6
          cannot_close_file            = 7
          cannot_transfer_data         = 8
          transfer_internal_error      = 9
          dataset_write_error          = 10
          OTHERS                       = 11.
    ENDLOOP.
    CALL FUNCTION 'ADS_SR_CONFIRM'
      EXPORTING
        handle           = l_v_handle
        partname         = l_v_partname
        size             = 0
        pages            = 0
    *   NO_PDF           = ' '
      IMPORTING
        new_partname     = l_new_partname
      EXCEPTIONS
        handle_not_valid = 1
        operation_failed = 2
        OTHERS           = 3.
    CALL FUNCTION 'ADS_SR_CLOSE'
      EXPORTING
        handle           = l_v_handle
        final            = abap_true
      EXCEPTIONS
        handle_not_valid = 1
        operation_failed = 2
        OTHERS           = 3.

  • Problem in retrieving Archived Shopping Cart

    Current System: SRM 7.0 (SP05)
    Archived Documents: SRM 4.0 Documents
    We are trying to retrieve some of the SRM 4.0 documents in our upgraded system (SRM 7.0). We have setup the "Advanced Search" of Employee Self Service, access object is good (BBP_FUNCT - READ_ARCH) and able to list the archived documents in the "Advanced Search" result list. When we click on the "Document number" (URL), another window popups for SC Professional Display, then the system throws exception in the popup stating "Object or set with GUID <object guid> does not exist".
    When I check the system I can find the Object GUID in transaction SARI and looks good. Any inputs on this?
    Archiving Object: BBP_SC
    Archive Infostructure: Z_BBP_SC (Custom Shopping Cart Infostructure).
    Thanks in advance...

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

  • Trouble managing contacts/retrieving archived address book

    Sorry if something similar has already been posted, but any help would be greatly appreciated!
    Bought an iPhone yesterday. After the initial address book sync, I realized that I didn't need many of the contacts, and manually deleted them from my iPhone. Today I set up additional groups in my address book, and then checked only 3 of these in options to sync with the iPhone. I created an archive of my address book and then synced with the iPhone.
    By syncing, everything that I deleted on the iPhone was deleted from my computer's address book. When I try to import the archived address book, it asks me twice if I want to replace, and then only shows one card and no groups (the card shown seems random, it changes every time).
    Anyway, is there any way to retrieve the deleted contacts, either from my iPhone or computer? Help!

    After the initial sync with a supported address book application on your computer, the sync process for contacts is a bi-directional or true sync process with the supported address book application on your computer.
    When you created the Address Book archive with the Address Book on your Mac - at the Address Book menu bar you went to File > Export and selected Address Book Archive?
    If so, your entire Address Book should have been archived. When you go to File > Import > Address Book Archive and select the Address Book Archive that you recently exported, only one contact is available?

  • How do I retrieve archived email

    I hit the wrong button and archived an email and photo which I had wanted to save.  How to I retrieve it?

    http://kb.mozillazine.org/Disappearing_mail

  • Yesterday, as today's deadline for filing tax returns approached, I was paralyzed by the inability to create new IRS PDF forms and to retrieve archived ones from a year ago. My computer went crazy. 24 hours later, I am still paralyzed. Can you help?

    My computer went crazy yesterday on two occasions involving PDF documents. One dealt with attachments to an email from a bona fide corporation. The other dealt with IRS PDF forms & schedules needed for today's submission.
    As both dealt with PDF and had nothing else in common, I suspected my PC had a virus. When I asked a local store technician, he agreed. I turned to Norton, which protects my PC from viruses, and after a few hours of really thorough searching, the computer was found to have no viruses.
    Before describing what I call "crazy" computer behavior, you need to know that I have long had IE8 as my default browser but a few weeks ago switched to Mozilla Firefox because IE8 had beome incompatible with some websites from which I get information.
    When I received the email from AT&T email service and clicked the first of four icons representing attachments, there was figuratively an explosion on my monitor: a series of new tabs, each called New Tab, burst onto the monitor--but no text or picture. The new tabs appeared faster than I coul kill them. I finally decided just to shut down the computer, hoping they would not reappear when I restarted. I was wrong. After 2 repeats, I decided to forget about the attachments and asked the sender to send them to me by regular mail.
    That was no solution for my IRS PDFs. I wanted to complete filling in the various forms and schedules that I had begun months ago so that I could mail them today to the IRS (without having to copy them all in ink). When I tried to open the first one, BOOM. The same thing happened: the blizzard of New Tabs atop blank pages; my IRS form or schedule did not show up. Did the same shutdown/restart routine with the same results.
    When I looked at the list of current forms that had to be completed, I noticed something very strange: the icons that began the listing of the documents' names were replaced one by one by Mozilla icons. When I moused over them, they said Firefox HTML. Why?
    Starting the day today, I had the same experience. What's more, when I started to retrieve 2012 IRS PDFs from a year ago, the same New Tab tabs appeared and had to be killed, and Mozilla icons replaced whatever icon was there before.
    Assuming that the problem arose with Adobe Reader's reading of the PDFs, I contacted Adobe but got no helpful phone number because PDFs are a free service and was directed to use this Forum to get help.
    What do I have to do to (a) read and use PDFs in the normal way and (b) remove the Mozilla icon from those that have appeared on icon documents. If Mozilla is the source of the problem, shall I go back to IE8? (In my 80s, I want eventually to replace my old computer but for the time being I must continue using it. It will not take an IE9. Anther possible default browser would be Google Chrome, but I have unfavorable impressions of it because of its intrusiveness, loading my PC with stuff I do not need.
    Can you help?

    The problem is absolutely not Reader. The problem is that FireFox has stepped in front of Reader and handles all the PDF stuff - wrongly in your case. FireFox is DESIGNED to take over PDF files. But it is not capable of doing IRS forms!
    To start with go back to IE for these forms. When you save them to disk DO NOT DOUBLE CLICK ON THEM until this is fixed. Just open the in the normal way - start Adobe Reader and use Open from the File menu.

  • Archiving MM_EBAN and Special stock

    Hi Experts,
    I want to do archiving for these 2 objects: EBAN and SP Stock.
    Anyone can give details on how to do it for specific plant/company code and period. As I found that in the archiving programs RM06BW30 (EBAN), there's no plant/company code and period paramater in the selection screen, and MMREO020 (SP Stock) there's no period parameter. I compared to RM08RARC (IV), there are company code and document date in the selection screen.
    Please help.
    Thank you.
    -auLia-

    In which Release you are?
    RM06BW30 has Plant as parameter in 46c releases, but not anymore in ECC6.
    In ECC6 release you should not use RM06BW30 anymore.
    You shall use: RM06BV47 (preprocessing) and RM06BW47 (writing). Both have as well the plant as selection parameter.
    Best you use always SARA transaction, instead of executing reports.
    In ECC6 there is as well a new report for special stock: MMREO020N.
    You have a residence time for the batch.

  • PP Archiving - Retrieve data

    Hi ,
    Anyone has example to retrieve archived data from archiving object PP_ORDER? I tried but dunno why it cannot get the data from RESB table (structure is RESBD). The below is my codes. Please help. Many thanks.
      MOVE v_AUFNR TO l_rsdsselopt-low.
      MOVE 'EQ' TO l_rsdsselopt-option.
      MOVE 'I' TO l_rsdsselopt-sign.
      APPEND l_rsdsselopt TO l_frange-selopt_t.
      APPEND l_frange TO lt_frange.
      CLEAR l_frange.
      REFRESH t_AFKO[].
      CALL FUNCTION 'AS_API_READ'
           EXPORTING
                i_fieldcat          = v_fieldcat
                i_selections        = lt_frange
                i_obligatory_fields = lt_oblfields[]
           IMPORTING
                e_result            = t_AFKO[]
           EXCEPTIONS
                no_infostruc_found  = 0.
        CALL FUNCTION 'ARCHIVE_READ_OBJECT'
             EXPORTING
                  object         = 'PP_ORDER'
                  object_id      = space
                  archivkey      = l_AFKO-archivekey
                  offset         = l_AFKO-archiveofs
             IMPORTING
                  archive_handle = l_handle
             EXCEPTIONS
                  OTHERS         = 1.
        IF NOT sy-subrc IS INITIAL.
          APPEND l_AFKO TO lt_AFKO_read.
          CONTINUE.
        ENDIF.
        CALL FUNCTION 'ARCHIVE_GET_TABLE'
             EXPORTING
                  archive_handle        = l_handle
                  record_structure      = 'RESBD'  "also tried RESB
                  all_records_of_object = 'X'
             TABLES
                  table                 = t_resb.

    Hi,
    You speak about table RESB  but i see in your code you get table structure RESBD.
    Is it just ?
    Rgds

  • Customer and vendor archive

    Hi,
      how to carry out archiving of vedor and customer master and how to retrieve them.the database is oracle.
    Regards
    Anil

    Hi Anil,
    Archiving Vendor Master Data with archiving Object FI_ACCPAYB.
    Archiving Customer Master Data with archiving Object FI_ACCRECV.
    Vendor Master Data -- FI_ACCPAYB:
    1. It is dependent archiving object. First you have to archive dependent archiving object such as MM_EINA, FI_DOCUMNT,  FI_MONTHLY and MM_EKKO.
    2. Vendor Master Data should be flagged for deletion, and there should be no open items for VMD.
    3. There are 3 areas in Vendor master data i.e. General data, Company Code data and MM data.
    4. You cannot archive company code data and MM data at a time, however you can archive general data and company code data in one archive run and similarly general data and MM data in another archive run.
    5. You cannot delete the General data but you can delete the company code data and MM data.
    Step to Archive:
    SARA > Preprocessing variant > Indicate Vendor that you want to archive > schedule the job.
    Create Write Variant --- Enter VMD >Attributes --- Enter the text and SAVE >
    > Schedule the Job.
    Note: Deletion and Store job is dependent on how you configure the setting in the Archiving object specific customizing- Technical setting.
    FI_ACCRECV - Customer Master Data (CMD)
    General guidelines are similar to that of Vendor master data but dependent archiving objects are FI_MONTHLY,  SD_VBAK, FI_DOCUMNT,  SD_VBAK,  MM_EBAN, SD_VBRK, MM_EKKO, RV_LIKP, SD_VTTK,  SD_VFKK,  MM_MATBEL,  PPBKFLUSH. You have to archive these archiving object first and  then archive customer master data.
    Retrieve archived master data:
    You can display the archived customer and vendor master data through Archive Information system.
    There are SAP Standard Info-Structure. Activate these infostructure, after archiving build the structure then master data will be displayed.
    -Thanks,
    Ajay

  • Retrieve the deleted Invoice

    Dear All,
    We have cancelled an invoice long back. Till Sales order it has been deleted.
    Now our customer sent the payment against that Invoice.
    Is it possible to retrieve all the documents from Sales order to Invoice which was deleted long back.
    Kindly suggest.
    Regards,
    Mullairaja

    Hi,
    Neither do I know. You can refer to some links on this. There are good materials on internet on how to retrieve archived data. Some for your perusal.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/fb69a990-0201-0010-64ab-cbbfc6f0f75b?quicklink=index&overridelayout=true
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/retrieving-archived-data-extracts-1490870
    http://www.thespot4sap.com/SAP_Data_Archiving.pdf

  • Reg Archive files

    I want to know where the archive files will be stored, is it in application server, if i use the function module SUBST_GET_FILE_LIST, can i fetch the files for a particular directory, as i am able to fetch application server files, but i want to know whether i can fetch archive files.
    Thanks & regards.
    venkat.

    Venkat,
              Archived files are normally stored in External storage devises. Generally data which is old and not very frequently acessed is archived, to improve the afficiency of the SAP R/3 system.
              Yes you can retreive archived files. There are standard programs to retrieve archived files.
    For eg: RM06ER30 to retrieve archided Purchase Documents etc.
    a Basis consultant plays the significan role to manage the storage decises such as providing ACESS to the archived data in external storage devises.
    Hope this explanation of mine helps you.
    Murthy.

  • Migration of archived classical g/L data to new G/L

    Priority :High
    Hi,
    Our client is in the process of archiving their financial data and they are using classical GL right now. After archiving they want to migrate to new GL. The question is after migrating to new GL would they be able to retrieve archived data. What are the issues/challenges they faced?
    Please provide suitable datapoints for help.
    Thanks.

    Hello friend,
    When you are reffering to Financial data, i presume that it is FI_DOCUMNT which is financial accounting documents. WHen it is archived, FI_DOCUMNT can be retrieved by Read Programs, Document relationship browser and Archive Info Structures.
    But when retrieving the data from READ program is concerned, the process could be a bit slower as it could be time consuming process. Please note that the Post Processing Program should be executed after the WRITE/ARCHIVE program is executed.This is because the POst processing program helps in maintaining the indices which helps in retrieving the archived data.
    If you are aware of any other / different practice, please share it.
    Rgds...
    Our client is in the process of archiving their financial data and they are using classical GL right now. After archiving they want to migrate to new GL. The question is after migrating to new GL would they be able to retrieve archived data. What are the issues/challenges they faced?
    Please provide suitable datapoints for help.

  • Recovering documents from archiving

    Hi,
    Please guide me how can we recover documents from archiving.
    e.g. Documents like consumption billing documents and invoicing documents.
    Thanks and Regards

    Hello,
    Please see the following link which described the process of Retrieving Archived Files:
    http://help.sap.com/saphelp_nw70/helpdata/en/8d/3e4f9f462a11d189000000e8323d3a/frameset.htm
    I hope this helps. 
    With thanks
    Olivia

  • Archiving News Items

    Can someone please help me with how to archive news items after 30 days? I still want these news items to be accessable to users. So I guess I need to know 2 things:
    1. How to archive news items
    2. How to retrieve archived news items
    Thanks,
    Tara

    Hi Tara,
    This depends on what you call "archived". If you just want news not to be published after a certain date, the Timedependent Publishing Service maybe would be enough for you. See http://help.sap.com/saphelp_nw04/helpdata/en/e8/a9a76828b8dc469969ff450ec81ced/frameset.htm
    If you want them to move to some "archive" folder (located wherever), you could implement your own SchedulerTasks which regulary check documents if they are "old enough" and then move them into some archive folder.
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • Problem in reading archiving documents

    Dear All,
    To see the archived documents, I am clicking on "Data Source" tab in the customer/ vendor/ GL line items execution screen (FBL#N, FBL1N, etc). And thereafter I am selecting Archive tab and pressing enter.
    But I am getting a message "Report RFITEMGL is not intended for archiving object FI_DOCUMNT" thereon.
    Please help, why I am getting this message.
    Regards
    B.Mohanty
    09231059960

    Hi,
    FI documents can be also accessed by transaction FB03. This is standard transaction which is archive enable.
    Check few things,
    1. Check you have activated and built the infostructure
    2. Check for Archive index built
    If any one of the above is carried out then FB03 transaction should work.
    Comming to Archive information system - "Report RFITEMER is not intended for archiving object FI_DOCUMENT".
    When you are using AIS to retrieve archive data then above error should not be appering since archive structure retrieves the data from custom program when the infostructure is activated.
    To overcome this please try with below process and post your output
    1. Delete the structure of FI_DOCUMNT -  Path > SARI > FI_DOCUMNT > Status > Delete Status per Infostructure
    2. Delete the Infostructure table and program - Path > SARI > Customizing > Enter archive infostructure > Click on utilities > Delete table and Delete Program.
    3. Deactivate Infostructure - Path > SARI > Customizing > Archive infostructure > Mention infostrucute > In menu bar click on Archive infostructute > Deactivate
    With the above steps you have completely deleted and deactivated Archive infostructure.
    1. Now Activate the Infostructure for FI_DOCUMNT - Path > SARI > Customizing > select Infostrucute > Activate it.
    2. Build the infostructure
    Now with above 2 steps you have reconstructed your infostructure
    Retrive archived FI documents from Archive explorer > by selecting activate and built infostructure for FI_DOCUMNT
    Doing above process you can see the archived FI documents.
    For the User, archive enable transaction FB03 can you help to retrieve the FI documents.
    -Thanks,
    Ajay

Maybe you are looking for

  • Substantial usability improvement suggestions

    Adobe Reader iOS 10.4.3 (69879) In documents overview the convenient swipe gesture for "delete" already exists. What is about using gesture long tap (pressing/holding down) for Pop up dialogue "renaming" or even better treat that gesture like edit pl

  • How to connect second computer

    How do I connect a second computer to my wireless network. First computer is a laptop and connects fine. Do I have to download drivers etc to the second computer? I have been to the drivers & software page but the advisory videos don't download for m

  • Oracle query tuning : query with Order-by clause

    Hi I am having a query in my database : SELECT * FROM SAPR3.HRP1001 WHERE "MANDT" = 990 ORDER BY "MANDT" , "OTYPE" , "OBJID" , "PLVAR" , "RSIGN" , "RELAT" , "ISTAT" , "PRIOX" , "BEGDA" , "ENDDA" ,"VARYF" , "SEQNR" ; Autotrace output is : Execution Pl

  • How to retrieve the hyperlink source/destination for an image

    Hi I am using Indesign CS4 on windows. I am trying to make my way learning InDesign via the SDK documents. However I am not able to understand how I can do the following In InDesign I have placed an image and using the "interactive" menu added an hyp

  • New Requirement in COPA

    Dear Experts, Our client has following requirement: Client it selling 5 finished product in a combi pack. For this they are maintaining BOM for Final Product (i.e.Combi Pack) and selling the same. now the requiement from client is that they want the