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

how to update the filed value in SAP in ZAWSYS and create time and date? please tell me the answer

2273


How do you execute the payroll

2581


Work most on which module: name a few tables?

1057


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

1099


What are the functions of lock objects?

1201


dynamic programming in sap abap

1466


What is the difference between a structure and a table? : abap data dictionary

1105


What is a report?

1259


How do you display a data in a detail list?

993


What are dml commands in abap?

1261


To how many tables can an append structure be assigned. : abap data dictionary

1099


What are conversion & interface programs in sap?

1136


What happens if a function module runs in an update task?

1044


What is repository info. Systems?

1096


What are the 3 types of tables in sap? : abap data dictionary

1103