Sunday

ABAP System Fields

ABAP System Fields.

ABCDE Constant: Alphabet (A,B,C,...)

APPLI SAP applications

BATCH Background active (X)

IF SY-BATCH EQ SPACE.

WRITE: / 'Report was started on-line'.

WRITE: / 'Using variant:', SY-SLSET.

ELSE.

WRITE: / 'Report was started in background'.

ENDIF.

BATZDBackground SUBMIT: Daily

BATZMBackground SUBMIT: Monthly

BATZOBackground SUBMIT: Once

BATZSBackground SUBMIT: Immediately

BATZW Background SUBMIT: Weekly

BINPTBatch input active (X)

This field indicates if the transaction was called in a Batch Input session or by an online user. To test it, a batch input session must be created. From Release 3.1g the next procedure can be used.

o Create a report which displays this system field
o Create a Transaction code for this report
o Use transaction SHDB to record a the previous transaction
o Press the Overview button and choose the 'generate program' function.
o Running the previously generated program it will create a Batch Input
session
o Now call transaction SM35 and process the created Batch Input in
foreground. It should display an 'X' for system field SY-BINPT.

BREP4Background SUBMIT: Root name of request report

BSPLDBackground SUBMIT: List output to spool

CALLDCALL mode active (X)

This field indicates if the transaction was called from another transaction.

o Create a report which displays this system field
o Create a Transaction code for this report
o Create a new report containing the next ABAP command: CALL TRANSACTION tcode. Where tcode is the Transaction code you created. When you run this report, it should display an 'X' for system field SY-CALLD.

CALLR Print: ID for print dialog function

CCURS Rate specification/result field (CURRENCY CONVERT)

CCURTTable rate from currency conversion

CDATEDate of rate from currency conversion

COLNOCurrent column during list creation

WRITE: SY-COLNO, ',', SY-LINNO, 'Cursor position (column, row).'.

CPAGECurrent page number

WRITE: / 'SY-CPAGE:', SY-CPAGE LEFT-JUSTIFIED.

CPROG
Runtime: Main program
WRITE: /5 'Main program:' RIGHT-JUSTIFIED, 40 SY-CPROG.

CTABLExchange rate table from currency conversion

CTYPE
Exchange rate type 'M','B','G' from CURRENCY CONVERSION

CUCOLCursor position (column)

WRITE: / 'SY-CUCOL:', SY-CUCOL LEFT-JUSTIFIED.

CUROWCursor position (line)

WRITE: / 'SY-CUROW:', SY-CUROW LEFT-JUSTIFIED.

DATARFlag: Data received

In transaction programming this field indicates the change of data on the screen. In the PBO part you may set default values of the input fields of the dynpro. In the PAI part you can check if they were changed. If SY-DATAR is set, then the user has modified or entered new data on the screen.

DATLOLocal date for user

DATUMSystem: Date

DATUTGlobal date related to UTC (GMT)

DAYSTSummertime active ? ('daylight saving time')

DBCNT Number of elements in edited dataset with DB operations
WRITE: /12 'Number of selected records:', SY-DBCNT CENTERED.

DBNAMLogical database for ABAP/4 program

DBSYS System: Database system

DCSYS System: Dialog system

DSNAMRuntime: Name of dataset for spool output

DYNGRScreen group of current screen

DYNNRNumber of current screen

FDAYWFactory calendar weekday

FDPOSLocation 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 Current function code menu

HOST Host

INDEX
Number of loop passes

DO 5 TIMES.

WRITE: SY-INDEX.

ENDDO.

LANGUSAP logon language key

LDBPGProgram: ABAP/4 database program for SY-DBNAM

LILLI Number of current list line

AT LINE-SELECTION.

DETAIL.
* SY-LSIND is the index of the current list
WRITE: / 'SY-LSIND:', SY-LSIND LEFT-JUSTIFIED.
* SY-LISTI is the index of the previous list
WRITE: / 'SY-LISTI:', SY-LISTI LEFT-JUSTIFIED.
* SY-LILLI is the number of the selected line in the absolute list
WRITE: / 'SY-LILLI:', SY-LILLI LEFT-JUSTIFIED.

LINCT Number of list lines

WRITE: / SY-LINCT, 'line and', (3) SY-LINSZ, 'column is a page'.

LINNOCurrent line for list creation

WRITE: SY-COLNO, ',', SY-LINNO, 'Cursor position (column, row).'.

LINSZ Line size of list

WRITE: SY-COLNO, ',', SY-LINNO, 'Cursor position (column, row).'.

LISELInteract.: Selected line

* contents of the selected line

