Deletion of table entries(without maintenance view)  in production

Hi Sap All.
here i have got a task to change the data type of one particular field and to delete all the table entries of this table in production.
so in Dev I have tired with z program saved in local object  (DELETE FROM Table).
i just want to know how i can delete all the entries of table in production.
regards.
Varma

Hello,
You can also use transaction SE14.
Start SE14
Enter the table name
Select the radio button "Delete data".
Push the button "Activate and adjust database".
This will drop your table in the DB and recreate it as well as all related indexes.
Indexes are not impacted when you do a regular DELETE statement unless you rebuild your indexes.
Of course you can only do this if data can be deleted for a specific table in ALL clients.
Wim

Similar Messages

  • Check who's deleted table entries without SCU3

    Hi,
    we need to find out which program or user deleted some table entries. The Where-used-list doesn't show anything, so it must be a dynamic call. The table has 'Log data changes' switched on, but we don't have the system logging set due to performance reasons. Is there nevertheless a chance to find out who deleted the entries?
    Regards
    Nicola

    Regarding where-used-list, maybe the table is part of a maintenance view, you should check this as well.
    If there is no table logging and the changes are not recorded in transport requests, then I'm afraid there is no way to find out.
    Thomas

  • Without delete PDP table entry, I want to Order PO in R/3. How can I do it?

    Hi SRM Gurus,
    I am using SRM 5.5 with Extended Classic Scenario and Plan Driven Procurement(PDP).
    My question is: I was unable to create PO with reference PR/RFQ/Manually  in R/3.System is giving an error message 'you can order locally(SRM)'. Which material group and Purchasing groups are maintained in PDP table. If I delete this entry I can Order PO in R/3.
    Now I don't want to delete PDP table entry and I want to Order PO in R/3. How can I do it?.
    Please focuses light on this issue. Highly appreciate.
    Regards,
    John.

    Hi
    I think you can do in both sides
    let me know your scenario too well.
    I am in classic scenario
    i can create a PR - if i have valid unique source of supply , PO will be created in ECC
    If i have more than one source of supply , my PR will get EPRTRANS TABLE ENTRY with EPROFILE updated in EBAN table and my ECC pr wil be transfered to SRM and create  a sc and this cart will be in cockpit.
    I believe your PR has EPROFILE , thats why you could not create a PO in ECC side.
    confirm me.
    How to you assign a source of supply for PRs ? I wanted to know. so i can expalin easilyand any jobs you create to create a Auto POS in ECC after assign a source of supplt to your Purchase request.
    br
    muthu

  • How to deselect refrence table fields in Maintenance view.

    Hello,
            Could any one tell me how to deselect all fields here except mara .
    In the first link as below it shows the table selection tab in maintain view window.
    http://postimage.org/image/6701iidlh/
    When i click Relationships after selecting one base table , i get the second link as u see below
    http://postimage.org/image/p7wpknnht/
    I m unable to deselect the referenced tables Could some one throw light on this.
    Thanks
    Edited by: sarat on Nov 23, 2011 11:50 AM

    HI ,
    Find the below thread ,
    Hiding primary key field in Table maintenance generator
    It will help you to deselect refrence table fields in Maintenance view.  
    Regards,
    Saravana.S

  • Check Table data in Maintenance View event

    Dear all, i created a maintenance view for a customer table and a must carry out a validation over the whole table when any record is created, modified or deleted.
    The table has a column with percentages and after save a modification I have to verify that the values in this columns make 1 (100%).
    For this, I created a routine in the event 01 (Before Saving the Data in the Database  ) of the maintenance view, but I can find the way to read all the records of the table.
    I tried with the tables TOTAL and EXTRACT, but these have '#####' as values in the percentages column.
    If someone need further information please let me know.
    I´d be grateful if someone lead me to a solution.
    Thanks in advance.
    Mariano.

    Hi, thx Madan Kochana .
    I prefer do not modify the screen.
    The column is defined as dec 3,2 and is filled with values like 0.25 or 0.10 in the view.
    Thanks for your help; i'll appreciate any kind of solution.
    Mariano.

  • HIde table field in maintenance view

    HI ,
    i have table with 5 column and i want to create new maintenance view  but hide one of the field for maintenance ,
    i need to deliver this table to prod so i need to keep the changes on transport .
    i don't want to do it via code since when i regenerate the maintenance view again it will deleted .
    there is another option ?
    Regards
    Nina
    Moderator message - moved to the correct forum.
    Edited by: Rob Burbank on Oct 1, 2009 4:26 PM

    Hi
    1 ) I need to delete the maintenance that i do to the table like i mention in previous post ?
    Yes u can delete the maintenance program created for your Z (transparent table): it'll be useless, anyway it's not necessary to delete it, but if you think it won't be used, it's better to delete it.
    2 ) create to the table maintenance view and i hide the field
    Yes, u need to create a maintenance view based on your Z (transparent) table and set the flag for the fields to be hidden.
    when i create it in the tab view fields i see just the key fields of the table why ?
    Because the system inserts the key fields by default, the other fields has to be placed manually, u can also decide to insert only the fields u need to show and manage in maintenace program, i.e. the maintenance view (but in generally a table view) can have only certain fields of a transparent table, it's not necessary it has all fields.
    in the table join condition i just put the table name do i need to do something else ?
    No u don't need to do anythingelse
    Max

  • Append table - Regenerating a maintenance view

    People,
    I would like to create one more fied in a standard table, so I will create an append in this table.
    But it has a maintenance view associated to it. As this is a standard table, is there a way to regenerate this maintenance including the new field ?
    Thanks a lot!

    I´m not sure the maintenance view is regenerated.
    This is a standard table and I don´t want to get an access key to solve this.
    Anyone here has this experience?

  • Populate table control in maintenance view

    Hi all,
    I need to load data from an excel file and then call the maintenance view from a table through SM30 transaction,
    I want to see the data from the file already loaded in the table control,
    any idea how could I achieve this?
    I don't know how could I do it, I've been working with events but I have no idea how to manage the entire table,
    I just can handle row by row of the table.
    Any help will be appreciated, thanks in advance.

    Ótimo,
    Muito obrigada, vou tentá-lo, falo um pouquinho de português graças a Deus.

  • Delete ARP table entry

    I need to create a program to delete an entry in the ARP table in Windows 7 with LabVIEW or TestStand.  The test that I am developing communicates with the DUT over Ethernet.  Each DUT has the same IP address to start but different MAC addresses.  I am noticing that there can be long delays in the test execution when trying to connect and deleting the previous entry in the ARP table seems to help.  But currently I have to do this manually through the command line.  The command "arp -d" requires elevated privileges.  I have been having a tough time getting LabVIEW to elevate the system exec.  Does anybody have an ideas? Is there any .NET access to the ARP table?
    Thanks,
    Paul
    Solved!
    Go to Solution.

    I would try looking into tuning the ARP timing parameters in Windows.
    We suffered from various TCP performance/connection problems some years ago and our solution was to modify the the default number of TCP sockets and timeouts (we were experiencing port exhaustion). The tweeks eliminated most of our problems, no LV/TS code changes required.
    I tried to find info on ARP settings for Windows 7, but it seems that there is much less info available than ther is for XP.
    The registry keywords most common for older versions of Windows were "ArpCacheLife" and "ArpCacheMinReferencedLife"
     EDIT:
    These settings were apparently removed in Vista. I found this on the M$ site; they may apply to later versions as well since M$ is following an RFC for ARP management...
    http://support.microsoft.com/kb/949589
    Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
    If you don't hate time zones, you're not a real programmer.
    "You are what you don't automate"
    Inplaceness is synonymous with insidiousness

  • Delete a Table entry

    Hi , A blank entry got created in table t77ua through modify statement .  Now i am unable to delete this entry through SM30.
    Is there any tcode to delete that blank entry apart from DELETE statement ?
    Thanks & Regards,
    John.

    john,
    you can do one thing, run sm30  select that perticular record by row selection ( select Box).
    then start debuging an  give any user command ( eg, select Save Button).
    when debuging starts, check sy-ucomm and write 'DELE' forcefully then run program.
    this is just tricky but .....it will definatly works...
    reward if useful,
    Sandeep

  • Change Log Table entries without Dates and How to Delete these entries !!

    Hello Experts,
    I was analyzing Change Log tables of some DSOs and figured out in some tables we don't have Date Column and some tables with date columns but many entries with "00/00/0000" date.
    Any ideas on this ? Any idea how records can get into the table without dates and if SAP provides a safe way to remove them (without dates) ?
    Many Thanks in advance, Please help.
    Regards,
    S. Patel

    Hi Sunil
    Date fileds 00/00/0000 means date are blank..that means either you did not get  them from source system or the transformation is not mapped.
    Do not delete change log selectively, that might affect your delta  loads.
    Rather delete  old change log ...
    From DSO administration ---use the main menu to choose Environment ® Delete Change Log Data.
    For more information you can check the log below.
    Cheers
    Anindya

  • Deletion of table entries from the programTADIR

    i am using the the program to fetch the data from TADIR and for certain package and i am displaying the data on the screen.know i need to delete the data in the table TADIR, in the debugging mode i have noticed that the developement class is also existing so when i write the delete statement in the loop then the development class will also get deleted, can any one help me out in this, attached sample code.
    SELECT pgmid              "Program ID in Requests and Tasks.
             object             "Object Type.
             obj_name           "Object Name in Object Directory.
             srcsystem          "Original System of Object.
             author             "Person Responsible for a Repository Object.
             devclass           "Package.
             crelease           "SAP Release.
             delflag            "Deletion Flag.
             FROM tadir INTO TABLE i_fetch_data
             WHERE devclass = p_dclass.
      IF sy-subrc = 0.
        LOOP AT i_fetch_data INTO wa_fetch_data.
          WRITE:/10 wa_fetch_data-pgmid,
                 30 wa_fetch_data-object,
                 50 wa_fetch_data-obj_name.
        delete table i_fetch_data from wa_fetch_data

    Hi,
    It is possible to delete entries from table in debug mode without writing any prog
    but since this is sensitive, i dont want to post an answer on SDN.
    if u really want an answer , mention ur req clearly and mail me on
    [email protected]
    tc
    saji

  • Delete the table  entries on db2

    Hi,
       when iam applying pathces iam getting dump,i want to delete the entires on pat01 table,whats the command to see the tables and delete the entry on pat01,02,03 tables.
    Thanku

    Hi Kumarraju,
    To get the tables in a database you can use the following command
    db2 "LIST TABLES"
    The LIST TABLES have many options, with which you can restrict what will be returned. Execute the command to see them:
    db2 "? LIST TABLES"
    Besides, pay attention to the Type column, which indicates whether the object is a table or a view.
    Regarding your second question, I can't follow you: do you want to delete the entries in a table ?
    Best regards, Edgardo

  • Database table entries not getting viewed on SAP Screen

    Hi
    I have created Z-Code to update a standard SAP table.  After executing my program I can see my desired entries in that SAP database table but when I am trying to view that same entries in SPRO I am not able to view it there.
    Am I missing something? Even if my entries are coming in SAP database table do I need to do something extra to view them on SAP screen.
    Thanks
    Tushar

    >
    Tushar Gawande wrote:
    > Hi
    > I have created Z-Code to update a standard SAP table.  After executing my program I can see my desired entries in that SAP database table but when I am trying to view that same entries in SPRO I am not able to view it there.
    > Am I missing something? Even if my entries are coming in SAP database table do I need to do something extra to view them on SAP screen.
    > Thanks
    > Tushar
    /slap your hands
    You're missing some common sense and the knowledge to be tasked to do such a thing. And the person/consultant who gave you this task as well.

  • Delete internal table rows without using loop statement

    i have an internal table which consists of 100 records.
    i need to keep only first 5 records.
    without using the loop statement i need to delete the rest of the records. how can we achieve this result.
    i.e.  delete itab1 where  "recordno"  > 5.
    regards.
    ZG

    Hi,
    Delete itab [FROM idx1] [TO idx2] {Where (log_exp)]
    To delete several lines at once, you have to specify at least one of the additions FROM, TO, or WHERE. You can only use the additions FROM and TO with standard tables and sorted tables.
    Delete itab [FROM idx1]
    If you specify FROM, all the table rows from the table index idx1 onwards are included.
    Delete itab [TO idx2]
    If you specify TO, all the table rows from the table index idx2 onwards are included.
    PARAMETERS: p_carrid TYPE sflight-carrid,
                p_connid TYPE sflight-connid.
    DATA: BEGIN OF seats,
            fldate    TYPE sflight-fldate,
            seatsocc  TYPE sflight-seatsocc,
            seatsmax  TYPE sflight-seatsmax,
            seatsfree TYPE sflight-seatsocc,
          END OF seats.
    DATA seats_tab LIKE STANDARD TABLE OF seats.
    SELECT fldate seatsocc seatsmax
           FROM sflight
           INTO TABLE seats_tab
           WHERE carrid = p_carrid AND
                 connid = p_connid.
    LOOP AT seats_tab INTO seats.
      seats-seatsfree = seats-seatsmax - seats-seatsocc.
      MODIFY seats_tab INDEX sy-tabix FROM seats.
    ENDLOOP.
    ENDLOOP.
    SORT seats_tab BY seatsfree DESCENDING.
    DELETE seats_tab FROM 5.
    Thanks & Regards,
    ShreeMohan
    Edited by: ShreeMohan Pugalia on Jul 21, 2009 4:28 PM

Maybe you are looking for

  • GR amount not reversed

    Hi!  I have a PO with GR and IR.  But since the IR was posted last year, we couldnt reverse it so we just had a Credit memo for it.  Now looking at the PO history tab, the IR is still there and not reversed, and under it is a SD-L Credit Memo with qu

  • Mismatch column name in report viewer and PDF export?

    I have text box in the header and populated dynamically. If my query result is more than 1 page, when i go to next page, the column value will change but when i export it to PDF or Word, only the column value of the first page will appear. Please see

  • Maintain payment method in CRM

    Hi, due to some organisational restrictions most customer master data is maintained in CRM. Payment terms can be maintained in the sales area. Also the payment methods should be maintained here but the financial data is not available. Is there a way

  • Rezised editable regins

    Hey all, I am running into an issue when I paste text into an editable region in an xhtml file--it automatically resizes the region width (to wider), and will not shrink again. I tried just copying unformatted text, that doesn't work. I also tried re

  • I lost My iphone 4 police were not responding what to do

    Dear Apple Team I lost my iphone 4, its been 4 to 5 months now police were not tracking, i have seen in my icloud account in find my iphone it says your iphone is erased and it shows some else name like raaziphone its changed and it always showing of