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

What are the types of the software component being deployed in the sap?

583


How are the date abd time field values stored in sap?

592


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

676


What are the drill-down features provided by abap/4 in interactive lists?

589


What is the use of the raising exception?

564






What is the relationship existing between the various data elements? : abap data dictionary

585


1)can any body tell the transport request number concept and 2)there are 3 screens in one screen u have uploaded the resume and second screen also u have done the same thing but when u are uploading the resume in third screen u got some error in somewhere else but whatever u have uploaded the resume in 1 and 2 should not

1647


What is the procedure you followed to upload the data?

564


What are the different message types available in the abap/4 ?

549


How do you find the information on the current screen?

592


How will u handle the situation – In a report using function module to generate a IDOC, How will u handle the error IDOC in the same report ?

1670


how to capture the errors in bdc Call transaction method?

602


BDC program to migrate data to SAP R/3 database. The data will be uploaded using transaction ME11. (Session Method) plz mention the detail coding Tahnks, Rahul

1609


Event handling in oops

1122


What is payroll driver ? : abap hr

608