PS0065 SAP (HR Master Record: Infotype 0065 (Tax - GB)) Structure details

Dictionary Type: Structure
Description: HR Master Record: Infotype 0065 (Tax - GB)




ABAP Code to SELECT data from PS0065
Related tables to PS0065
Access table PS0065




Structure field list including key, data, relationships and ABAP select examples

PS0065 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 0065 (Tax - GB)" 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_PS0065 TYPE PS0065.

The PS0065 table consists of various fields, each holding specific information or linking keys about HR Master Record: Infotype 0065 (Tax - GB) data available in SAP. These include TXLET (Tax indicator), TXBAS (Tax basis), TXRFS (Tax refund indicator), TXSTK (On strike indicator).. 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 PS0065 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
TXNUMText number TXNUMNUMC5NUMC5
TXLETTax indicator TXLETCHAR2CHAR2
TXBASTax basis TXBASCHAR1P08_TXBAS
TXRFSTax refund indicator TXRFSCHAR1TXRFS
TXSTKOn strike indicator TXSTKCHAR1XFELD
P45PYP45 taxable pay P45PYCURR9(2) WERTV5
P45TXP45 tax paid P45TXCURR9(2) WERTV5
TXRFV TXRFVDEC11DEC11
P45WKP45 Tax week number P45WKNUMC2PABRP
P45MNP45 Tax month number P45MNNUMC2PABRP
P45IDP45 has been issued indicator P45IDCHAR1XFELD
P45DTDate P45 issued P45DTDATS8DATUM
TDSRCSource of tax code stored TDSRCCHAR3TDSRC
ITM12HR-GB: P45 Item 13 P08_ITM12CURR9(2) WERTV5
P45CRHR-GB: Correction Indicator for P45 Item 13 P08_P45CRCHAR1XFELD
TXREGRegional code P08_TXREGCHAR1CHAR1
TXNMBTax Number P08_TXNMBNUMC6NUMC6
TXCODTax Code P08_TXCODECHAR8CHAR8
GLBIDHR B2A: Global Object ID PC_B2A_GLBIDCHAR32CHAR32
P46IDP46 has been issued indicator P46IDCHAR1XFELD
P46DTDate P45(3) / P46 issued P46DTDATS8DATUM
P160IDP46(PEN) has been issued indicator P08_P160IDCHAR1XFELD
P46CLSHR GB: P46/P46(EXPAT) Class P08_P46CLSNUMC1P08_P46CLS
P453IDP45(3) has been issued indicator P08_P453IDCHAR1XFELD
PFIREHR GB: Previous Employment Leaving Date P08_PFIREDATEDATS8DATUM
TDNUMHR GB: Previous Employment Tax district number P08_PTDNUMCHAR3Assigned to domainTDNUM
TDREFHR GB: Previous Employment Tax District Indicator P08_PTDRCECHAR10Assigned to domainTDRCE
PENAMTHR GB: Pension Amount Paid by employer Annually to Employee P08_PENAMTCURR15(2) PRBETRG
PENWIDIHR GB: Retiring on Pension Recently Bereaved Indicator P08_PENWIDICHAR1XFELD
P453DTP45(3) issued date P08_P453DTDATS8DATUM
P160DTDate P46(PEN) is issued P160DTDATS8DATUM
NPUAPRHR GB : No Pay Until April P08_NPUAPRCHAR1XFELD
PTXCODTax Code P08_TXCODECHAR8CHAR8
PTXBASPrevious Tax Basis PTXBASCHAR1XFELD
DP45WKP45 Tax week number (Previous tax year) DP45WKNUMC2PABRP
DP45MNP45 Tax month number (Previous tax year) DP45MNNUMC2PABRP
DP45PYP45 taxable pay (Previous tax year) DP45PYCURR9(2) WERTV5
DP45TXP45 tax paid (Previous tax year) DP45TXCURR9(2) WERTV5
PP45WKP46(PEN) tax week number PP45WKNUMC2PABRP
PP45MNP46 (PEN)Tax month number PP45MNNUMC2PABRP
PP45PYP46 (PEN) taxable pay PP45PYCURR9(2) WERTV5
PP45TXP46 (PEN) tax paid PP45TXCURR9(2) WERTV5
PPFIREHR GB: Previous Employment Leaving Date - P46(PEN) PPFIREDATS8DATUM
PTDNUMHR GB: Previous Employment Tax district number P46 (PEN) PTDNUMCHAR3Assigned to domainTDNUM
PTDREFHR GB: Previous Employment Tax District Indicator P46 (PEN) PTDREFCHAR10Assigned to domainTDRCE
PPTXCODPrevious tax code - P46PEN P08_PPTXCCHAR8CHAR8
PPTXBASPrevious Tax Basis P46PEN P08_PPTXBCHAR1XFELD
EMPPENEmployer to Pensioner flag EMPPENCHAR1XFELD
P46EDTDate P46(EXPAT) issued P08_P46EDTDATS8DATUM
P46EIDP46(EXPAT) has been issued indicator P08_P46EIDCHAR1XFELD
IYMV_PIDHR B2A: Global Object ID PC_B2A_GLBIDCHAR32CHAR32
WRKNOHR GB: HMRC Works Number P08_WRKSNNUMC10NUMC10
WRKNO_REHIRE_INDRehire Indicator for Worknumber (HMRC) P08_WRK_RHIRE_INDCHAR2P08_WRK_RHIRE_INDP08_WRK_RHIRE

Key field Non-key field



How do I retrieve data from SAP structure PS0065 using ABAP code?

As PS0065 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 PS0065 as there is no data to select.

How to access SAP table PS0065

Within an ECC or HANA version of SAP you can also view further information about PS0065 and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


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!