Is it possible to delete SM12 entry through ABAP

Hi,
is it possible to delete an entry from SM12 list which is appeared against my id.
Early response would be appreciated.
//BR

Hello
If you had looked carefully at transaction SM12 (package SENQ, ECC 6.0) you would have found the solution yourself.
1. Read lock entries using fm ENQUE_READ (GUNAME = '<user name>') or ENQUE_REPORT.
2. Delete lock entries using fm ENQUE_DELETE.
Regards
  Uwe

Similar Messages

  • Possible way to Change entry through OBYL in a nonmofiable Status

    Hi,
    Is there any way to change the entry through OBYL without changning the status of client from nonmodifiable to modifiable. We are using 3 GL account i.e Salary, Incentive, Reimbursement, which needs to swiched frequenlty. So right now we have to modify the client status each and every time. So i am looking for all the possible solution.
    Regards,
    Subhash

    I am at a loss - this has worked for me; I have been testing it before my previous answer to make sure I do no lead you in error.
    Let us check the settings step by step again, please.
    - You went to SPRO in your DEV-system -> Payroll -> Payroll India -> Other Reports -> Activites in the AC-System -> Assign Technical Accounts.
    - You placed your mouse on the short-text of the activity and went to: -> Edit -> Display IMG-Activity
    - You switched to tabstrip 'Maint. objects'
    - You double-clicked on Object F30   L
    - You entered your SSCR-key etc.
    - You flagged 'Current Settings' and saved and transported to ... QAS ... PRD.
    - You checked in transaction SCC4 for the client you want to run OBYL in, that the role of the client is 'P' - Productive
    - You waited for a buffer-refresh and started transaction OBYL.
    Flagging the view in table OBJH is nice - but I was wrong there - it is not strictly necessary; for my test now I have been undoing that change and it still works.
    Please check the list again ... it works on both, ECC 5.0 and ECC 6.0

  • Possibility of deleting the scheduled jobs through reports

    hi friends
    is it possible to delete the schedule jobs through report making?
    i mean i have to enter a particular user name
    list of jobs scheduled by him has to be listed
    and selecting the unwanted job have to delete all the jobs
    Thanks and regards
    s.janagar

    Jangar,
    Yes. This can be done. Write a delete statement and use it on the table TBTCO.
    Note: Any other operations can be done on the tables TBTC*
    Thanks,
    Babu Kilari

  • Deleting activity entries in a ticket ? possible ?

    Hey Everyone,
    Is it possible for a user (if he has admin rights in SW) to delete a string of a ticket conversation ?
    The ticket was closed but the user is saying that there was an activity update that she sent in that is no longer on the ticket. She has fwd us the email but that response is not on the ticket. 
    Is there a way to tamper with the ticket to delete an entry ?
    I've been trying to do it myself but haven't been able to.
    Please advise,
    This topic first appeared in the Spiceworks Community

    Dont delete anything first of all please validate the data. It has accounting document number..check whether it is poseted or not if not posted then it is a much bigger issue. There can be documents which have 0 amount.
    Please investigate completely before deleting any entries and make system unstable and more inconcsistent.
    Nabheet

  • Deleting a Entry in LDAP Server through JNDI

    I have modified and created enteries in LDAP Server.But have no idea how to remove or delete a entry(a subcontext).
    can anyone help ne out
    thanks
    murali

    Thank you mike.its working.I just missed that method.
    I have one more problem.
    i am using the octetstring's jdbc-ldap bridge to connect to Eudora LDAP server, but when ever i try to connect to the server we are getting the following error...
    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'o=Siquell,c=IN'
    even though we have the root dsn i.e "o=Siquell,c=IN". this we can say cause we were able to connect to the same server using JNDI.
    Is this because octetstring's jdbc-ldap bridge is not supported by Eudora LDAP server.
    Thanks
    Murali

  • Unable to delete last entry in Custom table

    Hi,
    I have one custom table which allows only some specific entries to be maintained in the table.I have used a standard table as a check table for dis.I found no issue while maintaining entries in the table.But when i try to delete the last entry in the table i get the message "No entry exist".Long textNo entries were found when importing data from the database.
    Kindly help.

    Hi,
    If it is not possible through table maintainence then write a small Z program to delete the entries in devlopment system and then if then if you want you can transfer those to other systems.
    delete from ZTABLE where {give your condition for the last record}.
    Regards,
    Sandipan

  • Simply delete all entries in a database.

    Hello,
    how do I simply delete all entries in a database (which must be thread safe, and most probably is)? For instance it is needed, as I'm developing a versioned open source XML/JSON database system, whereas I'm using a BerkeleyDB environment/database as a transaction log per revision (resource/log/version_number/...) for dirty blocks/pages and now want to introduce checkpointing (with currently only a single write-transaction per resource). That is another reading transaction (possibly another thread might read a transaction log, a BerkeleyDB environment/database while another thread, the checkpointer (most probably a deamon thread) commits, that is writes the log periodically or during less workload into the real resource. After the data is commited, the transaction-log must be emptied, but probably a reading transaction still reads from the log and falls back to reading from the real resource if the page is not in the log. That is I can't remove the database, but probably simply have to delete all entries and a simple .commit-file flag which indicates if the data has been written back to the real resource or the checkpointer must be writing it back sometime in the future (if the .commit-file still exists). Do I have to iterate through the database with a cursor (and .getNext())? Or does a dedicated method exist?
    kind regards
    Johannes

    Hi Johannes,
    As I think you've already discovered, there is no built-in method for deleting all records of a database that is open. The only similar built-in methods are those for removing or truncating an entire database (removeDatabase and truncateDatabase), and the database must be closed.
    If you can't find a way to use removeDatabase or truncateDatabase, then you'll have to iterate through the records and delete them individually. If this is done for a large numbers of records in a single transaction, it will be expensive on a number of fronts, including memory usage for the locks: each record is individually locked.
    If you don't need to delete all records in a single transaction (I couldn't completely understand your use case), then you can iterate with a cursor using READ_UNCOMMITTED and delete the records in individual transactions using Database.delete. This avoids using lots of memory for the locks, since only one record is locked at a time.
    In either case the cost can be reduced by using DatabaseEntry.setPartial(0, 0, true) for the DatabaseEntry that is passed as the data parameter. You only need the key to delete the record, not the data, and avoiding a fetch of the data is a big cost savings (if the record data is not in cache). This optimization is only in JE 5.0 and above --in JE 4.1 and earlier, this has no advantage because the data is always fetched internally, as part of the deletion operation.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to delete duplicate entries in address book

    Is there an easy way to delete duplicate entries in Address Book?

    I have an iPhone where I create new contact details and a MB Air running OX X 10.7.3
    In Address Book I see duplicate entries across the whole book. The other day I was traveling without my MB and needed to urgently reach someone who's number I knew was in my iPhone contact list for sure but searched and search and couldn't find it.
    Turns out that when I had been going through the Adress Book on the MB Air trying to eliminate some of the duplicates I had chosed --without even knowing it or realzing it-- the card that I guess sync with my iPhone. It was gone. Sure enough, when I got back and looked it up on the MB Air it was still there not syncing to my iPhone.
    I have used Address Book / Card / Look for Duplicates ...
    I have also followed the Help suggesting and pressed Control / select to highlight two duplicate cards and even though the First / Last / Company / phone numbers / etc. are all the same I get the message: "The cards could not be merged because they came from different accounts."
    I have checked with guys from the office who have the exact same problem with no idea how to solve the problem.
    Is it that in order to use Address Book on both an iPhone and an OS X machine you've just got to be smarter, more sophisticated, more IT oriented?
    Seems like a pretty easy thing not to be struggling with.
    I should mention that I was a Mobile Me subscriber and now use iCloud which I'm sure has something to do with all of this.
    But it seems pretty basic to me. If I have an Address Book it should synchronize between OX X and IOS.

  • "WF-USER can only delete this entry" error while deleting entry in tRFC

    Hello Experts,
    We have a scenario wherein the outbound IDoc from our SAP system consists of lot of IDoc data segments. Becase if this large size, the EAI Middleware is getting out of memory exception while processing it before sending it to the receiving system with an error "Trnasaction XXXXXXXXX rolled back" (Committing is geting failed). And it is not possible from EAI Middleware side to increase the memory. Because of this, other outbound IDocs getting struck in the tRFC (IDoc status  = 03, Data Passed to Port OK) queue and thereby delaying the process.
    We would like to delete the entry (TID) of this particular IDoc from the tRFC queue. When we try to do taht, we are getting the error message "WF-BATCH can only delete this entry" which is actually the system Workflow user.
    Could anyone suggest me the way to delete the entries? We hav one option where we can that system user name to our user name in "Debug Change'. Becasue of some authorozation problems, we would not be getting that.
    Could you please suggest me about any alternative. Appriciate your help. Thanks in advance.
    Best regards,
    Kishore.

    Hello Kishore,
    I also encountered the same problem in transaction SWU2.
    I could bypass the message in debuging mode only.
    I put a breakpoint in report RSARFCRD, and, in debug mode, I skip the following check:
          if sy-lisel+1(12) <> sy-uname.
            message e019 with  sy-lisel+1(12).
          endif.
    Best Regards,
    Alexandre.

  • BPM question - Delete all entries in a table and Insert data

    Hello,
    I'm new to PI BPM and have this scenario to implement.
    I'm supposed to delete all entries in a table and then insert data to the same table.
    Is BPM necessary? If it is, what is the best practice to implement my scenario?
    I want to make sure that all entries were successfully deleted before insert data.
    How do I check if all entries in the table were deleted successfully before
    initiating insert.
    Thank you.
    -Won

    Hi Won,
    Yes, this is possible without BPM.
    You have to create 2 separate mappings, each for deleting & inserting the records.
    You will have 2 different Interface mappings as well.
    But in ID, create a single interface determination.
    In that, configure Deletion interface mapping first and in the second row, configure Insertion interface mapping.
    Please make sure that the parameter 'Mainain Order At runtime' is checked in interface determination.
    -Supriya.

  • HT201812 In the past it was possible to delete songs/tones from iTunes but this no longer seems to be the case.  Is it possible to delete songs or tones if they are not duplicated - I just no longer want them in my library?

    In the past it was possible to delete songs/tones from iTunes but this no longer seems to be the case.  Is it possible to delete songs or tones if they are not duplicated - I just no longer want them in my library?

    Howdy SJHocking,
    It sounds like you want to know how to dele songs and ringtones from iTunes. Take a look at the article linked below, it’ll walk you through the process of deleting content from iTunes.
    Delete songs, playlists, or other items - iTunes Help
    If you have iTunes Match enabled, take a look at this article which will walk you through the process of deleting songs from iCloud.
    iTunes Store: How to delete songs from iCloud - Apple Support
    Cheers,
    -Jason

  • Deleting duplicate entries

    I have two tables (Accounts, and Accounts_LOAD). The _Load table is a daily feed.
    For my first step, I need to delete all the duplicates from _Load that exist in Accounts. 
    How can I delete duplicate entries which exist in two tables..?

    I think that the Merge will suffice. My apologies.
    But, now (again, sorry) I have a couple questions on the merge.
    Below is similar to what I would use and a few Q's on it....
    line4: can u use multiple "on" ?
    line5:For 'when matched' i only want to update fields from "_load" to "Accounts" that need to be updated. If they are the same, they would be ignored... is that possible...?
    1 MERGE INTO accounts acc
    2 USING (SELECT **ALLFIELDS**
    3 WHERE SOMESTUFF=STUFFS) STF
    4 ON (ACC.ID_USER = STF.ID_USER) AND (ACC.SYSTEM_ID = STF.SYSTEM_ID)
    5 WHEN MATCHED THEN UPDATE SET acc.bonus = D.bonus + S.salary*.01
    6 DELETE WHERE (S.salary > 8000)
    7 WHEN NOT MATCHED THEN INSERT (D.employee_id, D.bonus)
    8 VALUES (S.employee_id, S.salary*0.1)
    9 WHERE (S.salary <= 8000);

  • Urgent!!! : To delete table entries in COKA,COSP,COSB  from FY2010

    Problem:
    <b>Business needs to limit the validity of certain cost elements to 31st
    March 2007. But not able to do the same due to updation of Tables
    COKA,COSP and their dependent Tables.</b>
    Reason:
    The business is currently in fiscal year 2007.Some tables were updated
    till fiscal year 2010 due to future date(Example March 20th 2009)
    mentioned in scheduling in Production Order/Process Order.
    In certain Production Orders/Process Orders, scheduling date was
    erroneously updated referring future fiscal years up to FY2010.
    This has caused the updation of CO tables COKA ,COSP and their
    dependent tables COKP, COKS,COSS,COKL,COEJ,COBK,COEP,COVP.
    Even if we revert the scheduling dates back to current year in the
    Process Order/production order, the table information is present in the
    future fiscal years which prevents deletion of cost elements for the
    future period.
    Steps for the Reconstruction
    <b>Solution required:
    We need to know the systematic procedure/program/process through which
    we can delete the entries in main tables COKA, COSP and the dependent
    tables (COKP, COKS, COSS, COKL, COEJ, COBK, COEP, and COVP.)without
    affecting the integrity of information present in the production
    order/Process Order for the current period.
    Ultimately we should be in a postion to restrict the validity period of
    cost elements to 31st March 2007.</b>

    Hi,
    I am not sure, whether this will help you or not.  I think you can archive the data in the first stage.
    Then try to work on the validity periods.
    Rgds,

  • How To delete Service Entry Sheet

    Dear Experts
    How to Delete the Service Entry Sheet , or cancellation ,there is no Material Document generated for that entry.
    Actually we have making the Service Entry through ML81n but system does't make Document Nos, directly Entry sheet nos is there.
    Rgds
    Pankaj Agarwal

    Hi Pankaj,
    Enter t-code ML81N.
    Enter your service entry sheet number.
    Than click on change button of header level.
    Than click on Revoke acceptance.
    and click on save button.
    After click on save button. Second time click on change button.
    So system display you deletion flag indicator like dust bin.
    Than set it(click on deletion flag button) and click on save button.
    Regards,
    Nani.

  • Deletion of entries from a table whose name is controlled by Z program.

    Hi all,
    I have to delete all entries in a custom table whose "Name" has a certain pattern say ZDBTAB01, ZDBTAB02, etc.
    I arrive at the table name through ABAP code. But the statement
    "DELETE FROM tab_name" doesnot work where tab_name is a variable.
    Can anyone suggest a function module to perform this action..??
    Thanks.
    Regards,
    Senthil G.

    data : v_tabname ..... value 'ZXXX'
    delete from (v_tabname).
    It should work. Are you getting any error message as such.

