Function Copies values from another object or a DDIC structure
Example ABAP
s10copy( myobj ).
Format ABAP
data:
  myobj type any.

  s10copy( myobj ).
Parameters
Name Type Description
obj any
S10 Object or DDIC structure to copy from
Description

Copies all public attributes of the specified s10/any object or of a DDIC structure into the corresponding attributes of the current object. Example:

ABAP

data: myvbup type vbup.

     call function 'SD_VBUP_READ_FROM_DOC'
      exporting
        ...
      importing
        es_vbup = myvbup.

* copy into attributes
    s10copy( myvbup ). 
Components S10 Framework