CHANGE_DEFAULT_DISTANCE SAP Method Change Default Interval for Autom. Date Shift
Below is documentation, parameters and attributes of ABAP Method CHANGE_DEFAULT_DISTANCE within SAP class IF_EX_WRF_PSCD_X_C_DFLT_E. 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 IF_EX_WRF_PSCD_X_C_DFLT_E 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 CHANGE_DEFAULT_DISTANCE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHANGE_DEFAULT_DISTANCE
.Name | Type | Data Type | Description | Default Value |
IS_ADDITIONAL_DATA | Importing | TYPE WRF_PSCD_ADDITION_DL_DATA_STY | Additional Data for Dateline | |
IS_DATELINE_HEAD_EXT | Importing | TYPE WRF_PSCD_DATELINE_HEAD_EXT_STY | Dateline, Header | |
IT_DATELINE_ITEM_EXT | Importing | TYPE WRF_PSCD_DATELINE_ITEM_EXT_TTY | Extended Date Line, Dates | |
CT_MESSAGES | Changing | TYPE WRF_PBAS_MSG_TTY | Messages with Structure from Application Log | |
C_DEFAULT_DISTANCE | Changing | TYPE WRF_PSCD_DEFAULT_DIST | Default Interval for Date Shift |
Exceptions of Method CHANGE_DEFAULT_DISTANCE
ERROR - Error in Date CalculationExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_WRF_PSCD_X_C_DFLT_E.
DATA: lv_CT_MESSAGES TYPE WRF_PBAS_MSG_TTY,
lv_C_DEFAULT_DISTANCE TYPE WRF_PSCD_DEFAULT_DIST,
lv_IS_ADDITIONAL_DATA TYPE WRF_PSCD_ADDITION_DL_DATA_STY,
lv_IS_DATELINE_HEAD_EXT TYPE WRF_PSCD_DATELINE_HEAD_EXT_STY,
lv_IT_DATELINE_ITEM_EXT TYPE WRF_PSCD_DATELINE_ITEM_EXT_TTY,
lv_other TYPE c.
CALL METHOD lo_class=>CHANGE_DEFAULT_DISTANCE(
EXPORTING
IS_ADDITIONAL_DATA = lv_IS_ADDITIONAL_DATA
IS_DATELINE_HEAD_EXT = lv_IS_DATELINE_HEAD_EXT
IT_DATELINE_ITEM_EXT = lv_IT_DATELINE_ITEM_EXT
CHANGING
CT_MESSAGES = lv_CT_MESSAGES
C_DEFAULT_DISTANCE = lv_C_DEFAULT_DISTANCE ).
Links to Related Class(s)
IF_EX_WR...Full list of available SAP object classes
Search for further information about these or an SAP related objects