GET_START_DATE SAP Method Determine the Reference Date/Time for a Time Reference









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

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


Parameters of Method GET_START_DATE

.

NameTypeData TypeDescriptionDefault Value
IR_SOURCE_FIELDSImportingTYPE REF TO
DATA
Source Fields
IS_INSTANCE_ORIGINImportingTYPE
IF_LRM_BS_TYPES=>TY_S_INSTANCE_ORIGIN
Instance Origin
ITH_CONDITIONImportingTYPE
IF_LRM_TYPES=>TY_TH_FIELD_NAME_AND_VALUE
Condition Record of the Current Rule
IV_OBJECT_TYPEImportingTYPE
LRM_OBJECT_TYPE
ILM Object
IV_START_TIME_TYPEImportingTYPE
IF_LRM_TYPES=>CONSTANT_VALUE
Name of Time Reference
EV_START_DATEChangingTYPE
TIMESTAMP
Reference date/time



Exceptions of Method GET_START_DATE

CX_IRM_CALLBACK_INT_ERROR - Internal error

Example ABAP coding


DATA: lo_class TYPE REF TO IF_BADI_IRM_OT_STT.
DATA: lv_EV_START_DATE TYPE TIMESTAMP,
lv_IR_SOURCE_FIELDS TYPE DATA,
lv_IS_INSTANCE_ORIGIN TYPE IF_LRM_BS_TYPES=>TY_S_INSTANCE_ORIGIN,
lv_ITH_CONDITION TYPE IF_LRM_TYPES=>TY_TH_FIELD_NAME_AND_VALUE,
lv_IV_OBJECT_TYPE TYPE LRM_OBJECT_TYPE,
lv_IV_START_TIME_TYPE TYPE IF_LRM_TYPES=>CONSTANT_VALUE,
lv_other TYPE c.

CALL METHOD lo_class=>GET_START_DATE(
EXPORTING
IR_SOURCE_FIELDS = lv_IR_SOURCE_FIELDS
IS_INSTANCE_ORIGIN = lv_IS_INSTANCE_ORIGIN
ITH_CONDITION = lv_ITH_CONDITION
IV_OBJECT_TYPE = lv_IV_OBJECT_TYPE
IV_START_TIME_TYPE = lv_IV_START_TIME_TYPE
CHANGING
EV_START_DATE = lv_EV_START_DATE ).

Links to Related Class(s)

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