Difference Between Call By Value and Call By Reference?

Answer Posted / ashish awasthi

in call by value method,a compiler get a copy of the
variable and thus changes made in the value in function
will not reflected back to the called function.but in call
by reference method,the compiler didn't get any copy ,but
actually it works on the original copy and thus changes
will be reflected back

Is This Answer Correct ?    261 Yes 59 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How the Sy-Mandt value gets updated in the table and Is this having any foreign key relationship.

1688


Explain the sequences of event block?

547


HOW TO TRANSFER VENDOR MASTER DATA FROM LEGACY SYSTEM TO SAP SYSTEM THRU LSMW (IN LSMW, USING DIRECT INPUT PROGRAM:RFBIKR00)

3280


What are the differences between structure and table in data dictionary in abap? : sap abap data dictionary

578


What is the difference between a substructure and an append structure?

613






Can you print decimals in type n? What is difference between float and packed data type?

741


Explain what is sap script? What is the purpose of sap script?

621


If i wont like to change the standard print program where i copied standard script to customer namespace,in this case is it possible to retreive the data if u connect the script with standard program.if yes how?if no why? Is it possible to print the logo in first page only,where the form consists of 10 pages.How can u do this? How can u set a table format where it cosists of fields like cust no, custname, amount ...in a script? How do u know that the particular BADI is suitable for the existed report.How do u findout this?When do u opt for BADI OR USEREXIT?did functional people tell u to adopt BADI or USEREXIT? What is the difference between SY-INDEX & SY-TABIX ? I have a report with fields Status,time & date. the contents it consists are Status Time Date AAA 01:20:15 05-06-10 AAA 11:02:32 O3-06-10 AAA 23:11:00 05-06-10 AAA 09:14:46 05-06-10 HOW DO U WRITE A CODE TO DISLAY A ROW WHICH WAS RECENTLY EXECUTED?( for this question it should display AAA 23:11:00 05-06-10 AS Output)

2054


How many types of data classes are there in sap abap? : abap data dictionary

544


Explain what is sap script?

633


​​What is view proxy in abap?

781


How to create a button in selection screen ?

1477


What are Delivery classes? What data will you want to transport during client copy?

979


What is the use of 'for all entries'?

593


What is client in the sap system? : sap abap hr

559