Show Menu
Cheatography

ABAP Cheat Sheet (DRAFT) by

All Important Concepts and Codefragments of ABAP. { } denotes an optional part of the statement.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Data and Variables

Define Data
DATA dataname TYPE typename {VALUE value}
Define Types
TYPES typename TYPE properties
Define Constants
CONSTANTS consta­ntname TYPE type {VALUE value}
Clear Data
CLEAR dataname
The Clear Statement disregards the starting value from the VALUE addition. After clear the variable always contains the type-s­pecific initial value.
{ } denotes an optional part of the statement.

Internal Table

Modify Table
MODIFY <in­ter­nal­_ta­ble> FROM <wo­rk_­are­a> (INDEX <nu­mbe­r>).
Loop Table structure
LOOP AT intern­al_­table INTO {varia­ble­|st­ruc­ture}
Loop Table fields­ymbol
LOOP AT intern­al_­table ASSIGNING field_­symbol
Loop Table Reference
LOOP AT intern­al_­table REFERENCE INTO refere­nce­_name
Define Table Structure
TYPES: BEGIN OF struct­ure­_name,
variab­lename TYPE typename,
END OF struct­ure­_name.

Output Management (Formu­lar­ent­wic­klung)

SM59
Connection Applic­ation Server to Adobe Document Services
Test Report
FP_PDF­_TE­ST_00
Test Report 2
FP_TEST_00
Form Builder
SFP
Formular Graphiken
SE78
SAP Script Text
SO10
 
RSTXTTRAN
Nachri­cht­ens­teu­erung
NACO/ NACE
Textba­ust­eine/ Stile
SMARTFORMS
 

New ABAP

Inline Declar­ation
DATA(variab­lename) = value

Core Data Services (CDS)

Annota­tions Point
@Annota­tio­nname.Annota­tio­nsu­bname: Annota­tio­nvalue
Annota­tions Object
@Annota­tio­nname: { Annota­tio­nsu­bname: Annota­tio­nvalue,
Annota­tio­nsu­bname: Annota­tio­nvalue
}
}
More Annota­tions: Link

IDoc

WE21
IDoc Verarb­eit­ung­sports
WE02
IDoc List
SICF
Pflege der Services
WE20
Partne­rve­rei­nba­rungen
WE19
Testwe­rkzeug für die IDoc-V­era­rbe­itung
 

Mainte­nance TC

SMICM
Get System Inform­ation
SU01
User Mainte­nance

Develo­pment Transa­cti­ons­codes

SE80
ABAP Workbench
SE09
Transport Organizer
SE11
ABAP Dictionary
SE03
Transp­ort­tools (unlock objects)
SE16n
Database Content
SE18
BAdi Builder
SE21
Package Builder
SE24
ABAP Class Builder
SE37
Function Modules
SE38
Run Reports/ Programs
SE63
Transl­ati­one­ditor
SE84
Object Navigator
SE91
Messag­eclass
SE93
Transa­ction Mainte­nance
/n/iwfnd/maint_service
Service Catalog/ Activation
SEGW
Gateway Service Builder

MM Transa­ction Codes

MM01/02/03
Create/ Edit/ Show Material
MARA
Table Material
MAKTX
Table Materi­ald­esc­ription
MARC
Table Planti­nfo­rmation Material
MVKE
Table Salesi­nfo­rmation Material