Request templete - is it possible to delete from database?

Hi All,
is it possible to delete/disable request template from OIM database after we use it to generate some request?
best
mp
Edited by: J23 on 2012-02-17 05:48

If can change configuration (delete) of request template any time, via UI, don't do it via sql query.
http://docs.oracle.com/cd/E21764_01/doc.1111/e14316/req.htm#BABFJHDF
If you are talking about deleting or changing request dataset, sure you can do it any time Again If you going to perform any MDS operation keep the backup of MDS.

Similar Messages

  • ADF delete from database.

    Hi,
    I am trying to design a page which will delete a particular row from one or more database tables. The jdeveloper version is 11.5 and the database is oracle 10.2 version.
    How can I do it?
    Thanks

    Hi all, Thanks for the reply..
    Actually I am trying to delete one record at a time, from the same table, from which m populating it on the jspx..
    That means the list source and the base source are same..which is not possible..
    What can be the solution for it ??
    I tried to create a separate view object for population on jspx and kept it in list source.. And I am using different view object in base source.. Both view objects refer to the same table..
    But it is not working out..the problems are..
    The record is getting deleted only for the first time when i run it.. Even after getting deleted from database, the record shows up in the list..
    And when i do the same operation one more time in the same session, 1st record in the table is getting updated with the value which i tried to delete..
    And I am not using managed bean..
    regards

  • DELETE FROM DATABASE + restored again?

    there is a statement
    DELETE FROM DATABASE <dbtab> (<ar>) [CLIENT <cli>]
    ID <key> .
    Suppose I have mistakenly deleted from the database
    can it be

    Hi,
    there is a syntax like DELETE FROM DATABASE as you mentioned.
    But never ever use that to delete a record in DATABASE TABLE as you cannot recover that data.
    hope this helps.

  • Possible to delete from source on import?

    Hi.
    Is it possible to delete my photos from the source device as part of the post-import process? It seems pointless to have another step to go through, especially since iPhoto has this functionality built in. Am I missing something?
    Thanks.

    Lots of discussion here (found by searching the forum for "delete source"):
    http://www.adobeforums.com/webx/.3c0529bf/41

  • If you have a picture in two different albums, it is not possible to delete from just one album, you got to delete from all albums

    I cant delete singel/multiple pictures from my albums, without deleting the same picures from another album.
    When you press delete on a picture you get a question wich says "delete from all albums", and thats it?
    You cant choose to select yes or no.

    When you 'copy' photos into new albums you are only creating a pointer to the photo, you are not creating a separate copy of it - if you delete the original photo you will be deleting all pointers to it and it will be removed from any album that you've 'copied' it into.
    The Collections/Photos and Albums views are just different ways of viewing the same photos.

  • Dynamic record deletion from database table

    Hi,
    I need to delete selected records from database table(dynamic names). Table names are being passed from main program with some of their field names. The record to be deleted from the database table is being decided based on the fields passed for the table and their contains passed from the main program.
    It is not possible to write dynamic where clause for DELETE statement directly.
    So, I created a dynamic internal table and i am trying to fetch all records using SELECT statement(for which we can write dynamic where condition, something like...SELECT...WHERE (itab).  ) which need to be deleted in the iternal table.
    Piece of code :
              CONCATENATE c_im v_tablefield1 INTO v_imprtfield1.
              CONCATENATE v_tablefield1 c_in v_imprtfield1
                       into s_condition separated by space.
              APPEND s_condition TO t_condition.
              PERFORM GET_DYNAMIC_ITAB USING s_flds_agtab-tabname
                                    changing t_itab.
              ASSIGN t_itab->* TO <itab>.
    *Select the data (to be deleted) from the database table
               SELECT * FROM (s_flds_agtab-tabname) INTO TABLE <itab>
                 WHERE (t_condition).
    *Delete the records from the table
               IF SY-SUBRC = 0.
                 DELETE (s_flds_agtab-tabname) FROM TABLE <itab>.
               ENDIF.
    Here t_condition is of standard table of WHERETXT.
    t_condition at the run time before giving dump was:
    SPART IN IM_SPART
    AND KUNNR IN IM_KUNNR
    Here IM_SPART is renge type of SPART and IM_KUNNR is renge of KUNNR.
    I am getting a DUMP:
    The WHERE condition has an unexpected format.
    Error analysis                                                                               
    The current ABAP/4 program attempted to execute an ABAP/4 Open SQL
    statement containing a WHERE condition of the form WHERE (itab) or
    WHERE ... AND (itab). The part of the WHERE condition specified at
    runtime in the internal table itab contains the operator         
             IN (v1, ..., vn)                                        
    in incomplete form.                                              
    How to correct the error
    If the error occurred in a non-modified SAP program, you may be  
    able to find a solution in the SAP note system.                  
    If you have access to the note system yourself, use the following
    search criteria:                                                 
    "SAPSQL_IN_ILLEGAL_LIST"                               
    "SAPLZSD_TAB_REFRESH " or "LZSD_TAB_REFRESHU01 "       
    "Z_SD_REFRESH_AGTABLES"                                
    If you cannot solve the problem yourself, please send the
    following documents to SAP:                             
    I would like to know whether "IN" operator is allowed in (itab) of WHERE clause. While testing I changed the "IN" to "=" specifying a suitable value there. It worked. So please let me know if i can give "IN" operator using renge table in the dynamic where clause.
    Thanking you,
    Surya

    Hi again,  so if you can not use the IN in a dynamic where clause you might be forced to dynamically build the entire select statement,  Here is a sample program which may give you some ideas, notice that we are writing the select statement code, putting it in another program and generating the subroutine at runtime, then call this routine.  I'm sure that this will help you see what you need to do.
    report zrich_0003 .
    tables: kna1.
    types: t_source(72).
    data: routine(32) value 'DYNAMIC_SELECT',
                 program(8),
                 message(128),
                 line type i.
    data: isource type table of t_source,
                xsource type t_source.
    ranges:
            r_kunnr for kna1-kunnr.
    data: ikna1 type table of kna1.
    data: xkna1 type kna1.
    r_kunnr-sign = 'I'.
    r_kunnr-option = 'EQ'.
    r_kunnr-low    = '0001000500'.
    append r_kunnr.
    xsource = 'REPORT ZTEMP.'.
    insert xsource  into isource index 1.
    xsource = 'FORM dynamic_select'.
    insert xsource  into isource index 2.
    xsource = 'Tables r_kunnr ikna1.'.
    append xsource to isource.
    xsource = 'select * into table ikna1 from kna1'.
    append xsource to isource.
    xsource = 'where kunnr in r_kunnr.'.
    append xsource to isource.
    xsource = 'ENDFORM.'.
    append xsource to isource.
    generate subroutine pool isource name program
                             message message
                             line line.
    if sy-subrc = 0.
      perform (routine) in program (program) tables r_kunnr
                                                    ikna1.
    else.
      write:/ message.
    endif.
    loop at ikna1 into xkna1.
      write:/ xkna1-kunnr.
    endloop.
    Regards,
    Rich Heilman

  • DELETE FROM database table takes more time...

    Hi Friends,
    The below statement takes more time.
    LOOP AT i_final.
      DELETE FROM zcisconec WHERE werks = i_final-werks
                              AND aufnr = i_final-aufnr
                              AND vornr = i_final-vornr.
    ENDLOOP.
    Internal table I_FINAL will have more than 80,000 records.
    DB Table zcisconec have 4 primary key fields out of 10 fields.
    Below 4 fields are primary key fields
    WERKS
    AUFNR
    VORNR
    MATNR
    Please guide me..How to optimize it?
    Regards,
    Viji

    HI,
    Check this one ,
    put a break point on that delete statement and add another line of code after, like .... CHECK SY-SUBRC = 0. Now got to debug and stop at the DELETE statement, check the number of records in your DB table, now hit F5 to step to the next statement, now go back to SE16 and refresh, do you see the number change? It should.........if you are selecting the data correctly, make sure that you are getting data into the IT_  table.
    DELETE zcisconec from i_final.
    CALL FUNCTION 'DB_COMMIT'.
    Regards,
    Ansari.
    Edited by: Ansari Samsudeen on Sep 15, 2009 8:14 AM

  • Delete from database Table

    Hi,
    To delete data from database table using internal table I am using following statement.
    DELETE dbtab       FROM TABLE itab.
    Itab is a sorted table.Just wondering if table type matters while deleting database entries using internal table.which is efficient table type for deleting records from database table?
    Regards
    Nilesh

    Hi Nilesh
    The row type of the internal table must be a data object with at least the same length and alignment as the key structure of the database table. The key is read according to the structure of the table line, and not that of the row type. It is a good idea to define the row type with reference to the structure of the database table.
    From SAP Help
    DATA: BEGIN OF WA,
    CARRID TYPE SPFLI-CARRID,
    CONNID TYPE SPFLI-CONNID,
    END OF WA,
    ITAB LIKE HASHED TABLE OF WA
    WITH UNIQUE KEY CARRID CONNID.
    WA-CARRID = 'UA'. WA-CONNID = '0011'.
    INSERT WA INTO TABLE ITAB.
    WA-CARRID = 'LH'. WA-CONNID = '1245'.
    INSERT WA INTO TABLE ITAB.
    WA-CARRID = 'AA'. WA-CONNID = '4574'.
    INSERT WA INTO TABLE ITAB.
    DELETE SPFLI FROM TABLE ITAB.
    Besides, it is so technical what algorithm is run to delete records from the DB table when an internal table is given. If you want you can have a quick test using GET TIME. However, it seems logical that if your internal table is sorted with respect to any index, especially the primary index, of the DB table this may increase performance.
    Regards
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • Delete from Database?

    How do you delete a row from a database. I have 2 columns (user and password)in the Database so far with 4 records. I have constructed a frame with 4 radiobuttons and a jbutton. I want the program to delete for example the first record if the first radiobutton is selected. I am nearly there but I need a little help.I am struggling with the SQL code needed.
    here is what i've done so far:
    public void deleteser(){
    String rdsn = "jdbc:borland:dslocal:C:\\JBuilder6\\bin\\userinfo.jds";
    String rdbUser = "Adham";
    String rdbPass = "reqs";
    try {
    Connection cons = DriverManager.getConnection(rdsn, rdbUser, rdbPass);
    Statement stmnt = cons.createStatement();
    String query = "SELECT*FROM Users"; // Users is the name of the table
    ResultSet rs = stmnt.executeQuery(query); // ResultSet object to hold the result of the query
    //int cnt = 0;
    while (rs.next()) {                                                                                       String s = rs.getString("User");
    String p = rs.getString("Password");
    //cnt++;
    if (duser1.isSelected()){
    break;}
    else if (duser2.isSelected()){
    break;}
    else if (duser3.isSelected()){
    break;}
    else if (duser4.isSelected()){
    break;}
    else if (duser5.isSelected()){
    break;}
    rs.close();
    stmnt.close();
    cons.close();
    } catch (Exception e) {
    e.printStackTrace();
    return;

    Still unable to do it, this is how it looks now:
    public void deleteser(){
    String rdsn = "jdbc:borland:dslocal:C:\\JBuilder6\\bin\\userinfo.jds"; // the odbc address of the DB.
    String rdbUser = "Adham"; // the user account to the DB.
    String rdbPass = "reqs"; // password for the dbuser.
    try {
    Connection cons = DriverManager.getConnection(rdsn, rdbUser, rdbPass); // gets a connection to the DB
    Statement stmnt = cons.createStatement();
    Statement instmnt = cons.createStatement(); // get a statement which can execute the sql-code
    String query = "SELECT * FROM Users"; // Users is the name of the table
    ResultSet rs = stmnt.executeQuery(query); // ResultSet object to hold the result of the query
    int cnt = 0;
    while (rs.next()) {                                                   // 'next' takes you down to the next row of the DB
    String s = rs.getString("User");
    String p = rs.getString("Password");
    cnt++;
    if (cnt==1 && duser1.isSelected()){
    String sql = ("DELETE FROM USERS VALUES ('"+ s + "','"+ p +"')");
    instmnt.executeUpdate(sql);}
    else if (cnt==2 && duser2.isSelected()){
    String sql = ("DELETE FROM USERS VALUES ('"+ s + "','"+ p +"')");
    instmnt.executeUpdate(sql);}
    else if (cnt==3 && duser3.isSelected()){
    String sql = ("DELETE FROM USERS VALUES ('"+ s + "','"+ p +"')");
    instmnt.executeUpdate(sql);}
    else if (cnt==4 && duser4.isSelected()){
    String sql = ("DELETE FROM USERS VALUES ('"+ s + "','"+ p +"')");
    instmnt.executeUpdate(sql);}
    else if (cnt==5 && duser5.isSelected()){
    String sql = ("DELETE FROM USERS VALUES ('"+ s + "','"+ p +"')");
    instmnt.executeUpdate(sql);}
    rs.close();
    stmnt.close();
    cons.close();
    } catch (Exception e) {
    e.printStackTrace();
    return;

  • Navigatiomnal attribute is not possible to delete from master data?

    WHen I tried to delete the navagational attribute I am getting an erro like this.
    Characteristic Z5xyz: Master data has to be activated before conversion
    Message no. R7067
    Diagnosis
    The master data for characteristic Z5xyz  has to be converted, because an attribute has been deleted, or the time-dependency of an attribute has been changed. This process is possible, only if the master data for characteristic Z5xyz  is active. The  master data table /BIC/PZ5xyz contains only new or modified records, that have not yet been activated.
    System Response
    Characteristics Z5xyz  cannot be activated.
    Procedure
    Activate the master data for characteristic Z5xyz , before you activate the characteristic itself.
    Can any one help me to resovlet his.
    points will be definitely assigned.
    Thanks,.
    Vasu

    Hi Vasu,
    You are tying to delete a table filed when the table contains data. For this you need to adjust the database table.
    But instead of doing all this you may follow a simpler method.
    Before  deleting that Characteristics you need to delete the Masterdata first.  Then delete the Characteristics from the attribute list and activate the Masterdata Object. Now reload the masterdata.
    Regards,
    Pratap Sone

  • Is it Possible to delete from the "referenced libraries" list?

    Hi,
    Ive built a pathto a certain file and now it appears in the "Reference Libraries" drop-down thing.
    i wish to delete it but the "delete" option is disabled when i right click it. and pressing delete on the keyboard has no effect accordingly.
    is it possuble to delete such a library?
    Thanks

    Ok found the answer, so for anyone interested, u right click on the path u wish to delete, choose BuildPath and then remove from build path
    u can manage the whole "referenced library" by right clicking it and choosing BuildPath -> configure buildpath

  • Is it possible to delete a released transport request

    Hello
    I wander is it possible to delete a released transport request. Is it possible to delete a transport request with released only an task

    You can but you have to chnage status of the request:
    Use transaction SE38 or SA38 and run program: RDDIT076
    Set your request number and run the program
    After request is shown double click on it
    You should be able to change status from R to D
    And now, you can delete the transport for example in transaction: SE10...
    Help on ABAP: Few Tips for Transport Request Manipulation

  • Delete entry from Database table

    Hi,
    I configured one PCR scenerio in SPRO node -> business Packakes/ funtional packages-> Manager self service-> Personal Change request -> Group Change request scenerio.
    later I deleted that entry in backend, but still the same entry exist in db table "TWPC_PCR_Groups" .
    How can we delete that entry?
    thanks

    Hi,
    If you just want to delete a single entry from database table then you have to it in debug mode .
    go to se11->Give table name->Press F7( ie: display table entries)-> Goto the table contents (CTRLSHIFTF10)->Select the entry you want to delete->Give /H in the command bar ->enter into debug mode-> Give code as DELE -> save it. and press enter. Your entry will be deleted from database.
    Hope this helps..

  • Deleting from a table based on values in a second table

    Is it possible to DELETE from (or for that matter do an UPDATE to) a table based on values in another table? I have gone through the online documentation but can't seem to find anything. I'm trying to delete rows from table A where A.field1 = B.field1 and B.field2 = 'X'. (B being the second table)

    It is done using subqueries in the where clause.
    delete from A
    where A.field1 in (select B.field1 from B where B.field2 = 'X');
    delete from A
    where exists (select 'x' from B where B.field1 = A.field1 and B.field2 = 'X');
    delete from A
    where A.rowid in (select A.ROWID from from A, B where B.field1 = A.field1 and B.field2 = 'X');
    And many other varieties. Eg. more specialised:
    delete from A
    where A.txdate < (select B.prune_date FROM B where B.field1 = A.field1 and B.field2 = 'X')
    and A.txstate in (select S.txstate from S where S.prodlass=a.prodclass and s.deletable='Y');

  • Is it possible to delete a released transport

    Hello
    I wander is it possible to delete a released transport request. Is it possible to delete a transport request with released only an task

    Hi Tina,
    You would need to use direct database access to delete a released transport request.
    As I told you before, I would NOT do it as it is hasardous et may generate security audit problems.
    You can also destroy your transport system.
    Transport requests are stored in table E070.
    We only modify the e070 table after system copy by database refresh to reset the next transport request number. It is done by inserting a line in the table. We never delete inside this table.
    Use at your own risk !
    Regards,
    Olivier

Maybe you are looking for

  • Can I install nvidia quadro 600/ AMD FirePro V4900 (ATI FireGL) on HPE h8-1220t ?

    HP/Nvidia Quadro 600 graphics card hangs w/ blue hp startp screen after installation into HPE h8-1220t. Error: After installation and startup, just it sounds a 'beep' and after a minute, it beeps again. No further progess w/ HP blue screen.  Notes: C

  • How to Hide rows in Reports

    Hi All, I'm working on OBIEE 10.1.3.4 version on windows envorinment. For one of my report am using Greand Total option. for example for grand total its shoeing 20 rows in these i need to hide some of the rows. How can achieve this, could you pls hel

  • Crystal Reports 10 - Java. Error when displaying report

    <p>HI....</p><p>When attemping to display a report, i'm getting the following error:</p><p><strong> java.lang.ExceptionInInitializerError<br /> com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Sourc

  • How can I lauch a PDF from a URL from within my Plug-In?

    I have my plug-in working pretty good with the exception that I can not figure out how to launch a PDF using a URL. I am able to launch a PDF file from the file path, just not a URL. Any assistance is appreciated. Gregory

  • Imac OS10 will not update photoshop CS2

    How to update photoshop CS2 / iMac  OS10 will not support