P2B2_ANWES SAP (HCM Declustering B2 - Attendances (Table ANWES)) Table details
Dictionary Type: Table
Description: HCM Declustering B2 - Attendances (Table ANWES)
Description: HCM Declustering B2 - Attendances (Table 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 |
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 | ||||
PRZNR | Pointer to attendances | PRZNR | RAW | 2 | RAW2 | ||||
ENDDA | End Date | ENDDA | DATS | 8 | DATUM | ||||
BEGDA | Start Date | BEGDA | DATS | 8 | DATUM | ||||
BEGUZ | Start time | CTIMB | CHAR | 6 | CHAR6 | ||||
ENDUZ | End time | CTIME | CHAR | 6 | CHAR6 | ||||
VTKEN | Previous Day Indicator | VTKEN | CHAR | 1 | XFELD | ||||
AWART | Attendance or Absence Type | AWART | CHAR | 4 | Assigned to domain | AWART | |||
ABWTG | Attendance and Absence Days | ABWTG | DEC | 6(2) | TAGE4_2 | ||||
STDAZ | Absence hours | ABSTD | DEC | 7(2) | JRSTD | ||||
ABRTG | Payroll days | ABRTG | DEC | 6(2) | TAGE4_2 | ||||
ABRST | Payroll hours | ABRST | DEC | 7(2) | JRSTD | ||||
KALTG | Calendar days | CALDY | DEC | 5(2) | DEC3_2 | ||||
VERSL | Overtime Compensation Type | VRSCH | CHAR | 1 | Assigned to domain | VRSCH | |||
LGART | Wage Type | LGART | CHAR | 4 | Assigned to domain | LGART | |||
ALLDF | Record is for Full Day | ALLDF | CHAR | 1 | XFELD | ||||
HRSIF | Set number of hours | HRS_INPFL | CHAR | 1 | XFELD | ||||
REFEX | Reference Fields Exist (Primary/Secondary Costs) | PRFEX | CHAR | 1 | XFELD | ||||
ORDEX | Confirmation Fields Exist | ORDEX | CHAR | 1 | XFELD | ||||
SUBTY | Subtype | SUBTY | CHAR | 4 | SUBTY | SUB | |||
OBJPS | Object Identification | OBJPS | CHAR | 2 | OBJPS | OPS | |||
SPRPS | Lock Indicator for HR Master Data Record | SPRPS | CHAR | 1 | SPRPS | ||||
SEQNR | Number of Infotype Record with Same Key | SEQNR | NUMC | 3 | NUM03 | ||||
FAPRS | Evaluation Type for Attendances/Absences | FAPRS | CHAR | 2 | FAPRS | ||||
KEPAU | No break | TIM_KEPAU | CHAR | 1 | XFELD | ||||
EXPAU | Breaks Specified Explicitly | TIM_EXPAU | CHAR | 1 | XFELD | ||||
PBEG1 | Start of Break | PDBEG | TIMS | 6 | UZEIT | ||||
PEND1 | End of Break | PDEND | TIMS | 6 | UZEIT | ||||
PBEZ1 | Paid Break Period | PDBEZ | DEC | 4(2) | DEC2_2 | ||||
PUNB1 | Unpaid Break Period | PDUNB | DEC | 4(2) | DEC2_2 | ||||
PBEG2 | Start of Break | PDBEG | TIMS | 6 | UZEIT | ||||
PEND2 | End of Break | PDEND | TIMS | 6 | UZEIT | ||||
PBEZ2 | Paid Break Period | PDBEZ | DEC | 4(2) | DEC2_2 | ||||
PUNB2 | Unpaid Break Period | PDUNB | DEC | 4(2) | DEC2_2 | ||||
NXDFL | Next Day Indicator | PTM_NXDFL | CHAR | 1 | XFELD |
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 tableDATA: 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 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