HRCHQSB SAP (HR-CH: structure for withholding tax statement) Structure details
Description: HR-CH: structure for withholding tax statement
Structure field list including key, data, relationships and ABAP select examples
HRCHQSB 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-CH: structure for withholding tax statement" 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_HRCHQSB TYPE HRCHQSB.
The HRCHQSB table consists of various fields, each holding specific information or linking keys about HR-CH: structure for withholding tax statement data available in SAP. These include AHVNR (AHV Number), AHVNRX (AHV number with periods (LAW Switz.)), SPRSL (Language Key), KOPIE (Receiver code for copy).. 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 HRCHQSB 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 |
PERNR | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
AHVNR | AHV Number | AHVNR | CHAR | 11 | AHVNR | P02_AHVNR | |||
AHVNRX | AHV number with periods (LAW Switz.) | HRCHAHVNR | CHAR | 14 | CHAR14 | ||||
SPRSL | Language Key | SPRSL | LANG | 1 | Assigned to domain | ISOLA | SPRAS | ||
KOPIE | Receiver code for copy | 0 | |||||||
TITEL1 | Heading 1 | 0 | |||||||
TITEL2 | Heading 2 | 0 | |||||||
TITEL3 | Heading 3 | 0 | |||||||
TITEL4 | Heading 4 | 0 | |||||||
ANRED | Form of address text | ANREX | CHAR | 5 | ANREX | ||||
NAME | Last Name | NACHN | CHAR | 25 | NACHN | ||||
NAME2 | Second Name / Name at Birth | NACH2 | CHAR | 25 | NACHN | ||||
ANVORN | First Name | VORNA | CHAR | 25 | VORNM | ||||
KNAME | Employee : Name / first name | 0 | |||||||
STRAS | House number and street | STRAS | CHAR | 30 | TEXT30 | ||||
PSTLZ | Postal Code | PSTLZ | CHAR | 10 | PSTLZ | ||||
ORT01 | City | ORT01 | CHAR | 25 | TEXT25 | ||||
PLORT | Employee : PCode/Location | 0 | |||||||
WKANT | Canton Indicator | KANTO | CHAR | 2 | CHAR2 | ||||
WKATX | Canton of residence (text) | 0 | |||||||
LAND1 | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
LANDX | Country Name | LANDX | CHAR | 15 | TEXT15 | ||||
ORTLA | Loc. / country | 0 | |||||||
ARBOR | Work location (LAW Switz.) | HRCHARBOR | CHAR | 25 | CHAR25 | ||||
ABTLX | Division (LAW Switz.) | HRCHABTLX | CHAR | 26 | CHAR26 | ||||
GBDAT | Date of Birth | GBDAT | DATS | 8 | PDATE | GBDAT | |||
FTEXT | Marital Status | FATXT | CHAR | 6 | FATXT | ||||
KITXT | Religious Denomination | KITXT | CHAR | 4 | KITXT | ||||
KTEXT | Religious Denomination Long Text | KNFTX | CHAR | 25 | TEXT25 | ||||
ANZKD | Number of Children | ANZKD | DEC | 3 | DEC03 | ||||
FANAM | Last Name | NACHN | CHAR | 25 | NACHN | ||||
FAVOR | First Name | VORNA | CHAR | 25 | VORNM | ||||
KAFANA | Last name /first name of spouse | 0 | |||||||
FAFIR | Company of spouse | 0 | |||||||
ARJAHR | Year | HRCHJAHR | NUMC | 4 | GJAHR | GJAHR | |||
BEGDA | Start Date | BEGDA | DATS | 8 | DATUM | ||||
ENDDA | End Date | ENDDA | DATS | 8 | DATUM | ||||
AZATG | Number of working days | 0 | |||||||
KANTO | Canton Indicator | KANTO | CHAR | 2 | CHAR2 | ||||
KATXT | Text: Payroll canton | 0 | |||||||
GEMND | Municipality | GEMND | CHAR | 4 | Assigned to domain | GEMND | |||
GETXT | Municipality text | GETXT | CHAR | 30 | TEXT30 | ||||
QSTTAB | Withholding Tax Scale | P02_CQTAB | CHAR | 6 | Assigned to domain | P02_CQTAB | |||
QSTTXTL | Text, 40 Characters Long | TEXT40 | CHAR | 40 | TEXT40 | ||||
QSTTXTK | Text (10 Characters) | TEXT10 | CHAR | 10 | TEXT10 | ||||
QSTPROZ | Withholding Tax Percentage | QSPRO | DEC | 5(2) | DEC3_2 | ||||
STBASIS1 | HR-CH: Withholding tax basis | P02Q_STBAS | CURR | 9(2) | WERTV5 | ||||
STBASIS2 | HR-CH: Withholding tax basis | P02Q_STBAS | CURR | 9(2) | WERTV5 | ||||
STBASIS3 | HR-CH: Withholding tax basis | P02Q_STBAS | CURR | 9(2) | WERTV5 | ||||
STBASIS4 | HR-CH: Withholding tax basis | P02Q_STBAS | CURR | 9(2) | WERTV5 | ||||
STBETR1 | HR-CH: Withholding tax amount | P02Q_STBTR | CURR | 9(2) | WERTV5 | ||||
STBETR2 | HR-CH: Withholding tax amount | P02Q_STBTR | CURR | 9(2) | WERTV5 | ||||
STBETR3 | HR-CH: Withholding tax amount | P02Q_STBTR | CURR | 9(2) | WERTV5 | ||||
STBETR4 | HR-CH: Withholding tax amount | P02Q_STBTR | CURR | 9(2) | WERTV5 | ||||
TTLBETR1 | HR-CH: withholding tax total | P02Q_STTOT | CURR | 9(2) | WERTV5 | ||||
TTLBETR2 | HR-CH: withholding tax total | P02Q_STTOT | CURR | 9(2) | WERTV5 | ||||
TTLBETR3 | HR-CH: withholding tax total | P02Q_STTOT | CURR | 9(2) | WERTV5 | ||||
TTLBETR4 | HR-CH: withholding tax total | P02Q_STTOT | CURR | 9(2) | WERTV5 | ||||
PFLZULA | HR-CH: liable bonuses / expenses | P02Q_PFLZU | CURR | 9(2) | WERTV5 | ||||
NPFZULA | HR-CH: exempt bonuses / expenses | P02Q_NPFZU | CURR | 9(2) | WERTV5 | ||||
STCURR | Currency Key | CURCY | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
ABSTAG | Absences not taken into account | 0 | |||||||
ABRNR | Accounting number | P02_ABRNR | CHAR | 20 | CHAR20 | ||||
AGNAME | Personnel Area Text | PBTXT | CHAR | 30 | TEXT30 | ||||
AGNAME2 | Name 2 | NAME2 | CHAR | 30 | TEXT30 | ||||
AGSTRAS | House number and street | STRAS | CHAR | 30 | TEXT30 | ||||
AGPLZNR | Global company zip code | PLZ | CHAR | 10 | TEXT10 | ||||
AGORT01 | City | ORT01 | CHAR | 25 | TEXT25 | ||||
AGPLORT | Employer : PCode/Location | 0 | |||||||
AGKANTO | STATE (State, Province, County) | REGIO | CHAR | 3 | Assigned to domain | REGIO | |||
AGKANTX | Employer : Canton text | 0 | |||||||
AGSACHP | Employer : Administrator | 0 | |||||||
AGTELNO | Employer : Telephone number | 0 | |||||||
AUSDT | Date of Issue | 0 | |||||||
ORTDT | Town / date of issue | 0 | |||||||
DTEXT1 | Div. text1 | 0 | |||||||
DTEXT2 | Div. text2 | 0 | |||||||
DTEXT3 | Div. text3 | 0 | |||||||
DTEXT4 | Div. text4 | 0 | |||||||
BTEXT1 | Remark1 | 0 | |||||||
BTEXT2 | Remark2 | 0 | |||||||
BTEXT3 | Remark3 | 0 | |||||||
BTEXT4 | Remark4 | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure HRCHQSB using ABAP code?
As HRCHQSB 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 HRCHQSB as there is no data to select.How to access SAP table HRCHQSB
Within an ECC or HANA version of SAP you can also view further information about HRCHQSB 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