GET_PERIOD_INFO SAP Method Get period from periodicity, valid-from, valid-to
Below is documentation, parameters and attributes of ABAP Method GET_PERIOD_INFO within SAP class /SCMTMS/CL_COMMON_HELPER. 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_COMMON_HELPER 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 directlyThe following technical details of method GET_PERIOD_INFO can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_PERIOD_INFO
.| Name | Type | Data Type | Description | Default Value |
| IV_PERIODICITY | Importing | TYPE /SCMTMS/RFQ_ITEM_PERIODICITY | Periodicity | |
| IV_VALID_FROM | Importing | TYPE /SCMTMS/VAL_DATE_FROM | Start Date of Validity | |
| IV_VALID_TO | Importing | TYPE /SCMTMS/VAL_DATE_TO | End Date of Validity | |
| ET_PERIOD_INFO | Exporting | TYPE TT_PERIOD_INFO | Period information | |
| EV_NUM_PERIOD | Exporting | TYPE DEC6_2 |
Exceptions of Method GET_PERIOD_INFO
This method does not have any exceptionsExample ABAP coding
DATA: lv_ET_PERIOD_INFO TYPE TT_PERIOD_INFO,
lv_EV_NUM_PERIOD TYPE DEC6_2,
lv_IV_PERIODICITY TYPE /SCMTMS/RFQ_ITEM_PERIODICITY,
lv_IV_VALID_FROM TYPE /SCMTMS/VAL_DATE_FROM,
lv_IV_VALID_TO TYPE /SCMTMS/VAL_DATE_TO,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_COMMON_HELPER=>GET_PERIOD_INFO(
EXPORTING
IV_PERIODICITY = lv_IV_PERIODICITY
IV_VALID_FROM = lv_IV_VALID_FROM
IV_VALID_TO = lv_IV_VALID_TO
IMPORTING
ET_PERIOD_INFO = lv_ET_PERIOD_INFO
EV_NUM_PERIOD = lv_EV_NUM_PERIOD ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects