Ansicht
Dokumentation
ABENCLASS_COMPONENT_SELECTOR - CLASS COMPONENT SELECTOR
TXBHW - Original Tax Base Amount in Local Currency PERFORM Short ReferenceThis documentation is copyright by SAP AG.
Class Component Selector
A static component comp of a class is accessed using the following name:
class=>comp
In this case, no instance of the class has to be created. The symbol => is the class component selector. The name class of a class must be to the left of the class component selector. The name comp of the component must be to the right of the class component selector.
The class component selector can also be used to access the data types and constants of an interface:
intf=>type, intf=>const
The name intf of an interface must be to the left of the class component sector. The name type of a data type defined using TYPES or a constant const defined using CONSTANTS must be to the right of the object component selector.
Note
It is also possible to access the static components of a class using the object component selector if an instance of the class was created.
Example
Declaration of a class factory and access to its static attributeoref.
RFUMSV00 - Advance Return for Tax on Sales/Purchases ABAP Short Reference
This documentation is copyright by SAP AG.
Length: 1355 Date: 20240426 Time: 215322 sap01-206 ( 28 ms )