UPDATE_RATE_LINE SAP Method to update rate









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

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


Parameters of Method UPDATE_RATE_LINE

.

NameTypeData TypeDescriptionDefault Value
IS_KEY_MAPPINGImportingTYPE
/SCMTMS/S_FLAT_KEY_MAPPING
IV_CHANGE_MODEImportingTYPE
/BOBF/CONF_CHANGE_MODE
Change category
IV_FLAT_LINE_KEYImportingTYPE
/BOBF/CONF_KEY
IV_NEW_RATEImportingTYPE
/SCMTMS/AMOUNT_FLAT
IV_NEW_SCALEITEMImportingTYPE
/BOBF/CONF_KEY
NodeID
IV_RATE_LINE_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID
IV_SCALE_DIM_INDEXImportingTYPE
/SCMTMS/TCM_RATE_DIMNO
Scale Dimension Number
IV_SOURCE_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID
EV_MESSAGEExportingTYPE
STRING
CT_KEY_MAPPINGChangingTYPE
/SCMTMS/T_FLAT_KEY_MAPPING
Key mapping table in flat
CT_MODIFICATIONChangingTYPE
/BOBF/T_FRW_MODIFICATION
Changes
CT_SOURCE_COPY_KEYChangingTYPE
TT_SOURCE_COPY_KEY



Exceptions of Method UPDATE_RATE_LINE

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_ASSIST_FAG_FLAT_REP.
DATA: lv_CT_KEY_MAPPING TYPE /SCMTMS/T_FLAT_KEY_MAPPING,
lv_CT_MODIFICATION TYPE /BOBF/T_FRW_MODIFICATION,
lv_CT_SOURCE_COPY_KEY TYPE TT_SOURCE_COPY_KEY,
lv_EV_MESSAGE TYPE STRING,
lv_IS_KEY_MAPPING TYPE /SCMTMS/S_FLAT_KEY_MAPPING,
lv_IV_CHANGE_MODE TYPE /BOBF/CONF_CHANGE_MODE,
lv_IV_FLAT_LINE_KEY TYPE /BOBF/CONF_KEY,
lv_IV_NEW_RATE TYPE /SCMTMS/AMOUNT_FLAT,
lv_IV_NEW_SCALEITEM TYPE /BOBF/CONF_KEY,
lv_IV_RATE_LINE_KEY TYPE /BOBF/CONF_KEY,
lv_IV_SCALE_DIM_INDEX TYPE /SCMTMS/TCM_RATE_DIMNO,
lv_IV_SOURCE_KEY TYPE /BOBF/CONF_KEY,
lv_other TYPE c.

CALL METHOD lo_class=>UPDATE_RATE_LINE(
EXPORTING
IS_KEY_MAPPING = lv_IS_KEY_MAPPING
IV_CHANGE_MODE = lv_IV_CHANGE_MODE
IV_FLAT_LINE_KEY = lv_IV_FLAT_LINE_KEY
IV_NEW_RATE = lv_IV_NEW_RATE
IV_NEW_SCALEITEM = lv_IV_NEW_SCALEITEM
IV_RATE_LINE_KEY = lv_IV_RATE_LINE_KEY
IV_SCALE_DIM_INDEX = lv_IV_SCALE_DIM_INDEX
IV_SOURCE_KEY = lv_IV_SOURCE_KEY
IMPORTING
EV_MESSAGE = lv_EV_MESSAGE
CHANGING
CT_KEY_MAPPING = lv_CT_KEY_MAPPING
CT_MODIFICATION = lv_CT_MODIFICATION
CT_SOURCE_COPY_KEY = lv_CT_SOURCE_COPY_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!