GET_TSTRNG SAP Method Deliver Time Stamp Range for Selection









Below is documentation, parameters and attributes of ABAP Method GET_TSTRNG within SAP class /SCMB/CL_ODM. 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 /SCMB/CL_ODM into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method GET_TSTRNG can also be found below:

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


Parameters of Method GET_TSTRNG

.

NameTypeData TypeDescriptionDefault Value
IO_ORTYPEImportingTYPE REF TO
/SCMB/CL_ODM_ORTYPE
ODM: Order Document Type
IT_TSTSELImportingTYPE
/SCMB/ODM_TSTSEL_TAB
ODM: Time Stamp (Selection)
ET_FIELDSELExportingTYPE
/SCMB/ODM_FIELDSEL_TAB
ODM: Component - Field (Range Table)
ET_HDRTSTFRFRExportingTYPE
/SCMB/ODM_TST_RTAB
ODM: Date (Range Table)
ET_HDRTSTFRTOExportingTYPE
/SCMB/ODM_TST_RTAB
ODM: Date (Range Table)
ET_HDRTSTTOFRExportingTYPE
/SCMB/ODM_TST_RTAB
ODM: Date (Range Table)
ET_HDRTSTTOTOExportingTYPE
/SCMB/ODM_TST_RTAB
ODM: Date (Range Table)
ET_ITMTSTFRFRExportingTYPE
/SCMB/ODM_TST_RTAB
ODM: Date (Range Table)
ET_ITMTSTFRTOExportingTYPE
/SCMB/ODM_TST_RTAB
ODM: Date (Range Table)
ET_ITMTSTTOFRExportingTYPE
/SCMB/ODM_TST_RTAB
ODM: Date (Range Table)
ET_ITMTSTTOTOExportingTYPE
/SCMB/ODM_TST_RTAB
ODM: Date (Range Table)
ET_SDLTSTFRFRExportingTYPE
/SCMB/ODM_TST_RTAB
ODM: Date (Range Table)
ET_SDLTSTFRTOExportingTYPE
/SCMB/ODM_TST_RTAB
ODM: Date (Range Table)
ET_SDLTSTTOFRExportingTYPE
/SCMB/ODM_TST_RTAB
ODM: Date (Range Table)
ET_SDLTSTTOTOExportingTYPE
/SCMB/ODM_TST_RTAB
ODM: Date (Range Table)
CV_HDRFLGChangingLIKE
GC_TRUE
CV_ITMFLGChangingLIKE
GC_TRUE
CV_SDLFLGChangingLIKE
GC_TRUE



Exceptions of Method GET_TSTRNG

/SCMB/CX_ODM_DOCUMENT - ODM: Order Document Error

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: lv_CV_HDRFLG TYPE GC_TRUE,
lv_CV_ITMFLG TYPE GC_TRUE,
lv_CV_SDLFLG TYPE GC_TRUE,
lv_ET_FIELDSEL TYPE /SCMB/ODM_FIELDSEL_TAB,
lv_ET_HDRTSTFRFR TYPE /SCMB/ODM_TST_RTAB,
lv_ET_HDRTSTFRTO TYPE /SCMB/ODM_TST_RTAB,
lv_ET_HDRTSTTOFR TYPE /SCMB/ODM_TST_RTAB,
lv_ET_HDRTSTTOTO TYPE /SCMB/ODM_TST_RTAB,
lv_ET_ITMTSTFRFR TYPE /SCMB/ODM_TST_RTAB,
lv_ET_ITMTSTFRTO TYPE /SCMB/ODM_TST_RTAB,
lv_ET_ITMTSTTOFR TYPE /SCMB/ODM_TST_RTAB,
lv_ET_ITMTSTTOTO TYPE /SCMB/ODM_TST_RTAB,
lv_ET_SDLTSTFRFR TYPE /SCMB/ODM_TST_RTAB,
lv_ET_SDLTSTFRTO TYPE /SCMB/ODM_TST_RTAB,
lv_ET_SDLTSTTOFR TYPE /SCMB/ODM_TST_RTAB,
lv_ET_SDLTSTTOTO TYPE /SCMB/ODM_TST_RTAB,
lv_IO_ORTYPE TYPE /SCMB/CL_ODM_ORTYPE,
lv_IT_TSTSEL TYPE /SCMB/ODM_TSTSEL_TAB,
lv_other TYPE c.

CALL METHOD /SCMB/CL_ODM=>GET_TSTRNG(
EXPORTING
IO_ORTYPE = lv_IO_ORTYPE
IT_TSTSEL = lv_IT_TSTSEL
IMPORTING
ET_FIELDSEL = lv_ET_FIELDSEL
ET_HDRTSTFRFR = lv_ET_HDRTSTFRFR
ET_HDRTSTFRTO = lv_ET_HDRTSTFRTO
ET_HDRTSTTOFR = lv_ET_HDRTSTTOFR
ET_HDRTSTTOTO = lv_ET_HDRTSTTOTO
ET_ITMTSTFRFR = lv_ET_ITMTSTFRFR
ET_ITMTSTFRTO = lv_ET_ITMTSTFRTO
ET_ITMTSTTOFR = lv_ET_ITMTSTTOFR
ET_ITMTSTTOTO = lv_ET_ITMTSTTOTO
ET_SDLTSTFRFR = lv_ET_SDLTSTFRFR
ET_SDLTSTFRTO = lv_ET_SDLTSTFRTO
ET_SDLTSTTOFR = lv_ET_SDLTSTTOFR
ET_SDLTSTTOTO = lv_ET_SDLTSTTOTO
CHANGING
CV_HDRFLG = lv_CV_HDRFLG
CV_ITMFLG = lv_CV_ITMFLG
CV_SDLFLG = lv_CV_SDLFLG ).

Links to Related Class(s)

/SCMB/CL...
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!