P2B2_QTACC SAP (HCM Declustering B2 - Generating Absence Quotas) Table details

Dictionary Type: Table
Description: HCM Declustering B2 - Generating Absence Quotas




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




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
MANDTClient MANDTCLNT3Assigned to domainMANDT
DCT_PERNRPersonnel Number PERNR_DNUMC8PERNRPER
DCT_PABRJPayroll Year PABRJNUMC4GJAHRGJAHR
DCT_PABRPPayroll Period PABRPNUMC2PABRP
DCT_CLTYPType of cluster CLTYPCHAR1CHAR1
DCT_ROWIDUnique Row Number HRDCT_ROWIDNUMC5HRDCT_ROWID
GDATEDate Generated PTM_GENDATDATS8DATUM
QTYPEAbsence Quota Type ABWKONUMC2Assigned to domainABWKO
ACCOPOperation Indicators for Automatic Accrual of Absence Quotas ACCOPCHAR1ACCOP
ACCACNumber of a Time Quota (Currently Generated) PTM_CURGENDEC10(5) PTM_QUONUM
ACCCUNumber of a Time Quota (Currently Accrued) PTM_CURCUMDEC10(5) PTM_QUONUM
ACCTRTransfer Accrued Entitlement ACCTRCHAR1ACCTR
TRANSNumber of Employee Time Quota PTM_QUONUMDEC10(5) PTM_QUONUM
ACCAC_REVNumber of Employee Time Quota PTM_QUONUMDEC10(5) PTM_QUONUM
MAXEX_ACCNumber of Employee Time Quota PTM_QUONUMDEC10(5) PTM_QUONUM
MAXEX_ENTNumber of Employee Time Quota PTM_QUONUMDEC10(5) PTM_QUONUM
ACCFRAccrual point for leave entitlement ACCFRCHAR1CHAR1
AFREQPeriod parameter PTM_PERMONUMC2Assigned to domainPERMO
ACCDLEarliest accrual point ACCDLCHAR2Assigned to domainTMART
LVPERTime of transfer to leave entitlement LVPERCHAR1CHAR1
LFREQPeriod parameter PTM_PERMONUMC2Assigned to domainPERMO
LVDATDate type DATARCHAR2Assigned to domainDATAR
LSIZESize of transfer packages for absence quotas LSIZEDEC10(5) PTM_QUONUM
LVMAX_ACCMaximum accrual entitlement LVMAX_ACCDEC10(5) PTM_QUONUM
LVRND_ACCRounding rule RDTYPCHAR2Assigned to domainRDTYP
LVCUT_ACCReduction rule for quota entitlements LVCUTCHAR2Assigned to domainLVCUT
LVMAX_ENTMaximum total entitlement LVMAX_ENTDEC10(5) PTM_QUONUM
LVRND_ENTRounding rule RDTYPCHAR2Assigned to domainRDTYP
BEGDAStart Date BEGDADATS8DATUM
ENDDAEnd Date ENDDADATS8DATUM
BEGDEStart Date for Quota Deduction PTM_DEDSTARTDATS8DATUM
ENDDEQuota Deduction to PTM_DEDENDDATS8DATUM
PRVQTCheckbox RP_XFELDCHAR1XFELD
BASNRPointer to base entitlement for quota generation PTM_BASNRRAW1RAW1
LRULEQuota Generation: Rule for Transfer Times PTM_LRULECHAR3Assigned to domainPTM_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 table
DATA: 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 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!