COPY_SVARIANT SAP Method of class CL_PROXY_FACT









Below is documentation, parameters and attributes of ABAP Method COPY_SVARIANT within SAP class CL_PROXY_FACT. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_PROXY_FACT into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method COPY_SVARIANT can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method COPY_SVARIANT

.

NameTypeData TypeDescriptionDefault Value
DO_SAVEImportingTYPE
PRX_BOOLEAN
ABAP Proxies: Boolean Value ('X' = True, Space = False)
FROM_IFR_IDImportingTYPE
PRX_S_IFR
Proxy Generation: Object Identification ES Builder
PREFIXImportingTYPE
PRX_PREFIX
Proxy Generation: Prefix for Proxy Objects to Be Generated
SUPPRESS_DIALOGSImportingTYPE
PRX_BOOLEAN
ABAP Proxies: Boolean Value ('X' = True, Space = False)
TO_IFR_IDImportingTYPE
PRX_S_IFR
Proxy Generation: Object Identification ES Builder
PROXYExportingTYPE REF TO
CL_PROXY_SV
Proxy Generation: Proxy Type with Referenced Proxy Types
TRANSPORT_NUMBERChangingTYPE
KORRNUM
Name of the locked correction



Exceptions of Method COPY_SVARIANT

CX_PROXY_GEN_ERROR - Proxy Generation: Error

Example ABAP coding


DATA: lv_DO_SAVE TYPE PRX_BOOLEAN,
lv_FROM_IFR_ID TYPE PRX_S_IFR,
lv_PREFIX TYPE PRX_PREFIX,
lv_PROXY TYPE CL_PROXY_SV,
lv_SUPPRESS_DIALOGS TYPE PRX_BOOLEAN,
lv_TO_IFR_ID TYPE PRX_S_IFR,
lv_TRANSPORT_NUMBER TYPE KORRNUM,
lv_other TYPE c.

CALL METHOD CL_PROXY_FACT=>COPY_SVARIANT(
EXPORTING
DO_SAVE = lv_DO_SAVE
FROM_IFR_ID = lv_FROM_IFR_ID
PREFIX = lv_PREFIX
SUPPRESS_DIALOGS = lv_SUPPRESS_DIALOGS
TO_IFR_ID = lv_TO_IFR_ID
IMPORTING
PROXY = lv_PROXY
CHANGING
TRANSPORT_NUMBER = lv_TRANSPORT_NUMBER ).

Links to Related Class(s)

CL_PROXY...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!