COPY SAP Method Copy planning data from an object to another one
Below is documentation, parameters and attributes of ABAP Method COPY within SAP class IF_RSCRM_IMP_ACTION_MANAGER. 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 IF_RSCRM_IMP_ACTION_MANAGER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method COPY can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method COPY
.Name | Type | Data Type | Description | Default Value |
IS_PATTERN_CONFIG | Importing | TYPE RSCRMS_IMP_PATTERN_CONFIG | Buying Pattern Configuration Information | |
IT_COMPOUNDED_DATA | Importing | TYPE RSCRMT_IMP_COMPOUND_MAPPING | Compounding Mappings | |
IT_COPY_FROM_TO | Importing | TYPE RSCRMT_IMP_FROM_TO_SELECTION | Table for copy and repost selection | |
IT_DATA | Importing | TYPE ANY TABLE | Data blocks from application | |
IT_DATASET_SELECTION | Importing | TYPE RSCRMT_IMP_SELECTION | Table of parameters and values for selection | |
IT_METADATA | Importing | TYPE RSCRMT_IMP_MODEL | Metadata blocks from application | |
IT_QUERY_FILTERS | Importing | TYPE RSCRMT_IMP_SELECTION | Query filters | |
IV_OBJECT_ID | Importing | TYPE RSCRM_IMP_OBJECT_ID | Object Identifier | |
IV_QUERY_ID | Importing | TYPE RSCRM_IMP_QUERY_ID | Query Identifier |
Exceptions of Method COPY
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_RSCRM_IMP_ACTION_MANAGER.
DATA: lv_IS_PATTERN_CONFIG TYPE RSCRMS_IMP_PATTERN_CONFIG,
lv_IT_COMPOUNDED_DATA TYPE RSCRMT_IMP_COMPOUND_MAPPING,
lv_IT_COPY_FROM_TO TYPE RSCRMT_IMP_FROM_TO_SELECTION,
lv_IT_DATA TYPE ANY TABLE,
lv_IT_DATASET_SELECTION TYPE RSCRMT_IMP_SELECTION,
lv_IT_METADATA TYPE RSCRMT_IMP_MODEL,
lv_IT_QUERY_FILTERS TYPE RSCRMT_IMP_SELECTION,
lv_IV_OBJECT_ID TYPE RSCRM_IMP_OBJECT_ID,
lv_IV_QUERY_ID TYPE RSCRM_IMP_QUERY_ID,
lv_other TYPE c.
CALL METHOD lo_class=>COPY(
EXPORTING
IS_PATTERN_CONFIG = lv_IS_PATTERN_CONFIG
IT_COMPOUNDED_DATA = lv_IT_COMPOUNDED_DATA
IT_COPY_FROM_TO = lv_IT_COPY_FROM_TO
IT_DATA = lv_IT_DATA
IT_DATASET_SELECTION = lv_IT_DATASET_SELECTION
IT_METADATA = lv_IT_METADATA
IT_QUERY_FILTERS = lv_IT_QUERY_FILTERS
IV_OBJECT_ID = lv_IV_OBJECT_ID
IV_QUERY_ID = lv_IV_QUERY_ID ).
Links to Related Class(s)
IF_RSCRM...Full list of available SAP object classes
Search for further information about these or an SAP related objects