WE'VE FOUND SAPhelpdesk!!!

***** Read the Reviews / Rate the Solution
We're not quite there yet.But we're getting there!-and we really want you to know when we're ready.
We can send the latest updates to ur email.Just subscribe to the email updates below and confirm the confirmation link in your email

Here's how to stay updated:

Enter ur email:

SYSTEM FIELDS IN ABAP


What are the system fields? Explain?

The ABAP system fields are active in all ABAP programs. They are filled by the runtime environment, and you can query their values in a program to find out particular states of the system. Although they are variables, you should not assign your own values to them, since this may overwrite information that is important for the normal running of the program.
However, there are some isolated cases in which you may need to overwrite a system variable. For example, by
assigning a new value to the field SY-LSIND, you can control navigation within details lists.


ABAP system fields are always available in ABAP programs. The runtime system fills them according to context. They can then be used in programs to query the system status. System fields are variables but you should always treat them as though they were constants, and only read them. If you change their values, important information for the flow of the program may be lost. In exceptional circumstances, system fields may be overwritten in an ABAP program to control the system – for example, SY-LSIND (for navigating to a detail list).

With one exception the names and data types of the system fields are stored in the ABAP Dictionary in the SYST structure and realized as components of the predefined structure SY in ABAP programs.

The system field SY-REPID is not part of SYST or SY. Instead, every program contains the predefined constants SY-REPID and SYST-REPID, which both contain the name of the corresponding program. Furthermore, there are two predefined types of the same name, SY-REPID and SYST-REPID.

All system fields are addressed using SY field name and their types using SYST field name.

Alphabetical Overview

The following table lists the definitions of the structure SYST in the ABAP Dictionary alphabetically. The character in the first column indicates how you can use the corresponding system field in ABAP programs. Name is the name of the component, Type is the Dictionary data type, and Length is the field length defined in the Dictionary. The Use column shows in which environment the system fields are set. The Description indicates the content.
Name
Type
Length
Use
Description
This graphic is explained in the accompanying text
ABCDE
CHAR
26
Constants
This graphic is explained in the accompanying text
APPLI
RAW
2
This graphic is explained in the accompanying text
BATCH
CHAR
1
Background processing
This graphic is explained in the accompanying text
BATZD
CHAR
1
This graphic is explained in the accompanying text
BATZM
CHAR
1
Obsolete
This graphic is explained in the accompanying text
BATZO
CHAR
1
Obsolete
This graphic is explained in the accompanying text
BATZS
CHAR
1
This graphic is explained in the accompanying text
BATZW
CHAR
1
Obsolete
This graphic is explained in the accompanying text
BINPT
CHAR
1
Batch input
This graphic is explained in the accompanying text
BREP4
CHAR
4
Obsolete
This graphic is explained in the accompanying text
BSPLD
CHAR
1
Obsolete
This graphic is explained in the accompanying text
CALLD
CHAR
1
ABAP Program
This graphic is explained in the accompanying text
CALLR
CHAR
8
Printing Lists
This graphic is explained in the accompanying text
CCURS
DEC
9
This graphic is explained in the accompanying text
CCURT
DEC
9
Obsolete
This graphic is explained in the accompanying text
CDATE
DATS
8
Obsolete
This graphic is explained in the accompanying text
CFWAE
CUKY
5
This graphic is explained in the accompanying text
CHWAE
CUKY
5
Internal
This graphic is explained in the accompanying text
COLNO
INT4
10
Creating Lists
This graphic is explained in the accompanying text
CPAGE
INT4
10
List processing
This graphic is explained in the accompanying text
CPROG
CHAR
40
ABAP Program

Confused? Feel free to ask

saphelpdesk.co.inYour feedback is always appreciated.I will try to reply Ur queries as soon as time allows.
Regards,
SAPhelpdesk

0 comments:

Post a Comment

Your Ad Here
Write 4 Us ( Support me ) !!!