Pages

Saturday, September 6, 2008

Describe the functions of the debugger screen.

- Single step(F5) - Use this option to step through the program statement by
statement. This allows you to branch into subroutines and function modules, and to
execute these routines step by step as well. Once a subroutine or function module
has been processed, control returns to the statement following the CALL FUNCTION
or PERFORM statement.

- Execute(F6)- Use this option to process a program line by line. All of the
statements on the current line are processed in a single step. If you are positioned
on a line that calls a subroutine and you choose Execute, the Debugger processes
the whole subroutine and then moves on to the line following the subroutine call. This
allows you to jump through the statements within the subroutine.

- Return(F7) - The Debugger returns from a routine to the point at which control
returns to the main program. Use this option to return from a subroutine, function
module, or called program to the calling program.

- Continue(F8)- Use this option to process the program up to the next dynamic or
static breakpoint or up to the cursor position. If there are no more breakpoints in the
program and no cursor has been set, the system exits debugging mode and
executes the rest of the program normally.

- Tables - Display the contents of internal tables.

source from http://sapient.wordpress.com

ABAP Important TCODES

OSS1 SAP Online Service System

SM13 Update monitor. Will show update tasks status. Very useful to determine why an update failed.

S001 ABAP Development Workbench

SE01 Old Transport & Corrections screen

SE10 New Transport & Correction screen

SE09 Workbench Organizer

SE16 Data Browser: Initial Screen.

SE30 ABAP/4 Runtime Analysis

SE36 ABAP/4: Logical Databases

SE37 ABAP/4 Function Modules

SE38 ABAP Editor

SE39 Splitscreen Editor: Program Compare

SE41 Menu Painter

SE51 Screen Painter: Initial Screen.

SE71 SAPscript layout set

SE80 ABAP/4 Development Workbench Object Browser

SM12 Lock table entries (unlock locked tables)

SM21 View the system log, very useful when you get a short dump. Provides much
more info than short dump

SM35 View Batch Input Sessions

SQ00 ABAP/4 Query: Start Queries

Friday, September 5, 2008

SAP ABAP Important Keywords

SAP ABAP Important Keywords

The following list displays some of the important Keywords in ABAP

NoKeywordDescription
1AT END OF … ENDATControl group end in LOOP
2AT Fg … ENDATProcessing specific to record type in LOOP
3AT FIRST … ENDATExecute processing block within a LOOP before processing single lines
4AT LAST … ENDATExecute processing block within a Loop after processing single lines
5AT NEW … ENDATControl group end during LOOP
6CALLCall processing (Program, function module, screen)
7CHECKSelection condition, leave loops and subroutines
8CONTINUEExit current loop pass within a DO, WHILE, LOOP or SELECT loop
9DO … ENDDOLoop processing
10EXEC SQL … ENDEXECExecute a Native SQL Statement
11EXITLeave loops or subroutines
12FORM … ENDFORMDefinition of a subroutine
13IF … ELSE … ENDIFConditional processing
14LEAVELeave program processing, go to a transaction, list (or) menu
15LOOP … ENDLOOPLoop on a table (or) extract dataset
16MODULE … ENDMODULEDefinition of a dialog module
17ON CHANGE OF … ENDONProcessing on field change
18PERFORM … USINGCall a subroutine
19SELECT … ENDSELECTRead database tables
20STOPEnd selection
21WHILE … ENDWHILELoop processing

source from http://abaplovers.blogspot.com