PS0038 SAP (HR Master Record: Infotype 0038 (Fiscal Data CH)) Structure details
Description: HR Master Record: Infotype 0038 (Fiscal Data CH)
Structure field list including key, data, relationships and ABAP select examples
PS0038 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 0038 (Fiscal Data CH)" 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_PS0038 TYPE PS0038.
The PS0038 table consists of various fields, each holding specific information or linking keys about HR Master Record: Infotype 0038 (Fiscal Data CH) data available in SAP. These include GEMND (Municipality), QSTPF (Tax liability), LAUWG (Flat-rate cost reimbursement), ARBOR (Work location).. 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 PS0038 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 |
KANTO | Canton Indicator | KANTO | CHAR | 2 | CHAR2 | ||||
GEMND | Municipality | GEMND | CHAR | 4 | T5C1O | GEMND | |||
QSTPF | Tax liability | QSTPF | CHAR | 1 | Assigned to domain | P02_QSTPF | |||
LAUWG | Flat-rate cost reimbursement | P02_LAUWG | CHAR | 1 | P02_LAUWG | ||||
ARBOR | Work location | P02_ARBOR | CHAR | 25 | TEXT25 | ||||
BEMZ1 | Comments: Line 1 (LAW Switz.) | HRCHBEMZ1 | CHAR | 100 | TEXT100 | ||||
BEMZ2 | Remarks: line 2 (LAW Switz.) | HRCHBEMZ2 | CHAR | 100 | TEXT100 | ||||
BEMZ3 | Comments: Line 3 (LAW Switz.) | HRCHBEMZ3 | CHAR | 100 | TEXT100 | ||||
QSTAB | Withholding Tax Scale | P02_CQTAB | CHAR | 6 | T5C2K | P02_CQTAB | |||
QSPRO | Withholding Tax Percentage | QSPRO | DEC | 5(2) | DEC3_2 | ||||
QSBTR | Withholding tax amount | QSBTR | CURR | 9(2) | WERT5 | ||||
ACL01 | HR-CH: EE Attributes Class | P02_ACLAS | CHAR | 2 | T5CAP | P02_ACLAS | |||
EMA01 | HR-CH: EE Attribute | P02_ATTRI | NUMC | 2 | T5CA0 | P02_ATTRI | |||
ACL02 | HR-CH: EE Attributes Class | P02_ACLAS | CHAR | 2 | T5CAP | P02_ACLAS | |||
EMA02 | HR-CH: EE Attribute | P02_ATTRI | NUMC | 2 | T5CA0 | P02_ATTRI | |||
ACL03 | HR-CH: EE Attributes Class | P02_ACLAS | CHAR | 2 | T5CAP | P02_ACLAS | |||
EMA03 | HR-CH: EE Attribute | P02_ATTRI | NUMC | 2 | T5CA0 | P02_ATTRI | |||
ACL04 | HR-CH: EE Attributes Class | P02_ACLAS | CHAR | 2 | T5CAP | P02_ACLAS | |||
EMA04 | HR-CH: EE Attribute | P02_ATTRI | NUMC | 2 | T5CA0 | P02_ATTRI | |||
ACL05 | HR-CH: EE Attributes Class | P02_ACLAS | CHAR | 2 | T5CAP | P02_ACLAS | |||
EMA05 | HR-CH: EE Attribute | P02_ATTRI | NUMC | 2 | T5CA0 | P02_ATTRI | |||
ACL06 | HR-CH: EE Attributes Class | P02_ACLAS | CHAR | 2 | T5CAP | P02_ACLAS | |||
EMA06 | HR-CH: EE Attribute | P02_ATTRI | NUMC | 2 | T5CA0 | P02_ATTRI | |||
ACL07 | HR-CH: EE Attributes Class | P02_ACLAS | CHAR | 2 | T5CAP | P02_ACLAS | |||
EMA07 | HR-CH: EE Attribute | P02_ATTRI | NUMC | 2 | T5CA0 | P02_ATTRI | |||
ACL08 | HR-CH: EE Attributes Class | P02_ACLAS | CHAR | 2 | T5CAP | P02_ACLAS | |||
EMA08 | HR-CH: EE Attribute | P02_ATTRI | NUMC | 2 | T5CA0 | P02_ATTRI | |||
WGMGE | Municip. Code in WHT Statement for Residences in Canton GE | P02_GETIS_WGMGE | NUMC | 2 | T5C2P_LOCCD | P02_GETIS_LOCCD | |||
AGMGE | Municipal. Code in WHT Statement for Work Place in Canton GE | P02_GETIS_ARB_0038 | NUMC | 2 | T5C2P_LOCCD | P02_GETIS_LOCCD | |||
NMSRC | Employee's WHT Number | P02_NMSRC | CHAR | 20 | P02_NMSRC | ||||
AKANT | Canton of Place of Work | P02_AKANT | CHAR | 2 | P02_AKANT |
Key field | Non-key field |
How do I retrieve data from SAP structure PS0038 using ABAP code?
As PS0038 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 PS0038 as there is no data to select.How to access SAP table PS0038
Within an ECC or HANA version of SAP you can also view further information about PS0038 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