CHECK_CHANGES SAP Method Checks for Changes in 2 Structures









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

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


Parameters of Method CHECK_CHANGES

.

NameTypeData TypeDescriptionDefault Value
IR_OBJECTImportingTYPE REF TO
OBJECT
Transferred to CR_ERRORHANDLER if Error Occurs
IS_DATA_NEWImportingTYPE
ANY
New Data
IS_DATA_OLDImportingTYPE
ANY
Old Data
IT_FIELDNAME_IGNOREImportingTYPE
FIELDNAME_TAB
Fields to Be Ignored for Check
IT_FIELDNAME_MAPPINGImportingTYPE
ISH_T_FIELDNAME_MAPPING
IS-H: Table with Field Name Mapping
I_DATA_NAMEImportingTYPE
STRING
Transferred to CR_ERRORHANDLER if Error Occurs
ET_CHANGED_FIELDSExportingTYPE
DDFIELDS
DD: Field List
E_CHANGEDExportingTYPE
ISH_ON_OFF
Have Changes Been Made?
E_RCExportingTYPE
ISH_METHOD_RC
IS-H: Return Code for Method Calls
CR_ERRORHANDLERChangingTYPE REF TO
CL_ISHMED_ERRORHANDLING
ISHMED: Class for Error Handling
CS_DATA_XChangingTYPE
ANY
X-Flag Structure for Flagging the Changes



Exceptions of Method CHECK_CHANGES

This method does not have any exceptions

Example ABAP coding


DATA: lv_CR_ERRORHANDLER TYPE CL_ISHMED_ERRORHANDLING,
lv_CS_DATA_X TYPE ANY,
lv_ET_CHANGED_FIELDS TYPE DDFIELDS,
lv_E_CHANGED TYPE ISH_ON_OFF,
lv_E_RC TYPE ISH_METHOD_RC,
lv_IR_OBJECT TYPE OBJECT,
lv_IS_DATA_NEW TYPE ANY,
lv_IS_DATA_OLD TYPE ANY,
lv_IT_FIELDNAME_IGNORE TYPE FIELDNAME_TAB,
lv_IT_FIELDNAME_MAPPING TYPE ISH_T_FIELDNAME_MAPPING,
lv_I_DATA_NAME TYPE STRING,
lv_other TYPE c.

CALL METHOD CL_ISH_UTL_BASE_CHECK=>CHECK_CHANGES(
EXPORTING
IR_OBJECT = lv_IR_OBJECT
IS_DATA_NEW = lv_IS_DATA_NEW
IS_DATA_OLD = lv_IS_DATA_OLD
IT_FIELDNAME_IGNORE = lv_IT_FIELDNAME_IGNORE
IT_FIELDNAME_MAPPING = lv_IT_FIELDNAME_MAPPING
I_DATA_NAME = lv_I_DATA_NAME
IMPORTING
ET_CHANGED_FIELDS = lv_ET_CHANGED_FIELDS
E_CHANGED = lv_E_CHANGED
E_RC = lv_E_RC
CHANGING
CR_ERRORHANDLER = lv_CR_ERRORHANDLER
CS_DATA_X = lv_CS_DATA_X ).

Links to Related Class(s)

CL_ISH_U...
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!