P2B2_ANWES SAP (HCM Declustering B2 - Attendances (Table ANWES)) Table details

Dictionary Type: Table
Description: HCM Declustering B2 - Attendances (Table ANWES)




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




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

P2B2_ANWES is a standard SAP Table which is used to store HCM Declustering B2 - Attendances (Table ANWES) data and is available within R/3 SAP systems depending on the version and release level.

The P2B2_ANWES table consists of various fields, each holding specific information or linking keys about HCM Declustering B2 - Attendances (Table ANWES) 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_ANWES 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
PRZNRPointer to attendances PRZNRRAW2RAW2
ENDDAEnd Date ENDDADATS8DATUM
BEGDAStart Date BEGDADATS8DATUM
BEGUZStart time CTIMBCHAR6CHAR6
ENDUZEnd time CTIMECHAR6CHAR6
VTKENPrevious Day Indicator VTKENCHAR1XFELD
AWARTAttendance or Absence Type AWARTCHAR4Assigned to domainAWART
ABWTGAttendance and Absence Days ABWTGDEC6(2) TAGE4_2
STDAZAbsence hours ABSTDDEC7(2) JRSTD
ABRTGPayroll days ABRTGDEC6(2) TAGE4_2
ABRSTPayroll hours ABRSTDEC7(2) JRSTD
KALTGCalendar days CALDYDEC5(2) DEC3_2
VERSLOvertime Compensation Type VRSCHCHAR1Assigned to domainVRSCH
LGARTWage Type LGARTCHAR4Assigned to domainLGART
ALLDFRecord is for Full Day ALLDFCHAR1XFELD
HRSIFSet number of hours HRS_INPFLCHAR1XFELD
REFEXReference Fields Exist (Primary/Secondary Costs) PRFEXCHAR1XFELD
ORDEXConfirmation Fields Exist ORDEXCHAR1XFELD
SUBTYSubtype SUBTYCHAR4SUBTYSUB
OBJPSObject Identification OBJPSCHAR2OBJPSOPS
SPRPSLock Indicator for HR Master Data Record SPRPSCHAR1SPRPS
SEQNRNumber of Infotype Record with Same Key SEQNRNUMC3NUM03
FAPRSEvaluation Type for Attendances/Absences FAPRSCHAR2FAPRS
KEPAUNo break TIM_KEPAUCHAR1XFELD
EXPAUBreaks Specified Explicitly TIM_EXPAUCHAR1XFELD
PBEG1Start of Break PDBEGTIMS6UZEIT
PEND1End of Break PDENDTIMS6UZEIT
PBEZ1Paid Break Period PDBEZDEC4(2) DEC2_2
PUNB1Unpaid Break Period PDUNBDEC4(2) DEC2_2
PBEG2Start of Break PDBEGTIMS6UZEIT
PEND2End of Break PDENDTIMS6UZEIT
PBEZ2Paid Break Period PDBEZDEC4(2) DEC2_2
PUNB2Unpaid Break Period PDUNBDEC4(2) DEC2_2
NXDFLNext Day Indicator PTM_NXDFLCHAR1XFELD

Key field Non-key field



How do I retrieve data from SAP table P2B2_ANWES using ABAP code

The following ABAP code Example will allow you to do a basic selection on P2B2_ANWES to SELECT all data from the table
DATA: WA_P2B2_ANWES TYPE P2B2_ANWES.

SELECT SINGLE *
FROM P2B2_ANWES
INTO CORRESPONDING FIELDS OF WA_P2B2_ANWES
WHERE...

How to access SAP table P2B2_ANWES

Within an ECC or HANA version of SAP you can also view further information about P2B2_ANWES 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!