TIP: Changing entries directly in any SAP table

Use transaction SE16N -> Enter the table name and press enter to read the fields in.
Then type &SAP_EDIT in the transaction area (as a function code) and hit enter. A success message displays saying "SAP Editing function is activated".
You can now execute the report and you can edit any field except the key fields.
Use with caution!!!
This is a replacement of the blog at [/people/kevin.wilson2/blog/2009/09/29/tip-editing-any-table-in-sap|/people/kevin.wilson2/blog/2009/09/29/tip-editing-any-table-in-sap] which has stirred so many great discussion points on security.

>
J@Y wrote:
> ... it would help for Ztable data as you mentioned.
In that case one could argue that the authority-checks are both too strict (for the system debugger) and not granular enough (for the replace function in the ABAP debugger).
Reason: For the package and the object name, the system is checking against a DUMMY element on all 3 activities used by the command. This is the equivalent of "anything which is something" in the ABAP world. If you call it programatically, then only the ability to display something in the debugger is sufficient to change everything...
So, if you have access to execute ABAP workbench objects combined with the ability to debug a Smartform, then you can change any database table which you could prior also have displayed.
OR
Don't give anyone any debug authority in production at all.
Works like a charm and the developers eventually start testing their programs more in DEV and QAS and taking collective responsibility for the quality of the coding in the first place...
Cheers and enjoy the weekend (hopefully without having to be called in the middle of the night to debug some program which won't execute, or debug a table because the program did execute...
Julius

Similar Messages

  • HTTP response time - From any SAP table.

    Hi,
    Can we get http response time other than from SMICM u2192 Http log?
    Reason for me to ask is we cannot see complete URL in smicm log with response time.
    date - "POST /sap/bc/webdynpro/sap/cprojects/?sap-contextid=......................................... HTTP/1.1" 200 325894 9555 h[-]
    As per sap help link complete URL after contextID is hidden for security reason.
    http://help.sap.com/saphelp_crm70/helpdata/EN/48/442541e0804bb8e10000000a42189b/frameset.htm
    u201CFor security reasons the following information is hidden (replaced with points) from the logging procedureu201D
    Question: can we access complete URL from any table level with http response time, any input is appreciated.
    Thanks,
    Venkat.

    Michael,
    First of all, thanks for the reply.
    In our environment we have cprojects implemented and have lot of webdynpro request to ECC system.
    From http log (SMICM) I can see many webdynpro requests with response time above 30 minutes; I want to automate this monitoring by writing a CCMS data supplier. We already have SAP document to write data supplier.
    Scenario: For example if they are doing a task in cprojects.
    We will be having a GET webdynpro request and then POST. By looking at GET we can know the task user is trying to do. But it is POST request which will be taking most of the response time and POST URL is show u2026(point) after context ID and as per SAP help this is done for security reason.
    HTTP log from SMICMu2026
    [DATE] - "GET /sap/bc/webdynpro/sap/cprojects?sap-client=clnt&STARTVIEW=Tasks&OBJECT_TYPE=TTO&GUID=GUIDNUMBER
    [DATE] - "GET /sap/bc/webdynpro/sap/cprojects/~ucfLOADING?sap-contextid=....................
    [DATE] - "POST /sap/bc/webdynpro/sap/cprojects/?sap-contextid=........................[response time]
    I think SAP is displaying as point in http log file, but it should definitely have complete URL is any of the table.
    So I am looking If we can find the complete POST URL with response time from table then we can write an ABAP program to send the information to CCMS.
    Thanks,
    Venkat.

  • Any SAP Tables from where one can find if the delivey was goods issued ?

    I want to know all the tables and column name in SAP that we can query to know if a particular outbound delivery note was  goods issued ( complete good issued for all the delivery lines) ?

    Hi
    Raj
    Pl check the document flow of delivey in VL03N if PGI is done then material doc no will be there. Please take that mat doc and put in the table MKPF u will see the detail. Use MSEG to see the good mvt. Just put the Mat doc no in the field and u will get the details.
    LIKP and LIPS are for delivery for PGI doc u have to refer the above tables.
    Hope this will help u.
    Thx.

  • Who mainatined the entries in sap table

    Hi,
    Can someone please tell me how do I find which user mainatined the entries in table B006 or any sap table.
    Also how will I know who has authorization to maintain the entries.

    hi
    first go to SE16n and enter the table name as CDPOS  and in the selection screen enter the table name as B006 and execute now you will get the following
    change doc object
    object value
    document number
    make a note of the above and now goto se16n and enter the table name as cdhdr and enter the above values which you got in CDPOS
    like change doc object or object value and execute now you will get the user name who had maintained or changed the entries for that table
    regards

  • How do remove commitment value in the PO ? any SAP note avl?

    Hi,
    Project (WBS)releated service PO (Account assignment category P and Item category D), in which SES,GR,IR have been completed for entire Project services for the year 2005,PO history also updatd for SES, GR,IR in the 2005 only.But Now system is showing still commitment value in the PO for the year 2009?.
    Henece how do remove the inconsistency of the  commitment value in the PO for the year 2009?. (i.e value is comming from COOI table entry).Is there any SAP NOTEs are available for this case?
    Note:
    But this case no PR has been refered in the PO. PO has been directly created, and PO  QTY,Value changes have not been done after SES,GR,IR completion.
    But still system  commitment value is showing in the PO for the year 2009, so HOW do remove the value?
    i am looking suitable answers.
    Regards,
    kumar

    Hi,
    Pre-requisites for a commitment update are:                                                                               
    o  In transaction OKKP, the commitment management indicator must be              
           active for the given controlling area in the current fiscal year.                                                                               
    The controlling area is the highest organizational unit in Controlling,              
    however this area is missing from the accounting data of the PO.                                                                               
    o  The accounting objects must be active for commitments:                                                                               
    -  Work orders: The commitment management indicator must be set               
              in transaction KOT2 for the given order type.                                                                               
    -  Cost centers: In transaction KS02, in register "Control", the              
              commitment update indicator must NOT be set.                                                                               
    -  Projects: see note 47992                                                                               
    o  In transaction CUNI, the unit of measurements used at item level              
           must be set to value based commitment.                                                                               
    Please check the following notes 152571, 634298, 459509 and            
    772206 carefully and also 165823. 
    Please check also if the "delivery complete" indicator is set in the PO item (see note 735404).
    Usually for service POs the "Delivery completed" indicator will be   
    hidden and this indicator is fully controlled by the "final entry    
    sheet" indicator in ML81N. You must allow to set this indicator trough a field selection customizing for your PO item.
    Regards,
    Edit

  • How to add  functionality in  SAP tables

    Hi All,
    i created one  enchancement to ME31K screen,
    i added one button to contract header  page when user click on this button it will tak me to my functionlity.
    and in my screens i added one more button that will tak me to contract header  page.( i used that stmt 'Leave program').
    but in second cycle if the user click on button it is showing me the following error.
    This function not defined
    Message no. 06006
    Diagnosis
    There is no entry for this function in Table 168F (system table). An error involving the screen control has probably occurred.
    Procedure
    Contact your system administrator.
    Am i need to add this functionalty to any  sap table.
    plz guide me on this.
    Thanks & Regards,
    Murthy Sannidhi

    Hi,
    The function exits used for screen enhancement of ME31K screens would have an export parameter E_UCOMM. Which needs to be mapped to a function code maintained in T168F table. Ideally 'KOPF' function needs to be passed onto E_UCOMM within the function exit.
    i.e. E_UCOMM = 'KOPF'.
    This shall solve the issue.
    Thanks & Regards,
    Kiran Kumar Somaroutu

  • There is no entry for this function in Table 168F (system table). An error involving the screen control has probably occurred.

    Hi All,
    i created one  enchancement to ME21n screen,
    i added one screen at header
    When i running the the transaction ME41 it shows the following error.
    This function not defined
    Message no. 06006
    Diagnosis
    There is no entry for this function in Table 168F (system table). An error involving the screen control has probably occurred.
    Procedure
    Contact your system administrator.
    Am i need to add this functionalty to any  sap table.
    plz guide me on this.

    Hi Krishna
    Have you added any buttons in the custom screen if yes then you will have to maintain configuration data for Function code processing.
    Please search on SCN for the same
    Nabheet

  • Read SAP table data outside of SAP, without a SAP license

    Hello all,
    I have been asked to allow people within my company to directly access vendor information, but of course they don't want to purchase a SAP license.
    Yes, yes, I know that directly reading from SAP tables at the Oracle database level is generally frowned upon.
    I can envision creating an external application that presents the user with a screen of searchable fields, uses these fields to create SQL for the oracle tables LFA1, LFB1, ADRC, and ADR6, and returns a report of vendors that match the selection criteria.  The report could have drill down capability to give additional detail per vendor  This application would be executed with a user that has read only table access to the aforementioned tables.
    I just started to use the Oracle tool SQL Developer for a project that has nothing to do with SAP and that gave me the idea I described in the previous paragraph.
    Is anyone doing something like this?  Or what other methods are being used to allow on demand access to SAP tables, without a SAP license . 
    We are using SAP Enterprise Edition  version 4.7and Basis 620.
    Thanks
    Bruce

    Hello,
    You can use an RFC to extract data from SAP.
    Depending on the language you can extract data, for example if it is on .NET, you can use the .Net SAP conector, and create a RFC function on SAP, that returns the data you need.
    To extract the data you will need a valid SAP user and password.
    Hope this helps
    Gabriel P.

  • To upload a data into SAP Table with the help of RFC function in BODS

    Hi,
    Please provide me step-by-step solution to upload data into any SAP table with the help of RFC function in Data Services.
    I have created RFC function that upload data into SAP table. RFC Function contains one table that has same structure as my database table.
    In the data services how can i filled the table of RFC function, i am using this function in query transform of data services but it gives me error.
    I am also follow link http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsDataServicesTipsand+Tricks
    but it did not help me.
    Thanks,
    Abhishek

    Hi Abhishek,
    Did you import the function module in the SAP datastore first? When you open the SAP datastore, the function should be listed in the 'functions' section. If not, import it. Make sure your function is remote executable.
    Once the function is there, you can use it in a transformation. In 'Schema Out' right-click on 'Query' (top level) and choose 'New Function Call'. You can then select a datastore and a function in the datastore. The wizard will show you which output parameters are available. I believe you have to add at least one and can select as many as you like.
    After confirming your selection the function and the output parameters appear in Schema Out. You can then right-click on the function and choose 'Modify function call'. A popup will appear where you can specify the input parameters.
    I hope this helps.
    Jan.

  • Details of SAP table

    Hi
    IS there any SAP table holds the details of no. of records in each SAP tables.
    Thanks in advance

    Joe ,
    In DB02 -> current size -> Table&Indice(F2) then give your table name in 'object'.
    This will give the info.
    What you can do, is to do that ( <b>trace activated</b> ) !
    ( ST05, activate, do DB02, ..etc , ST05, deactivate & display, perhaps you'll be able to track the right table.
    Hope this helps,
    Erwan

  • SAP Tables for Bex Jump Queries

    Hello Everyone,
    Need to know, is there any SAP table which stores the list of jump queries in the system.
    Can you share your inputs.
    Regards,
    John

    Thanks all for the reply. I can able to get the query name using two table rsbbsquery and rszeltdir table...but i just able to get the query tech name which i dont know whether it is a summary query name or the detail query name... so how can identify ???
    I have one more follow up question with reference to the SAP table...
    Lets say we are creating a jump query from summary query " Query 1 " did the jumpto config on the plant characterstic and jumping to detail query " query 2".
    I would like to see the query 1 to quer 2 relationship in the table.
    Do we any table which stores this information, after creating the config in RSBBS.

  • Modifying SAP Tables directly

    Hi Friends,
    As per SAP, no one should update SAP standard tables diectly. I mean direct modification of data in standard table is not a good practice. But my query is, whether it is been mentioned in any Notes or Best Practice? <removed_by_moderator>
    Thanks And Regards
    Pradipta Kumar Mishra
    Edited by: Julius Bussche on Sep 1, 2008 8:43 AM

    >
    Pradipta Kumar Mishra wrote:
    > As per SAP, no one should update SAP standard tables diectly. I mean direct modification of data in standard table is not a good practice. But my query is, whether it is been mentioned in any Notes or Best Practice? <removed_by_moderator>
    It's not mentioned in precisely the terms you specify in any SAP official note or good practice document I've ever seen.  But then also there's no note that says that if you delete all your backup tapes and then reformat your harddrives, SAP won't help you recover your data.
    I like note 415983 about using unreleased function modules potentially leading to a violation of license agreement.
    The problem you described is caused by the fact that unreleased function modules were used for a customer development or modification. This is a violation of the software agreements with SAP.
    The consequences are as follows:
    o   If malfunctions occur after changes have been made to unreleased function modules or if unreleased function modules were used, you are not entitled to any support nor does SAP provide support in these cases.
    o   In case of violations, SAP reserves the right to dun the violation of the terms of use and to make a claim for compensation.
    There's nothing quite as explicit that I've found about updating tables directly.  (Though given the above, I'd be surprised if something similar wasn't found in the licensing legalese)  The nearest is note 890379, where it's clear you won't get support for errors caused by "the use of User Exits, Z-Transactions and Modifications to or Custom Developments created in addition to, the Standard SAP code".
    So, there's nothing to stop you updating BSEG directly if you want, possibly even it doesn't violate your license.  But it will be a custom development that does it, and if it goes horribly wrong, then according to note 890379 you're stuffed.  Whether it is bad programming practice or not is utterly irrelevant.  Direct changes are carried out at your own risk.
    matt

  • Change entry in ADR6 table

    Hi,
    I need to replace the existing email address domain with the new one [example: xxx(at the rate of)yyy.com to xxx(at the rate of)zzz.com] in ADR6 in two fields: SMTP_ADDR and SMTP_SRCH. There are huge number of entries in the table which apparently impossible to change manually in the SAP table ADR6 from SE11.
    Is there any way to change (replace) that in any efficient way rather than changing each and every entry?
    Is there any place, where I can make the change and it will reflect in the respective entries in the table?
    Please share your ideas.
    Thanks & Regards,
    Sujit.

    hi guys ,
    its very easy ,
    go for se16 , fetch all the records which are required to delete ( use only se16 lay out)
    after fetching the records just enter ' /H ' in the command bar
    and then double click on any of the enter , then u fill go to debugging screeen and then just press F7
    u will find the following code
    form set_status_val tables ntab structure x031l
                        using code name next for_lines.
      field-symbols: .
      refresh exclude_tab.
      if code = 'SHOW'.
        set titlebar 'TAB' with name 'anzeigen'(100).
      elseif code = 'EDIT'.
        set titlebar 'TAB' with name 'ändern'(101).
      elseif code = 'INSR'.
        set titlebar 'TAB' with name 'einfügen'(102).
      elseif code = 'ANVO'.
        set titlebar 'TAB' with name 'einfügen'(102).
      elseif code = 'DELE'.
    then just click on CODE and pass value as  DELE and press F8
    AND THEN U CAN DELETE ALL THE ENTRIES

  • Transport table entries directly from table with field added from append S

    Hi
        Guys, I have changes one standard table , I mean I use append structure and add a new field in to that . As this is T*  ( text table ) , it also V ( view ) but as I change the field in T* table . I went in to table and maintain entries  directly into table . After that I go to menu and select all the entries and as I want to push it to my test client . I create the entries and then I transport it to test . When I saw the table that entries were missing. Then I saw my existing transport in SE10 & SE09 and I notice it just transport the Keys fields content and its not transporting the new field content which I add as append structure .
    Do you guys have any idea .how to transport those entries?
    Cheers
    Usman

    It’ll behave in the same way , even you give "*" in your transport . Do one thing go to table, double click on your structure and once you’re in structure <b>Go to->Extras->Enhancement category
    And select radio button “1” or ‘2” and try again …</b>                  
    Hope this’ll give you idea!!
    <b>Pl... award the points.</b>
    Good luck
    Thanks
    Saquib Khan
    "Some are wise and some are otherwise"

  • Batch Job creation by adding entries to SAP tables

    Hi Experts,
    I understand there are at least 4 SAP tables involved with Batch Jobs.
    I need to create many variants and manually creating them using sm36 is tedious.
    If I add entries in the TBTC* tables, can the batch jobs be created without causing inconsistency ?
    The batch jobs are all similar, based on a zprogram that selects from sap tables data and updating to a ztable. There are  many variants I need to create and assign to the batch jobs. So, if I can update the entries in the tables to achieve the same, it would be much quicker and reduce human error and make checking the job setup faster and easier.
    Please advise.
    regards
    M Russo

    Hi,
    There are many function modules which helps you to create the variants.
    You need to create a simple report to automate your variant creation and batch submission.
    use function module RS_CREATE_VARIANT to create variant use the structure RSPARAMS to specify the value of your selection screens
    Go to the function group BTCH . Use JOB open close to submit the batch jobs with variants anor any ther fm in the BTCH function goup.
    Hope this helps rather than directly writing to tables.
    Thanks

Maybe you are looking for

  • Transfer posting of tax in a cross company code transaction thru' RFBUST10

    Hi, I have a doubt regarding using the program RFBUST10 transferring the tax in a cross company transaction. I have posted an invoice entry as below and I want to transfer the tax posting of 7.00 from company code 1 to company code 2 using the progra

  • ORA-01242: data file suffered media failure

    ORA-01242: data file suffered media failure: database in NOARCHIVELOG mode ORA-01110: data file 17: 'H:\DATABASE\BMFDATA.DBF' ORA-01115: IO error reading block from file 17 (block # 1) ORA-27072: File I/O error OSD-04006: ReadFile() 失败, 无法读取文件 O/S-Er

  • How do i slow down the scrolling in organizer?

    how do i slow down the scrolling in organizer?  it is so out of control that the program is unusable.

  • Disk Utility doesn't see Time capsuleDisk

    I'm trying to migrate a backup did with Time Machine to a brand new Airport Time Capsule Disk. This is for don't loess the previous backups having ones new. I got some information and it looks I should connect both  disks (old HD and new Time capsule

  • Front Row comes on when watching Apple TV.

    I've searched the Community Forums and all the questions relating to this are from 2011. and discussions are locked. When I use my Apple TV remote, it opens iTunes and music starts. I escape from Front Row but it continues to open up. I don't want to