OR_VALIDATION SAP Method Validations of Only Representative Data









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

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


Parameters of Method OR_VALIDATION

.

NameTypeData TypeDescriptionDefault Value
I_ACTYPEImportingTYPE
RCGDIALCTR-ACTYPE
Activity Type in the Transaction
I_OR_DATA_TABImportingTYPE
CCRCTT_OR_BD_APIDATA
Existing Data Table
I_REPIDImportingTYPE
SY-REPID
Name of Calling Program
I_TCODEImportingTYPE
SY-TCODE
Transaction Code of Calling Program
I_UCOMMImportingTYPE
SY-UCOMM
Function Code That Triggered PAI
E_ERROR_TABExportingTYPE
EHSB_TT_RCGEXTERROR
Error Message Table
E_FLG_ERRORExportingTYPE
ESEBOOLE
Indicator: Error
X_OR_MOD_TABChangingTYPE
CCRCTT_OR_BD_APIDATA
Changed Data Table



Exceptions of Method OR_VALIDATION

E_ERROR_TABExportingTYPE
EHSB_TT_RCGEXTERRORError Message TableE_FLG_ERRORExportingTYPE
ESEBOOLEIndicator: ErrorINTERNAL_ERROR - Internal Error

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_EHSRC_ONLY_REP.
DATA: lv_E_ERROR_TAB TYPE EHSB_TT_RCGEXTERROR,
lv_E_FLG_ERROR TYPE ESEBOOLE,
lv_I_ACTYPE TYPE RCGDIALCTR-ACTYPE,
lv_I_OR_DATA_TAB TYPE CCRCTT_OR_BD_APIDATA,
lv_I_REPID TYPE SY-REPID,
lv_I_TCODE TYPE SY-TCODE,
lv_I_UCOMM TYPE SY-UCOMM,
lv_X_OR_MOD_TAB TYPE CCRCTT_OR_BD_APIDATA,
lv_other TYPE c.

CALL METHOD lo_class=>OR_VALIDATION(
EXPORTING
I_ACTYPE = lv_I_ACTYPE
I_OR_DATA_TAB = lv_I_OR_DATA_TAB
I_REPID = lv_I_REPID
I_TCODE = lv_I_TCODE
I_UCOMM = lv_I_UCOMM
IMPORTING
E_ERROR_TAB = lv_E_ERROR_TAB
E_FLG_ERROR = lv_E_FLG_ERROR
CHANGING
X_OR_MOD_TAB = lv_X_OR_MOD_TAB ).

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!