Video není dostupné.
Omlouváme se.

Create Class and Method in SAP ABAP [english]

Sdílet
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.

Komentáře • 23

  • @hikerElves
    @hikerElves Před 2 měsíci +1

    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!

    • @CustAndCode
      @CustAndCode  Před měsícem +1

      I appreciate it and thank you for watching and commenting! 🤗 I will do some ABAPOO examples in my future videos. 😀

    • @hikerElves
      @hikerElves Před měsícem

      @@CustAndCode thank you very much. looking forwrd to your new videos. could you please give some introduction about BADI as well?

  • @charulchauhan8437
    @charulchauhan8437 Před 2 lety

    Love the wat you explain everything in detail 🤠 want more videos on basics of abap code

    • @CustAndCode
      @CustAndCode  Před 2 lety

      Thank you very much! I aprechiate your feedback! 🤩

  • @cheralathans4122
    @cheralathans4122 Před rokem

    Thank you .Great and simple one...Keep Going....Waiting for more videos

    • @CustAndCode
      @CustAndCode  Před rokem

      Thanks for your kind feedback! 😀😃

  • @user-ee4ew7pe1h
    @user-ee4ew7pe1h Před 2 lety

    Thank you bro. I can understand now how work methods and classes. Good work)

    • @CustAndCode
      @CustAndCode  Před 2 lety

      Thank you for your feedback! 😀 Glad the video has helped!

  • @dhilipkumar1200
    @dhilipkumar1200 Před 2 lety

    Thank you for your nice explaination

    • @CustAndCode
      @CustAndCode  Před 2 lety

      Thank you very much for your kind feedback! 🤗😀

  • @ivankaiser3456
    @ivankaiser3456 Před 2 lety +1

    Nice! Thank you 😊

  • @rameshsaptech9091
    @rameshsaptech9091 Před rokem

    GOOD

  • @Axidy
    @Axidy Před 14 dny

    Is a method similar like function module? You give something in, it returns you back something. Yes or no?

    • @CustAndCode
      @CustAndCode  Před 13 dny

      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. 🤗

  • @user-yf9om8du4x
    @user-yf9om8du4x Před 2 lety

    Thanks .. go on!

  • @dimphorapulane9142
    @dimphorapulane9142 Před 2 lety

    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

    • @CustAndCode
      @CustAndCode  Před 2 lety

      Thank you! 😃That can only be a typo 🤔 please check if you call the method like this: zcl_examples_global=>get_hello_world

  • @benalayadaad6304
    @benalayadaad6304 Před 2 lety

    thanxxxxxxxx