top of page
blank.png
Search

ABAP tricks #27/100: šŸ˜€ CAST Operator

  • Writer: Smart Logic Academy
    Smart Logic Academy
  • Sep 1, 2024
  • 1 min read

• Using theĀ CASTĀ operator, you can carry outĀ upcastsĀ ,Ā downcastsĀ and create a reference variable of a static type as a result.


• Assigning/copying the instance of sub class to a super class instance is called UP Cast.

Assigning/coping the instance of super class to the sub class instance is called Down Cast.


• The new CAST operator replaces theĀ casting ?=Ā operator.



Please share with your ABAP friends and follow us.

If you want to dive deeper, visit our course https://lnkd.in/d42HfjDh



Ā 
Ā 
Ā 

Recent Posts

See All

ć‚³ćƒ”ćƒ³ćƒˆ


bottom of page