To stop other users to update a table or schma

Hi Allm
I want to grant only select privileges to users and revoke all other previleges. Please can anyone guide me how can i go for that?
Best Regards,
Vaneeza

[email protected] wrote:
Hi Allm
I want to grant only select privileges to users and revoke all other previleges. Please can anyone guide me how can i go for that?
Best Regards,
VaneezaTo allow access use GRANT, to remove access, use REVOKE commands.
Now, i'm sure you have a deeper rooted question, but without more verbose requirements .... there's the answer :)

Similar Messages

  • How to tell Apple  to stop harrasing users to update to the new iWork

    I am reposting my reply in one of the discussions on iWork here as a new thread, hoping to get more direct help with my renewed concerns about iWork update.
    We all have our own field of profession, our own workload and deadlines to meet.... I don't think it's ethical for Apple to dump that responsibility to users.
    It's Apple's responsibility to make sure their updates don't leave out the features that users of the old version had invested their precious time / money in -- especially if Apple relentlessly pushes users to upgrade 
    It's been **** ever since my upgrade to new iWork. Long story short, I was back to iwork 9, after many trips to apple store, many hours reading and trying out various suggestions from forum discussion,  and much headaches and loss of productivity....
    After all that, you think Apple would leave you alone?  No. Last week, I could not open my files that I need for my work beause an automatic update was running for me DESPITE the fact that a genious bar guy helped to make sure No AUTOMATIC UPDATE is selected in my system preference.
    Now, I am back again with iWork 09, I want to keep it that way until Apple comes up with a sensible/responsible iWork update ...
    But I am worried that the new version will be back on me, causing disruption again  ... because I still see everyday Apple's notification urging me to update.
    Please help me find out: How to tell Apple  to stop harrasing users to update to their new iWork ?
    How to hold Apple accountable ?
    Your attention and suggestion is greatly appreciated.

    Peter,
    Thank you for your response. I know what you meant, and don't disagree with most of you said. Just wanted to avoid sending conflicting info to Razor06, I thought I'd make the following kind of counter points:
    I am doing fine with my old Pages now, but not after frustrating weeks caught in between the 2 versions of Pages... In my experience, when both versions of Pages were running in my hard drive, the New version overtook the task every time... I could not get out of the trap until after I moved the New version to an external drive.
    I used the word 'corrupted' facetiously to refer to the files that were opened by the New version
    You were right: no need to re-save the old files that are not touched by the new version.... I said the same thing, but perhaps not as clearly ...
    Apple does send me update notifications from time to time, because I only turned off the Auto Update. I did not turn off the Auto Check because I thought I still need it.
    Totally see your points, no disagreement here:
             " Just get this straight:
                    There are old files and software, and new files and software.
                    The old can't open the new. "
    Thanks again !
    Sasha

  • Sharing - Releasing/Stopping other users of AirTunes.

    My office shares an Express for playing music over community speakers. Often the other user will leave the office with his iTunes still playing. This makes it difficult for me to stop, pause, control volume, or just be able to play my music because the speakers are already in use.
    Is there a way to force the Express to release it's connection with the other user?
    Thanks for any ideas or suggestions.
    Dual 2.7 G5   Mac OS X (10.4.7)  

    My office shares an Express for playing music over community speakers. Often the other user will leave the office with his iTunes still playing. This makes it difficult for me to stop, pause, control volume, or just be able to play my music because the speakers are already in use.
    Is there a way to force the Express to release it's connection with the other user?
    Thanks for any ideas or suggestions.
    Dual 2.7 G5   Mac OS X (10.4.7)  

  • How to prevent multiple users from updating the same data in coherence

    Hi,
    I have a Java Web Application and for data cache am using coherence 3.5. The same data maybe shared by multiple users which maybe in hundreds. Now how do I prevent multiple users from updating the same data in coherence i.e. is there something in coherence that will only allow one user a time to update. If one user is in a process of updating a data in coherence and some other user also tries to update then the second user should get an error.
    Thanks

    I have a question on the same line. How can I restrict someone from updating a cache value when I a process is already working on it. I tried locking the cache key but it does not stop other process to update it , it only does not allow other process to get lock on it.

  • Update LIKP table while saving the output type in VT02N transaction

    Hi All,
    I have a requirement where i have to update Delivery Priority(LPRIO) field in LIKP table while saving the output type in VT02N transaction. I am not able to use the BAPI "BAPI_OUTB_DELIVERY_CHANGE" or FM "WS_DELIVERY_UPDATE" because, when we save the output type the programs that are configured in NACE are triggered in update mode and hence i will get a roll back error.
    Let me know other ways of updating the table at the time of saving output type for shipment transaction VT02N.

    This could be a result of one of the following reasons:
    1: Incorrect smart form/routine assigned in the output configuration (NACE)
    2: Serial number range of the delivery expired
    3: The default settings of the user (SU01) processing the delivery is missing the default printer name.
    Hope this is helpful
    Manish

  • F110 exits to update REGUP table

    Hi All,
    1) In F110 tcode how REGUP table gets updated ?
    2) In F110 tcode in which exit I can populate REGUP table?
    need urgently .
    Thanks in advance
    Regards,
    Amit

    check the below link for a thread which discuss similar requirement and has all the user exits in F110.
    F110 User Exit -Update Custom Table
    Mathews

  • Java - how to update settings table

    I have this table which is used to store settings into Oracle database
    I want to update the settings with java. I use this java code to update the settings:
    public void updateDBSettings() throws SQLException {
            //here the values from the updatedSettingsMap will be inserted into the database
                String storedPassword = null;       
                String SQL_Statement = null;
                if (ds == null) throw new SQLException();     
           Connection conn = ds.getConnection();
                if (conn == null) throw new SQLException();     
           try {
                conn.setAutoCommit(false);
                boolean committed = false;
                    try {
                           SQL_Statement = "UPDATE GLOBALSETTINGS" +
                                           "   SET settingValue = case" +
                                           "              when settingName = 'SessionTTL' = then ?" +
                                           "              when settingName = 'MaxUsersActive' = then ?" +
                                           "              else settingValue" +
                                           "            end" +
                                           "WHERE settingName in ('SessionTTL', 'MaxUsersActive');";
                           PreparedStatement updateQuery = conn.prepareStatement(SQL_Statement);
                           updateQuery.setString(1, "20");
                           updateQuery.setString(2, "40");
                           updateQuery.executeQuery();
                           conn.commit();
                           committed = true;
                     } finally {
                           if (!committed) conn.rollback();
                    finally {              
                    conn.close();
           }    When I try to run the code get this error stack in glassfish
    javax.faces.el.EvaluationException: java.sql.SQLSyntaxErrorException: ORA-00905: missing keyword
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at javax.faces.component.UICommand.broadcast(UICommand.java:315)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81)
         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
         at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1542)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
         at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
         at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
         at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)
         at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)
         at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)
         at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)
         at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
         at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
         at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
         at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
         at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
         at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
         at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
         at java.lang.Thread.run(Thread.java:722)
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00905: missing keyword
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:879)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:531)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:207)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1044)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1329)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3584)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3628)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1493)
         at com.sun.gjc.spi.jdbc40.PreparedStatementWrapper40.executeQuery(PreparedStatementWrapper40.java:642)
         at com.DX_57.SM_57.Application.updateDBSettings(Application.java:132)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:779)
         at javax.el.BeanELResolver.invoke(BeanELResolver.java:528)
         at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:257)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:248)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
         at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
         at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
         ... 32 more
    Can you help me to correct the SQL statement?
    Best wishes
    Peter

    UPDATE GLOBALSETTINGS
       SET settingValue = case
                            when settingName = 'SessionTTL'  then '100'
                            when settingName = 'MaxUsersActive'  then '20'
                            else settingValue
                          endThe result is:
    Error starting at line 1 in command:
    UPDATE GLOBALSETTINGS
       SET settingValue = case
                            when settingName = 'SessionTTL'  then '100'
                            when settingName = 'MaxUsersActive'  then '20'
                            else settingValue
                          end
    Error at Command Line:5 Column:29
    Error report:
    SQL Error: ORA-00904: "SETTINGVALUE": invalid identifier
    00904. 00000 -  "%s: invalid identifier"
    *Cause:   
    *Action:Is there other way to update the table values with one SQL query?
    Edited by: user10484841 on Mar 16, 2012 8:51 AM
    Edited by: user10484841 on Mar 16, 2012 8:52 AM

  • Updating multiples tables

    Hi ,
    i want to update two tables
    ALTER PROCEDURE [dbo].[SP_updateDetails]
    -- Add the parameters for the stored procedure here
    @ServiceID int,
    @DayoftheWeek varchar(50),
    @Date datetime,
    @Services varchar(50),
    @Venue varchar(50),
    @ProjectName varchar(50),
    @StartTime varchar(50),
    @EndTime varchar(50),
    @Breakfast varchar(50),
    @Lunch varchar(50),
    @Dinner varchar(50),
    @Total varchar(50),
    @HoursTotal varchar(50)
    AS
    BEGIN
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SET NOCOUNT ON;
    -- Insert statements for procedure here
    update DetailsTable set Services=@Services,Venue=@Venue,ProjectName=@ProjectName,StartTime=@StartTime,
    EndTime=@EndTime,Breakfast=@Breakfast,Lunch=@Lunch,Dinner=@Dinner,Total=@Total,HoursTotal=@HoursTotal where ServiceID=@ServiceID and DayoftheWeek=@DayoftheWeek
    END
    ALTER PROCEDURE [dbo].[SP_TimeSheetMain_Insert]
    @EmpID int,
    @EmpName varchar(50),
    @StartDate datetime,
    @EndDate datetime,
    @date datetime,
    @day varchar(50),
    @Service nvarchar(max),
    @Venue varchar(50),
    @StartTime varchar(50),
    @EndTime varchar(50),
    @Breakfast varchar(50),
    @Lunch varchar(50),
    @Dinner varchar(50),
    @DailyTotal varchar(50),
    @Total varchar(50)
    AS
    BEGIN
    insert into EmpTimesheet(EmpID,EmpName,StartDate,EndDate,date,day,Service,Venue,StartTime,EndTime,Breakfast,Lunch,Dinner,DailyTotal,Total
    ) values (@EmpID,@EmpName,@StartDate,@EndDate,@date,@day,@Service,@Venue,@StartTime,@EndTime,@Breakfast,@Lunch,@Dinner,@DailyTotal,@Total
    END
    If i update anything in details table i want to update it into emptimesheet table .Do i need to write another update statement in updatedetails storedprocedure or any other ways that i can simply update emptimesheet.

    Are you looking for a permanent way to update table B each time you are updating table A? In other words, any update of table A will lead to an update of Table B? Or sometimes you need to update the tables without dependency?
    For clarification, A trigger is a database element, which execute on a specific event (therefor the name trigger, as the event trigger the action). Once you created a trigger (and it is enable) it will execute on that even every time! In this case Visakh16
    suggested the use of trigger which will execute on any update event. I just want to clarify if that is what you want, then this is the answer, but if you need some times to use update without dependency and sometimes with dependency, then you can use a simple
    query without creating new element on the database, with using an 'OUTPUT INTO'. It will not fit any DDL, but this is very fast and easy way to insert data into table B using an update statement
    on table A.
    Unfortunately you did not post a DDL+DML, and i dont want to do it for all the columns in your query, therefor i will demonstrate using two simple tables. I hope you will be able to implement this on your table. If you dont, then please post DDL+DML.
    Check is this sample code help you:
    use QQ
    go
    CREATE TABLE TableA (
    TableAID INT PRIMARY KEY,
    TableAName NVARCHAR(10)
    CREATE TABLE TableB (
    TableBID int,
    TableBName NVARCHAR(10)
    GO
    select * from TableA
    select * from TableB
    GO
    insert TableA values (1, 'a')
    GO
    update TableA
    set TableAID = 2, TableAName = 'b'
    OUTPUT INSERTED.TableAID,inserted.TableAName INTO TableB
    select * from TableA
    select * from TableB
    GO
    DROP table TableA
    DROP TABLE TableB
    GO
    this is the main Idea:
    update TableA
    set TableAID = 2, TableAName = 'b'
    OUTPUT INSERTED.TableAID,inserted.TableAName INTO TableB
    I hope this is helpful :-)
    [Personal Site] [Blog] [Facebook]

  • Error while updating a task - Task acquired by some other user

    Hi,
    I have a task assigned to a Group (AdminGroup). To update the outcome of task ie to approve task i am first acquiring the task and then updating the task outcome.
    But while doing so i am getting following error:
    Invalid action on workflow task.
    Action OUTCOME_UPDATE on task 101d12624092f7d9:-1f79044d:124e34e8057:-7b4e is not valid because of The task has been acquired by some other user..
    Contact oracle support if error is not fixable.
    at oracle.bpel.services.workflow.task.impl.TaskService.performPreActionValidation(TaskService.java:3408)
    at oracle.bpel.services.workflow.task.impl.TaskService.updateTaskOutcomeAndEvaluateRoutingSlip(TaskService.java:1074)
    at oracle.bpel.services.workflow.task.impl.TaskService.updateTaskOutcome(TaskService.java:941)
    at oracle.bpel.services.workflow.task.impl.TaskService.updateTaskOutcome(TaskService.java:920)
    at oracle.bpel.services.workflow.task.ejb.TaskServiceBean.updateTaskOutcome(TaskServiceBean.java:410)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:396)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:622)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiresNewInterceptor.invoke(TxRequiresNewInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at TaskServiceBean_RemoteProxy_68d4144.updateTaskOutcome(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    The code that i am using for updating the task outcome is as follows:
    The error should not come as the context of user is same for acquiring and updating.
    IWorkflowContext wfCtx=wfSvcClient.getTaskQueryService().authenticate("oc4jadmin", "oc4jadmin",
                   "jazn.com", "admin");
                   ITaskService objITaskService=wfSvcClient.getTaskService();
                   objITaskService.acquireTask(wfCtx, strTaskID);
                   objITaskService.updateTaskOutcome(wfCtx, strTaskID, "APPROVE");
    Here admin is the user that belongs to group AdminGroup and the task is assigned to AdminGroup.
    It was working fine a week ago on the same enviornment but from past few days am getting this error.
    The BPEL version is 10.1.3.0.
    Help appreciated!!
    Regards,
    Bhavik

    hi,
    Thanks Marc for the reply.
    Before acquiring the task , I have checked the acquiredby column in wftask table in orable schema and its value is null.
    So it allows me to acquire the task. The error that i am getting is on updating the task outcome.
    While updating it is giving error as: task already acquired by some other user.
    This should not happen as the workflow context that i am using for acquiring the task and updating the task is same.
    Regards,
    Bhavik

  • EWS API - Impersonating to update a calendar item created by any other user than a service account, raise an error "Access is denied. Check credentials and try again."

    Hi,
    I am new to using EWS managed APIs.
    Following is the issue:
    1. I am using a service account e.g. [email protected]. This user is a global administrator and also has ApplicationImpersonation role assigned. (Sign into Online Office 365 account -> Admin -> select "Exchange" tab- > select Permissions
    on the left panel -> create an impersonation role -> assign ApplicationImpersonation in Roles: and [email protected] in Members: -> Click on save)
    2. Create a calendar item by other user for e.g. [email protected], and invite an attendee - [email protected].
    3. In a c# program, I connect to EWS service using a service account - [email protected], fetch its calendar events. If organizer of an event is some other user - [email protected] then
    I use impersonation in the following way to update the calendar event/item properties- subject, body text etc.
            private static void Impersonate(string organizer)
                string impersonatedUserSMTPAddress = organizer;
                ImpersonatedUserId impersonatedUserId =
                    new ImpersonatedUserId(ConnectingIdType.SmtpAddress, impersonatedUserSMTPAddress);
                service.ImpersonatedUserId = impersonatedUserId;
    4. It was working fine till yesterday afternoon. Suddenly, it started throwing an exception "Access is denied. Check credentials and try again." Whenever I try to
    update that event.
           private static void FindAndUpdate(ExchangeService service)
                CalendarView cv = new CalendarView(DateTime.Now, DateTime.Now.AddDays(30));
                cv.MaxItemsReturned = 25;
                try
                    FindItemsResults<Item> masterResults = service.FindItems(WellKnownFolderName.Calendar, cv);
                    foreach (Appointment item in masterResults.Items)
                        if (item is Appointment)
                            Appointment masterItem = item as Appointment;
                            if (!masterRecurEventIDs.Contains(masterItem.ICalUid.ToString()))
                                masterItem.Load();
                                if (!masterItem.Subject.Contains(" (Updated content)"))
                                    //impersonate organizer to update and save for further use
                                    Impersonate(masterItem.Organizer.Address.ToString());
                                    // Update the subject and body
                                    masterItem.Subject = masterItem.Subject + " (Updated content)";
                                    string currentBodyType = masterItem.Body.BodyType.ToString();
                                    masterItem.Body = masterItem.Body.Text + "\nUpdated Body Info:
    xxxxxxxxxxxx";
                                    // This results in an UpdateItem operation call to EWS.
                                    masterItem.Update(ConflictResolutionMode.AutoResolve);
                                    // Send updated notification to organizer of an appointment
                                    CreateAndSendEmail(masterItem.Organizer.Address.ToString(), masterItem.Subject);
                                    masterRecurEventIDs.Add(masterItem.ICalUid.ToString());
                                else
                                    Console.WriteLine("Event is already updated. No need to update again.:\r\n");
                                    Console.WriteLine("Subject: " + masterItem.Subject);
                                    Console.WriteLine("Description: " + masterItem.Body.Text);
                catch (Exception ex)
                    Console.WriteLine("Error: " + ex.Message);
    5. What could be an issue here? Initially I thought may be its a throttling policy which is stopping same user after making certain API call limits for the day, but I am still seeing this issue today.
    Any help is appreciated.
    Thanks

    Your logic doesn't sound correct here eg
    2. Create a calendar item by other user for e.g. [email protected], and invite an attendee - [email protected]
    3. In a c# program, I connect to EWS service using a service account - [email protected], fetch its calendar events. If organizer of an event is some other user - [email protected] then
    I use impersonation in the following way to update the calendar event/item properties- subject, body text etc.
    When your connecting to [email protected] mailbox the only user that can make changes to items within
    abccalendar is abc (or ABC's delegates). If your impersonating the Organizer of the appointment pqr that wouldn't work unless the organizer had rights to abc's calendar. If you want to make updates to a calendar
    appointment like that you should connect to the Organizers mailbox first update the original, send updates and then accept the updates.
    When you impersonate your impersonating the security context of the Mailbox your impersonating so its the same a logging on as that user in OWA or Outlook.
    Cheers
    Glen

  • Im trying to update db table in  user exit, with the internal table

    Im trying to update db table in user exit, with the internal table
    my scenario:
    loop at itekpo.
    updating itekpo -
    > at the end of user exit the db table ekpo have to be updated
    endloop.
    Im updating internal table, using 
    MODIFY itekpo TRANSPORTING INCO1 INCO2  WHERE ebeln = itekpo-ebeln
    where itekpo is internal table, but it is not updating the db table 'ekpo'.
    i also tried updating ekpo directly !
    Thanks in advance

    Hi,
    you can search in the forum itself,
    Try this link for instance
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=tocreateaBADI&adv=false&sortby=cm_rnd_rankvalue
    You can find a code for finding BADI as a report with the following Transaction
    finding badis
    How to find BADIs
    Reward if helpful
    Regards
    Byju

  • Table data getting locked for multiple user for a Z-table updation after EH4 to EHP6 Upgrade

    Hi,
    We have one new upgraded system at EHP6, earlier system was at EH4 where multiple user can Run one Z  T-code and can edit the entries for the Z-table.
    This Z-Tcode is calling SM30 internally for updating the Z-Table.
    Now in the upgraded system, when one user is into the transation code, and other user runs that T-code, systems throws a POP-UP mesg saying that the data is locked and can be displayed only(can not be edited).
    I have debugged the code in both the environment and found that there is one statement Call C_ENQUEUE ID < > field. for which the Sy_Subrc is coming as 2 in the upgraded system which is causing the issue, where as the sy-subrc is 0 in the system at EH4 level.
    Can any body tell me why this Z-tcode is not allowing to be accessed by multiple user at same time for Editing(updating the table) .
    Regards,
    Archana Jha

    Hi,
    When you create the lock object you can define the keys.
    and then you can use those in the ENQUEUE function.
    Regards.
    regards.

  • Updation in other user

    Hi,
    I want to connect to another user in database proceedure , and do some updation and insertion in that user and
    then switch back to where I am first.
    Any body can help me for this task.
    I tried with alter session set current_schema.
    But i can only select from that user , But updation is not working in that user.
    Thnx in advance.

    There are various ways.
    Simplest is for that user to grant permission to your user to allow inserts, updates or deletes as appropriate and then you can simply do it directly from your own user.
    Alternatively, that other user can have some procedures which control the insert/update/deletes and then permission is granted on those procedures for your own user to call, thus keeping the control over access with the other user.
    For either of those, synonyms can be created in your own users schema to make the other users object appear as if they are in your own such that you can just reference e.g. a table, simply by it's name rather than having to prefix it with the other users schema first.
    All depends on the requirements and restrictions implemented on the database. Without more information that's about all the help we can give.

  • How can an user update "Decision Table" in BRM?

    Dear Friends,
    I have some query related to BRM and I am using it for the first time. So my query could be very simple but kindly reply friends.
    Lets say, I would create a set of decision tables in BRM....but the values in the decision table are to be maintained by the user...so how would the user maintain these values in the decision table? I know about only these 3 methods....
         i) changing the values directly in rules composer
         ii) upload an excel file and get the values updated in runtime
         iii) use http link '\rulesmanager' to update the values
    But none of these methods would be suitable for the user to update those values right. I mean, How can we give the admin privilege to the user so that he can modify using rulesmanager!
    So these are my two basic queries:
         1) Can we update the values in the decision table from a WebDynpro GUI?  OR
         2) Can we automatically generate a WebDynpro GUI by giving Decision table as input and the GUI as output? We can give this GUI to the user for value maintenance.
    If (1) is possible, we need to do lot of work in creating different Webdynpro GUIs for maintaining the values. So what I would prefer is (2).
    Could anyone please let me know how can I do (2)? If (2) is not possible, then please tell me how to proceed with (1)?
    Expecting your earliest reply...Thanks a million in advance...
    Warm Regards
    Anand Uthaman

    Dear Oliver,
    Thanks for your quick reply. As you said, rules manager is the best way to let the user interact with the rules (we just need to maintain the privileges).
    But consider this scenario in BRM. If the data that we need to maintain in the BRM decision tables are system generated then how is it possible to maintain the data? Is there any way to access and update the decision tables from the WD GUI?
    Let me give you another scenario. If we need to create a rule to get a property of a particular product and if there are so many products (say 25,000 - 50,000) then should we maintain these many records in the decision table? It would be difficult to maintain this rule right. Is there a better way to do this? Or is it that the oracle DB is a better way to handle these kind of scenarios?
    Expecting your earliest reply. Thanks a lot in advance for your time.
    Thanks 'n Best Regards
    Anand P V

  • Problem in updating LIPS table in outbound delivery user exit

    Hi,
    I wrote a code in outbound delivery user exit (save document userexit) to update LIPS table.
    for example
    XLIPS-LGORT = '0657'.
    XLIPS-PIMNG = I_LIPS-LFMING
    (PICKing QUANTITY =  DELIVERY QUANTITY)
    MODIFY XLIPS TRANSPORTING LGORT PIMNG.
    After outbound delivery created i couldn't found my entries in lips table. it shows me as blank.
    Can anybody tell me what went wrong?
    Thanks and Regards,
    Suresh.

    Hi Suresh,
    If you want to change any delivery data, like LIKP or LIPS you should use the USEREXIT_SAVE_DOCUMENT_PREPARE exit. The exit you are using is called after all delivery data is passed to the update task.
    Regards,
    John.

Maybe you are looking for