What is the difference between macro and subroutine?
Answer Posted / suman
1.macro doesn't have any return statement...but a subroutine
can have ..
2.execution time needed for a macro is much lesser than
subroutine
3.memory requirement for a macro is generally heigher..
4.subroutine can be classified as stated in Previous
answers..but no such classification is available with macro
although macro can have different types of nested form
5.generally no of instructions in macro are smaller than
subroutine
6.macro is always local to the program that defines it..
subroutine may or may not be local..
| Is This Answer Correct ? | 241 Yes | 20 No |
Post New Answer View All Answers
How can a lock object be called in the transaction?
Is it possible to run host command from SAP environment? How do you run?
What is sap abap data dictionary?
What is screen flow logic? What are the sections in it?
What is the syntax for ‘call transaction’?
What are the events in abap/4 language? : abap hr
What is pass by value and what is pass by reference? Which is better?
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?
What are the different types of locks? : abap data dictionary
Does every abap/4 have a modular structure?
What is the difference between commit-work and rollback-work tasks?
What kind of financial periods exist in sap? What is the relavent table for that?
Does the call transaction method allow multiple transactions to be processed by sap?
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
What are the events driven batch jobs?