GET_SERVICE_DATE SAP Method Get Service Date









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

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


Parameters of Method GET_SERVICE_DATE

.

NameTypeData TypeDescriptionDefault Value
IS_TRQ_KEYImportingTYPE
/BOBF/S_FRW_KEY
TRQ Key
IT_DATESImportingTYPE
/SCMTMS/T_TCM_SERV_DATE
Set of Potential service dates
IT_RULE_DATEImportingTYPE
/SCMTMS/T_RULE_TYPE
Table type for Rule prio table
IV_ITEM_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID
IV_RULE_IDImportingTYPE
/SCMTMS/SRV_DATE_RULE_ID
Data type for Rule ID
ES_SERVICE_DATEExportingTYPE
/SCMTMS/S_TCM_SERV_DATE
Service Date



Exceptions of Method GET_SERVICE_DATE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMTMS/CL_CFIR_D_SERV_DATE.
DATA: lv_ES_SERVICE_DATE TYPE /SCMTMS/S_TCM_SERV_DATE,
lv_IS_TRQ_KEY TYPE /BOBF/S_FRW_KEY,
lv_IT_DATES TYPE /SCMTMS/T_TCM_SERV_DATE,
lv_IT_RULE_DATE TYPE /SCMTMS/T_RULE_TYPE,
lv_IV_ITEM_KEY TYPE /BOBF/CONF_KEY,
lv_IV_RULE_ID TYPE /SCMTMS/SRV_DATE_RULE_ID,
lv_other TYPE c.

CALL METHOD lo_class=>GET_SERVICE_DATE(
EXPORTING
IS_TRQ_KEY = lv_IS_TRQ_KEY
IT_DATES = lv_IT_DATES
IT_RULE_DATE = lv_IT_RULE_DATE
IV_ITEM_KEY = lv_IV_ITEM_KEY
IV_RULE_ID = lv_IV_RULE_ID
IMPORTING
ES_SERVICE_DATE = lv_ES_SERVICE_DATE ).

Links to Related Class(s)

/SCMTMS/...
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!