Static Method in SAP ABAP | Instance Method in ABAP | ABAP Classes and Methods | Static VS Instance

Published: 23 January 2021
on channel: LearnSapAbap
5,802
61

Hello Friends,

In this session we are going to see How to use SAP ABAP Instance Method vs Static Method in object oriented programming.

What is Static and Instance Method in OO ABAP?

1) Static method in oops abap
SAP ABAP Static Method is method which can be called irrespectively to class instance means we don't need to create any object to call static method. Static method in abap access only static attributes.

2) Instance Method in oops abap
Instance method is call only using object reference. Instance method in abap access static as well as instance attribute.

Please Read article on static method vs Instance method.
https://www.learnsapabap.com/2018/01/...

Please visit my website to learn more about ABAP.
https://www.learnsapabap.com/

#Static_Method
#Instance_Method


Thanks,
#LearnSapAbap
Instagram : @swap_neeeel


On this page of the site you can watch the video online Static Method in SAP ABAP | Instance Method in ABAP | ABAP Classes and Methods | Static VS Instance with a duration of hours minute second in good quality, which was uploaded by the user LearnSapAbap 23 January 2021, share the link with friends and acquaintances, this video has already been watched 5,802 times on youtube and it was liked by 61 viewers. Enjoy your viewing!