Ansicht
Dokumentation

DEMO_CHARACTERS_IN_ABAP_NAMES - Valid Characters in Internal ABAP Names

DEMO_CHARACTERS_IN_ABAP_NAMES - Valid Characters in Internal ABAP Names

TXBHW - Original Tax Base Amount in Local Currency   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Purpose

This program demonstrates which characters can be used in internal names for data types, data objects, procedures, and procedure parameters in ABAP programs.

Integration

Prerequisites

Each character in question, char, is inserted in an internal table as the final character (Achar), center character (AcharB), and first character (charB, char_B) of the name of a data object, a data object, a procedure, or a procedure parameter in an ABAP program. A syntax check is carried out both outside andinside a class (OO).

Features

Selection

By default, checks are made for Unicode programs. In non-Unicode systems, checks can also be made for non-Unicode programs.

Standard Variants

Output

This program demonstrates how the recommended naming convention (alphanumeric characters and _ only and no digits in the first position) is only tested strictly in classes. Other characters can still be used outside of classes, but this is no longer recommended.

Activities

This program demonstrates the current state of the naming convention checks. Syntax revisions maybe be applied at any time. Always stick to the recommended naming conventions.

Example






CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 1932 Date: 20240531 Time: 080837     sap01-206 ( 49 ms )