SAP ABAP Data Element SATC_D_AC_MODE_FND_XTD_IN_CODE (Consideration of Pseudo Comments/Pragmas)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-ATF (Application Component) ABAP Test Frameworks ( ATC, CheckMan, Code Inspector)
⤷
SATC_ABAP_CHECK_DDIC_TYPES (Package) INTERNAL: - *NO* REUSE - Type definitions

⤷

⤷

Basic Data
Data Element | SATC_D_AC_MODE_FND_XTD_IN_CODE |
Short Description | Consideration of Pseudo Comments/Pragmas |
Data Type
Category of Dictionary Type | D | Domain |
Type of Object Referenced | No Information | |
Domain / Name of Reference Type | SATC_AC_MODE_FND_XTD_IN_CODE | |
Data Type | CHAR | Character String |
Length | 2 | |
Decimal Places | 0 | |
Output Length | 2 | |
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 | PsCm/Pragm |
Medium | 15 | PsComm/Pragmas |
Long | 20 | Pseud.Comm./Pragmas |
Heading | 35 | Consideratn of Pseud.Comm./Pragmas |
Documentation
Definition
It is possible to suppress findings by exemptions within in the code. So called pragmas or pseudo comments offer developers a convenient way to handle false positives.
The mode for findings exempted in code specifies the handling of such code based exemptions in the 'ABAP Test Cockpit':
- Suppress Finding: Findings exempted in code will not be contained in the ATC result
- Report as Exempted: Findings exempted in code will be contained in the ATC result with state 'Exempted'
- Report as Open: Findings exempted in code will be contained in the ATC result with state 'Open'
Use
The following code fragment contains a code based exemption:
WRITE: / 'Hello SAP' ##no_Text.
With the options above it is possible to suppress the finding, to report the finding as exempted or to report the finding as open.
Dependencies
Please note that the mode "Report as Exempted" and the mode "Report as Open" impact performance considerably.
History
Last changed by/on | SAP | 20141013 |
SAP Release Created in | 740 |