Video není dostupné.
Omlouváme se.
Create Class and Method in SAP ABAP [english]
Vložit
- čas přidán 14. 08. 2024
- In this video, I show how to create a class in SAP ABAP and how to define a method. Then I show how to call this simple method in a program.
I use a separate package per project, then create my dictionary objects in this package, such as tables, structures or programs, function groups and also my classes.
But there are also classes, which are project independent. In these classes are simple methods, which take over simple functions. Such a function would be e.g. to provide the email address of a SAP user.
#class #method #create
▬▬ Literature 📚 ▬▬▬▬▬▬▬▬▬▬▬▬▬
▶ ABAP: An Introduction 2020 amzn.to/45CLTqk
▶ Complete ABAP 2023 amzn.to/45D5UNM
▶ ABAP to the Future 2022 amzn.to/42cgWGs
▶ Clean ABAP 2022 amzn.to/3KAqmow
▬▬ My Hardware 💻 ▬▬▬▬▬▬▬▬▬▬▬▬▬
▶ Microphone: amzn.to/3zj2UIz
▶ Headphone: amzn.to/3GUBRFg
▬▬ My Software (free) 💾 ▬▬▬▬▬▬▬▬▬▬▬
▶ Video Recorder: bit.ly/678fgh6
▶ Video Editor: bit.ly/38Rj9lb
▶ Thumbnail: bit.ly/CustAnd...
▶ Gamma AI: bit.ly/3nsdvgr
▬▬ Further Links 🔗 ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⭐Become my subscriber: bit.ly/CustAnd...
🎬All videos in English: bit.ly/CustAnd...
☕Buy me a Coffee 😀: bit.ly/3dih2cl
*The links are affiliate links. There are no additional costs.
thanks a lot for your great video! now i get a general imeage of how a class/method works. could you please give some examples about these most used class/method? Thanks a lot!
I appreciate it and thank you for watching and commenting! 🤗 I will do some ABAPOO examples in my future videos. 😀
@@CustAndCode thank you very much. looking forwrd to your new videos. could you please give some introduction about BADI as well?
Love the wat you explain everything in detail 🤠 want more videos on basics of abap code
Thank you very much! I aprechiate your feedback! 🤩
Thank you .Great and simple one...Keep Going....Waiting for more videos
Thanks for your kind feedback! 😀😃
Thank you bro. I can understand now how work methods and classes. Good work)
Thank you for your feedback! 😀 Glad the video has helped!
Thank you for your nice explaination
Thank you very much for your kind feedback! 🤗😀
Nice! Thank you 😊
Thanks for your feedback! 😃
GOOD
Thanks 🤗
Is a method similar like function module? You give something in, it returns you back something. Yes or no?
Yes, in summary, function modules are global procedures stored in function groups, while methods are part of classes and are called using objects. You can call function modules remotely. 🤗
Thanks .. go on!
Thanks, I will hehe 😎
thanks for the video, i have followed the steps but in my program when i call the method it says it is unknown. Please assist
Thank you! 😃That can only be a typo 🤔 please check if you call the method like this: zcl_examples_global=>get_hello_world
thanxxxxxxxx
Thank you very much! 🤗