SAP Function RP_FLY_INFO_FOR_TAX_MY - Family Information for the Purpose of Taxation

Parameter Reference Type Length Default Optional Text
CALL_TYP P0213-SEMPS C 1 X
I_P0001 P0001 u 322 Infotype structure 0001
I_P0002 P0002 u 988 X
I_P0198 P0198 u 219 Infotype structure 0198
PNBEGDA SYST-DATUM D 8 Date and time, current (application server) date
PNENDDA SYST-DATUM D 8 Date and time, current (application server) date

Parameter Reference Type Length Text
E_MARST P0198-MARST C 1 Marital allowance status of the employee
E_NUMCH P0198-NUMCH N 3 No of dependants for tax purpose
E_SEMPS P0213-SEMPS C 1 Wife's working status

Parameter Reference Length Optional Text
CHILD_DETAIL 0 X contains dependents details for a period

Exception Text
ERROR_GETTING_TAX_CATEGORY If Infotype is missing this execption is raised
TABLE_ENTRY_NOT_FOUND If table entry-missing this execption is raised

Functionality
This function module derives family information of the employee for thepurpose of taxation.
The values returned are in accordance with the tax laws and may not bethe the actual status of the employee. For example, an unmarriedemloyee with an adopted child is considered married for the purpose oftaxation.
This function module checks the value of the From Family Infotype
field (TCTGF) of Schedular Deduction Tax Infotype (0198). Ifthe value of this field is

  • X, then the function module reads the Family/Related Person

  • Infotype (0021) and the Personal Data Infotype (0002) forthe family information of the employee.
    • ' ', then the function module reads the Schedular Deduction
    • Tax Infotype (0198) for the family information of the employee.
      The return parameters of the function module are:
      E_MARST - Flag for marital allowance status of the employee
      E_NUMCH - Number of dependents of the employee for the purposeof taxation
      E_SEMPS - Flag for working status of spouse

      Example
      Single employee without children
      E_MARST = ' ' (No marital allowance)
      E_NUMCH = 0
      E_SEMPS = X (Spouse working, that is, no spouse relief)
      Single male employee with one adopted child
      E_MARST = X (Gets marital allowance)
      E_NUMCH = 1
      E_SEMPS = ' ' (Spouse not working, that is, gets spouse relief)
      Single female employee with one adopted child
      E_MARST = X (Gets marital allowance)
      E_NUMCH = 1
      E_SEMPS = X (Spouse working, that is, no spouse relief)
      Married employee without children and spouse working
      E_MARST = X (Gets marital allowance)
      E_NUMCH = 0
      E_SEMPS = X (Spouse working, that is, no spouse relief)
      Married employee with two children and spouse not working
      E_MARST = X (Gets marital allowance)
      E_NUMCH = 2
      E_SEMPS = ' ' (Spouse not working, that is, gets spouse relief)