Prometheus Group interview question

T-codes to create and modify a table?

Interview Answers

Anonymous

25 Sept 2024

There are multiple ways to do this. SM30 and SM31 allows tables to be displayed and edited via the Data Browser. Tcode SE16n allows you to directly modify any table in SAP. After you execute SE16n, type the characters '&SAP_EDIT' as a function code and hit enter. The success message will say "SAP Editing function is activated." You will be able to modify any field in any table. Note: this is a hacky technique that is good for development testing; however in a real-world SAP system it can cause severe security implications. Not considered a best practice!

Anonymous

25 Sept 2024

The primary T-code for tables is SE11, which is the ABAP dictionary. SE11 can be used to create, change, or display table definitions. It also allows you to create struct After you create a table in SE11, you can display the structure and contents of the table via T-code SE16 which is the Data Browser.