Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to use methods of a Standard class in Our own requirement in ABAP ?

SugguSandeep
Active Participant
0 Kudos

Hi SCN People,

I am aware of creating methods in manual way,

But I am not able to understand how to use the standard ones

I went on searching so many resources but not getting enough clarity,

Looking for Sample Method explanation by using standard class.....

Thank You,

Suggu Sandeep.

2 REPLIES 2

Sandra_Rossi
Active Contributor

I guess there are millions of standard "methods" in a SAP system. All of them work differently. People can't answer generically.

NB: you should only use the officially-available methods (in the Released classes).

FredericGirod
Active Contributor

To use a method, you need first to instanciate the class. There is two simples ways :

  • CREATE OBJECT ...
  • my_instance = new my_object( ... ).

To use a method there is also two ways :

  • CALL METHOD ...
  • my_instance->my_method( ... )