Delete data from archive server

Hello,
we have following question : How do you delete data from archive server which has passed the retention time and need to be removed from archive server.
Have you any ideas?
Thanks,
Stefan

Hi Planung,
For deletion of data SARA transaction is used. Also deletion indicator is required to set for the documents which you are not using. Use the bapi BAPI_DOCUMENT_DELETE  for deleting the documents which are set with deletion indicator.
I hope this will resolve the query.
Regards,
Ravindra

Similar Messages

  • Delete data from application server

    Hi All.
    I have created file in application by using OPEN DATA SET, I need to delete from application server after some validation ,  how to delete?
    Please guide me.
    Thanks in Advance.

    Hi,
    DATA FNAME(60) VALUE 'file'.
    OPEN DATASET FNAME FOR OUTPUT.
    OPEN DATASET FNAME FOR INPUT.
    IF SY-SUBRC = 0.
      WRITE / 'File found'.
    ELSE.
      WRITE / 'File not found'.
    ENDIF.
    DELETE DATASET FNAME.
    OPEN DATASET FNAME FOR INPUT.
    IF SY-SUBRC = 0.
      WRITE / 'File found'.
    ELSE.
      WRITE / 'File not found'.
    ENDIF.
    The output appears as follows:
    File found
    File not found
    Use cane Also Use Function Modue: EPS_DELETE_FILE
    Regards,
    Gurpreet

  • Who has deleted data from Windows Server

    Hi supporters, 
    Somebody has deleted some files from windows server's physical drive from windows XP user machine. This allegation has been made by IT team to a very sincere employee of the company who is working from last 15 years with the firm. So, can you please help
    me to know that how we can find the right & legal way to know who has deleted the data actually because there are personal clash between IT team and accused person (who is very much trustworthy).
    Thus, please help me immediately and confirm me (on following mobile number) that if you could arrange an IT professional to sort out this issue as soon as possible.
    Thank you,
    With best regards, 
    Mukesh Kapoor (09810030276)

    This one may help.
    Apply or Modify Auditing Policy Settings for a Local File or Folder
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Delete file data from Application Server

    Hello,
    How do we delete data from the file on application Server.
    For deleting the file, we use DELETE DATASET <filename>.
    If we want to delete only the data and not the file, how to address it?
    Please let me know.

    Hi , please check the following links, maybe using the truncate dataset can be helpful.
    http://help.sap.com/saphelp_nw70/helpdata/EN/fc/eb3c7f358411d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/d5/c3f58e9f3b11d2960000a0c9308b1f/frameset.htm
    Another way could be get the file name and store in a var , then delete the file and afterwards
    create a new one with the same name as stored in the var.
    Thanks,
    Walter Oliveira.

  • Update/insert/delete data from xcelsius to Database via web service

    Hi,
    I need to create dashboard that go function can <b>update/insert/delete</b> data send to <u>Database</u> thru <u>web services</u>, as i know got 2 xcelsius add-on software which support those of function <b>InfoBurst</b> and <b>flynet </b>
    <b>InfoBurst</b>
    http://www.infosol.com/azbocug/minutes/4-Writeback%20to%20a%20Database%20with%20Xcelsius.pdf
    <b>flynet </b>
    http://www.flynetviewer.com/public/community/Blogs/FlynetXcelsiusServerUser/default.aspx
    Except this 2 purchase add-on xcelsius, any other solution ?  
    Maybe need to write some in MSSQL or C# programming which enable insert, update, delete ...etc  ?
    *note: i not use Xcelsius Engage Server , i use Xcelsius Engage only
    thanks,
    regards
    s1
    Edited by: Leong Pui Kee on Mar 1, 2011 6:06 AM

    Hi,
    As of now in Xcelsius/Dashboard Design there is no feature or functionality to insert/update/delete data from database.
    Solution:
    Create a Web service in let’s say C# or Java, which will perform insert/update/delete operation.
    In Xcelsius add Web Service connection and user above web service.
    Xcelsius Web Service connection provides option to pass input values to a Web Service (Input Pane) and get the result (Output values pane).
    We can pass values to be written to the database as a input to Web Service via Web Service connection from Xcelsius and write data to the database.
    Note:
    Performing delete operation from Xcelsius Dashboard could be risky and may delete important data from database. I would not prefer giving delete option/functionality in Xcelsius dashboard.
    Hope this helps!
    Thank you.
    Regards,
    Vinay Mhaske

  • Error while exporting data from sql server to excel

    Hi,
    I am trying to export data from sql server to excel.
    The query that I used is s follows
    INSERT INTO OPENROWSET( 'Microsoft.Jet.OLEDB.4.0', 'Excel 8.0;Database=C:\Folder1\abc.xls','select * from [Sheet1$A1:IV65000]')
    select 
    column1,column2.... from Table1
    I get the following error message while doing so..
    String or binary data would be truncated.
    The statement has been terminated.
    One of the column's holds data more than 225 characters.
    What is the way to correct this, i want the whole data of the colum in the excel sheet.

    I haven't had great luck with the INSERT INTO OPENROWSET method.  Can you try one of the many samples from one of these 3 links?
    http://www.excel-sql-server.com/excel-sql-server-import-export-using-vba.htm#Excel%20Data%20Export%20to%20SQL%20Server%20Test%20Code 
    http://www.mssqltips.com/sqlservertip/1540/insert-update-or-delete-data-in-sql-server-from-excel/
    https://www.simple-talk.com/sql/database-administration/getting-data-between-excel-and-sql-server-using-odbc--/
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.

  • How to delete messages from IMAP server but keep on computer???

    Hi
    I am using Mail to receive my email messages from the University's IMAP server. My problem is that I need to keep copies of my sent and received emails for archives on my computer but not on the server because space is limited. However, when I check the 'remove messages from server' box in the preferences, it also removes them all from my Mail inbox and sent mail folders. Consequently, I'm constantly needing to go to the server (once a week) and manually delete the messages when my folder is too full and then I lose all of my messages.
    Can someone please tell me how I can keep all of my sent, received and trashed emails on my computer without them being stored on the server?
    thanks
    adam

    Eric is right. An IMAP account is designed specifically to keep email on line, on a server somewhere on the planet. That way you can use any machine anywhere and see your email. A POP account is designed to actually download your email to the specific machine that you are using and remove it from the server. Although there are ways around that...
    So if you want to keep an email on your computer and you want to delete it from the server, you have to make an "On my Mac" mailbox.

  • How do you get deleted data from the app Tote M'Notes back on iPad ????

    How do I get deleted data from app Tote M'Notes back???...Not displaying in my notebook anymore...also how do i retrieve data from apps stored in Icloud?

    Why don't you use the fully-qualified-domain-name (FQDN) of your GW and perform a re-direct to this ?
    This should be known (and everytime the same), addtionally you won't have any problems if there's any load balancer in between or in fron of the GWs.
    Secondly you'll have problems to get the IP -address if there's any proxy server involved.
    /ulf

  • Best way to push change data from sql server to windows/web application

    i apologized that i do not know should i ask this question in this forum or not.
    i have win apps which will load all data initially from db and display through grid but from the next time when any data will change in db or any data will be inserted newly in db then only change or newly inserted data need to be pushed from db side to
    my win apps. now only sql dependency class is coming to my mind but there is a problem regarding sql dependency class that it notify client but do not say which data is updated or inserted.
    so i am looking for best guidance and easy way to achieve my task. what will be the best way to push data from sql server to win or web client.
    there is two issue
    1) how to determine data change or data insert. i guess that can be handle by trigger
    2) next tough part is how very easily push those data from sql server end to win apps end.
    so looking for expert guide. thanks

    Hello,
    Yes, you can create DML trigger on INSERT and UPDATE to get the changed data into a temp table. And then query the temp table from application.
    If you are use SQL Server 2008 or later version, you can also try to use
    Change data capture, which
    can track insert, update, and delete activity that is applied to a SQL Server table and store the changed values on the Change Table.
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Process Chain - Delete File from Application Server

    Hi Gurus,
    Im working with Process chain, and i have a load from a flat file, so my question is :
    How can i delete that file from the application server after was loaded ?
    THANKS IN ADVANCED !!! I REALLY APRECCIATE YOUR HELP.
    Marcos

    hi,
    I have gone through the forum you have posted for deleting files from application server through process chain.
    I have similar reuirement in my project.
    Can you please provide me the solution?
    Your inputs will be highly appreciated.
    Thanks in advance.
    Regards,
    Lavanya.

  • Error  While  Deleting Data  From ODS

    Hi all,
    We are getting short dump while deleting data from a perticular ODS.
    Part of short dump is--
    trigger Location of Runtime Error
       Program                                 SAPLRSAC
       Include                                 LRSACU75
       Row                                     535
       Module type                             (FUNCTION)
       Module Name                             RSAR_TRANSTRUCTURE_ACTIVATE
    help is desperately required
    Regards
    Srini--

    try to activate InfoSource and later delete data.
    Check if all ODS related objects are consistent and active.
    also pls attached the whole dump for more clarity if this does not work.

  • Error while deleting data from a write optimized DSO using a Process Chain?

    Dear Bwers,
    I am facing a strange error while using process chains to delete data from data target which is a write optimized DSO. The process shows as failed but the data gets deleted in the DSO. The error message is as below. Did anybody have a similar problem? Any suggestions.
    Thanks
    Raj
    Error while deleting content of InfoCube/DataStore object ZLSD_G03
    Message no. RSDODSO153

    Please, check if you get any short dump in ST22 related to this issue.

  • Open HUB ( SAP BW ) to SAP HANA through DB Connection data loading , Delete data from table option is not working Please help any one from this forum

    Issue:
    I have SAP BW system and SAP HANA System
    SAP BW to SAP HANA connecting through a DB Connection (named HANA)
    Whenever I created any Open Hub as Destination like DB Table with the help of DB Connection, table will be created at HANA Schema level ( L_F50800_D )
    Executed the Open Hub service without checking DELETING Data from table option
    Data loaded with 16 Records from BW to HANA same
    Second time again executed from BW to HANA now 32 records came ( it is going to append )
    Executed the Open Hub service with checking DELETING Data from table option
    Now am getting short Dump DBIF_RSQL_TABLE_KNOWN getting
    If checking in SAP BW system tio SAP BW system it is working fine ..
    will this option supports through DB Connection or not ?
    Please follow the attachemnet along with this discussion and help me to resolve how ?
    From
    Santhosh Kumar

    Hi Ramanjaneyulu ,
    First of all thanks for the reply ,
    Here the issue is At OH level ( Definition Level - DESTINATION TAB and FIELD DEFINITION )
    in that there is check box i have selected already that is what my issue even though selected also
    not performing the deletion from target level .
    SAP BW - to SAP HANA via DBC connection
    1. first time from BW suppose 16 records - Dtp Executed -loaded up to HANA - 16 same
    2. second time again executed from BW - now hana side appaended means 16+16 = 32
    3. so that i used to select the check box at OH level like Deleting data from table
    4. Now excuted the DTP it throws an Short Dump - DBIF_RSQL_TABLE_KNOWN
    Now please tell me how to resolve this ? will this option is applicable for HANA mean to say like , deleting data from table option ...
    Thanks
    Santhosh Kumar

  • Deleting file from application server

    can any one tell me how to delete file from application server?

    Hi,
      Use statement
      delete dataset 'tmpfile.txt'.
    \tmp\file.txt is the file path on application server which you want to delete.
    Regards
    Sailaja.

  • T-code for delete file from application server

    Hi all!
    Please, has any t-code for delete file from application server? For upload exist CG3Z, for download has CG3Y. And for delete? Has anyone?
    I need to delete file from application server in QA system and i don't want to create a program for this because i will need to transport a request from DEV to QA.

    I don't have contact with basis team.
    The FM EPS_DELETE_FILE support directory name with max 60 char. My dir. has more than that. I need a transaction for this.
    Anybody know if this transaction exist?

Maybe you are looking for

  • Get next value in a Multi Record Block

    Hi, I've a Multi Record block with 2 items like below. pos width 1 7 8 5 13 5 18 2 ie pos in next item is sum of pos and width of previous item.I've already implemented this. The problem is if the user changes width in a particular record,I want to c

  • Sending the text file in ECC 6.0

    Hi All , Note: I searched the so many forums about this but didnt not get the correct solution so I am posting this. In 4.7 version i used the FM SO_NEW_DOCUMENT_ATT_SEND_API1 to generate the Text file, and it is working good. but now after the upgrd

  • How do I export pdf from pages via commandline

    I have a pages document that I use as a documentation for a library that I've written.  When I release the library I hav been manually exporting the document to PDF, but I'm trying to automate the whole process. Is there a way to get Pages to convert

  • IPod flashing red in iTunes

    I left my iPod connected to my computer all night, and when I opened iTunes in the morning to manage it, the iPod icon in the source window was flashing red! I have never seen this before- it was not updating or doing anything in particular at the ti

  • CP5 and Closed Captioning

    How can I adjust the timing of the CC?  I would like to move some to match the audio better. I had hoped I could change the timing on the slide audio window but can't see how. Thank you, Susuan