GET_RELEVANT_TERMS_AND_TOTALS SAP Method Get relevant terms for risk data calculation and totals









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

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


Parameters of Method GET_RELEVANT_TERMS_AND_TOTALS

.

NameTypeData TypeDescriptionDefault Value
IS_DOCUMENT_COMImportingTYPE
CPET_DOCUMENT_COM
CPE: Communication Structure with Document Fields
IS_FORMDOCImportingTYPE
CPED_FORMDOC
CPE Formula - Grouping and General Result
IS_FORMINPUTImportingTYPE
CPED_FORMINPUT
CPE Formula - Changed Input for General Data
IT_TERM_COM_TABImportingTYPE
CPET_TERM_COM_TAB
CPE - Communication Structure Table for Terms
IV_PRICE_REL_QUOTImportingTYPE
CPET_PRICE_REL_QUOT
Consider Pricing-Relevant Quotations
ER_RISK_DATA_OBJECTExportingTYPE REF TO
OBJECT
ET_RISK_RELEVANT_TERMSExportingTYPE
CPET_TERM_COM_TAB
Terms being relevant for risk determination



Exceptions of Method GET_RELEVANT_TERMS_AND_TOTALS

CX_CPE_ERP_NO_IMPLEMENTATION - CPE BADI implementation missing

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_CPE_ERP_RISK.
DATA: lv_ER_RISK_DATA_OBJECT TYPE OBJECT,
lv_ET_RISK_RELEVANT_TERMS TYPE CPET_TERM_COM_TAB,
lv_IS_DOCUMENT_COM TYPE CPET_DOCUMENT_COM,
lv_IS_FORMDOC TYPE CPED_FORMDOC,
lv_IS_FORMINPUT TYPE CPED_FORMINPUT,
lv_IT_TERM_COM_TAB TYPE CPET_TERM_COM_TAB,
lv_IV_PRICE_REL_QUOT TYPE CPET_PRICE_REL_QUOT,
lv_other TYPE c.

CALL METHOD lo_class=>GET_RELEVANT_TERMS_AND_TOTALS(
EXPORTING
IS_DOCUMENT_COM = lv_IS_DOCUMENT_COM
IS_FORMDOC = lv_IS_FORMDOC
IS_FORMINPUT = lv_IS_FORMINPUT
IT_TERM_COM_TAB = lv_IT_TERM_COM_TAB
IV_PRICE_REL_QUOT = lv_IV_PRICE_REL_QUOT
IMPORTING
ER_RISK_DATA_OBJECT = lv_ER_RISK_DATA_OBJECT
ET_RISK_RELEVANT_TERMS = lv_ET_RISK_RELEVANT_TERMS ).

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!