WHAT IS THE DIFF B/W MACRO & SUBROUTINE?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / anil salekar
One more difference is Macro has to be defined in the same
calling program whereas subroutine can be in the same
calling program (Subroutine in a program) or can be in
another program (Function Module) .
Is This Answer Correct ? | 1 Yes | 0 No |
macros can be called first later define.
subroutine be first define later called.
Is This Answer Correct ? | 0 Yes | 1 No |
If I want to execute a bdc program only in background not in foreground is there any option for this? : abap bdc
what is the difference between templates and tables.
what is use of STOP stsment
In which table the material master data is stored?
What are the events used for logical database?
why do you selected sap abap as your career as there are many technical modules are there?
what is the functionality of Runtime Analysis?
In module pool program how to pass the one screen input value to another screen input value?
What is logo in sap script?
Pls reply me 1)can i debuging the idoc. 2)give some example of pool table and cluster table. 3)what is update module.
Is der any other way or tcode to process the session except SM35?
Differentiate screen painter from menu painter.