GET_CHANGED_INSTANCES SAP Method Compare before and current images and return chagd instances









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

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


Parameters of Method GET_CHANGED_INSTANCES

.

NameTypeData TypeDescriptionDefault Value
IT_ATTRIBUTEImportingTYPE
/BOBF/T_FRW_NAME
Not empty list of fieldnames
IT_BEFORE_IMAGEImportingTYPE
INDEX TABLE
IT_CURRENT_IMAGEImportingTYPE
INDEX TABLE
ET_CREATED_KEYExportingTYPE
/BOBF/T_FRW_KEY
Key Table
ET_DELETED_KEYExportingTYPE
/BOBF/T_FRW_KEY
Key Table
ET_UPDATED_KEYExportingTYPE
/BOBF/T_FRW_KEY
Key Table



Exceptions of Method GET_CHANGED_INSTANCES

This method does not have any exceptions

Example ABAP coding


DATA: lv_ET_CREATED_KEY TYPE /BOBF/T_FRW_KEY,
lv_ET_DELETED_KEY TYPE /BOBF/T_FRW_KEY,
lv_ET_UPDATED_KEY TYPE /BOBF/T_FRW_KEY,
lv_IT_ATTRIBUTE TYPE /BOBF/T_FRW_NAME,
lv_IT_BEFORE_IMAGE TYPE INDEX TABLE,
lv_IT_CURRENT_IMAGE TYPE INDEX TABLE,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_COMMON_HELPER=>GET_CHANGED_INSTANCES(
EXPORTING
IT_ATTRIBUTE = lv_IT_ATTRIBUTE
IT_BEFORE_IMAGE = lv_IT_BEFORE_IMAGE
IT_CURRENT_IMAGE = lv_IT_CURRENT_IMAGE
IMPORTING
ET_CREATED_KEY = lv_ET_CREATED_KEY
ET_DELETED_KEY = lv_ET_DELETED_KEY
ET_UPDATED_KEY = lv_ET_UPDATED_KEY ).

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!