What types of ABAP programs are available?

Source: Internet
Author: User

We are using the transaction code se38 to create a new one.ProgramYou are always required to specify a program type. These program types are used to complete different functions. If you select an error, the program may not run. The following describes the program types one by one:

Executable program (the program type is 1. in the SAP standard tutorial, type 1 program is often mentioned, which means this will happen in the future and will not be repeated .)
An executable program can be executed directly without a transaction code. This is also the most common program type for report development. You can directly click the execute button in se38 or press F8 to run an executable program.
The executable program contains some predefined process blocks, such as initialization, at selection-screen, start-of-selection, and end-of-selection, A background system program controls executable programs and calls these process blocks in sequence. First, a selection screen is displayed, and finally a list is output. An executable program can also specify a logical database. A logical database is also a program that reads business data based on the primary key according to the predefined database table structure, you can use se36 to view the logical database.

The module pool used for the screen drawn by the screen Paster (program type: m)
The module pool contains the processing steps of the screen module from the business. It can only be called through the transaction code or menu function.

Contains Program (program type is I)
Contains programs that cannot run independently.CodeThat is to say, whether you use the execution function in se38 or call it through the transaction code or menu, you cannot open an inclusion program. They are mainly used to make the program clearer and reusable. In other programs, the include Statement can add a program to the program. The final effect is equivalent to replacing the include statement with all the content in the included program.

Subroutine (program type: S)
This type of program only contains the program blocks called by external perform statements. That is to say, it only contains the program code in the form... endform block. From an external program In program [If found]. To call.

Function Group (program type: F)
Such programs include function modules. Function groups and function modules are managed using the function generator with the transaction code se37. When creating function groups and function modules, the function generator sets the program type to F.

Interface pool (program type: J)
Contains interfaces. Both the class and interface are managed in the class maker, and the transaction code is se24.

Class pool (program type: K)
Contains classes. Both the class and interface are managed in the class maker, and the transaction code is se24.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.