WRITE: / 'SY-LISEL:', SY-LISEL.

LISTINumber of current list line

* SY-LISTI is the index of the previous list

WRITE: / 'SY-LISTI:', SY-LISTI LEFT-JUSTIFIED.

LOCDB Local database exists

LOCOPLocal database operation

LOOPCNumber of LOOP lines at screen step loop

LSINDNumber of secondary list

* SY-LSIND is the index of the current list

WRITE: / 'SY-LSIND:', SY-LSIND LEFT-JUSTIFIED.

LSTATInteract.: Status information for each list level

MACDBProgram: Name of file for matchcode access

MACOLNumber of columns from SET MARGIN

MANDTClient number from SAP logon

MARKYCurrent line character for MARK

MAROWNo. of lines from SET MARGIN statement

MODNO Number of alternative modi

MSGIDMessage ID

MSGLI Interact.: Message line (line 23)

MSGNOMessage number

MSGTYMessage type (E,I.W,...)

MSGV1Message variable

MSGV2Message variable

MSGV3Message variable

MSGV4Message variable

OPSYSSystem: Operating system

PAARTPrint: Format

PAGCTPage size of list from REPORT statement

PAGNORuntime: Current page in list

PDESTPrint: Output device

PEXPIPrint: Spool retention period

PFKEYRuntime: Current F key status

PLISTPrint: Name of spool request (list name)

PRABTPrint: Department on cover sheet

PRBIGPrint: Selection cover sheet

PRCOPPrint: Number of copies

PRDSNPrint: Name of spool dataset

PREFXABAP/4 prefix for background jobs

PRIMMPrint: Print immediately

PRNEWPrint: New spool request (list)

PRRECPrint: Recipient

PRRELPrint: Delete after printing

PRTXTPrint: Text for cover sheet

REPIDProgram: Name of ABAP/4 program

RTITLPrint: Report title of program to be printed

SAPRLSystem: SAP Release

SCOLSColumns on screen

SLSETName of selection set

SPONORuntime: Spool number for list output

SPONRRuntime: Spool number from TRANSFER statement

SROWSLines on screen

STACOInteract.: List displayed from column

STAROInteract.: Page displayed from line

STEPLNumber of LOOP line at screen step

SUBRCReturn value after specific ABAP/4 statements

SUBTYABAP/4: Call type for SUBMIT

SYSIDSystem: SAP System ID

TABIXRuntime: Current line of an internal table

SEARCH T FOR 're'.

READ TABLE T INDEX SY-TABIX.

TCODESession: Current transaction code

TFDSNRuntime: Dataset for data extracts

TFILLCurrent number of entries in internal table

TIMLOLocal time for user

TIMUTGlobal time related to UTC (GMT)

TITLETitle of ABAP/4 program

TLENGLine width of an internal table

TMAXLMaximum number of entries in internal table (?)

TNAMEName of internal table after an access (?)

TOCCUOCCURS parameter with internal tables

TPAGIFlag indicating roll-out of internal table to paging area (?)

TSTLOTimestamp (date and time) for user

TSTUTTimestamp (date and time) related to UTC (GMT)

TTABCNumber of line last read in an internal table (?)

TTABIOffset of internal table in roll area (?)

TVAR0Runtime: Text variable for ABAP/4 text elements

TVAR1Runtime: Text variable for ABAP/4 text elements

TVAR2 Runtime: Text variable for ABAP/4 text elements

TVAR3Runtime: Text variable for ABAP/4 text elements

TVAR4Runtime: Text variable for ABAP/4 text elements

TVAR5Runtime: Text variable for ABAP/4 text elements

TVAR6Runtime: Text variable for ABAP/4 text elements

TVAR7Runtime: Text variable for ABAP/4 text elements

TVAR8Runtime: Text variable for ABAP/4 text elements

TVAR9Runtime: Text variable for ABAP/4 text elements

TZONETime difference from 'Greenwich Mean Time' (UTC) in seconds

UCOMMInteract.: Command field function entry

ULINEConstant: Underline (---------...)

UNAMESession: SAP user from SAP logon

UZEITSystem: Time

VLINEConstant: Vertical bar

WAERST001: Company code currency after reading B segment

WILLINumber of current window line

WINCOCursor position in window (column)

WINDIIndex of current window line

WINROCursor position in window (line)

WINSLInteract.: Selected window line

WINX1Window coordinate (column left)

WINX2Window coordinate (column right)

WINY1Window coordinate (line left)

WINY2Window coordinate (line right)

WTITLStandard page header indicator

XCODEExtended command field

ZONLOTime zone of user