FILL_USER_DATA SAP Method Fill user data in termination form
Below is documentation, parameters and attributes of ABAP Method FILL_USER_DATA within SAP class IF_BADI_CN_TERMINATION. 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_BADI_CN_TERMINATION 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 FILL_USER_DATA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method FILL_USER_DATA
.| Name | Type | Data Type | Description | Default Value |
| IM_CRT | Importing | TYPE HRPAY99_CRT | Cumulative Results Table | |
| IM_P0000 | Importing | TYPE P0000 | HR Master Record: Infotype 0000 (Actions) | |
| IM_P0001 | Importing | TYPE P0001 | HR Master Record: Infotype 0001 (Org. Assignment) | |
| IM_P0002 | Importing | TYPE P0002 | HR Master Record: Infotype 0002 (Personal Data) | |
| IM_P0006 | Importing | TYPE P0006 | HR Master Record: Infotype 0006 (Addresses) | |
| IM_P0016 | Importing | TYPE P0016 | HR Master Record: Infotype 0016 (Contract Elements) | |
| IM_P0185 | Importing | TYPE P0185 | Personnel Master Record Infotype 0185 (Identification SEA) | |
| IM_P3211 | Importing | TYPE P3211 | HR Master Record: Infotype 3211 (Contract Elements CN) | |
| IM_P3212 | Importing | TYPE P3212 | HR Master Record for Infotype 3212 | |
| IM_P3224 | Importing | TYPE P3224 | Contract Termination (CN) | |
| IM_PERNR | Importing | TYPE PERNR | Standard Selections for HR Master Data Reporting | |
| IM_RT | Importing | TYPE HRPAY99_RT | Results Table | |
| CS_DATA | Changing | TYPE PCN_FORM_TERMINATION | Structure for adobe form HR_CN_TERMINATION |
Exceptions of Method FILL_USER_DATA
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_BADI_CN_TERMINATION.
DATA: lv_CS_DATA TYPE PCN_FORM_TERMINATION,
lv_IM_CRT TYPE HRPAY99_CRT,
lv_IM_P0000 TYPE P0000,
lv_IM_P0001 TYPE P0001,
lv_IM_P0002 TYPE P0002,
lv_IM_P0006 TYPE P0006,
lv_IM_P0016 TYPE P0016,
lv_IM_P0185 TYPE P0185,
lv_IM_P3211 TYPE P3211,
lv_IM_P3212 TYPE P3212,
lv_IM_P3224 TYPE P3224,
lv_IM_PERNR TYPE PERNR,
lv_IM_RT TYPE HRPAY99_RT,
lv_other TYPE c.
CALL METHOD lo_class=>FILL_USER_DATA(
EXPORTING
IM_CRT = lv_IM_CRT
IM_P0000 = lv_IM_P0000
IM_P0001 = lv_IM_P0001
IM_P0002 = lv_IM_P0002
IM_P0006 = lv_IM_P0006
IM_P0016 = lv_IM_P0016
IM_P0185 = lv_IM_P0185
IM_P3211 = lv_IM_P3211
IM_P3212 = lv_IM_P3212
IM_P3224 = lv_IM_P3224
IM_PERNR = lv_IM_PERNR
IM_RT = lv_IM_RT
CHANGING
CS_DATA = lv_CS_DATA ).
Links to Related Class(s)
IF_BADI_...Full list of available SAP object classes
Search for further information about these or an SAP related objects