COMPENSATE_NOTIFICATIONS SAP Method Calculate compensating create and delete notifications









Below is documentation, parameters and attributes of ABAP Method COMPENSATE_NOTIFICATIONS within SAP class /SCMTMS/CL_BUFVAR_DISPATCHER. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

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_BUFVAR_DISPATCHER 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 COMPENSATE_NOTIFICATIONS can also be found below:

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


Parameters of Method COMPENSATE_NOTIFICATIONS

.

NameTypeData TypeDescriptionDefault Value
IT_COMP_BUFFER_VARIANTImportingTYPE
/SCMTMS/T_BUFVAR
Buffer Variants (to be compensated)
IT_DO_NOT_COMP_DEL_CHNG_NODESImportingTYPE
/BOBF/T_FRW_NODE
Nodes for which delete should not get compenstated
IV_CHANGE_COMP_UPDImportingTYPE
ABAP_BOOL
Return updates of all rel. buffer variants in EO_CHANGE_COMP
IV_HOST_BO_KEYImportingTYPE
/BOBF/OBM_BO_KEY
Host Business Object of a DO
IV_HOST_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Host Dependent Node
IV_NEW_BUFFER_VARIANTImportingTYPE
/SCMTMS/BUFFER_VARIANT
Buffer Variant (after compensation)
EO_COMPENSATING_CHANGEExportingTYPE REF TO
/BOBF/IF_FRW_CHANGE
Compensating Change Notifications
ET_COMPENSATING_DO_CHANGEExportingTYPE
/BOBF/T_FRW_CHANGE
Changed Nodes DO Nodes



Exceptions of Method COMPENSATE_NOTIFICATIONS

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO /SCMTMS/CL_BUFVAR_DISPATCHER.
DATA: lv_EO_COMPENSATING_CHANGE TYPE /BOBF/IF_FRW_CHANGE,
lv_ET_COMPENSATING_DO_CHANGE TYPE /BOBF/T_FRW_CHANGE,
lv_IT_COMP_BUFFER_VARIANT TYPE /SCMTMS/T_BUFVAR,
lv_IT_DO_NOT_COMP_DEL_CHNG_NODES TYPE /BOBF/T_FRW_NODE,
lv_IV_CHANGE_COMP_UPD TYPE ABAP_BOOL,
lv_IV_HOST_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_IV_HOST_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_NEW_BUFFER_VARIANT TYPE /SCMTMS/BUFFER_VARIANT,
lv_other TYPE c.

CALL METHOD lo_class=>COMPENSATE_NOTIFICATIONS(
EXPORTING
IT_COMP_BUFFER_VARIANT = lv_IT_COMP_BUFFER_VARIANT
IT_DO_NOT_COMP_DEL_CHNG_NODES = lv_IT_DO_NOT_COMP_DEL_CHNG_NODES
IV_CHANGE_COMP_UPD = lv_IV_CHANGE_COMP_UPD
IV_HOST_BO_KEY = lv_IV_HOST_BO_KEY
IV_HOST_NODE_KEY = lv_IV_HOST_NODE_KEY
IV_NEW_BUFFER_VARIANT = lv_IV_NEW_BUFFER_VARIANT
IMPORTING
EO_COMPENSATING_CHANGE = lv_EO_COMPENSATING_CHANGE
ET_COMPENSATING_DO_CHANGE = lv_ET_COMPENSATING_DO_CHANGE ).

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!