Moderator warning

“This is a powerful hack which can be used to change even the standard tables and even in a production environment (if you have CHANGE access in Debugger). The changes cannot be tracked in anyway and it may lead to inconsistencies. I would think twice before using this..”

you could not make use of this in our production environment. With a right authorization concept in place you would not be allowed to debug in production.”

To prevent its misuse by end users, they should be restricted with debugging authorizations.”

This functionality has been removed by SAP from Ehp5 (SAP Note 1420281) onwards”


Activate &SAP_EDIT in SE16N (SAP ECC 6.0)

In SAP ECC 6.0 EHP6, the function code &SAP_EDIT, which enables the change mode of transaction SE16N, is deactivated (SAP Note 1420281) due to security breaches that were detected. In order to activate it (temporarily), follow the steps below:

  1. Go to SE16N, as usual, and type the table for which you want to make modifications.
  2. Instead of typing &SAP_EDITin the command field, type /Hand press “Enter” key to activate debugging.
  3. Press F8 key to enter the data browser for the above table.
  4. If you are using EHP6, then you may need to press F7 for several times to reach to the Screen 100 of program SAPLSE16N
  5. While in debugging mode & once you are in Screen 100, enter the two variables GD-EDIT and GD-SAPEDIT and press “Enter” key.
  6. For each variable, click on the change button, change the value to an uppercase “X” and press “Enter” key.
  7. Press F8 key to exit debugging and enter the table in change mode.

Here is how the Entry to be changed in the debug mode.

SE16N.png

Please be careful while using this trick.

Cheers,

Bharat Bajaj

To report this post you need to login first.

14 Comments

You must be Logged on to comment or reply to a post.

  1. Yuvaraj Shanmugam

    This is a powerful hack which can be used to change even the standard tables and even in a production environment (if you have CHANGE access in Debugger).

    The changes cannot be tracked in anyway and it may lead to inconsistencies. I would think twice before using this..

    (0) 
    1. Jürgen L

      you could not make use of this in our production environment. With a right authorization concept in place you would not be allowed to debug in production.

      (0) 
    2. Bharat Bajaj Post author

      Hi Yuvraj,

      This is just an alternate to &SAP_EDIT & majorly meant to be used by developers & support persons. To prevent its misuse by end users, they should be restricted with debugging authorizations.

      (0) 
    3. Devendra Bhoir

      Hello Yuvaraj S,

          

           The changes cannot be tracked in anyway and it may lead to inconsistencies.

      You can track changes made in SE16N by &SAP_EDIT option in SE16N_CD_KEY table.

      Regards,

      Devendra B.

      (0) 
  2. Parvez Soobhany

    Great job…

    I usually use the FM SE16N_INTERFACE… I don’t know if in Production this can be used though..

    Module fonction              SE16N_INTERFACE              

    Majuscules/minuscules Paramètres d’import                              Valeur                             

                                                                         

    I_TAB                                    EKKO               

    Paramètres d’import                       Valeur                             

    I_SAPEDIT                                X                                  

    I_TAB                                    EKKO                                        

    I_EDIT                                                                                                        

    I_SAPEDIT                                X                                  

    I_NO_TXT                                 X                                  

    I_MAX_LINES                              500                                  

    I_LINE_DET                                                                           

    I_DISPLAY                                X                                                          

    I_CLNT_SPEZ                                                                          

    I_CLNT_DEP                                                                           

    I_VARIANT                                                                 

    I_OLD_ALV                                                                            

    I_CHECKKEY                                                                           

    I_TECH_NAMES                                                                         

    I_CWIDTH_OPT_OFF                                                                     

    I_SCROLL                                                                             

    I_NO_CONVEXIT                                                                        

    I_LAYOUT_GET                                                                                                                   

    IT_SELFIELDS                              0 Entrées                       

    Tables                                    Valeur                                                

    IT_OR_SELFIELDS                           0 Entrées                       

    IT_SELFIELDS                              0 Entrées             

    (0) 
  3. tejas patil

    hi,

    can we edit primary keys using this tool. i know primary keys can not be changed. and we can do by deleting record and create new but still can we do it?

    (0) 

Leave a Reply