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

.

NameTypeData TypeDescriptionDefault Value
IS_PATTERN_CONFIGImportingTYPE
RSCRMS_IMP_PATTERN_CONFIG
Buying Pattern Configuration Information
IT_COMPOUNDED_DATAImportingTYPE
RSCRMT_IMP_COMPOUND_MAPPING
Compounding Mappings
IT_COPY_FROM_TOImportingTYPE
RSCRMT_IMP_FROM_TO_SELECTION
Table for copy and repost selection
IT_DATAImportingTYPE
ANY TABLE
Data blocks from application
IT_DATASET_SELECTIONImportingTYPE
RSCRMT_IMP_SELECTION
Table of parameters and values for selection
IT_METADATAImportingTYPE
RSCRMT_IMP_MODEL
Metadata blocks from application
IT_QUERY_FILTERSImportingTYPE
RSCRMT_IMP_SELECTION
Query filters
IV_OBJECT_IDImportingTYPE
RSCRM_IMP_OBJECT_ID
Object Identifier
IV_QUERY_IDImportingTYPE
RSCRM_IMP_QUERY_ID
Query Identifier



Exceptions of Method COPY

This method does not have any exceptions

Example 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



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!