PS0062 SAP (HR master record Infotype 0062 (Tax - Spain)) Structure details
Description: HR master record Infotype 0062 (Tax - Spain)
Structure field list including key, data, relationships and ABAP select examples
PS0062 is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "HR master record Infotype 0062 (Tax - Spain)" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_PS0062 TYPE PS0062.
The PS0062 table consists of various fields, each holding specific information or linking keys about HR master record Infotype 0062 (Tax - Spain) data available in SAP. These include CODAU (Tax modifier (employment tax)), FAMST (Marital status), NOHIJ (Number of family members relevant for employment tax (IRPF)), SBRUT (Gross salary).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP PS0062 structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
CODIM | Tax payer's reference number (NIF) | CODIM | CHAR | 9 | CHAR9 | ||||
CODAU | Tax modifier (employment tax) | CODAU | NUMC | 2 | PB04_CODAU | ||||
FAMST | Marital status | FAMS1 | CHAR | 1 | Assigned to domain | FAMST | |||
NOHIJ | Number of family members relevant for employment tax (IRPF) | PES_NFAMI | DEC | 2 | DEC2 | ||||
SBRUT | Gross salary | SBRUT | CURR | 9(2) | WERTV5 | ||||
VESFI | Fixed variable payments | VESFI | CURR | 9(2) | WERTV5 | ||||
VESVR | Variable variable payments | VESVR | CURR | 9(2) | WERTV5 | ||||
PORAP | Percentage applied | PORAP | DEC | 2 | DEC2 | ||||
CPER1 | Payment key | CPERX | CHAR | 1 | T5EIA | CPERX | |||
MOTIV | Change reason | MOTIV | NUMC | 2 | T5E38 | MOTIV | |||
FAMNU | Challenge category for fiscal purposes | PES_CATMIN | CHAR | 1 | PES_CATMIN | ||||
PERTR | Work permit number | PERT1 | CHAR | 9 | CHAR9 | ||||
CPER2 | Payment subkey | CPER2 | NUMC | 1 | CPER2 | ||||
PGEES | Payment in kind for IRPF | PGEES | CURR | 9(2) | WERTV5 | ||||
PECOM | Compensatory payments | PECOM | CURR | 9(2) | WERTV5 | ||||
QLAND | Country code | PB04_QLAND | CHAR | 3 | Assigned to domain | LAND1 | |||
RENIR | Reduction due to irregular performances | PES_RENIR | CURR | 9(2) | WERTV5 | ||||
COTIZ | Social insurance or healthcare company costs | PES_COTIZ | CURR | 9(2) | WERTV5 | ||||
ALIME | Annuities for child maintenance | PES_ALIME | CURR | 9(2) | WERTV5 | ||||
REGRT | Employment tax (IRPF): Deductions up to adjustment | PES_REGRT | CURR | 9(2) | WERTV5 | ||||
REGBR | Gross annual salary received | PES_REGBR | CURR | 9(2) | WERTV5 | ||||
PORA4 | Employment tax (IRPF) code applied | PES_PORAP | DEC | 4(2) | DEC2_2 | ||||
PROVN | Province | PES_PROVN | CHAR | 3 | T005S | REGIO | |||
CD296 | Foreign code | PES_296CD | CHAR | 12 | CHAR12 | ||||
PORDB | Employment tax code stored (database only not displayed) | PES_PORDB | DEC | 4(2) | DEC2_2 | ||||
FFRMG | End date | PES_ENDDA | DATS | 8 | DATS | ||||
FNOIR | Payroll date for adjustment amounts | PES_FNOIR | DATS | 8 | DATUM | ||||
PORPR | Previous IRPF percentage | PES_PORPR | DEC | 4(2) | DEC2_2 | ||||
PORNM | Employment tax (IRPF) code applied | PES_PORAP | DEC | 4(2) | DEC2_2 | ||||
ART81 | Apply Article 81.5 | PES_ART81 | CHAR | 1 | PES_INDICADOR | ||||
MOCON | Contract type for tax according to the tax office | PES_MOCON | CHAR | 1 | PES_MOCON | ||||
PORNA | Payroll percentage maintained automatically | PES_PORNA | CHAR | 1 | CHAR1 | ||||
SEXPA | Foreigner situation | PES_SEXPA | CHAR | 1 | PES_SEXPA | ||||
MIPAG | Decrease due to mortgage | PES_MIPAG | CHAR | 1 | PES_MIPAG | ||||
MINOP | Applied decrease | PES_MINOP | CURR | 9(2) | WERT05 | ||||
RENI2 | Reduction due to irregular performance | PES_RENI2 | CURR | 9(2) | WERTV5 | ||||
SITPER | Personal situation for employment tax | PES_SITPER | CHAR | 1 | PES_SITPER | ||||
WERTX | Reduction due to extentsion of work activity | PES_WERTX | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure PS0062 using ABAP code?
As PS0062 is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on PS0062 as there is no data to select.How to access SAP table PS0062
Within an ECC or HANA version of SAP you can also view further information about PS0062 and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects