Escolar Documentos
Profissional Documentos
Cultura Documentos
APPLI
SAP applications
BATCH
BATZD
BATZM
BATZO
BATZS
BATZW
BINPT
field SY-BINPT.
BREP4
Tcodes
Pankaj Pravin
BSPLD
CALLD
CALLR
CCURS
CCURT
CDATE
COLNO
CPAGE
CPROG
CTABL
CTYPE
CUCOL
CUROW
DATAR
DATLO
Tcodes
Pankaj Pravin
DATUM
System: Date
DATUT
DAYST
DBCNT
DBNAM
DBSYS
DCSYS
DSNAM
DYNGR
DYNNR
FDAYW
FDPOS
Location of a string
SEARCH T FOR 're'.
READ TABLE T INDEX SY-TABIX.
WRITE: / SY-TABIX, T-FIELD.
SKIP.
WRITE: /9 'At the example of sy-tabix, Row', (3) SY-TABIX, ',' ,
'keyword ''re'' found at off-set position:', (3) SY-FDPOS.
FMKEY
HOST
Host
INDEX
LANGU
LDBPG
LILLI
Tcodes
Pankaj Pravin
* SY-LSIND is the index of the current list
WRITE: / 'SY-LSIND:', SY-LSIND LEFTJUSTIFIED.
* SY-LISTI is the index of the previous list
WRITE: / 'SY-LISTI:', SY-LISTI LEFTJUSTIFIED.
* SY-LILLI is the number of the selected line in
the absolute list
WRITE: / 'SY-LILLI:', SY-LILLI LEFTJUSTIFIED.
LINCT
LINNO
LINSZ
LISEL
LISTI
LOCDB
LOCOP
LOOPC
LSIND
LSTAT
Tcodes
Pankaj Pravin
MACDB
MACOL
MANDT
MARKY
MAROW
MODNO
MSGID
Message ID
MSGLI
MSGNO
Message number
MSGTY
MSGV1
Message variable
MSGV2
Message variable
MSGV3
Message variable
MSGV4
Message variable
OPSYS
PAART
Print: Format
PAGCT
PAGNO
PDEST
PEXPI
PFKEY
PLIST
PRABT
PRBIG
PRCOP
PRDSN
PREFX
PRIMM
PRNEW
PRREC
Print: Recipient
PRREL
PRTXT
REPID
RTITL
SAPRL
SCOLS
Columns on screen
SLSET
SPONO
Tcodes
Pankaj Pravin
SPONR
SROWS
Lines on screen
STACO
STARO
STEPL
SUBRC
SUBTY
SYSID
TABIX
TCODE
TFDSN
TFILL
TIMLO
TIMUT
TITLE
TLENG
TMAXL
TNAME
TOCCU
TPAGI
TSTLO
TSTUT
TTABC
TTABI
TVAR0
TVAR1
TVAR2
TVAR3
TVAR4
TVAR5
TVAR6
TVAR7
TVAR8
TVAR9
Tcodes
Pankaj Pravin
TZONE
UCOMM
ULINE
UNAME
UZEIT
System: Time
VLINE
WAERS
WILLI
WINCO
WINDI
WINRO
WINSL
WINX1
WINX2
WINY1
WINY2
WTITL
XCODE
ZONLO
OSS1
OY19
S001
Compare Tables
S002
SA38
SCAT
System Administration.
Execute a program.
SCU0
SE01
SE09
SE10
SE10
Compare Tables
Old Transport & Corrections screen
Workbench Organizer
Customizing Organizer
Customizing organizer requests for user
(To release for transport enter user
name, press Enter. Select changed object
and select ReleaseSE10 New Transport &
Correction screen
Tcodes
Pankaj Pravin
SE11
SE11
SE12
SE13
SE14
SE14
SE15
SE15
SE16
SE16
SE16
SE17
SE30
SE30
SE30
SE32
SE35
SE36
SE37
SE37
SE38
SE38
SE38
SE39
SE41
SE43
SE51
SE51
SE52
SE54
SE61
SE62
SE63
SE63
SE64
SE65
SE68
SE71
SE71
SE72
SE73
Tcodes
Pankaj Pravin
SE74
SE75
SE76
SE77
SE78
SE80
SE80
SE81
SE82
SE84
SE85
SE86
SE87
SE88
SE91
SE92
SE93
SE93
SEU
SAP Application
Hierarchy
Customer Application Hierarchy
ABAP/4 Repository Information System
ABAP/4 Dictionary Information System
ABAP/4 Repository Information System
Data Modeler Information System
Development Coordination Info System
Maintain Messages
Maintain system log messages
Maintain Transaction Codes
Maintain Transaction.
Object Browser
SAP demo program that shows how to do 2D, 3D, and 4D graphics.
RGUGBR00
Substitution/Validation utility
RHGEN00
RHGRENZ0
Delimit IT1000 and related 1001s. Program will delete any 1001
infotypes whose start date is after the delimit date.
RHGRENZ1
Extend the end date on delimited records. Very useful when you
delimit a bunch of records incorrectly, and need to change the end date.
RHGRENZ2
RKCTSEAR
Search source code for up to two strings. Also see RSRSCAN1 and
RPR_ABAP_SOURCE_SCAN.
RPDTRA00
RPR_ABAP_SOURCE_SCANSearch ABAP code for a string. Has many more options for selecting
the ABAPs to search than RSRSCAN1 or RKCTSEAR.
RPUAUD00
HR Report to list all logged changes for an employee. Uses the PCL4
Audit Cluster.
RPUAUDDL
Tcodes
Pankaj Pravin
RPUDELPN
Delete all info for an employee number, including cluster data and
infotypes
RPUP1D00/10
RPUP2D00/10
RPUP3D00/10
RPUP4D00/10
RSABAPIV
RSAVGL00
RSBDCBTC
Submit a BDC job with an internal batch number and wait for the end
of the batch input session.
RSBDCDRU
RSBDCOS0
RSBDCSUB
RSBTCDEL
RSSDOCTB
R/3 Table Manual - prints a list of all fields in the selected tables with
the field name and the field documentation.
RSCLTCOP
RSDBCREO
RSINCL00
RSNASTED
RSORAREL
RSPARAM
RSPO0041
RSRSCAN1
Search source code for a given string. Will also search includes. Also
see RKCTSEAR and RPR_ABAP_SOURCE_SCAN.
RSSNAPDL
RSTBSERV
RSTXFCON
RSTXSCRP
Save a SAPScript layout set to disk, and load it back into SAP.
RSTXSCRP
RSTXSCRP
RSTXTPDF4
Pass the spool number of a report's output to this program to have the
output converted to PDF format.
RSTXTRAN
RSUSR003
Tcodes
10
Pankaj Pravin
RSUSR006
RSWBO052
RSWBO060
Requirement:
Read a logical database (you must have data in those tables, now LFA1), fill up an internal
table. Sort the data by a given field and then display the internal table.
Solution:
report zldbread no standard page heading.
tables: lfa1.
data: begin of t occurs 0,
linfr like lfa1-lifnr,
name1 like lfa1-name1,
end of t.
start-of-selection.
get lfa1.
clear t.
move-corresponding lfa1 to t.
append t.
end-of-selection.
sort t by name1.
loop at t.
write: / t-name1, t-lifnr.
endloop.
Tcodes
11
Pankaj Pravin
SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-010.
SELECT-OPTIONS: USERNAME FOR USR02-BNAME.
SELECTION-SCREEN END OF BLOCK B1.
SELECTION-SCREEN END OF SCREEN 100.
*--------------------------------------------------------------* SUBSCREEN 2
*--------------------------------------------------------------SELECTION-SCREEN BEGIN OF SCREEN 200 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-020.
SELECT-OPTIONS: LASTLOGI FOR USR02-TRDAT.
SELECTION-SCREEN END OF BLOCK B2.
SELECTION-SCREEN END OF SCREEN 200.
*--------------------------------------------------------------* SUBSCREEN 3
*--------------------------------------------------------------SELECTION-SCREEN BEGIN OF SCREEN 300 AS SUBSCREEN.
SELECTION-SCREEN BEGIN OF BLOCK B3 WITH FRAME TITLE TEXT-030.
SELECT-OPTIONS: CLASSTYP FOR USR02-CLASS.
SELECTION-SCREEN END OF BLOCK B3.
SELECTION-SCREEN END OF SCREEN 300.
* STANDARD SELECTION SCREEN FOR SCROLLING LEFT AND RIGHT
SELECTION-SCREEN: FUNCTION KEY 1,
FUNCTION KEY 2.
SELECTION-SCREEN: BEGIN OF TABBED BLOCK SUB FOR 15 LINES,
END OF BLOCK SUB.
START-OF-SELECTION.
SELECT * FROM USR02 WHERE BNAME IN USERNAME
AND ERDAT IN LASTLOGI
AND CLASS IN CLASSTYP.
WRITE: / 'User ', USR02-BNAME,
'Last Login Date ', USR02-TRDAT,
'Last Login Time ', USR02-LTIME,
'CLASS ', USR02-CLASS.
ENDSELECT.
END-OF-SELECTION.
INITIALIZATION.
* SCREEN ICON LEFT AND RIGHT
SSCRFIELDS-FUNCTXT_01 = '@0D@'.
SSCRFIELDS-FUNCTXT_02 = '@0E@'.
SUB-PROG = SY-REPID.
SUB-DYNNR = 100.
AT SELECTION-SCREEN.
CASE SY-DYNNR.
WHEN 100.
IF SSCRFIELDS-UCOMM = 'FC01'.
SUB-DYNNR = 300.
ELSEIF SSCRFIELDS-UCOMM = 'FC02'.
SUB-DYNNR = 200.
ENDIF.
Tcodes
12
Pankaj Pravin
WHEN 200.
IF SSCRFIELDS-UCOMM = 'FC01'.
SUB-DYNNR = 100.
ELSEIF SSCRFIELDS-UCOMM = 'FC02'.
SUB-DYNNR = 300.
ENDIF.
WHEN 300.
IF SSCRFIELDS-UCOMM = 'FC01'.
SUB-DYNNR = 200.
ELSEIF SSCRFIELDS-UCOMM = 'FC02'.
SUB-DYNNR = 100.
ENDIF.
ENDCASE.
To fetch all the material which starting with 'abc' from mara
SELECT matnr FROM mara WHERE matnr LIKE 'abc%' OR matnr LIKE 'ABC%'.
Starts with
Example
Vendor
LFA1
Customer
KNA1, KONV
Sales
VBAK, VBAP
Bank
BKNF, BKPF
Purchasing
EKKO, EKPO
Material
Master
T001, T001W
Tcodes
13
Pankaj Pravin
Particular
Example
Example
Sales,
Delivery,
Billing,
Purchasing
VBAK, LIKP,
VBRK, EKKO
VBAP, LIPS,
VBRP, EKKO
Finance Tables:
Contains
Meaning
Example
Open Item
BSID
Closed Item
BSAD
Ends
Meaning
Example
BSIS, BSAS
Customer related
BSID
Vendor related
BSIK
Tcodes
14