What is the difference between Overloading and Overriding ? Which of them is possible in ABAP ?
Answers were Sorted based on User's Feedback
Answer / aseem
Overloading : Overloading is when we have 2 Methods in the same or derived class but have different parameters.
Overriding : When we re-implement the method of a super class in a derived class. Is possible via REDEFINITION keyword.
I'm not sure if the first one is possible in ABAP. Let me test it out repost the answer.
|Is This Answer Correct ?||15 Yes||2 No|
Answer / 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|
Answer / saurav
1. Overloading is possible only in case of constructor of a sub class.
2. Overriding is possible when you redefine a super class method in the sub class.
|Is This Answer Correct ?||1 Yes||0 No|
Answer / ramesh
METHOD OVERLOADING: It is used when the parameters used in super class method are same as parameters in subclass method.
METHOD OVERRIDING : It is used when the parameters are different from one method to other method.
Both methods are used in ABAP.
|Is This Answer Correct ?||0 Yes||5 No|
Answer / aditi
both are possible
|Is This Answer Correct ?||0 Yes||8 No|
What are the different types of view?
How did you upload Logo using RSTXCDMC which format you upload TIF?
Can you use if then else, perform ..etc statements in sap script?
What is Macro?
If I code parameters and selection events without writing the start-of-selection, will the report runs?
What is the name of ur presentation,application server in ur comp???
if have 10 pages in script,how u can u start from 10th page?
Explain open dataset in sap abap?
How to upload the customizing data using LSMW?
What are screen painter and menu painter? : abap hr
– Programming using BAPI : Create Debit Memo Request (DMR) with reference to Sales Order and update the delivery number and PO number in the newly created DMR. Send the spool of the report by E-mail if the E-mail option is enabled. Selection Screen Required:  Sales Org  Delivery type  Sales document type Optional:  Planned Goods movement date  Option to choose E-Mail  E-mail Address  Output device Output Output should display both successful and unsuccessful creation of DMR with the following fields,  Success/Error (S/E)  Sales Document number  Delivery number  New Debit memo request number  Error message Tables TVAK, TVCPA, VBAK, LIKP, LIPS
what is the difference between user-exit & BADIs?