CHANGE_DATE SAP Method change date during in-transit movemnt
Below is documentation, parameters and attributes of ABAP Method CHANGE_DATE within SAP class IF_EX_BADI_GPD_16. 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_BADI_GPD_16 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_DATE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CHANGE_DATE
.| Name | Type | Data Type | Description | Default Value |
| I_EINDT | Importing | TYPE EINDT | Item delivery date | |
| I_MENGE | Importing | TYPE TRAQTY | Intransit quantity | |
| I_MKPF | Importing | TYPE MKPF | Document Segment: Material | |
| I_MSEG | Importing | TYPE MSEG | Document Segment: Material | |
| CS_PEG_TXPT | Changing | TYPE PEG_TXPT | Pegging: Record of intransit stock in cross plant transfers |
Exceptions of Method CHANGE_DATE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_GPD_16.
DATA: lv_CS_PEG_TXPT TYPE PEG_TXPT,
lv_I_EINDT TYPE EINDT,
lv_I_MENGE TYPE TRAQTY,
lv_I_MKPF TYPE MKPF,
lv_I_MSEG TYPE MSEG,
lv_other TYPE c.
CALL METHOD lo_class=>CHANGE_DATE(
EXPORTING
I_EINDT = lv_I_EINDT
I_MENGE = lv_I_MENGE
I_MKPF = lv_I_MKPF
I_MSEG = lv_I_MSEG
CHANGING
CS_PEG_TXPT = lv_CS_PEG_TXPT ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects