Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Exporting and returning value question

What is different between exporting and returning value in method of a class. if created an object inside the method and exporting it, it means I have a reference to that object inside program. If I use returning value, it means I have a copy of object created inside the method, but the object inside method is destroyed after it ends. Do I understand correctly? if so what do u prefer exporting or returning value? thanks!

Not what you were looking for? View more on this topic or Ask a question