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

What are the functional areas? User groups?

597


What are the difference between call screen and leave screen?

601


Difference between open sql and native sql? : abap data dictionary

604


Give few names of pooled tables in sap ?

1500


What is the t-code to display batch input sessions? : abap bdc

625






What is the differrences between structure and table in data dictionary in abap? : abap hr

714


What are the parameters used in each function?

597


How to select valid lines for secondary list?

602


How to create a button in selection screen ?

1484


What is a table pool?

620


Can you give the Example for the structure of an ABAP program? REPORT... NODES: SPFLI, SFLIGHT. DATA:... INITIALIZATION. AT SELECTION-SCREEN. START-OF-SELECTION. GET SPFLI... GET SFLIGHT... GET SPFLI LATE. END-OF-SELECTION. FORM... ENDFORM.

603


How do you connect to the remote server if you are working from the office for the client in remote place?

587


What is a transaction variant and why are they used?

543


What happens if only one of the commands set screen and leave screen is used without using the other?

588


Difference between user exit and badis?

607