FM to delete tables alongwith contained data

Hi,
My requirement is to find out FM and Dictionary objects used in program and to delete it, if not used in other programs.
I am using FM 'RS_DD_DELETE_OBJ' to delete dictionary objects however it does not allow to delete the tables if it contains data (with no_ask = 'X' which prompt for user confirmation). Please provide me the FM/FMs which delete the tables alongwith the contained data without user interaction.
PS: If anyone has program code which retrieve FMs/Dictionary objects used in it, it will be great.
Thanks in Advance,
Ni3

Check FM DD_DELETE_TABLE
Might help
-RJ

Similar Messages

  • Setup tables : datasource contains data still to be transferred

    Hi,
    When I run setup tables for orders, system collects only around 1000 records & says :  DataSource 2LIS_11_VAHDR contains data still to be transferred. I ran it for a few no of times but still I get the same records & Same msg. Can U suggest how to collect all the records. I am not concerned abt down time .
    Thanks in advance,
    Kishor M.

    Hi Kishore,
    These are t.codes for filling SD setup tables.
    T.code : OLI7BW   For Orders
    T.code : OLI8BW   For Delivery
    T.code : OLI9BW  For billing.
    Using above T.Codes we can restrict data based on Sales org & Company code & Document wise.
    For filling setup table following fields are mandatory.
    Name of Run
    Termination date & time  :  Date & Time, up to which the run is carried out.
    Thanks,
    Vijay Sekhar Reddy.

  • Deleting table name containing special characters/length

    hey all -
    a modeling program (erwin) created this table, which i am currently unable to drop. i am using dbvisualizer to connect to the db. the table name is:
    DBDB.BIN$6YefzzGY8ingMAB/AQBlXA==$0
    trying to kill it:
    drop table DBDB.BIN$6YefzzGY8ingMAB/AQBlXA==$0
    ORA-00933: SQL command not properly ended
    drop table "DBDB.BIN$6YefzzGY8ingMAB/AQBlXA==$0"
    ORA-00972: Identifier is too long
    drop table 'DBDB.BIN$6YefzzGY8ingMAB/AQBlXA==$0'
    drop table '"DBDB.BIN$6YefzzGY8ingMAB/AQBlXA==$0"'
    drop table 'DBDB.BIN$6YefzzGY8ingMAB/AQBlXA\=\=$0'
    drop table '"DBDB.BIN$6YefzzGY8ingMAB/AQBlXA\=\=$0"'
    ORA-00903: invalid table name
    i have played with some other things as well. still can't kill it - any suggestions?? tell me how to kill this thing!!

    please read the posting below:
    deleted item in oracle

  • Hyperion Explorer 8.3 querying multiple tables that contain a specific item

    I have 3 annual tables that contain data for 3 different years.  Each table has a sale amount, item sold, and customer ID.  I want to pull a specific customer ID from all 3 tables at once. 
    Is there a way to achieve this?
    Thanks!
    Johnny

    Add the 3 fields from the first table, then click Query > Append Query, then add the same 3 fields in the same order from the second table, then add the same 3 fields in the same order from the third table.  This creates a UNION between the three tables; which means they need to be in the same order and have the same datatype.
    If you want to show duplicate data found in the different sources, just change the UNION operator to a UNION ALL operator, otherwise it will suppress any duplicate rows.
    To limit the data to one specific customer ID, you can set a limit on each of the UNION tabs with 'Customer ID = <selection>'.
    Good luck!
    Jarod Vierstra

  • Track table that contains a block id

    Friends
    Is it possible to find wich table(s) contains data from a specific block?
    I got stuck on a scenario that I'm not using RMAN and I got a block corruption and I need to fix it...
    I have the block#, but I could not find a querie to track which table contains that data
    Cheers

    SQL> select file#, block#, CORRUPTION_CHANGE#, CORRUPTION_TYPE from V$DATABASE_B
    LOCK_CORRUPTION;
    FILE# BLOCK# CORRUPTION_CHANGE# CORRUPTIO
    3 144438 0 CORRUPT
    3 144277 0 CORRUPT
    3 144446 0 CORRUPT
    12 134018 0 CORRUPT
    3 144501 0 CORRUPT
    12 134714 0 CORRUPT
    3 144493 0 CORRUPT
    3 144293 0 CORRUPT
    3 144309 0 CORRUPT
    3 144325 0 CORRUPT
    SQL> select segment_name, segment_type, owner
    2 from dba_extents
    3 where file_id = 12
    4 and 134018 between block_id and block_id + blocks -1;
    SEGMENT_NAME
    SEGMENT_TYPE OWNER
    PRODUCT
    TABLE BLI
    I'm not running rman :(

  • Reg. table name, that contains data of deletion of PP & PM operations(point

    Hi all,
    Could any body tell me the table, that contains task list operation deletion data in PM terms of tcode IA01.
    or in case of PP u can see routing data operation.
    It's urgent.....
    Help me & have ur poinrts.
    Regards,
    pradeep phogat

    HI smith,
    Actually in tcode IA02, when we select an operation & make it delete...then in table PLPO i am getting no deletion field. Actually i am making a change BDC for changing the frequency of the operation. So in that i need to consider the deleted operation........
    Reply plesssssss

  • Abap code not working  - deleting based on master data table information

    Hi,
    I wrote a piece of code earlier which is working and during test we found out that it will be hard for the support guys to maintain because it was hard coded and there is possibility that users will include more code nums in the future
    sample code
    DELETE it_source WHERE /M/SOURCE EQ 'USA' AND
    /M/CODENUM NE '0999' AND
    /MCODENUM NE '0888' AND.
    Now I created a new InfoObject master data so that the support people can maintain the source and code number manually.
    master data table - the codenum is the key.
    XCODENUM    XSOURCE
    0999               IND01
    0888               IND01
    now I wrote this routine all the data gets deleted.
    tables /M/PGICTABLE.
    Data tab like /M/PGICTABLE occurs 0 with header line.
    Select * from /M/PGICTABLE into table tab where objvers = 'A'.
    if sy-subrc = 0.
    LOOP at tab.
    DELETE it_source WHERE /M/SOURCE EQ tab-XSOURCE AND /M/CODENUM NE tab-XCODENUM.
    ENDLOOP.
    Endif.
    But when I chage the sign to EQ, I get opposite values , Not what I require.
    DELETE it_source WHERE /M/SOURCE EQ tab-XSOURCE AND /M/CODENUM EQ tab-XCODENUM.
    Cube table that I want to extract from
    /M/SOURCE                             /M/CODENUM
    IND01                                       0999
    IND01                                       0888
    IND01                                       0555
    IND01                                       0444
    FRF01                                      0111
    I want to only the rows where the /M/CODENUM = 0999 and 0888 and i would also need FRF101
    and the rows in bold  should be deleted.
    thanks
    Edited by: Bhat Vaidya on Jun 17, 2010 12:38 PM

    It's obvious why it deletes all the records. Debug & get your answer i wont spoon feed
    Anyways on to achieve your requirement try this code:
    DATA:
          r_srce TYPE RANGE OF char5, "Range Table for Source
          s_srce LIKE LINE OF r_srce,
          r_code TYPE RANGE OF numc04,"Range table for Code
          s_code LIKE LINE OF r_code.
    s_srce-sign = s_code-sign = 'I'.
    s_srce-option = s_code-option = 'EQ'.
    * Populate the range tables using /M/PGICTABLE
    LOOP AT itab INTO wa.
      s_code-low = wa1-code.
      s_srce-low = wa1-srce.
      APPEND: s_code TO r_code,
              s_srce TO r_srce.
    ENDLOOP.
    DELETE ADJACENT DUPLICATES FROM:
    r_code COMPARING ALL FIELDS,
    r_srce COMPARING ALL FIELDS.
    * Delete from Cube
    DELETE it_source WHERE srce IN r_srce AND code IN r_code.

  • How to delete the table entries (created data )

    in which table the created data will be get stored i need to delete it programitically can any one help me out in this, plz tell me the table name where the created data will be get stored.

    Hi
    Rocky
    use the delete statement
    the information regarding delete is
    DELETE dbtab
    Syntax
    DELETE { {FROM target [WHERE sql_cond]}
           | {target FROM source} }.
    Effect
    The statement DELETE deletes one or more rows from the database table specified in target. The rows that are to be deleted are specified either in a WHERE condition sql_cond or with data objects in source.
    System Fields
    The statement DELETE sets the values of the system fields sy-subrc and sy-dbcnt.
    sy-subrc Meaning
    0 A least one row was deleted.
    4 At least one row could not be deleted, since it was not found in the database table.
    The statement MODIFY sets sy-dbcnt to the number of deleted rows.
    Note
    The rows are deleted permanently from the database table in the next database commit. Until then, you can cancel the deletion in a database rollback.
    plzz reward if helpfull dont forget to reward if helpfull..
    for any further quiries my mail id is
    [email protected]

  • How to delete or Update the data in the MEAN table

    Hello Gurus,
    I would like to delete or update the data in the MEAN table...how to do it.
    Precisely I would like to change the status of Main EAN Indicator (field HPEAN).
    Kindly let me know ??
    Rehards
    Senthilll

    programmatically, you may use [BAPI_MATERIAL_SAVEDATA|https://www.sdn.sap.com/irj/scn/advancedsearch?query=bapi_material_savedata&cat=sdn_all] [EAN|https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_all&query=bapi_material_savedata+ean&adv=false&sortby=cm_rnd_rankvalue]
    Regards,
    Raymond

  • How to create a table which contains relational data and Document data

    hai all
    i need to create a table which contains relational data(i mean coulumns whose data types are type NUMBER,VARCHAR) and documents(like xml file/html file/image)using iFS.
    when i store the document data(xml data/html data) in the iFS ,it will be stored as Document Object.so how do i relate this document object belongs to a particular row in a table.
    do guide me
    thanks

    Please see reply at http://technet.oracle.com:89/ubb/Forum36/HTML/000778.html

  • Table that contains the change date for every cost element

    Hi everyone!
    Can anyone please help me find a table which contains the change date for every cost element?
    Thanks,Jess

    If you basically want to find out if anyone changed the cost element, you need to use transaction KA05 and enter the cost element and controlling area.
    This would actually bring you whatever field was changed and on double clicking give you the actual change and the date on which the change was made.
    Problem is this change date is actually the creation date of a change document which is in the table CDHDR.Its not like the change date is on any master tables.
    Hope this helps
    Deepa

  • Delete large amounts of data from a table

    I have a table with about 10 fields to store info for customers. Over time as we have added more customers that table has grown to about 14 million rows. As the data comes in a service constantly inserts a row into the table. 90% of the data is not revelent
    i.e. I don't want data that is 3 months ago, but the most recent data is used to generate tracking reports. My goal is to write a sql to perform a purge of the data that is older than a month.
    Here is my problem I can NOT use TRUNCATE TABLE as I would lose everything? Yesterday I wrote a delete table statement with a where clause. When I ran it on a test system it locked up my table and the simulation gps inserts were intermittently failing. Also
    my transaction log grew to over 6GB as it attempted to log each delete.
    My first thought was to delete the data a little at a time starting with the oldest first but I was wondering if there was a better way.I am expecting solutions apart from these :
    1.Create a temp DB and copy the required data into temp Db and truncate the original.
    2.Deleting in chunks(i.e.,1000 -10000 records at a time).
    3.Set the Recovery mode  as simple

    I agree with Satish (+1)
    This
    is the right way to do it. Your database architect should think about this, and you can use partitioning by the condition for deleting (for example years if you are deleting old year data). 
    check this like for more details (but most of what you need
    Satish already mentioned): http://www.sqlservercentral.com/scripts/Truncate+Table/69506/
    * in the link you have SP named TRUNCATE_PARTITION which you can use
    [Personal Site] [Blog] [Facebook]

  • What tables contain data for the CUP requests in 5.3?

    What are all of the tables that contain the data that appears in the CUP requests?  We are on version 5.3 SP13.
    We are selling off one of the divisions of our company and one of the terms is that we have to provide all relevant data, including CUP requests.  Since there are several hundreds of requests for this division (last count was over 600), it is not practical to just download the individual requests out of CUP.  So plan B is to just give them the data.
    I know there are several tables that contain this data, and I know some of them (such as VIRSA_AE_REQD_HDR and VIRSA_AE_RQD_WPHS), but I don't know all of them.  (and I would rather not have go thru and to check every table)
    Thanks.

    Hi Bob,
    I have never looked at the VT_AE tables to extract any information. Since your requirement is unique, I have a positive note that SAP would help you with it. Giving a try would worth it sometimes
    Else, paste the list of tables here, so that some one can help you.
    Have a great weekend!!
    Cheers,
    Raghu

  • Need to update a table that contains large volume of xml data

    Hi,
    i want to update a table that contains large amount of XML data.
    when execute the query it shows an error .
    Xml parsing is failed .But tghe data in xml is well formed.don't know why its happening .
    Pls help me on this.
    Thanks,
    Fahad

    below is my code..
    pls do the needful.
    create or replace
    PROCEDURE SPFETCHRETRIEVEDATA (
        p_txteordernum IN trnorderitem.TXTEORDERNUM%TYPE,
        p_intversionnum IN trnorderitem.INTVERSIONNUM%TYPE ,
        p_interrorcode OUT NUMBER)
        AS
        ------variable declaration---
        v_xmlorderitem XMLTYPE;
        v_trnsiebelmodification XMLTYPE;
        diff XMLTYPE;
            BEGIN
                BEGIN
                select xmlorderitemxml into v_xmlorderitem
                from trnorderitem
                where TXTEORDERNUM= p_txteordernum
                AND INTVERSIONNUM= p_intversionnum;
                  END;
               --insert into tempxml values ('xmlorderitem',v_xmlorderitem);commit;
                BEGIN
                SELECT TrnSiebelModificationXML into v_trnsiebelmodification
                from trnsiebelmodification
                where TXTEORDERNUM= p_txteordernum
                AND INTVERSIONNUM= p_intversionnum
                AND TXTSIEBELFIELDNAME='Asset XML';
              --  insert into tempxml values ('trnsiebelmodification',v_trnsiebelmodification);commit;
    --            EXCEPTION
    --            WHEN TOO_MANY_ROWS THEN
    --            dbms_output.put_line('Statement return multiple rows');
                 END;
    --------comparing differences between xml data and storing into a variable -----------
               BEGIN
               select xmldiff(v_xmlorderitem, v_trnsiebelmodification)
               into   diff
               from   dual;
               --insert into tempxml values ('diffxml',diff);commit;
               if diff IS NOT NULL THEN
               UPDATE trnsiebelmodification
                SET TXTACTIONTYPE='Update2'
                WHERE TXTEORDERNUM= p_txteordernum
                AND INTVERSIONNUM= p_intversionnum
                 AND TXTSIEBELFIELDNAME='Asset XML';
                ELSE
                UPDATE trnsiebelmodification
                SET TXTACTIONTYPE='No Change2'
                WHERE TXTEORDERNUM= p_txteordernum
                AND INTVERSIONNUM= p_intversionnum
                 AND TXTSIEBELFIELDNAME='Asset XML';
                END IF;
                END;
        END SPFETCHRETRIEVEDATA;Edited by: BluShadow on 11-Sep-2012 14:13
    added {noformat}{noformat} tags. Please read: {message:id=9360002} and learn to do this yourself.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • A script to delete all table rows containing a specific text

    Hello,
    I've tried some old scripts but can't get around to the right solution.
    I need a script that will delete all rows in a table that contain a specific single-word text, something like "xxx".
    Anyone's got an idea?
    Thanks

    Hi,
    To remove a row use row.remove() method.
    So iterate through table.rows and remove the one matched a condition.
    If we talk about condition you have to be more accurate - what do you mean "a row contain a text":
         ==> 1st cell contains,
         ==> any cell contains.
    Entire row contents is an array of its cells.contents, so your 1st row text is:
    rows[0].contents.join(" ")     ==> string
    Jarek

Maybe you are looking for

  • My mid-2010 Macbook Pro will not connect to FaceTime, iMessage, or Back to my mac without error messages.

    My Apple ID and password are good and all three applications work on my 2009 iMac and iPhone using the same network. This all started a week or so ago....HELP!

  • Using select in where clause

    I have 3 tables: contact2ext, contact2bnp, ext2bnp. contact2ext and contact2bnp both have a primary key called key. ext2bnp has 2 foreigns key, bnp and ext referencing these 2 primary keys. I want to use select to do the following: select nom from co

  • MExplorer.dll is missing & pc companion will not launch

    Norton Internet Security has upgraded itself to what I expect is a Windows 10 compatible program (NIS was flagged up by the W10 updater initially as incompatible and then Norton kept advising in pop ups it would get an update to fix that issue)...Yes

  • Overdrive updates

    I recently have been having issues with my omc app on my playbook so I backed up my account holds and down loads to my husband's playbook.  It was three days ago and I had no issues getting the app onto his playbook through adobe flash. Now I can't g

  • ORA-2020 when trying to verify database links

    I have a problem with verifying database links. I want to create a procedure for checking all database links. this is done like the following: declare xRefCursor sys_refcursor; cursor cDBLinks is select db_link from user_db_links; nDummy number; begi