Maintaining/updating a table without access to SM30

Hello,
Does anyone know if it is possible to change table entries without having access to SM30/31 (i.e. for example if being able to execute the program on which the transaction is based). I am trying to find all users who can modify the exchange rates table (TCURR). I executed report RSUSR002 with arguments: Authorization Object=S_TABU_DIS, Activity=02 and Authorization Group=FC32 (obtained it from TDDAT). Do you know if this approach is correct? If I add an additional filter, such as all users who also have access to transaction SM30, the list is much smaller?
Thanks a lot!
Martin

Hi Martin,
Have you looked standard program <b>RFDWZFF0</b>?
Hope this will help.
Regarsd,
Ferry Lianto
Please reward points if helpful.

Similar Messages

  • Updating ARDT table without using direct update statement

    hi,
        can any one guide me how to update REMARK field in the ADRT table without using direct UPDATE statement. It would be helpful if any one can tell me the bapi or a function module with a sample code.

    Hi                                                                               
    <b>SZA0                           Business Address Services (w/o Dialog) </b> ADDR_PERSONAL_UPDATE                                                          
    ADDR_PERSON_UPDATE                                                            
    ADDR_PERS_COMP_UPDATE                                                         
    ADDR_UPDATE                                                                   
    these are the four function modules which will update the (Business Address Services) reward if usefull
    check these is there any  help ful for u or not

  • Updating multiple tables from updatable report

    Hi, I'm new to APEX and SQL and need some help
    I've got 2 tables, one for person (containing employee_id which is the primary key and position_id, which shows the position that the employee fills, and some others) and one for position (containing position_id as primary key and current_inc, which shows which employee is currently in that position, and various others). All variables are varchar2.
    Now I've made an updatable report for the person table that can add and update the table without problems using a multi row update, but I also want if to update the value of current_inc in the position table if I were to assign a position to a certain employee in the person table.
    I've though of using either a trigger or a procedure to do it but havn't been able to find satisfying examples online.
    Any suggestions on how to do it (please include sql code)
    Thanks
    V

    Instead of trigger on view... Create a view with the tables you want updated, then build and instead of trigger on the view to handle the updates between tables See this blog entry for an example: http://dgielis.blogspot.com/2006/09/updateable-view.html
    Thank you,
    Tony Miller
    Webster, TX

  • 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]

  • Way to access config table without opening system

    Hi Experts,
    In the PSCD module, there are some config tables that need to be updated weekly with data.  This weekly maintenance is not in line with the goal to reduce our transports to PROD to once a month.   How can we update those tables directly without transporting or opening the system?
    An example is table TFK001U.  We need to enter new users in that table.  It is a client specific table.  It stores 3 fields, client, user name , and recon group.  We have a tcode to access it directly, but still get the message:  TK430 (Client XXX has status 'not modifiable').
    Please advise how to get around that error.
    Thanks in advance,
    Cindy

    No. I think to maintain this one, you need also or opening the client or make changes with closed client but asking for a request and transporting this content.
    In last case, you need table maintenance dialog but don't need a transaction if you can use SM30 to maintain it.
    PS: Sometimes we ask to BASIS team to open a system for a while, so we can make our changes and after that ask them to close it again. It depends on your necessity.
    best regards.
    Glauco
    Edited by: Glauco Kubrusly on Jul 21, 2011 11:40 AM

  • Access other schema's table without specify the schema name

    Hi, need ur help again,
    I would like to access other schema's table without specify the schema name. for example,
    select * from hr.jobs;
    What priviledges i need if i want to select the data in this way:
    select * from jobs;
    Thanks!

    Public synonyms have their place, but are not generally a good idea as they will cause conflicts with other schemas and applications. Another think that you can do is issue the
    ALTER SESSION set CURRENT_SCHEMA = schema;
    The CURRENT_SCHEMA (8i and above) parameter changes the current schema of the session to the specified schema. Subsequent nqualified references to schema objects during the session will resolve to objects in the specified schema. The setting persists for the duration of the session or until you issue another ALTER SESSION SET CURRENT_SCHEMA statement. CURRENT_SCHEMA is a session parameter only, not an initialization parameter.
    This setting offers a convenient way to perform operations on objects in a schema other than that of the current user without having to qualify the objects with the schema name. This setting changes the current schema, but it does not change the session user or the current user, nor does it give you any additional system or object privileges for the session.

  • Unable to update or insert into Access database table using OleDB, and it doesn't return any errors.

    I'm new to VS. I have run the following code. It does not produce any error, and it does not add or update data to my Access database table.
    dbUpdate("UPDATE prgSettings SET varValue='test' WHERE varSetting='test'")   
    Function dbUpdate(ByVal _SQLupdate As String) As String
            Dim OleConn As New OleDbConnection(My.Settings.DatabaseConnectionString.ToString)
            Dim oleComm As OleDbCommand
            Dim returnValue As Object
            Dim sqlstring As String = _SQLupdate.ToString
            Try
                OleConn.Open()
                MsgBox(OleConn.State.ToString)
                oleComm = New OleDbCommand(sqlstring, OleConn)
                returnValue = oleComm.ExecuteNonQuery()
            Catch ex As Exception
                ' Error occurred while trying to execute reader
                ' send error message to console (change below line to customize error handling)
                Console.WriteLine(ex.Message)
                Return 0
            End Try
            MsgBox(returnValue)
            Return returnValue
    End Function
    Any suggestions will be appreciated.
    Thanks.

    You code looks pretty good, at a quick glance.  Maybe you can simplify things a bit.
    For Insert, please see these samples.
    http://www.java2s.com/Code/CSharp/Database-ADO.net/Insert.htm
    For Update, please see these samples.
    http://www.java2s.com/Code/CSharp/Database-ADO.net/Update.htm
    Knowledge is the only thing that I can give you, and still retain, and we are both better off for it.
    Best to keep samples here to VB.NET
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • How does one update Std Table EDIPHONE(there is no Table Maintainance)?

    How does one update Std Table EDIPHONE(there is no Table Maintainance)?
    Regards,
    Shashank.

    You should not update the standard database table directly.
    through the partner profile tcode: WE20 you can update the table EDIPHONE.
    u can choose required partner profile in the WE20, select the tab 'Telephony', and update the data, the table EDIPHONE will get updated.
    if you want to maintain this edi phone data for a particular message type/s then select inbound/output parameters and double clikc on it, go to last tab in teh screen 'Telephony',  and updated the required data.

  • Update condition table A846 belonging to the MWST access sequence

    Hi.
    I´m working with CRM 3.0, and we had a TAX change in R/3, now when we try to update de table A846 (R/3 table) in crm, with Tx r3as the table clears all records and don´t write the new records! this table concerns to a access sequence for condition MWST.
    I think the problem could be in the zdnl_cond_a846 filters, but I don´t know wich were the original filters.
    Thanks

    Hi,
      Did you downloaded DNL_CUST_CND, DNL_CUST_FGD, DNL_CUST_PRC?
      After downloading DNL_CUST_TAX  verify your tax load in CRM using report CRM_TAX_CUST_VALIDATE.
    If you have any issues in Tax Settings in CRM, tax related data will not be loaded into CRM.
    Regards,
    Bhanu

  • Update TVARV table entries using a Function Module or Program

    Hi Gurus,
    My requirement is that I have a entry in TVARV table which has a 'low'. We would like to change this value whenever we desire. We are unable to do it via sm30 and se16 as table maintenance access is not permitted in Production environment.
    Can you please provide any Function module or program code to do it?
    Requirement - User can enter a value into TVARV table by executing a function module or program
    Thank you all, will award points,
    Priyansh

    Hi Priyansh,
    Please refer to SAP Help for more information on variant maintenance and more specifically variable values in variants. You can use t/code STVARV for maintaining the variant variables in table TVARVC (Client-Specific Variant Variables).
    Note: I suggest to use the TVARVC table instead of TVARV.
    If you are looking for Function Modules in the area of Variant Maintenance, then please have a look at Function Group SVAR (t/code SE80).
    If you are looking for Function Modules in the area of User Variables in Variants, then please have a look at Function Group SVUV (t/code SE80).
    Furthermore, if you are looking for a program to update table TVARVC, please have a look at ABAP: Dynamic Variant Processing with STVARV.
    Best eregards,
    Sander

  • Error updating the table condition table 372 in J1IIN

    Hello all,
    I am facing the problem in the transaction code J1IIN (In CIN).
    I have maintained the condition type JEXP ( A/R BED %) as 16% with the Key combination Country/Plant/Control Code (Table 357). While iam saving the Excise invoice the system is throwing the error like Error updating the table condition table 372
    I have gone through the post given by Ms. Jyoti few days back and tried to do some changes in the customisation.
    I tried to maintain a different access sequence for the condition type JEXP i.e In the access sequence except condition table 372, I have maintained all other condition tables.
    Still the error is persisiting. Can anyone put some light on the issue.
    I have even traced the values being hit in the tables directly. There is no relation of table 372, then why is it being cause of the error.
    Gurus plz give ur suggestions.
    Thanks
    Srinivas

    Hello Srinivas/Sandeep
    Please ensure that access sequence in the condition type JEXC has got the table 372. If it is not there please maintain it.
    The standard access sequence used in all duty condition type
    is JEXC  which has got the table 372 this will get updated once
    you save your excise invoice.
      If the issue is resolved, kinldy close the message.
    Regards
    MBS

  • Error updating the table 372

    Hi Gurus,
    I maintained the JCEP ( A/R Cess %) as 3%. While iam saving the Excise invoice the system is throwing the error like error updating the table condition table 372
    Gurus plz give u r suggestions.
    regards,
    jyothi.
    Edited by: jyothi. on Feb 25, 2008 7:26 AM

    Hi Murali!
    Even I am facing the same problem while working in ECC 6.0 environment. I  am continuing in the same post as I feel it is most relevant post to continue the issue instead of opening a new issue.
    I tried to maintain a different access sequence for the condition type JEXP i.e a new Access sequence(ZJEX) and also a new condition tpe (ZJEP). We don't have other Excise condition type in our Pricing procedure.
    In the access sequence except condition table 372, I have maintained all other condition tables.
    We have maintained the values against table 357- Country/Plant/Control Code.
    Still the error is persisiting. Can you put some light on the issue.
    I have even traced the values being hit in the tables directly. There is no relation of table 372, then why is it being cause of the error.
    Thanks in advance,
    Regards,
    Karthik.

  • Update EKKO table

    Hi,
    I have got the requirement to update EKKO table while creating PO. The exact scenario is, I need to update email address based on some condition while creating PO.
    This is what I have found:
    When we create PO, the ADRNR field of EKKO would have a value. But when we change address in the PO manually then it would have ADRNR field value in EKKO. It will not change address in the vendor master record. In stead it is maintaining separate entry in ADRC.
    My issue is I have written the logic in EXIT_SAPMM06E_012 to generate ADRNR while creating PO. I do not know where to update the field ADRNR of EKKO. Am I following right step. Please advise.
    Thanks,
    Ramesh

    Hi,
    The sandard SAP approach is, whenever you change an address in address tab of PO the ADRNR field in the EKKO will be generated and corresponding record will be created in table ADRC.
    If your only requirement is to only store mail address, based on certain condition in PO and for that PO only, then you can store then mail address in any unused field at the header level in PO which is big enough to store the mail address or you can store the mail address in any header level text which you are not using.
    If this fulfil your requirement without affecting any other functionality you can dissucc with your functional consultant and decide which way to adopt.
    Regards,
    Pratik

  • Error updating in table

    Hi,
    I'm updating a Master-Detail table, when I'm updating table its generate following error i.e
    Current version of data in database has changed since user initiated update.current checksum = "650813AF26DC2A7B5B371364DA0947F4", item checksum = "8A5BD352579816A64B541699495E9B20".
    Thanks in advance.
    Baloch.
    Edited by: Baloch on Dec 28, 2010 11:12 AM

    Hello Srinivas/Sandeep
    Please ensure that access sequence in the condition type JEXC has got the table 372. If it is not there please maintain it.
    The standard access sequence used in all duty condition type
    is JEXC  which has got the table 372 this will get updated once
    you save your excise invoice.
      If the issue is resolved, kinldy close the message.
    Regards
    MBS

  • Enqueue and Dequeue before updating Database table

    Hi all,
    We are updating database tables using INSERT, MODIFY and UPDATE statements. Since many people will be running the application at the same time we need to lock the table before updating database table. So we need to use ENQUEUE and DEQUEUE functionality for this purpose.
    Can any plz explain what are the steps we should follow now?
    Thanks in advance.

    Hi,
    Any Database access should carefully handled as multiple applications may be accessing the database at the same time. To read a record from the database you don't need to implement a lock, but to write you need not only locks but also ideally should use the Update Function Modules to comply SAP "All or Nothing" Principle. This will prevent data inconsistency of the database and the data will be proper state. You need to use the COMMIT WORK and ROLLBACK WORK in you code to handle the consistency part of the database.
    The best design approach would be seperate the Database Layer completely from the business layers. This will make your code robust and easy to maintain.
    As, for the Locking Concepts, you will get multiple resources from SDN as how to create Locks and implement the Locking modules in your code. But more than that what matters is why and how to implement the SAP Locking concepts to make your application run better.
    Have a look at the following link
    http://help.sap.com/saphelp_nw70/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    Hope this helps.
    Thanks,
    Samantak.

Maybe you are looking for