WHAT IS THE DIFF B/W MACRO & SUBROUTINE?

Answer Posted / sudhakar1207

MACRO IS NOT REUSABLE, WHERE AS SUBROUTINE CAN BE REUSABLE.
MACRO DEFINITION WILL REPLACE THE MACRO CALL AT COMPILE TIME, WHERE AS SUBROUTINE CALL WILL TRANSFER THE CONTROL TO THE SUBROUTINE DEFINITION AND EXECUTE IT AND RETURN BACK TO CALLING PROGRAM.
DEBUGGING IS NOT POSSIBLE IN CASE OF MACRO.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

While doing bdc exp va01 transaction sometime in the item level data shows only 4 items and other times it will show 6 line items, how will you maintain this kind of screen resolutions scenerio? : abap bdc

762


What data is contained? : abap data dictionary

687


Write syntax for message error (report)?

635


How do you process errors in call transaction method? : abap bdc

680


Explain the uses of the simple maintenance interface? : sap abap hr

580






What is hotspot?

925


Can we set page headers to details lists?

587


Explain different types of attributes of function module?

544


where do we store all custom programs in SD module?

4886


What happens if a function module runs in an update task?

556


What is the disadvantage of a call by reference? : abap modularization

605


How to split one Invoice into Multiple ( Step by Step)?

1705


What is the difference between synchronous and asynchronous update? : abap bdc

640


THANKS ALL. i CLEARED THE INTERVIEW OF INFOSYS BASED ON THIS QUESTION SET. IT REALLY WORKS. LONG LIVE ALLINTERVIEW.COM

15759


What is difference between float and packed data type?

638