GET_SELECTION_RANGE SAP Method Convert selection range









Below is documentation, parameters and attributes of ABAP Method GET_SELECTION_RANGE within SAP class /SCMB/CL_APP_MODEL_TRIG_COUNT. 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_APP_MODEL_TRIG_COUNT 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_SELECTION_RANGE can also be found below:

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


Parameters of Method GET_SELECTION_RANGE

.

NameTypeData TypeDescriptionDefault Value
IV_PARAMImportingTYPE
CHAR30
30 Characters
ET_PPR_RNGExportingTYPE
/SAPAPO/CL_PE_ACCESS_PROFILES=>MT_TYPE_PPR_RANGE
Planning Profile (Range)
ET_RETURNExportingTYPE
BAPIRETTAB
Table with BAPI Return Information
ET_SELENAME_RNGExportingTYPE
/SCMB/SELENAME_RTAB
Selection Name: Range Condition Tables
ET_SELETYPEExportingTYPE
/SAPAPO/PE_SELETYPE_STAB
PSM Selection type (sorted table)
ET_SERVICE_RNGExportingTYPE
/SAPAPO/CL_PE_ACCESS_PROFILES=>MT_TYPE_SERVICE_RNG
Planning Service (Range)
ET_TG_GROUP_RNGExportingTYPE
/SCMB/CL_TRIG_GEN=>MT_TYPE_RANGE_TG_GROUP
Tabellentyp Triggergruppe (Ranges)
ET_TG_ID_RNGExportingTYPE
/SCMB/CL_TRIG_GEN=>MT_TYPE_RANGE_TG_ID
Tabellentyp Triggername (Ranges)
EV_MAX_LINESExportingTYPE
I
EV_PE_TST_FROMExportingTYPE
TIMESTAMP
UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
EV_PE_TST_TOExportingTYPE
TIMESTAMP
UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
EV_VRSIOIDExportingTYPE
/SCMB/MDL_VRSIOID
Planning Version GUID



Exceptions of Method GET_SELECTION_RANGE

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 /SCMB/CL_APP_MODEL_TRIG_COUNT.
DATA: lv_ET_PPR_RNG TYPE /SAPAPO/CL_PE_ACCESS_PROFILES=>MT_TYPE_PPR_RANGE,
lv_ET_RETURN TYPE BAPIRETTAB,
lv_ET_SELENAME_RNG TYPE /SCMB/SELENAME_RTAB,
lv_ET_SELETYPE TYPE /SAPAPO/PE_SELETYPE_STAB,
lv_ET_SERVICE_RNG TYPE /SAPAPO/CL_PE_ACCESS_PROFILES=>MT_TYPE_SERVICE_RNG,
lv_ET_TG_GROUP_RNG TYPE /SCMB/CL_TRIG_GEN=>MT_TYPE_RANGE_TG_GROUP,
lv_ET_TG_ID_RNG TYPE /SCMB/CL_TRIG_GEN=>MT_TYPE_RANGE_TG_ID,
lv_EV_MAX_LINES TYPE I,
lv_EV_PE_TST_FROM TYPE TIMESTAMP,
lv_EV_PE_TST_TO TYPE TIMESTAMP,
lv_EV_VRSIOID TYPE /SCMB/MDL_VRSIOID,
lv_IV_PARAM TYPE CHAR30,
lv_other TYPE c.

CALL METHOD lo_class=>GET_SELECTION_RANGE(
EXPORTING
IV_PARAM = lv_IV_PARAM
IMPORTING
ET_PPR_RNG = lv_ET_PPR_RNG
ET_RETURN = lv_ET_RETURN
ET_SELENAME_RNG = lv_ET_SELENAME_RNG
ET_SELETYPE = lv_ET_SELETYPE
ET_SERVICE_RNG = lv_ET_SERVICE_RNG
ET_TG_GROUP_RNG = lv_ET_TG_GROUP_RNG
ET_TG_ID_RNG = lv_ET_TG_ID_RNG
EV_MAX_LINES = lv_EV_MAX_LINES
EV_PE_TST_FROM = lv_EV_PE_TST_FROM
EV_PE_TST_TO = lv_EV_PE_TST_TO
EV_VRSIOID = lv_EV_VRSIOID ).

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!