Tuesday, October 17, 2023

ABAP Supports - Transactions/ Table handling

 Debug a table entry (single entry, one at a time)

Go to SE11 --> provide table name  --> go to content --> get the entry in detail view --> in the address bar type /HA and hit ENTER button twice --> it will take you to debug screen of a SWITCH CASE, provide the value as INST (Inserting a new entry), DELE (for delete the entry), MODY (to modify the existing one). Next it will take you to screen with respective button in edit mode and you are good to modify as per need. SAVE it and come back, else debugger screen will continue.

 Debug multiple table entry (delete a set of entries in table)

Go to SE38 --> Provide the Include program LSE16NF10  --> Go to function Module SE16_INTERFACE at line 619 --> Set debugger.

Then go to SE16N --> open the table content with table name provided --> get the detail view by executing --> this will take to debugger session that will be appearing next, when the debugger stops at Function Module SE16_INTERFACE at line 619 --> Edit the entry of the field/parameter GD_SAPEDIT and GD-EDIT  and set X as value for both  --> then next screen will appear with delete button --> next you choose, the entries (multiple) and keep delete and SAVE.

SM12 -> to unlock the table if it is locked by others

SM59 -> to check if any session debugger is stuck or awaiting 

SE36 -> Logical Database (LDB) 

SE21 - > Package

SE09/SE10 -> Transports

SE01/ SE01D --> SAP user profile

SE24 --> Class

SE11 --> DDIC

SE37 --> function modules

ST22 --> Dumps/ Runtime Errors

STMS --> change requests transferring


0 comments: