Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between macro and subroutine?

Answer Posted / paramjeet

Macros can only be used in the program the are defined in
and only after the definition are expanded at compilation /
generation. Subroutines (FORM) can be called from both the
program the are defined in and other programs . A MACRO is
more or less an abbreviation for some lines of code that are
used more than once or twice. A FORM is a local subroutine
(which can be called external). A FUNCTION is (more or less)
a subroutine that is called external. Since debugging a
MACRO is not really possible, prevent the use of them (I?ve
never used them, but seen them in action). If the subroutine
is used only local (called internal) use a FORM. If the
subroutine is called external (used by more than one
program) use a FUNCTION.

Is This Answer Correct ?    61 Yes 36 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we include customizing include or an append structure with pooled or cluster tables? : abap data dictionary

1260


ABAP : Classical reports events name

1295


What are the problems in processing batch input sessions? How is batch inputprocess different from processing online?

1007


What are the uses of the information in the data dictionary? : abap data dictionary

1151


What is the process to enhance the Infotype

3359


What is maintenance view?

1038


dynamic programming in sap abap

1408


What is the difference between table and template?

970


What is check table?

951


Did you create any joins?

936


Explain how to create any functions? How to go about it?

955


Difference between /N and /BEND?

1200


How do you save data in bdc tables? : abap bdc

1035


What was the requirement of IDoc in your project? How it was working?

1984


In sap script how to print bar code in vertical manner

3172