DETERMINE_TONNAGEBAND SAP Method Determines the initial tonnageband









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

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


Parameters of Method DETERMINE_TONNAGEBAND

.

NameTypeData TypeDescriptionDefault Value
IS_HDR_KEYImportingTYPE
EHCSMS_SPC_KEY
Specification key identifying specification related data
IV_BACKUP_TONNAGEBANDImportingTYPE
EHPRC_TOBAND
Default Backup Tonnage Band
IV_IS_PHASE_IN_SUBImportingTYPE
BOOLE_D
Substance is a phase-in substance
IV_IS_REPRESENTEDImportingTYPE
BOOLE_D
Is the legal entity represented by an other one
IV_LEGENTITYImportingTYPE
EHPRC_LEGENT
Legal Entity
IV_REGTYPEImportingTYPE
EHPRC_REG_TYPE
Registration Type
CT_MSGChangingTYPE
EHCSMT_SPC_MSG
Messages Table Type
CV_HIGHEST_TONNAGEBANDChangingTYPE
EHPRC_TOBAND
Highest Tonnage Band
CV_TONNAGEBANDChangingTYPE
EHPRC_TOBAND
Tonnage Band



Exceptions of Method DETERMINE_TONNAGEBAND

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 IF_EX_BADI_EHPRC_PURE_SUB_DET.
DATA: lv_CT_MSG TYPE EHCSMT_SPC_MSG,
lv_CV_HIGHEST_TONNAGEBAND TYPE EHPRC_TOBAND,
lv_CV_TONNAGEBAND TYPE EHPRC_TOBAND,
lv_IS_HDR_KEY TYPE EHCSMS_SPC_KEY,
lv_IV_BACKUP_TONNAGEBAND TYPE EHPRC_TOBAND,
lv_IV_IS_PHASE_IN_SUB TYPE BOOLE_D,
lv_IV_IS_REPRESENTED TYPE BOOLE_D,
lv_IV_LEGENTITY TYPE EHPRC_LEGENT,
lv_IV_REGTYPE TYPE EHPRC_REG_TYPE,
lv_other TYPE c.

CALL METHOD lo_class=>DETERMINE_TONNAGEBAND(
EXPORTING
IS_HDR_KEY = lv_IS_HDR_KEY
IV_BACKUP_TONNAGEBAND = lv_IV_BACKUP_TONNAGEBAND
IV_IS_PHASE_IN_SUB = lv_IV_IS_PHASE_IN_SUB
IV_IS_REPRESENTED = lv_IV_IS_REPRESENTED
IV_LEGENTITY = lv_IV_LEGENTITY
IV_REGTYPE = lv_IV_REGTYPE
CHANGING
CT_MSG = lv_CT_MSG
CV_HIGHEST_TONNAGEBAND = lv_CV_HIGHEST_TONNAGEBAND
CV_TONNAGEBAND = lv_CV_TONNAGEBAND ).

Links to Related Class(s)

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