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
.| Name | Type | Data Type | Description | Default Value |
| IS_TRQ_KEY | Importing | TYPE /BOBF/S_FRW_KEY | TRQ Key | |
| IT_DATES | Importing | TYPE /SCMTMS/T_TCM_SERV_DATE | Set of Potential service dates | |
| IT_RULE_DATE | Importing | TYPE /SCMTMS/T_RULE_TYPE | Table type for Rule prio table | |
| IV_ITEM_KEY | Importing | TYPE /BOBF/CONF_KEY | NodeID | |
| IV_RULE_ID | Importing | TYPE /SCMTMS/SRV_DATE_RULE_ID | Data type for Rule ID | |
| ES_SERVICE_DATE | Exporting | TYPE /SCMTMS/S_TCM_SERV_DATE | Service Date |
Exceptions of Method GET_SERVICE_DATE
This method does not have any exceptionsExample 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