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

.

NameTypeData TypeDescriptionDefault Value
IM_CRTImportingTYPE
HRPAY99_CRT
Cumulative Results Table
IM_P0000ImportingTYPE
P0000
HR Master Record: Infotype 0000 (Actions)
IM_P0001ImportingTYPE
P0001
HR Master Record: Infotype 0001 (Org. Assignment)
IM_P0002ImportingTYPE
P0002
HR Master Record: Infotype 0002 (Personal Data)
IM_P0006ImportingTYPE
P0006
HR Master Record: Infotype 0006 (Addresses)
IM_P0016ImportingTYPE
P0016
HR Master Record: Infotype 0016 (Contract Elements)
IM_P0185ImportingTYPE
P0185
Personnel Master Record Infotype 0185 (Identification SEA)
IM_P3211ImportingTYPE
P3211
HR Master Record: Infotype 3211 (Contract Elements CN)
IM_P3212ImportingTYPE
P3212
HR Master Record for Infotype 3212
IM_P3224ImportingTYPE
P3224
Contract Termination (CN)
IM_PERNRImportingTYPE
PERNR
Standard Selections for HR Master Data Reporting
IM_RTImportingTYPE
HRPAY99_RT
Results Table
CS_DATAChangingTYPE
PCN_FORM_TERMINATION
Structure for adobe form HR_CN_TERMINATION



Exceptions of Method FILL_USER_DATA

This method does not have any exceptions

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!