If same set of statements (source code) used in more than one program, those statements can add to the include program. Include programs is available to all the programs and used in any program.
Category Archives: SAP Tutorial
What is Class? A class is a collection of equivalent properties and set of instructions. Class is a template to objects and define objects. In technical, objects are runtime instances of a class. Any number of objects can be created on a single class. Each instance/object of a class has a unique identity and its […]
What is Subroutines – Subroutines are procedures that can define in any program and call from any ABAP program. Subroutines normally contains sections code or algorithms. Subroutines can be defined anywhere in the program and no restriction on where to define. Subroutines can be defined using FORM and ENDFORM statements. PERFORM statement used to call […]
What is Function Module? Function modules are sub programs that contains set of reusable source code statements with importing, exporting parameters and exceptions. Function modules are stored in central library. Function modules available to the entire system. Function modules can execute independently. If the source code is only used within the same program, then use […]
SAPScript is a tool used to create and maintain forms for sending across and mass printing.
The tool can develop the forms that supports printing, faxing, e-mailing or XML generated outputs.
Local variables meaning is self-explanatory. These variables are very local to the program or function or include etc,.
The variables life time is until end of the program or function or include etc, execution where the variable was originally defined.
Static variable initialized only once when the program or function or include etc, execution started and doesn’t initialize until the end of the program or function or include etc,. The value assigned to the static variable retain until the end of the program or function or include etc, execution.
Reference variable contain references (i.e. pointing to the memory location of the another variable). ABAP supports data references and object references.
ABAP System variables are predefined by the SAP system. These variables can accessed by all the programs in SAP environment. These variables always filled by the SAP runtime environment.
ABAP supports the structured variable declared as a structured data type. Structured variable can be defined by using BEGIN OF and END OF keywords.