Maybe you are looking for

  • Background job is running for long tome in source system (ECC)

    Hi All, Background job is running for long tome in source system (ECC) while extracting data to PSA. I checked in ECC system SM66,SM50 the job is still running in SM37 the job is Active There are only maximum 7000 records the extractor is 2LIS_02_ITM

  • To clear minor difference in GRC account

    Hi, GR and IR giving a very small differences which somehow not due to quantity or not due to exchange rate. GR clearing 50.01 IR clearing 50.20 Difference of 0.19 So in this case, how can I clear the GRC clearing account? As it is not due to quantit

  • Need to extract only decimal numbers for a glob of text [SOLVED]

    If you have a look at /dev/zero's thread here, you'll see that users have been posting the output of his script which are numbers that range from 2 to 5 decimal places.  If I dump this entire thread to txt file, how can I: 1) Delete everything except

  • Life in months is not populating from interface in Mass Additions Post

    Hi, We have one critical issue in FA conversion.We have popultaed the life_in_months in fa_mass_additions table.When we run the Mass Additions Post,it is defaulting the life_in_months from category and not from fa_mass_additions interface table.As pe

  • Airport and external HDD

    I am new to Mac. Had been on Win PC ever since I used a computer. If I got a Airport and connected an external HDD as a backup storage to it what way should the HDD be formatted? If in default NTFS can it be still used to read / write from my Mac as