PTDBJ SAP (Flexible Working Hours Policy) Structure details
Description: Flexible Working Hours Policy
Structure field list including key, data, relationships and ABAP select examples
PTDBJ 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 "Flexible Working Hours Policy" 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_PTDBJ TYPE PTDBJ.
The PTDBJ table consists of various fields, each holding specific information or linking keys about Flexible Working Hours Policy data available in SAP. These include FLMTX (Text: Flexible Working Hours Model), APZNR (PC205 assignment), BEGDA (Start Date), ENDDA (End Date).. 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: Cannot Be Enhanced
SAP PTDBJ 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 |
FLMOD | Flexible Working Hours Model | P01B_FLMOD | CHAR | 4 | Assigned to domain | P01B_FLMOD | |||
FLMTX | Text: Flexible Working Hours Model | P01B_FLMTX | CHAR | 60 | TEXT60 | ||||
APZNR | PC205 assignment | APZNR | RAW | 1 | PRSPL | ||||
BEGDA | Start Date | BEGDA | DATS | 8 | DATUM | ||||
ENDDA | End Date | ENDDA | DATS | 8 | DATUM | ||||
VORAZ | Advance Hours | P01B_VORAZ | DEC | 15(2) | PRANZHL | ||||
VORLG | Storage Wage Type: Advance | P01B_LAAVO | CHAR | 4 | Assigned to domain | LGART | |||
EINAZ | Withholding Hours | P01B_EINAZ | DEC | 15(2) | PRANZHL | ||||
EINLG | Storage Wage Type: Retention Amount | P01B_LAAEB | CHAR | 4 | Assigned to domain | LGART | |||
SSOLL | Planned working time in hours | SSOLL | DEC | 5(2) | DEC3_2 | ||||
SDIVI | Individual divisor for working hours | SDIVI | DEC | 5(2) | DEC3_2 | ||||
SSOLE | Planned Working Time Retention Measured in Working Hours | P01B_SOLLEB | DEC | 5(2) | DEC3_2 | ||||
SDIVE | Divisor: Working Hours Retention | P01B_DIVIEB | DEC | 5(2) | DEC3_2 | ||||
SSOLV | Planned Working Time Advance Measured in Working Hours | P01B_SOLLVO | DEC | 5(2) | DEC3_2 | ||||
SDIVV | Divisor: Working Hours Advance | P01B_DIVIVO | DEC | 5(2) | DEC3_2 | ||||
ABART | Employee subgroup grouping for personnel calculation rule | ABRAR | CHAR | 1 | Assigned to domain | ABRAR | |||
MESAZ | Minimum Remuneration Hours | P01B_MESTD | DEC | 7(2) | ANZHL | ||||
MESKZ | Reduction Hours for Minimum Remuneration Hours | P01B_MESKZ | DEC | 15(2) | PRANZHL | ||||
MESUK | Minimum Remuneration Hours - Not Reduced | P01B_MESUK | DEC | 15(2) | PRANZHL | ||||
ISTVO | Actual Hours for Advance | P01B_ISTVO | DEC | 15(2) | PRANZHL | ||||
VORKZ | Reduction Hours for Advance Hours | P01B_VORKZ | DEC | 15(2) | PRANZHL | ||||
VORAI | Advance Hours from Actual | P01B_VORAI | DEC | 15(2) | PRANZHL | ||||
SVEAZ | Number of Hours before Retention Amount | P01B_STDVE | DEC | 7(2) | ANZHL | ||||
SVEKZ | Reduction Hours for Hours before Retained Hours | P01B_SVEKZ | DEC | 15(2) | PRANZHL | ||||
SVEUK | Hours before Retained Hours Unreduced | P01B_SVEUK | DEC | 15(2) | PRANZHL | ||||
ISTEI | Actual Hours for Retained Hours | P01B_ISTEI | DEC | 15(2) | PRANZHL | ||||
EINAI | Retained Hours from Actual Hours | P01B_EINAI | DEC | 15(2) | PRANZHL | ||||
EAMAZ | Retained Hours from Overtime | P01B_EAMAZ | DEC | 15(2) | PRANZHL | ||||
KNZMA | Calculation of Overtime | P01B_KNZMA | CHAR | 1 | P01B_MAKNZ | ||||
MSVMA | Maximum Number of Retained Hours for Overtime Calculation | P01B_MSVMA | DEC | 7(2) | ANZHL | ||||
MEAIS | Actual Hours for Overtime | P01B_MEAIST | DEC | 15(2) | PRANZHL | ||||
MEAAZ | Number of Overtime Hours | P01B_MEAMEA | DEC | 15(2) | PRANZHL | ||||
MEALG | Wage Type for Overtime | P01B_LAMEH | CHAR | 4 | Assigned to domain | LGART | |||
MMSTD | Maximum Retention Hours per Month | P01B_MMSTD | DEC | 7(2) | ANZHL | ||||
MMVST | Maximum Advance Hours per Month | P01B_MMVST | DEC | 7(2) | ANZHL | ||||
MBSTD | Maximum Retention Hours | P01B_MBSTD | DEC | 7(2) | ANZHL | ||||
MBSTE | One-Time Retention Limit | P01B_MBSTE | DEC | 7(2) | ANZHL | ||||
EINKG | Number of Retained Hours is Unlimited | P01B_EINKG | CHAR | 1 | XFELD | ||||
MVSTD | Maximum Advance Hours | P01B_MVSTD | DEC | 7(2) | ANZHL | ||||
VORKG | Number of Advance Hours is Unlimited | P01B_VORKG | CHAR | 1 | XFELD | ||||
EINKP | Retention Limit | P01B_EINKP | DEC | 15(2) | PRANZHL | ||||
VORKP | Limit Advance | P01B_VORKP | DEC | 15(2) | PRANZHL | ||||
VOBTR | Constant Advance Amount per Hour | P01B_VOBTR | CURR | 9(2) | BETRG | ||||
EBBTR | Constant Retention Amount per Hour | P01B_EBBTR | CURR | 9(2) | BETRG | ||||
RDTYP | Rounding Type - Data Element Payroll Acocunting Constr. Ind. | P01B_RDTYP | CHAR | 2 | Assigned to domain | RDTYP | |||
VAIKP | NOT USED / Advance Hours from Actual Hours Capped | P01B_VAIKP | DEC | 15(2) | PRANZHL | ||||
EAIKP | NOT USED / Retained Hours from Actual Hours Reduced | P01B_EAIKP | DEC | 15(2) | PRANZHL | ||||
EAMKP | NOT USED / Retained Hours from Overtime Reduced | P01B_EAMKP | DEC | 15(2) | PRANZHL | ||||
SWAGL | NOT USED / Adjust Working Time Account | P01B_SWAGL | CHAR | 1 | XFELD | ||||
VASTD | Preparation Hours/Minimum Adv. Benefit for Winter Comp. | P01B_VASTD | DEC | 9(2) | DEC7_2 | ||||
LAWAV | Wage Type for Advance with Winter Compensation Processing | P01B_LAWAV | CHAR | 4 | Assigned to domain | LGART | |||
LAWAW | Storage Wage Type Advance Hours for WC from Working Time Acc | P01B_LAWAW | CHAR | 4 | Assigned to domain | LGART |
Key field | Non-key field |
How do I retrieve data from SAP structure PTDBJ using ABAP code?
As PTDBJ 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 PTDBJ as there is no data to select.How to access SAP table PTDBJ
Within an ECC or HANA version of SAP you can also view further information about PTDBJ 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