How to get the user who is deleting the activity

Hi all,
I need to capture the user id who is deleting the activity. Help me with a solution to it.
Thanks,
Sanjani

Thanks for the suggestion. It was helpful. But actually i want to capture the popup confirmation 'yes' when i delete an Activity in webui to order_save.
i need to validate the delete Activity confirmation 'yes'. Basing on it i want to run some code written in order_save badi in method check_before_save.
Suggest me some solution.
Regards,
Sanjani

Similar Messages

  • How to restrict the user(Schema) from deleting the data from a table

    Hi All,
    I have scenario here.
    I want to know how to restrict a user(Schema) from deleting the values from a table created in the same schema.
    Below is the example.
    I have created a table employee in abc schema which has two values.
    EMPLOYEE
    ABC
    XYZ
    In the above scenario the abc user can only fire select query on the EMPLOYEE table.
    SELECT * FROM EMPLOYEE;
    He should not be able to use any other DML commands on that table.
    If he uses then Insufficient privileges error should be thrown.
    Can anyone please help me out on this.

    Hi,
    kumar0828 wrote:
    Hi Frank,
    Thanks for the reply.
    Can you please elaborate on how to add policies for a table for just firing a select DML statement on table.See the SQL Packages and Types manual first. It has examples. You can also search the web for examples. This is sometimes called "Virtual Private Database" or VPD.
    If you have problems, post a specific question here. Include CREATE TABLE and INSERT statements to create a table as it exists before the policies go into effect, the PL/SQL code to create the policies, and additonal DML statements that will be affected by the policies. Show what the table should contain after each of those DML statements.
    Always say which version of Oracle you're using. Confirm that you have Enterprise Edition.
    See the forum FAQ {message:id=9360002}
    The basic idea behind row-level security is that it generates a string that is automatically added to SELECT and/or DML statement WHERE clauses. For example, if user ABC is only allowed to query a table on Sunday, then you might write a function that returns the string
    USER  != 'ABC'
    OR      TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'So whenever any user says
    SELECT  *
    FROM    table_x
    ;what actually runs is:
    SELECT  *
    FROM    table_x
    WHERE   USER  != 'ABC'
    OR      TO_CHAR (SYSDATE, 'DY', 'NLS_DATE_LANGUAGE=ENGLISH') = 'SUN'
    ;If you want to prevent any user from deleting rows, then the policy function can return just this string
    0 = 1Then, if somone says
    DELETE  employee
    ;what actually gets run is
    DELETE  employee
    WHERE   0 = 1
    ;No error will be raised, but no rows will be deleted.
    Once again, it would be simpler, more efficient, more robust and easier to maintain if you just created the table in a different schema, and not give DELETE privileges.
    Edited by: Frank Kulash on Nov 2, 2012 10:26 AM
    I just saw the previous response, which makes some additional good points (e.g., a user can always TRUNCATE his own tables). ALso, if user ABC applies a security policy to the table, then user ABC can also remove the policy, so if you really want to prevent user ABC from deleting rows, no matter how hard the user tries, then you need to create the policies in a different schema. If you're creating things in a different schema, then you might as well create the table in a different schema.

  • How to find the users who has done the manual blockings in F110?

    I would like to knw the users who has blocked the inoice in F110 and even who has re-allocated the payment method/bank details in F110

    Hi,
    You can open the TC F110. Give the run dates and identification numbers then go to menubar systems- status.
    Which user has been blocked the invoice displayed.
    I hope it will help to you.
    Thanks,
    Venkat

  • WebForms - Can i make the form user specific. For example can i identify the user who clicked on the link of webform?

    For example can i identify the user who clicked on the link of webform? Because i have a list of users and every time individual needs to select their name.?

    Hi,
    Unfortunately, it is not possible to create a user specific form in  FormsCentral, It is not possible to identify the users who has visited the link.
    Regards,
    Nakul

  • How to get the Login Id (UPI) of the user who logged in the system?

    hi,
    I'm having a webdynpro application. In which i want to get the values from the R/3 based on the user who logs in.
    so i need to get the UPI(login id) of the user who logs in. how to get the UPI of the user who logged in??
    please help me out with the detailed procedure.
    Thanks & Regards,
    Suresh

    Hi Suresh,
    Try the following code.
    ISearchResult rst = UMFactory.getUserFactory().getUniqueIDs();
                      IUserFactory usf = UMFactory.getUserFactory();
                      IUser iuser = null;
                      IUserListElement userElement = null;
                      int i = 0;
                      while (rst.hasNext()) {
                            iuser =
                                  UMFactory.getUserFactory().getUser(rst.next().toString());
                            String email = iuser.getEmail();
                            String fname = iuser.getFirstName();
                            String lname = iuser.getLastName();
    I have already used this code for the similar requirement.
    regards
    Anil

  • How to find the user who have restarted the schedular.

    Hi,
    We are using the cron trigger schedular to initiate the BPEL process.
    We use the oc4jadmin user to login into the em console of SOA.
    Somebody has restarted the schedular on production server which we can see in the log file.
    But is there any way to find that who is the exact user who has restarted it. I know the user has login with the oc4jadmin but can we check who the machine user(machine profile of that user).
    Becasue if we know that this was the machine user who has login into the EM console we can find it.
    Please help.l
    Thanks

    Hi,
    If the user has used the manage option to delete the contents of the DSO then the changed by field will be updated by the users name. In case a program is used for the deletion then it wont be the case.
    Regards
    Govind.

  • Trace the user who has started the java instance.

    Hi Gurus,
    How can we trace the users those who restart the java instances?
    Regards,
    Ratan roy

    Hi,
    Check dev traces and java trace files
    \usr\sap\<SID>\<instance name>\work and
    usr\sap\<SID>\<instance name>\j2ee\cluster\server<n>\log
    and /usr/sap/<SID>/<Central instance name>/j2ee/JSPM/
    I am not sure wthr the user who started the instance will be traced you can also try and trace database log files . I am not sure of the path
    Rakesh

  • How can I find the user that created a user account and the user who last updated the account

    How can I find out who created a user account and who last updated the account. I think that this is the same information that is displayed in the description field on the General tab.
    I am using ADO commands and vbscript
    ug3j

    I should point out that there are two attributes of all AD objects that can help you track down the correct information in the system logs. These are the whenCreated and whenChanged attributes. This will tell when the object was created and when it was last
    modified, which should help when you search the logs. Also, while whenCreated is replicated to all DC's, so they will all have the exact same creation time, the whenChanged attribute is technically not replicated. The date/time on each DC reflects when
    the last modification was replicated to that DC. The values will differ slightly on each DC, reflecting how long it took for the change to replicate.
    Richard Mueller - MVP Directory Services

  • How to look as to who has deleted the Delivery note

    Hi
    I have a issue from one of my customers who mentioned in his problem that he needs to find out as to who has deleted a Delivery note. He has mentioned the Delivery note number.
    I have tried looking at SM21 & tables CDHDR and CDPOS but I could not find. I tried to simulate the similar issue in my development environment by deleting one of the deliveries and checking in Transaction SM21if it displays my name, but it did not.
    Please help me in this issue or at least let me know how to approach this problem.
    Thanks

    Hi,
    You can find the Information from the CDHDR table
    Goto the table in SE16 and ehter the details for the table like
    OBJECT CLASS   As   LIEFERUNG
    OBJECT ID    As   DELIVERY DOCUMENT NUMBER ( It should be 10 digits)
    Now execute.
    It will all the information on who deleted.
    regards,
    santosh

  • HOW DO WE KNOW THAT WHO HAS DELETED THE CLIENT

    I WANT TO KNOW ON WHICH T.CODE  WE CAN KNOW WHO DELETED OR MODIFIED OR CREATED THE CLIENT

    Hello Kiran,
    Yes it is. As I said in SCC4 goto UTILITIES-->CHANGE LOGS. That should help you out. it basically takes you to RSTBHIST which has change logs for all the tables for which logginjg is active.
    Haven't you checked this alrerady ?
    With regards.
    Ruchit.

  • How to track the User who has changed the System Profile Options

    HI ,
    The system profile options are changed by one User (Ex: XX123).
    Here, the user XX123, he is not having any sys admin responsibilities .
    He is having only I-proc responsibility attached .
    Is there any chance to update the system profile options , through I-proc.

    Pl post details of OS, database and EBS versions, along with which profile options have been changed.
    AFAIK, IProc responsibilities do not have access to change profile options.
    HTH
    Srini

  • How to find the user ID who has deleted the Cycle count document?

    I am interested in knowing how we can know the User ID who has deleted the Inventory Cycle count document deleted using LI02N. I have checked the table LINV and also in the storage bin Inventory data. But in storage bin inventory data only counter name is captured if it is assigned during activation of inventory cycle count document. But it may not be necessary that counter has to delete the inventory document.
    Kindly advice me how can I get to know who has deleted the Inventory Cycle count document.
    Thanks in advance,
    Ramesh

    no way to ffind this
    Have you tried with  AUT10  ??
    thanks
    G. Lakshmipathi

  • How to track the user who deleted the info object.

    Dear Gurus,
    In our BI system one info object has got deleted.  If I need to track the user who has deleted that how can I track it(in which DBtable).  And the complication is one user ID is being used by many people, in this case how can I track that from which machine the Info Object has been deleted(if there is any possibility to track the machines by IP address).
    Kindly let me know if there is any procedure to find it out. Your help will be rewarded with a great honour.
    Regards
    Mohan Kumar

    Hi dear,
    you have to go in SLG1 transaction, and then select
    Object: RSD
    Subobject: IOBJ_DEL
    External ID: (put here the name of your deleted IO)
    Then choose a time range...and voilà, you can find the user who deleted the IO...
    Hope it helps!
    Bye,
    Roberto
    About the IP...look at USR41 table, but I think it's a bit difficult fo find data referred to the past...
    If you haven't activated logon auditing in SM19...

  • System log - how to find out who has deleted the req from cube.

    ^hello friends
    how can i find out who has deleted the request from cube ?
    i wanted to check the system log , that who has deleted the request from cube .
    could you please let me know how to check the same ?
    regards
    manoj

    Hi,
    Did you try the method I had suggested. It will work.
    Also its better to try the path I had suggested as it will display the logs for that particular Cube only.
    But if go through SM37 > B_DEL* it will display all the logs for all the deletion jobs not just this cube and it will be difficult to find out.
    Try that and you should get the log.
    Thanks,
    JituK

  • How to find who has deleted the query in Production system

    I Experts,
    I have an issue. Someone has deleted one query in Production system.
    How can i find who has deleted the query??
    I searched the ans for the same i the below threads :-
    Query deleted in production
    How to find out who has deleted the production Query
    But it didn't help me as i couldn't understand how to use the transaction SLG1.. Can Someone please explain me how can i find out who has deleted the Query..
    Regards,
    Pavan Raj

    Hello,
    Please, remember the date on which date the query has seen last time  in the production server. You can use the last date in the From date and To date would be current  date and execute the SLG1 tcode. It would list you all the logs in the Object text you can search for BEX Query designer and sub object text column you can check for delete logs options.
    Double click on the object will list you the query and name. From the user column you can find who has deleted the query.
    Might be this can help you for analysis.
    Thanks
    Geeta Sharma

Maybe you are looking for

  • Outbox

    Often when I send emails I receive an 'Error' mrssage that says This message could not be delivered and will remain in your Outbox until it can be delivered. The sender address (my email address) was rejected by the server. This happens to all sent e

  • Intermittent freezes while recording

    Hello. While recording with Adobe Audition, there are intermittent freezes. As a result, there are sections in the recording where there is no sound at all. Here is an image of the wave: http://img177.imageshack.us/img177/548/auditionaf6.jpg I am usi

  • How can i edit a photo to look like this?

    hey, i just started using photoshop and i recently took a lot of cute summer pictures. i would like to make them look a little more dreamy, abstrct, artsy... maybe a little vintage... what i'm aiming at is something like this: i know its probably rea

  • Auto Bursting when I view a report

    Hello. Can I bursting in auto-mode when I click VIEW REPORT? Instead of SCHEDULE>RUN IMMEDIATLY>etc etc... ? thank you R

  • Flash + ASP + Excel question

    Hello everyone: Here is my problem: I need to display an .asp file from flash that converts some data from an MSSQL Server Database (on the web) to an Excel table. The .asp file uses the MIME Code: Response.ContentType = "application/vnd.ms-excel" Th