P2B2_QTACC SAP (HCM Declustering B2 - Generating Absence Quotas) Table details
Dictionary Type: Table
Description: HCM Declustering B2 - Generating Absence Quotas
Description: HCM Declustering B2 - Generating Absence Quotas
Table field list including key, data, relationships and ABAP select examples
P2B2_QTACC is a standard SAP Table which is used to store HCM Declustering B2 - Generating Absence Quotas data and is available within R/3 SAP systems depending on the version and release level.
The P2B2_QTACC table consists of various fields, each holding specific information or linking keys about HCM Declustering B2 - Generating Absence Quotas data available in SAP. These include MANDT (Client), DCT_PERNR (Personnel Number), DCT_PABRJ (Payroll Year), DCT_PABRP (Payroll Period).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Cannot Be Enhanced
SAP P2B2_QTACC table 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
DCT_PERNR | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
DCT_PABRJ | Payroll Year | PABRJ | NUMC | 4 | GJAHR | GJAHR | |||
DCT_PABRP | Payroll Period | PABRP | NUMC | 2 | PABRP | ||||
DCT_CLTYP | Type of cluster | CLTYP | CHAR | 1 | CHAR1 | ||||
DCT_ROWID | Unique Row Number | HRDCT_ROWID | NUMC | 5 | HRDCT_ROWID | ||||
GDATE | Date Generated | PTM_GENDAT | DATS | 8 | DATUM | ||||
QTYPE | Absence Quota Type | ABWKO | NUMC | 2 | Assigned to domain | ABWKO | |||
ACCOP | Operation Indicators for Automatic Accrual of Absence Quotas | ACCOP | CHAR | 1 | ACCOP | ||||
ACCAC | Number of a Time Quota (Currently Generated) | PTM_CURGEN | DEC | 10(5) | PTM_QUONUM | ||||
ACCCU | Number of a Time Quota (Currently Accrued) | PTM_CURCUM | DEC | 10(5) | PTM_QUONUM | ||||
ACCTR | Transfer Accrued Entitlement | ACCTR | CHAR | 1 | ACCTR | ||||
TRANS | Number of Employee Time Quota | PTM_QUONUM | DEC | 10(5) | PTM_QUONUM | ||||
ACCAC_REV | Number of Employee Time Quota | PTM_QUONUM | DEC | 10(5) | PTM_QUONUM | ||||
MAXEX_ACC | Number of Employee Time Quota | PTM_QUONUM | DEC | 10(5) | PTM_QUONUM | ||||
MAXEX_ENT | Number of Employee Time Quota | PTM_QUONUM | DEC | 10(5) | PTM_QUONUM | ||||
ACCFR | Accrual point for leave entitlement | ACCFR | CHAR | 1 | CHAR1 | ||||
AFREQ | Period parameter | PTM_PERMO | NUMC | 2 | Assigned to domain | PERMO | |||
ACCDL | Earliest accrual point | ACCDL | CHAR | 2 | Assigned to domain | TMART | |||
LVPER | Time of transfer to leave entitlement | LVPER | CHAR | 1 | CHAR1 | ||||
LFREQ | Period parameter | PTM_PERMO | NUMC | 2 | Assigned to domain | PERMO | |||
LVDAT | Date type | DATAR | CHAR | 2 | Assigned to domain | DATAR | |||
LSIZE | Size of transfer packages for absence quotas | LSIZE | DEC | 10(5) | PTM_QUONUM | ||||
LVMAX_ACC | Maximum accrual entitlement | LVMAX_ACC | DEC | 10(5) | PTM_QUONUM | ||||
LVRND_ACC | Rounding rule | RDTYP | CHAR | 2 | Assigned to domain | RDTYP | |||
LVCUT_ACC | Reduction rule for quota entitlements | LVCUT | CHAR | 2 | Assigned to domain | LVCUT | |||
LVMAX_ENT | Maximum total entitlement | LVMAX_ENT | DEC | 10(5) | PTM_QUONUM | ||||
LVRND_ENT | Rounding rule | RDTYP | CHAR | 2 | Assigned to domain | RDTYP | |||
BEGDA | Start Date | BEGDA | DATS | 8 | DATUM | ||||
ENDDA | End Date | ENDDA | DATS | 8 | DATUM | ||||
BEGDE | Start Date for Quota Deduction | PTM_DEDSTART | DATS | 8 | DATUM | ||||
ENDDE | Quota Deduction to | PTM_DEDEND | DATS | 8 | DATUM | ||||
PRVQT | Checkbox | RP_XFELD | CHAR | 1 | XFELD | ||||
BASNR | Pointer to base entitlement for quota generation | PTM_BASNR | RAW | 1 | RAW1 | ||||
LRULE | Quota Generation: Rule for Transfer Times | PTM_LRULE | CHAR | 3 | Assigned to domain | PTM_LRULE |
Key field | Non-key field |
How do I retrieve data from SAP table P2B2_QTACC using ABAP code
The following ABAP code Example will allow you to do a basic selection on P2B2_QTACC to SELECT all data from the tableDATA: WA_P2B2_QTACC TYPE P2B2_QTACC.
SELECT SINGLE *
FROM P2B2_QTACC
INTO CORRESPONDING FIELDS OF WA_P2B2_QTACC
WHERE...
How to access SAP table P2B2_QTACC
Within an ECC or HANA version of SAP you can also view further information about P2B2_QTACC 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