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

How is conversion of data types done between abap/4 & db layer?

638


What are field groups?

604


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

682


When a function module is activated syntax checking is performed automatically. State yes or no. : abap modularization

613


What is the meaning of abap editor integrated with abap data dictionary? : abap data dictionary

683






What is the use of info groups? : sap abap hr

560


What are the parameters in bdc_insert? : abap bdc

814


What are the data classes in abap?

611


What are the different types of view?

604


Print options in smartforms?

1568


wat is the difference between A-gate & W-gate?where are they used?

1489


What abap statement will trigger list generation?

623


Can you create a table with fields not referring to data elements? : abap data dictionary

777


hi,i worked mostly in core abap.know iam assigned to XI utility project.can u experts let me know what r the basic things i need to learn to work in XI utility project.i already searched in forum.thanks in advance.

1561


what is mean be On Change of in Control Break statement

851