Tutorial Downloads .com

Home

ABAP SYSTEM-FIELDS

This site contains details about SAP system fileds,Function modules,AND ABAP Syntax.

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.

BATZD
Background SUBMIT: Daily
BATZM
Background SUBMIT: Monthly
BATZO
Background SUBMIT: Once
BATZS
Background SUBMIT: Immediately
BATZW
Background SUBMIT: Weekly
BINPT
Batch 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.

    • Create a report which displays this system field

    • Create a Transaction code for this report

    • Use transaction SHDB to record a the previous transaction

    • Press the Overview button and choose the 'generate program' function.

    • Running the previously generated program it will create a Batch Input session

    • Now call transaction SM35 and process the created Batch Input in foreground. It should display an 'X' for system field SY-BINPT.

BREP4
Background SUBMIT: Root name of request report
BSPLD
Background SUBMIT: List output to spool
CALLD
CALL mode active (X)

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

    • Create a report which displays this system field

    • Create a Transaction code for this report

    • 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)
CCURT
Table rate from currency conversion
CDATE
Date of rate from currency conversion
COLNO
Current column during list creation

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

CPAGE
Current page number

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

CPROG
Runtime: Main program

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

CTABL
Exchange rate table from currency conversion
CTYPE
Exchange rate type 'M','B','G' from CURRENCY CONVERSION
CUCOL
Cursor position (column)

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

CUROW
Cursor position (line)

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

DATAR
Flag: 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.

DATLO
Local date for user
DATUM
System: Date
DATUT
Global date related to UTC (GMT)
DAYST
Summertime active ? ('daylight saving time')
DBCNT
Number of elements in edited dataset with DB operations

WRITE: /12 'Number of selected records:', SY-DBCNT CENTERED.

DBNAM
Logical database for ABAP/4 program
DBSYS
System: Database system
DCSYS
System: Dialog system
DSNAM
Runtime: Name of dataset for spool output
DYNGR
Screen group of current screen
DYNNR
Number of current screen
FDAYW
Factory calendar weekday
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
Current function code menu
HOST
Host
INDEX
Number of loop passes

DO 5 TIMES.

WRITE: SY-INDEX.

ENDDO.

LANGU
SAP logon language key
LDBPG
Program: 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'.

LINNO
Current 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).'.

LISEL
Interact.: Selected line

* contents of the selected line

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

LISTI
Number of current list line

* SY-LISTI is the index of the previous list

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

LOCDB
Local database exists
LOCOP
Local database operation
LOOPC
Number of LOOP lines at screen step loop
LSIND
Number of secondary list

* SY-LSIND is the index of the current list

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

LSTAT
Interact.: Status information for each list level
MACDB
Program: Name of file for matchcode access
MACOL
Number of columns from SET MARGIN
MANDT
Client number from SAP logon
MARKY
Current line character for MARK
MAROW
No. of lines from SET MARGIN statement
MODNO
Number of alternative modi
MSGID
Message ID
MSGLI
Interact.: Message line (line 23)
MSGNO
Message number
MSGTY
Message type (E,I.W,...)
MSGV1
Message variable
MSGV2
Message variable
MSGV3
Message variable
MSGV4
Message variable
OPSYS
System: Operating system
PAART
Print: Format
PAGCT
Page size of list from REPORT statement
PAGNO
Runtime: Current page in list
PDEST
Print: Output device
PEXPI
Print: Spool retention period
PFKEY
Runtime: Current F key status
PLIST
Print: Name of spool request (list name)
PRABT
Print: Department on cover sheet
PRBIG
Print: Selection cover sheet
PRCOP
Print: Number of copies
PRDSN
Print: Name of spool dataset
PREFX
ABAP/4 prefix for background jobs
PRIMM
Print: Print immediately
PRNEW
Print: New spool request (list)
PRREC
Print: Recipient
PRREL
Print: Delete after printing
PRTXT
Print: Text for cover sheet
REPID
Program: Name of ABAP/4 program
RTITL
Print: Report title of program to be printed
SAPRL
System: SAP Release
SCOLS
Columns on screen
SLSET
Name of selection set
SPONO
Runtime: Spool number for list output
SPONR
Runtime: Spool number from TRANSFER statement
SROWS
Lines on screen
STACO
Interact.: List displayed from column
STARO
Interact.: Page displayed from line
STEPL
Number of LOOP line at screen step
SUBRC
Return value after specific ABAP/4 statements
SUBTY
ABAP/4: Call type for SUBMIT
SYSID
System: SAP System ID
TABIX
Runtime: Current line of an internal table

SEARCH T FOR 're'.

READ TABLE T INDEX SY-TABIX.

