What is the difference between Overloading and Overriding ? Which of them is possible in ABAP ?

Answer Posted / surya

Overloading:in class same method have different parameters, number of parameters or same method have different signature . sap not sported method overloading


Overriding : super class methods are reimplemented in subclass by using key word REDEFINITION

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I am trying to automate a manual processing of iDOCs in BD87. I used the following code to pass idoc-id to global variable 'DCN' and then skip the first screen of BD87 to go to processing directly. After running this code SET PARAMETER ID 'DCN' FIELD itabhdr-idoc_id. CALL TRANSACTION 'BD87' AND SKIP FIRST SCREEN. it takes me to the first screen because it cannot recognize my idoc-id. How I can pass idoc-id to global? I have used the above code to goto VA02 with VBELN and it worked perfectly.

1753


How can you manipulate the presentation and attributes of interactive lists?

599


Can we create field without data element? If yes, how?

684


hi i need detailed information on badi and bapi how can this work in real time senarios plz explain with exp

3201


How can we use / display table in a screen?

628






Explain the difference between cluster tables and pool table?

608


can any one answer these questions 1)How do you convert non-character field to character field? 2)How do you work with semi colon separated files? 3)why cant we use normal function module for data transfer? 4)what is the structure of CTU-PARAMS? 5)can we use transfer dataset to transfer data in internal table?

1534


What are the basic components of dialog program?

686


What is an abap?

542


how can we enable hyperlink in screen painter?

3369


Give few names of pooled tables in sap ?

1494


Is the basic list deleted when the new list is created?

570


Can we write the code both call transaction and session method in single program?

594


If A is the super class of B. And both the classes have constructor. We create an object of class B. Then which constructor will be called? If both then in which order?

919


What are conversion & interface programs in sap?

645