UPDATE_FAN SAP Method Change data of the generated FAN files









Below is documentation, parameters and attributes of ABAP Method UPDATE_FAN within SAP class IF_HRPAYES_FAN. 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_HRPAYES_FAN 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 UPDATE_FAN can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method UPDATE_FAN

.

NameTypeData TypeDescriptionDefault Value
PT_NISSEImportingTYPE
T_NISSE
Nisse
PT_PERLIQImportingTYPE
T_PERLIQ
Settlement rank
PT_PERNRImportingTYPE
T_PERNR
Personnel number
PV_PABRJImportingTYPE
PNPPABRJ
Payroll year to calculate period
PV_PABRPImportingTYPE
PNPPABRP
Payroll period to calculate period
PV_RUECKRAImportingTYPE
C
Current values
PV_RUECKRDImportingTYPE
C
Retrieve differences
CT_FAN_ANEChangingTYPE
P4RED_EMP_TAB
FAN Credit balance not deliverable by RED
CT_FAN_ERE_C_NChangingTYPE
P4RED_EMP_TAB
FAN ERE complementary declaration, negative
CT_FAN_ERE_C_PChangingTYPE
P4RED_EMP_TAB
FAN ERE complementary declaration, positive
CT_FAN_L04_BONChangingTYPE
P4RED_EMP_TAB
FAN Allowance refund
CT_FAN_L04_PREChangingTYPE
P4RED_EMP_TAB
FAN Refund of benefits
CT_FAN_PMDChangingTYPE
P4RED_EMP_TAB
FAN Benefits, deferred month
PT_FANTABChangingTYPE
P4RED_FANTAB_TAB
Table Fantab
PT_FAN_ACRChangingTYPE
P4RED_EMP_TAB
Fan credit
PT_FAN_AUXChangingTYPE
P4RED_EMP_TAB
Fan Not deliverable
PT_FAN_C_NChangingTYPE
P4RED_EMP_TAB
Fan Additional negative
PT_FAN_C_PChangingTYPE
P4RED_EMP_TAB
Fan Additional positive
PT_FAN_INFChangingTYPE
P4RED_EMP_TAB
Fan reporting
PT_FAN_L04ChangingTYPE
P4RED_EMP_TAB
Fan Return of benefits
PT_FAN_O_NChangingTYPE
P4RED_EMP_TAB
Fan normal negative
PT_FAN_O_PChangingTYPE
P4RED_EMP_TAB
Fan normal positive
PT_FAN_TP1ChangingTYPE
P4RED_EMP_TAB
Fan concurrent employment



Exceptions of Method UPDATE_FAN

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_HRPAYES_FAN.
DATA: lv_CT_FAN_ANE TYPE P4RED_EMP_TAB,
lv_CT_FAN_ERE_C_N TYPE P4RED_EMP_TAB,
lv_CT_FAN_ERE_C_P TYPE P4RED_EMP_TAB,
lv_CT_FAN_L04_BON TYPE P4RED_EMP_TAB,
lv_CT_FAN_L04_PRE TYPE P4RED_EMP_TAB,
lv_CT_FAN_PMD TYPE P4RED_EMP_TAB,
lv_PT_FANTAB TYPE P4RED_FANTAB_TAB,
lv_PT_FAN_ACR TYPE P4RED_EMP_TAB,
lv_PT_FAN_AUX TYPE P4RED_EMP_TAB,
lv_PT_FAN_C_N TYPE P4RED_EMP_TAB,
lv_PT_FAN_C_P TYPE P4RED_EMP_TAB,
lv_PT_FAN_INF TYPE P4RED_EMP_TAB,
lv_PT_FAN_L04 TYPE P4RED_EMP_TAB,
lv_PT_FAN_O_N TYPE P4RED_EMP_TAB,
lv_PT_FAN_O_P TYPE P4RED_EMP_TAB,
lv_PT_FAN_TP1 TYPE P4RED_EMP_TAB,
lv_PT_NISSE TYPE T_NISSE,
lv_PT_PERLIQ TYPE T_PERLIQ,
lv_PT_PERNR TYPE T_PERNR,
lv_PV_PABRJ TYPE PNPPABRJ,
lv_PV_PABRP TYPE PNPPABRP,
lv_PV_RUECKRA TYPE C,
lv_PV_RUECKRD TYPE C,
lv_other TYPE c.

CALL METHOD lo_class=>UPDATE_FAN(
EXPORTING
PT_NISSE = lv_PT_NISSE
PT_PERLIQ = lv_PT_PERLIQ
PT_PERNR = lv_PT_PERNR
PV_PABRJ = lv_PV_PABRJ
PV_PABRP = lv_PV_PABRP
PV_RUECKRA = lv_PV_RUECKRA
PV_RUECKRD = lv_PV_RUECKRD
CHANGING
CT_FAN_ANE = lv_CT_FAN_ANE
CT_FAN_ERE_C_N = lv_CT_FAN_ERE_C_N
CT_FAN_ERE_C_P = lv_CT_FAN_ERE_C_P
CT_FAN_L04_BON = lv_CT_FAN_L04_BON
CT_FAN_L04_PRE = lv_CT_FAN_L04_PRE
CT_FAN_PMD = lv_CT_FAN_PMD
PT_FANTAB = lv_PT_FANTAB
PT_FAN_ACR = lv_PT_FAN_ACR
PT_FAN_AUX = lv_PT_FAN_AUX
PT_FAN_C_N = lv_PT_FAN_C_N
PT_FAN_C_P = lv_PT_FAN_C_P
PT_FAN_INF = lv_PT_FAN_INF
PT_FAN_L04 = lv_PT_FAN_L04
PT_FAN_O_N = lv_PT_FAN_O_N
PT_FAN_O_P = lv_PT_FAN_O_P
PT_FAN_TP1 = lv_PT_FAN_TP1 ).

Links to Related Class(s)

IF_HRPAY...
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!