Hierarchy

⤷

⤷

Basic Data
Data Element | AQ_CODE |
Short Description | SAP Query: ABAP code line |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | AQS_C72K | |
Data Type | CHAR | Character String |
Length | 72 | |
Decimal Places | 0 | |
Output Length | 72 | |
Value Table |
Further Characteristics
Search Help: Name | ||
Search Help: Parameters | ||
Parameter ID | ||
Default Component name | ||
Change document | ||
No Input History | ||
Basic direction is set to LTR | ||
No BIDI Filtering |
Field Label
Length | Field Label | |
Short | 10 | Code line |
Medium | 15 | Code line |
Long | 15 | Code line |
Heading | 55 | Code line |
Documentation
Definition
Line for entering ABAP/4 code. The code is part of all query reports for the functional area.
Supplementary Documentation - AQ_CODE 0090
A section of code usually consists of up to 5 lines. If this is not enough, you can use an editor. To activate this, press the pushbutton next to the section of code. You can also use INCLUDE statements or external PERFORMs. Any blank lines are automatically omitted.
If more than 5 lines of code have been defined, you can only maintain this in an editor. The lines on the screen cannot accept input.
The following fields can be used in ABAP code:
- Fields of logical database tables (the current table and superior tables)
- Parameters
- Data from DATA code
- Additional fields to the current logical database table or superior logical database tables
- Fields of additional tables to the current logical database table or superior logical database tables
If (for a functional area using a logical database) the GET event of a section of code contains additional fields or fields of additional tables for the current table, or if (for a functional area without a logical database) the record processing event uses additional fields or fields of additional tables, you must ensure when specifying the sequence that these fields are assigned values at the right time.
Supplementary Documentation - AQ_CODE 0091
A section of code usually consists of up to 5 lines. If this is not enough, you can use an editor. To activate this, press the pushbutton next to the section of code. You can also use INCLUDE statements or external PERFORMs. Any blank lines are automatically omitted.
If more than 5 lines of code have been defined, you can only maintain this in an editor. The lines on the screen cannot accept input.
The following fields can be used in ABAP/4 code:
- Parameters
- Data from DATA code
- Fields of the table whose structure describes the records to be processed
- Additional fields
- Fields of additional tables
If fields of additional tables or additional fields are used, you must ensure when specifying the sequence that these fields are assigned values at the right time.
Supplementary Documentation - AQ_CODE 0092
A section of code usually consists of up to 5 lines. If this is not enough, you can use an editor. To activate this, press the pushbutton next to the section of code. You can also use INCLUDE statements or external PERFORMs. Any blank lines are automatically omitted.
If more than 5 lines of code have been defined, you can only maintain this in an editor. The lines on the screen cannot accept input.
In generated query reports, these lines of code are executed at START-OF-SELECTION. START-OF-SELECTION code is executed before the first data record is read.
The following fields can be used in ABAP/4 code:
- Fields of logical database tables
- Parameters
- Data from the DATA code
- Additional fields
- Fields of additional tables
Supplementary Documentation - AQ_CODE 0093
A section of code usually consists of up to 5 lines. If this is not enough, you can use an editor. To activate this, press the pushbutton next to the section of code. You can also use INCLUDE statements or external PERFORMs. Any blank lines are automatically omitted.
If more than 5 lines of code have been defined, you can only maintain this in an editor. The lines on the screen cannot accept input.
This section of code is reserved for defining ABAP/4 data to be used for additional tables in other code or as arguments in the SELECTs. For reasons of transparency, you are recommended not to declare data in any other code.
In the data declarations of this section of code, you can reference the following using LIKE:
- Fields of logical database tables
- Table fields in the ABAP/4 Dictionary
- Parameters
Supplementary Documentation - AQ_CODE 0094
Each block of five lines constitutes a section of code which you can edit directly. If five lines are insufficient, you can go to an editor by pressing the pushbutton to the right of the code. You can also use INCLUDE statements or external PERFORMs. The system automatically suppresses blanks lines.
If you define more than five lines of code in the editor, you can only carry out any subsequent maintenance in the editor. The five lines on the screen then become read only.
In generated query reports, these lines of code are executed as part of the event TOP-OF-PAGE, i.e. before the first line of the page header is displayed. If the code contains WRITE statements, the output resulting from these appears before the first line of the page header. If you output the standard page header when printing the list, the output then appears between the standard page header and the first line of the page header.
In the code, you can access global data fields, parameters and selection critera. However, accessing the fields of logical database tables and additional tables, or additional fields, is not possible.
Supplementary Documentation - AQ_CODE 0095
Each block of five lines constitutes a section of code which you can edit directly. If five lines are insufficient, you can go to an editor by pressing the pushbutton to the right of the code. You can also use INCLUDE statements or external PERFORMs. The system automatically suppresses blanks lines.
If you define more than five lines of code in the editor, you can only carry out any subsequent maintenance in the editor. The five lines on the screen then become read only.
In generated query reports, these lines of code are executed as part of the event END-OF-SELECTION. This means that you can define code which is executed before or after the list is output.
In the code, you can use the following fields:
- Fields of logical database tables
- Parameters
- Data from the DATA code
- Additional fields
- Fields of additional tables
Supplementary Documentation - AQ_CODE 0100
A section of code usually consists of up to 5 lines. If this is not enough, you can use an editor. To activate this, press the pushbutton next to the section of code. You can also use INCLUDE statements or external PERFORMs. Any blank lines are automatically omitted.
If more than 5 lines of code have been defined, you can only maintain this in an editor. The lines on the screen cannot accept input.
The following fields can be used in ABAP/4 code:
- Fields of logical database tables (current table and superior tables)
- Parameters
- Additional fields of the current logical database table and superior logical database tables
- Fields of tables of the current logical database table and superior logical database tables
If additional fields or fields of additional tables of the current table are used in this code, you must ensure that values are assigned to these fields at the right time.
Supplementary Documentation - AQ_CODE 0110
Use
Additions for the PARAMETERS declaration
Procedure
In this field, you can enter any addition of the PARAMETERS declaration which cannot be described by specifying type and length.
Examples
DEFAULT 'xyz'
MEMORY ID 'ABC' LOWER CASE
Supplementary Documentation - AQ_CODE 0120
Use
Additions to the SELECT-OPTIONS declaration.
Procedure
You can enter any additions to the SELECT-OPTIONS declaration in this field.
History
Last changed by/on | SAP | 20010130 |
SAP Release Created in |