Difference Between Call By Value and Call By Reference?

Answer Posted / kruthicse

Call By Value:
Creates a new memory loaction for use within the
subroutine.The memory is freed once it leaves the
subroutine.Changes made to the variable are not affected
outside the subroutine.
Call By Reference:
Passes a pointer to the memory location.Changes made to the
variable within the subroutine affects the variable outside
the subroutine.

Is This Answer Correct ?    580 Yes 131 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Filter badi and multiple used badi? Will the sequence matter of the badi implementation in case of multiple used badi?

1283


What are different ABAP editors? What are the differences?

591


What are screen painter? Menu painter? Gui status?

596


Specify the types of data dictionary objects.

509


What are the different types of views in sap? : abap data dictionary

609






how to create view in bdc..??

2326


What is sql trace? : abap data dictionary

667


What are the events in abap/4 language? : abap hr

616


What are the disadvantages of using explicit enhancement?

1374


What is an “on request field” statement?

651


How can we upload a text file having delimiters in to legacy system?

595


What are the events used in abap in the order of execution?

559


What are the different software packets available in the market? : sap abap hr

570


What are Pull and Push Methods?

1774


WHAT ARE THE MANDATORY FIELDS TO BE FILLED FROM TABLES BAPIITEMIN, BAPIPARTNR, BAPIITEMEX, BAPICUCFG, BAPICUINS, BAPICUPRT, AND BAPICUVAL IN BAPI 'BAPI_QUOTATION_CREATEFROMDATA

2038