TCODE
Session: Current transaction code
TFDSN
Runtime: Dataset for data extracts
TFILL
Current number of entries in internal table
TIMLO
Local time for user
TIMUT
Global time related to UTC (GMT)
TITLE
Title of ABAP/4 program
TLENG
Line width of an internal table
TMAXL
Maximum number of entries in internal table (?)
TNAME
Name of internal table after an access (?)
TOCCU
OCCURS parameter with internal tables
TPAGI
Flag indicating roll-out of internal table to paging area (?)
TSTLO
Timestamp (date and time) for user
TSTUT
Timestamp (date and time) related to UTC (GMT)
TTABC
Number of line last read in an internal table (?)
TTABI
Offset of internal table in roll area (?)
TVAR0
Runtime: Text variable for ABAP/4 text elements
TVAR1
Runtime: Text variable for ABAP/4 text elements
TVAR2
Runtime: Text variable for ABAP/4 text elements
TVAR3
Runtime: Text variable for ABAP/4 text elements
TVAR4
Runtime: Text variable for ABAP/4 text elements
TVAR5
Runtime: Text variable for ABAP/4 text elements
TVAR6
Runtime: Text variable for ABAP/4 text elements
TVAR7
Runtime: Text variable for ABAP/4 text elements
TVAR8
Runtime: Text variable for ABAP/4 text elements
TVAR9
Runtime: Text variable for ABAP/4 text elements
TZONE
Time difference from 'Greenwich Mean Time' (UTC) in seconds
UCOMM
Interact.: Command field function entry
ULINE
Constant: Underline (---------...)
UNAME
Session: SAP user from SAP logon
UZEIT
System: Time
VLINE
Constant: Vertical bar
WAERS
T001: Company code currency after reading B segment
WILLI
Number of current window line
WINCO
Cursor position in window (column)
WINDI
Index of current window line
WINRO
Cursor position in window (line)
WINSL
Interact.: Selected window line
WINX1
Window coordinate (column left)
WINX2
Window coordinate (column right)
WINY1
Window coordinate (line left)
WINY2
Window coordinate (line right)
WTITL
Standard page header indicator
XCODE
Extended command field
ZONLO
Time zone of user


Resource: http://www.abapcode.sapbrainsonline.com
Posted By : Sapbrain
On date : 03.31.08

Most used SAP Tutorials

SAP MM Module PDF Tutorials
Here you can find some good pdf tutorials in MM Module.
Simple sap BADI example
In this link there is the procedure for DEFINING THE BADI,IMPLEMENTATION OF BADI DEFINITION and a sample program to use this badi method.
SAP BAPI COMPLETE LIST
BAPIs (Business Application Programming Interfaces) are the standard SAP interfaces. They play an important role in the technical integration and in the exchange of business data between SAP components, and between SAP and non-SAP components. BAPIs enable you to integrate these components and are therefore an important part of developing integration scenarios where multiple components are connected to each other, either on a local network or on the Internet. BAPIs allow integration at the business level, not the technical level. This provides for greater stability of the linkage and independence from the underlying communication technology
Difference Between BADI and User Exits
Business Add-Ins are a new SAP enhancement technique based on ABAP Objects. They can be inserted into the SAP System to accommodate user requirements too specific to be included in the standard delivery. Since specific industries often require special functions, SAP allows you to predefine these points in your software.
SAP BAPI COMPLETE LIST
List of complete BAPI's in SAP.
SAP BDC QUESTIONS & Answers
SAP BDC QUESTIONS & Answers .. What is full form of BDC Session? What are the steps in a BDC session? How do you find the information on the current screen? How do you save data in BDC tables? What is the last entry in all BDC tables? What is a multiple line field? How do you populate data into a multiple line field? What is the syntax for ‘CALL TRANSACTION’? Write the BDC table structure.
SAP MM-Functionality and Technical Configuration - Guide Book
Find out how to get the very most from your SAP MM implementation with this completely updated, comprehensive guide to SAP Materials Management (MM). Based on SAP ERP 6.0, this new edition of our bestseller provides you with a thorough understanding of how MM works and integrates seamlessly with your other SAP components.
Sams Teach Yourself SAP in 24 Hours
In just 24 sessions of one hour or less, you’ll master the entire SAP project lifecycle, from planning through implementation and system administration through day-to-day operations. Using this book’s straightforward, step-by-step approach, you’ll gain a strong real-world foundation in both the technology and business essentials of today’s SAP products and applications—from the ground up.
ABAP Workbench Tutorial
This tutorial introduces you to the tools in the ABAP Development Workbench. The Workbench contains the tools you use to create an ABAP application. The tutorial contains six lessons. These lessons are intended to introduce you to the concepts of creating an application with the Development Workbench. After you complete the lessons, you should have a good understanding of the role each tool takes in the application development process.
SAP ABAP Interview Questions and answers
SAP ABAP Interview Questions and answers ... What is SAP R/3? What is an instance? What is Function group? What is the difference between 'Select single * ' and 'Select upto 1 rows'? What Function does data dictionary perform?What is view? What is step-loop? What is SAP Script? Difference between SY-TABIX and SY-INDEX? etc .. etc
SAP R/3 DATA DICTIONARY INTERVIEW QUESTIONS
SAP R/3 DATA DICTIONARY INTERVIEW QUESTIONS .... What are the layers of data description in R/3? Define external layer? Define ABAP/4 layer? Define Database layer? What is a Data Class? What is a Size Category? How many types of size categories and data classes are there? What are control tables? What is a table pool? etc.. etc ...
SAP MODULARIZATION INTERVIEW QUESTIONS
SAP MODULARIZATION INTERVIEW QUESTIONS ... What is Modularization and its benefits? Name the ABAP/4 Modularization techniques.What are subroutines? What are the types of Subroutines? What are the different methods of passing data? What is a function group? What is the disadvantage of a call by reference? What does the extract statement do in extract datasets?
SAP REPORTS FAQ
SAP REPORTS FAQ .. How can Symbols or R/3 icons be output on the screen? How to specify a client for database table processing. What are DATA CLUSTERS? How will you transfer data into a file in application server? What are the different attributes that can be assigned to a variant? Is it possible to create new dynamic programs during runtime of an ABAP/4 program? etc ... etc ....
ABAP SYSTEM-FIELDS
This site contains details about SAP system fileds,Function modules,AND ABAP Syntax.
Configuring SAP ERP Financials and Controlling - tutorial book
SAP is the world leader in Enterprise Resource Planning (ERP) software; of the software?s modules, the FI (Finance) and CO (Controlling) are by far the most popular and are widely implemented. This book has no competition?it is the only book on the market on how to configure and implement SAP?s FI and CO modules to maximize functionality and features hands-on, step-by-step instructions and real-world examples that provide immediate and practical solutions. Updated for SAP?s ECC 6.0, the book covers FI enterprise structure, general ledger, substitutions and validations, automatic account assignments, accounts payable and receivable, asset accounting, accrual engine, closing entries, credit management, lockbox, CO enterprise structure, profitability analysis (CO-PA), and more.

