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

Similar Messages

  • Delete all entries from the following tables - Follow-up Activities (oracle)

    Hello,
    I performed a homogeneous system copy of our development BW system with the database (oracle 11.2.0.3) from the BW production system!
    I already start the oracle database and the SAP system in the target system/server (development BW system) and I´m doing some follow-up activities. One of this activities is (at the system copy guide 6.2.3.2 Activities at Database Level) is to delete all entries from the following tables:
    DBSTATHORA, DBSTAIHORA, DBSTATIORA, DBSTATTORA
    I tried to delete them using SQL Plus:
    sqlplus /nolog
    SQL> connect /as sysdba
    SQL> delete from DBSTATTORA;
    delete from DBSTATTORA
    ERROR at line 1:
    ORA-00942: table or view does not exist
    ... and it show me that error message.
    This is strange because when I go to transaction SE14 and check the DBSTATTORA I see that table exist and contain a lot of entries!
    Why this is happened in SQL Plus!? I´m running the correct SQL statement for doing this type of task or not?
    How can I delete the entries of that tables? Can I do that using the transaction SE14?
    Can you help me please?
    Thank you,
    samid raif

    Hello
    sqlplus /nolog
    SQL> connect /as sysdba
    SQL> delete from DBSTATTORA;
    delete from DBSTATTORA
    ERROR at line 1:
    ORA-00942: table or view does not exist
    It doesn't surprise me as you are not mentioning the schema name here. Instead it should be
    delete from SAPSR3.DBSTATTORA;
    Assuming the schema owner is SAPSR3. if the owner is different then replace that with the correct one.
    Regards
    RB

  • Re:How can we delete the concurrent node entry from the FND_NODE table

    HI ,
    11.5.10.2 on Oracle Solaris on SPARC (64-bit) .
    How can we delete the concurrent node entry from the FND_NODES table without running Autoconfig.
    Currently we are having 3 nodes RAC and we are deciding to remove one node from the RAC and all 3 nodes are registered as concurrent node with application but concurrent manager is running only on one node.
    Lot of the custom configuration we did it at application web tire level. If we run the Autoconfig at that time we need to redo those changes again that we are trying to avoid.
    Regards .

    we are trying to avoid to run FND_CLONE.setup_clean because it will delete all the nodes entries from the FND_NODES.If those entries are invalid then they should be deleted.
    Running AutoConfig after purging the table will populate it with the correct entries.
    In order to populate the nodes entries again we need to run autoconfig and it will change the server id in fnd_nodes and then we need to redo the ADI client configuration on users PC and redo all the changes that we made in jserv and webserver.For ADI Clients, you should use the correct server ids which will be populated in the table for you once you run AutoConfig.
    For jserv configuration, you can refer to (Customizing an AutoConfig Environment [ID 270519.1]) to make the preserve all your custom setup/configuration after running AutoConfig.
    If there any custom script to delete only one node from the fnd_node so that we don't need to run autoconfig after that, then I really appreciate.No.
    Thanks,
    Hussein

  • How can we delete wild card entry from table

    how can we delete wild card entry from table
    i want adjust the seeting for order type print out form
    like in 0id2 i have specified ordertupe nad print form in pm module
    but in oid3 fro palnner group if i make star it is not taking specific defiend field

    Hi....
       Follow these steps....
    1. Goto se16 and enter ur table name.. press F7 you can get selection screen now press F8...
    2. Click one perticuler record that u want to delete.. and press Change icon in App'toll bar...
    3. enter ?H at command field and again press enter...
    4. switch into classical debugger...
    5. write CODE at field ... it will gives EDIT as value...
    6. Change that EDIT into SHOW and press pencel icon just beside the SHOW...
    7. Now press F8...
    8. you can get delete option over there...
    Thanks,
    Naveen.I

  • How to select alternate entries from the database table

    Hi Experts,
    can u help me, how to select alternate entries from the database table.
    Thanks

    As there is no concept of sequence (unless there is a field specifically included for the purpose), there is no meaning to "alternate" records.
    What table do you have in mind, what data does it hold, and why do you want alternate records?
    matt

  • How to speed up the deletion of 11million records from the table

    Hi,
    How to speed up the deletion of 11million records from the table.
    I need expiditious reply. Please do the needfull in advising
    Regards

    Please try to understand the question.Well it would help if you would answer some of the questions you have been asked as your question is not complete and clear and no matter how hard we try, we really need you to try and ask the question properly.
    So as previously asked
    Which simply supports the idea that we need:
    1) better definition of the business purpose (why)
    2) oracle version
    3) operating system
    4) hardware configuration
    to give a moderately accurate answer.
    I would like to add
    5) How many rows in total in the table to begin with.
    6) What is your delete statement
    7) Is this a one time operation or will it happen regularly
    8) Can you use partitioning.

  • Error in creating New Entry from the Client in NW Mobile 7.1

    Hi All,
    I have created a mobile application for Laptops in NW Mobile 7.1.
    I have a requirement to create an entry from the client, i.e., I need to create a PR in the client. The model bindind, the backend adapters, bapi wrappers are in place.
    I have used the standard create BAPI for PR and wrapped it in a BAPI wrapper. I just have to give the PR details and save the entry in the client. The BAPI wrapper has the logic for generating the new PR number.
    My problem here is, when I try to create a new PR, give the details and save, the entry is not getting updated in the backend and the sync state is '201'.
    I checked the "Message Monitoring" in the NW Mobile Administrator for the particular SWCV.
    For this create PR transaction, the particulars are as below
    Message State: Error - Stop Flow
    Message Type: Transaction
    Error: "Error occurred while fetching synckeys from table ZDOE01700000SL"
    "ZDOE01700000SL" is the Sync key look up table for PR(my data object).
    Please let me know where I have gone wrong and guide me in rectifying this problem.
    Thanks and Regards,
    Sunil

    Hi Sunil,
    From my understanding, looks like you are not filling synckey when you are creating a PR in your client. Synckey is a unique key on the DOE using which you can uniquely identify any node.
    There are two scenario's atleast as I know, where this error would have come.
    Case 1. If you are modifying something on client, which has been send by DOE, then you are not supposed to change synckey because it is a primary key. Now if we assume that you are not modifying synckey but when you are sending an update, check if by any chance the synckey is not going to DOE which is one case, and the second one is, after DOE has end that record to client, someone has cleaned up all the tables on DOE for that dataobject or someone has deleted that entry on the backend because of which the entry has been deleted on DOE. In either case, you are modifying something on client which is actually not present on DOE because of which when the DOE tries to look up based on synckey it doesn't find the needed record.
    Case 2. If you are creating something on client, then you are supposed to create a synckey which is a 32 bit character GUID. I think in your case, you are missing the synckey when you are sending it to DOE. Check if there is any API for doing that or you have manually create a GUID and send it.
    Hope it works out.
    Best Regards,
    Siva.
    PS: Reward with points if you find the post useful.

  • Not able to delete a single entry from a log or me...

    I am using Nokia Asha 311. I could not find the option to delete a single call entry from the call log.
    In messages, it gives the option to select the mesage but when I select a single message it also selects the All messages checkbox.
    So how to delete a single call entry from logs or a single message.

    You just need to long tap an individual entry in log or contacts and an options menu will appear up.
    It gives you many options including delete.
    To long tap, you just need to keep your finger there for around 1 second. Hope it helps.

  • How to delete a single entry from GUI History

    All,
    I want to delete a single line of GUI history.
    This is my scenario.  During the installation of SAPGui in the user system , we usually send the preconfigured MDB files also along with distribution. But by mistake i tyoed the administrator password in the user name of the login screen it gotupdated in the master MDB file . Now i wanted to delete the only that particular entry from GUI History.
    PS I donot want to delete the entire MDB file and recreate again.
    Any Info?
    a®s
    Edited by: a®s on Jul 7, 2009 10:56 AM

    Hi,
    It is very simple....
    Here is how you can delete a particular entry from GUI History
    1. Open the login screen.
    2. Place cursor in "User Name" input field
    3. Press spacebar on your keyboard. - This will show all entries from history
    4. Scroll & highlight the entry you wish to delete using arrow keys on keyboard (Do not hit enter, just scroll....leave all entries visible)
    5. Hit "Delete" button on your keyboard.
    Hope this helps.
    Regards,
    -Abhijit

  • The SYSVAL table entry for the database version (16) does not match the required version

    We upgraded from Tidal Enterprise Scheduler (TES) 5.31 to 6.1 on fresh Windows x64 2008 R2 servers.  I did a fresh install but our DBA restored a copy of our database from pre-prod which was at 5.31.  I get the error below.  Note, SQL went from 2005 to 2012 during this upgrade.  Do I need to change a value in this table to reflect the SQL change?
    [04/29 12:47:14:198]:TIDAL Enterprise Scheduler: version 6.1.0.133
    [04/29 12:47:14:198]:Java version: 1.8.0
    [04/29 12:47:14:198]:Java Virtual Machine version: 25.0-b70
    [04/29 12:47:14:198]:Start Time : 04/29/14 12:47:14:198
    [04/29 12:47:14:198]:----------------------------------------------------------------------------
    [04/29 12:47:14:198]:Database URL :jdbc:sqlserver://SQL2012-Host:1433;responseBuffering=adaptive
    [04/29 12:47:14:198]:Database Driver :com.microsoft.sqlserver.jdbc.SQLServerDriver
    [04/29 12:47:14:198]:Maximum number of log files = 100
    [04/29 12:47:14:198]:Added a LogFile called 'RegularFile'
    [04/29 12:47:14:198]:LogManager: setting default log
    [04/29 12:47:14:214]:Retrieved a LogFile called 'RegularFile'
    [04/29 12:47:14:495]:MessageBroker: Instantiated TcpTransportServer (URI = tcp://0.0.0.0:6215)
    [04/29 12:47:16:975]:Retrieved a LogFile called 'RegularFile'
    [04/29 12:47:17:272]:The SYSVAL table entry for the database version (16) does not match the required version (23). Shutting down.
    [04/29 12:47:20:282]:
    [04/29 12:47:20:282]:
    [04/29 12:47:20:282]:Shutting down the application

    I had this error last night while applying a patch to 6.0. However in my case the version was 21 versus a required version of 23.
    As far as i know 6.1 is not compatible with the 5 db schema, so you will need an update / migration plan for the db also.

  • Moving table entries across the landsacpe

    Hi All,
    I have couple of custom transparent tables and now i need to move the content of the tables from our development system to quality system and then to production. Now the issue is that I can't select the entries that I want to move and create a transport as TRANSPORT ENTRIES option is disabled, we have also not maintianed any Table maintenance generator, so I can't use SM30 as well. Is there any other way that I can move my table entries acros the landscape.
    Thanks,
    Rajat

    Yes it's possible. Create a transport request in SE01 and then edit the transport request and add an entry with the the values :
    R3TR TABU <TABNAME>
    Then double-click the key and put * as the key. Or else, just add the keys of the entries you want to transport.

  • How do I delete all calendar entries from iPhone 3G S

    My iPhone calendar is out of sync with Outlook (2007, connected to an Exchange server). There are appointments no longer in Outlook that are still on the iPhone, and appointments with the wrong time on the iPhone. SO I want to remove all the calendar entries from the iPhone and then redownload everything from Outlook.
    So how do I delete all the calendar items from the iPhone WITHOUT deleting them from Outlook or messing with my Outlook profile?

    Thanks, Allan. Actually, I prefer to sync my calendar via iTunes because I refresh Outlook and sync via iTunes much more frequently than I fire up VPN to get directly to exchange. But I did use your tip the other way - I turn ON Exchange Calendars to blow away my current iPhone content, then turned it back off to delete the Exchange content. That left me with an empty iPhone calendar that I could then load via iTunes sync.

  • How I could transport table entries from table NRIV

    Does anyone knows how I could transport table entries from table NRIV.
    I can mark them in se16 but the "table entries"->"transport" is grey. What shouuld be done.
    Is there another way to transport NRIV entries.
    Thank you in advance

    Hi,
    Goto SE01 -> Create Transport Request.
    Assign the Workbench request/Project.
    Single click the TR. Click on the DISPLAY OBJECT LIST or Press SHIFT + F11.
    Click on CHANGE -> Insert.
    PgmID Obj Object name
    R3TR TABU NRIV
    CLick Extras -> Change Object Function -> All entries.
    Save.
    Release the Tr.
    Best regards,
    Prashant

  • Reagrding transporting of custom table entries from D to Q.

    Hi,
    I am trying to transport couple of entries which I did using table maintainence in SM30. But when I go to Maintain option -> Table View -> Transport, I see the Transport option inactive.
    Can someone tell me how to activate that option or how to move custom table entries from one system to other ?
    Regards,
    Rajesh.

    Hi rajesh,
    1. For this purpose, the delivery class of that table should be C = Customizing.
      (at present it would be A =  Application)
    2. This is done in se11 transaction.
    3. After changing the delivery class, we have to RE-GENERATE
       the table maintenance.
    4. Then, whenever we do SM30, it will automatically ask for a request number.
    regards,
    amit m.

  • Remove an oracle home entry from the central repository

    Does anyone know how to remove an oracle home entry from the central repository (inventory.xml file), after the oracle home in question has been deleted. It is left behind and I want to clean it up.
    thanks

    I went to the link you have posted and it did not help me.
    I cannot get rid of my Oracle Home directory. When I attempt to delete this folder, I
    get an error message:
    oci.dll ...is write protected or in use..
    So I deleted this oci.dll file. Then I rebooted and tried to delete the OraHome directory (folder)
    again, and I get the SAME error!!
    Thanks for any advice.

Maybe you are looking for

  • How to transaction in the message driven bean?

              hello           i write a message driven bean,that monitor the weblogic message queue,when a "Order"           object is witten to the queue,the mdb get it and write it to a entity bean "Orderinfo".all           of above logic is within the

  • Storage Problem with Zen vP

    Hi folks,?I recently got?a Zen vPlus for Christmas, and with only 82 songs, 7 pictures, and [short] video, it appears that all of my 2 GBs are already used up. When I go into 'extras' and 'removable disc', it seems that GB is dedicated just to that,

  • Use of field - Transaction Type in F.01

    Dear All, Can anyone explain the use of field Transaction Type in Dynamic Selection in transaction code F.01. If I have understood correctly, these are related to fixed assets. If I select any transaction type, say for instance 120, which is related

  • Error message on my mac os x stating wrong firefox address

    I have reloaded firefox but when I click on the icon it keeps leading me to www.,.com. I have tried to change the address on the address bar, but it won't open the website.

  • Truncated Data and CLOBs

    When I fetch data I'm trying to access some CLOBs as strings (i.e. when I define them I used SQLT_STR instead of SQLT_CLOB). The problem is that some of CLOBs are over 4000 bytes and 4000 is the size I get from OCI_ATTR_DATA_SIZE. Needless to say som