includes in sap abap

includes in sap abap

includes in sap abap


INCLUDE PROGRAMS:

It is a reusable repository   object, which can be used for declaring global variables, subroutines, module definitions and class definitions.

Include programs cannot be executed directly; it needs to be included in other repository objects.

To use the components of include program inside other repository objects, we must include the include program by using ‘include’ keyword.

Syntax:
Include          <include name>.

It is recommended to include the include program at the beginning of the repository object.

If the include program contains any block definitions (subroutine or module definitions or class definitions) and if the include program is included at the beginning of the executable program, it leads to syntax error “statement is not accessible”. To avoid this, explicitly we need to handle the event “start-of-selection” after include statement to indicate the starting point of program execution.

Start-of-selection event should be handled after the include statement.

Start-of-selection event indicates starting point of program execution.

Note:- If anybody want some example of these all topic then kindly send/comment your mail id, i will send the all examples through mail in word format.


**Kindly like and share these all topic with your friends**

Post a Comment

0 Comments