Latest added SAP Tutorials

SAP Security Configuration and Deployment: The IT Administrator's Guide to Best Practices
The user's guide to best practices in improving and enhancing security in a SAP landscape.
mySAP ERP For Dummies - tutorial book
So, you need to stay competitive and reduce your costs? mySAP ERP helps you do just that. By combining rich ERP functionality, analytics, enterprise services, composites, and model-driven development tools with SAP NetWeaver®, mySAP ERP enables innovation while reducing cost of ownership. This book also shows you how mySAP ERP provides you with a number of levers to make your organization more productive and agile.
SAP MM-Functionality and Technical Configuration - Guide Book
Find out how to get the very most from your SAP MM implementation with this completely updated, comprehensive guide to SAP Materials Management (MM). Based on SAP ERP 6.0, this new edition of our bestseller provides you with a thorough understanding of how MM works and integrates seamlessly with your other SAP components.
Configuring SAP ERP Financials and Controlling - tutorial book
SAP is the world leader in Enterprise Resource Planning (ERP) software; of the software?s modules, the FI (Finance) and CO (Controlling) are by far the most popular and are widely implemented. This book has no competition?it is the only book on the market on how to configure and implement SAP?s FI and CO modules to maximize functionality and features hands-on, step-by-step instructions and real-world examples that provide immediate and practical solutions. Updated for SAP?s ECC 6.0, the book covers FI enterprise structure, general ledger, substitutions and validations, automatic account assignments, accounts payable and receivable, asset accounting, accrual engine, closing entries, credit management, lockbox, CO enterprise structure, profitability analysis (CO-PA), and more.
Sams Teach Yourself SAP in 24 Hours
In just 24 sessions of one hour or less, you’ll master the entire SAP project lifecycle, from planning through implementation and system administration through day-to-day operations. Using this book’s straightforward, step-by-step approach, you’ll gain a strong real-world foundation in both the technology and business essentials of today’s SAP products and applications—from the ground up.
Glossary of SAP FI Terms
Here is the list of common SAP Financial Accounting term
ABAP Workbench Tutorial
This tutorial introduces you to the tools in the ABAP Development Workbench. The Workbench contains the tools you use to create an ABAP application. The tutorial contains six lessons. These lessons are intended to introduce you to the concepts of creating an application with the Development Workbench. After you complete the lessons, you should have a good understanding of the role each tool takes in the application development process.
SAP BAPI COMPLETE LIST
BAPIs (Business Application Programming Interfaces) are the standard SAP interfaces. They play an important role in the technical integration and in the exchange of business data between SAP components, and between SAP and non-SAP components. BAPIs enable you to integrate these components and are therefore an important part of developing integration scenarios where multiple components are connected to each other, either on a local network or on the Internet. BAPIs allow integration at the business level, not the technical level. This provides for greater stability of the linkage and independence from the underlying communication technology
SAP BAPI COMPLETE LIST
List of complete BAPI's in SAP.
SAP ABAP Interview Questions and answers
SAP ABAP Interview Questions and answers ... What is SAP R/3? What is an instance? What is Function group? What is the difference between 'Select single * ' and 'Select upto 1 rows'? What Function does data dictionary perform?What is view? What is step-loop? What is SAP Script? Difference between SY-TABIX and SY-INDEX? etc .. etc