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 directlyThe 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
.| Name | Type | Data Type | Description | Default Value |
| DO_SAVE | Importing | TYPE PRX_BOOLEAN | ABAP Proxies: Boolean Value ('X' = True, Space = False) | |
| FROM_IFR_ID | Importing | TYPE PRX_S_IFR | Proxy Generation: Object Identification ES Builder | |
| PREFIX | Importing | TYPE PRX_PREFIX | Proxy Generation: Prefix for Proxy Objects to Be Generated | |
| SUPPRESS_DIALOGS | Importing | TYPE PRX_BOOLEAN | ABAP Proxies: Boolean Value ('X' = True, Space = False) | |
| TO_IFR_ID | Importing | TYPE PRX_S_IFR | Proxy Generation: Object Identification ES Builder | |
| PROXY | Exporting | TYPE REF TO CL_PROXY_SV | Proxy Generation: Proxy Type with Referenced Proxy Types | |
| TRANSPORT_NUMBER | Changing | TYPE KORRNUM | Name of the locked correction |
Exceptions of Method COPY_SVARIANT
CX_PROXY_GEN_ERROR - Proxy Generation: ErrorExample 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