GET_PROFILE_DATA SAP Method Return the coco customizing tables to a profile ID









Below is documentation, parameters and attributes of ABAP Method GET_PROFILE_DATA within SAP class /SCMTMS/CL_COPY_SETTINGS. 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 /SCMTMS/CL_COPY_SETTINGS 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 GET_PROFILE_DATA can also be found below:

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


Parameters of Method GET_PROFILE_DATA

.

NameTypeData TypeDescriptionDefault Value
IV_PROFILE_IDImportingTYPE
/SCMTMS/COCO_PROFILE_ID
Copy control profile ID
ET_COCO_ATTRIBUTE_FILTERExportingTYPE
/SCMTMS/T_CCAF_K
Copy control attribute filter
ET_COCO_DATA_MAPPINGExportingTYPE
/SCMTMS/T_CCDM_K
Copy control data mapping
ET_COCO_NODE_COPY_SCOPEExportingTYPE
/SCMTMS/T_CCNCS_K
Table type for copy control node copy scope
ET_COCO_NODE_FILTERExportingTYPE
/SCMTMS/T_CCNF_K
Copy control: node filter



Exceptions of Method GET_PROFILE_DATA

/SCMTMS/CX_COPY_SETTINGS - Exception class for copy control customizing

Example ABAP coding


DATA: lv_ET_COCO_ATTRIBUTE_FILTER TYPE /SCMTMS/T_CCAF_K,
lv_ET_COCO_DATA_MAPPING TYPE /SCMTMS/T_CCDM_K,
lv_ET_COCO_NODE_COPY_SCOPE TYPE /SCMTMS/T_CCNCS_K,
lv_ET_COCO_NODE_FILTER TYPE /SCMTMS/T_CCNF_K,
lv_IV_PROFILE_ID TYPE /SCMTMS/COCO_PROFILE_ID,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_COPY_SETTINGS=>GET_PROFILE_DATA(
EXPORTING
IV_PROFILE_ID = lv_IV_PROFILE_ID
IMPORTING
ET_COCO_ATTRIBUTE_FILTER = lv_ET_COCO_ATTRIBUTE_FILTER
ET_COCO_DATA_MAPPING = lv_ET_COCO_DATA_MAPPING
ET_COCO_NODE_COPY_SCOPE = lv_ET_COCO_NODE_COPY_SCOPE
ET_COCO_NODE_FILTER = lv_ET_COCO_NODE_FILTER ).

Links to Related Class(s)

/SCMTMS/...
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!