PC2GB SAP (Payroll results: Garnishment debt) Structure details
Description: Payroll results: Garnishment debt
Structure field list including key, data, relationships and ABAP select examples
PC2GB 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 "Payroll results: Garnishment debt" 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_PC2GB TYPE PC2GB.
The PC2GB table consists of various fields, each holding specific information or linking keys about Payroll results: Garnishment debt data available in SAP. These include OBJPS (Garnishment: OBJPS by which debts are distinguished), DBCOD (Debt Code), LGART (Wage type for the debt), CRCOD (Code for calculation rule).. 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 PC2GB 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 |
IONUM | Case Number (Internal) for Garnishment Order | P_IONUMR | NUMC | 4 | |||||
OBJPS | Garnishment: OBJPS by which debts are distinguished | P_GAROBJPS | CHAR | 2 | OBJPS | ||||
DBCOD | Debt Code | P_DBCODE | CHAR | 2 | |||||
LGART | Wage type for the debt | P_DBLGAG | CHAR | 4 | Assigned to domain | LGART | |||
CRCOD | Code for calculation rule | P_CRCODG | CHAR | 3 | Assigned to domain | P_CRCODG | |||
CRSPY | Should special pay be excluded from garnishment? | P_CRSPYG | CHAR | 1 | P_GXFELD | ||||
CRARR | Should arrears be accumulated indefinitely? | P_CRARRG | CHAR | 1 | P_GXFELD | ||||
INSID | Garnishment: Insert indicator for payroll result of debt | P_GARINSID | CHAR | 1 | P_GARINSID | ||||
IDBAL | Amount Payable Total | P_IDBAL | CURR | 8(2) | PG_CURR | ||||
IDOPA | Amount Ongoing Payment | P_IDOPA | CURR | 8(2) | PG_CURR | ||||
IDOPU | Calculation Unit for the Debt | P_IDOPU | CHAR | 1 | P_IDOPU | ||||
PROPA | Percentage Ongoing Payment | P_PROPA | DEC | 4 | DEC4 | ||||
BAOPA | Basis for Ongoing Payment | P_BAOPA | CHAR | 1 | B_BAOPA | ||||
IDCOS | Amount Cost | P_IDCOS | CURR | 8(2) | PG_CURR | ||||
PRCOS | Percentage Cost | P_PRCOS | DEC | 4 | DEC4 | ||||
BACOS | Basis Cost | P_BACOS | CHAR | 1 | P_BACOS | ||||
ABPAY | Garnishment: paid balance | P_GABPAY | CURR | 11(2) | |||||
ABREM | Garnishment: remaining balance | P_GABREM | CURR | 11(2) | |||||
ACPRP | Garnishment: amount paid in current payroll period | P_GACPRP | CURR | 11(2) | |||||
AMTOD | Garnishment: amount paid from beginning of month to date | P_GAMTOD | CURR | 11(2) | |||||
AYTOD | Garnishment: amount paid from beginning of year to date | P_GAYTOD | CURR | 11(2) | |||||
ATTOD | Garnishment: total amount paid to date | P_GATTOD | CURR | 11(2) | |||||
DMTOD | Garnishment: difference accumulated month to date | P_GDMTOD | CURR | 11(2) | |||||
DMTDL | Garnishment: difference accumulated month to date in last PP | P_GDMTDL | CURR | 11(2) | |||||
DMAIN | Garn.: Diff between amount requested and paid for main debt | P_GDMAIN | CURR | 11(2) | |||||
DARRS | Garnishment: Arrears accumulated indefinitely | P_GDARRS | CURR | 11(2) | |||||
AREQR | Garnishment: amount requested in current payroll run | P_GAREQR | CURR | 11(2) | |||||
APNOW | Garnishment: amount paid now | P_GAPNOW | CURR | 11(2) | |||||
APPRE | Garnishment: amount paid for previous higher-priority debts | P_GAPPRE | CURR | 11(2) | |||||
APADD | Garnishment: amount paid for additional payment | P_GAPADD | CURR | 11(2) | |||||
APNXM | Garnishment: amount paid from completely non-exempt money | P_GAPNXM | CURR | 11(2) | |||||
APVEN | Garnishment: amount paid to vendor | P_GAPVEN | CURR | 11(2) | |||||
BCURR | Current Basis for Garnishments | P_BGCURR | CURR | 11(2) | |||||
GCURR | Garnishment: current gross | P_GGCURR | CURR | 11(2) | |||||
GCPRP | Garnishment: gross summed over current payroll period | P_GGCPRP | CURR | 11(2) | |||||
GMTOD | Garnishment: gross summed month to date | P_GGMTOD | CURR | 11(2) | |||||
NCURR | Garnishment: current net | P_GNCURR | CURR | 11(2) | |||||
NCPRP | Garnishment: net summed over current payroll period | P_GNCPRP | CURR | 11(2) | |||||
NMTOD | Garnishment: net summed month to date | P_GNMTOD | CURR | 11(2) | |||||
XCURR | Garnishment: current non-exempt amount | P_GXCURR | CURR | 11(2) | |||||
XXTND | Garnishment: extended non-exempt amount | P_GXXTND | CURR | 11(2) | |||||
NXUNA | Unit of the non-exempt amount | P_NXUNA | CHAR | 1 | P_NXUNA | ||||
IGRNP | Garnishment: indicator that a payment has been made | P_GIGRNP | CHAR | 1 | XFELD | ||||
DBPOS | Position of the debt | P_DBPOS | NUMC | 2 | |||||
RECSE | Special cases for relation of debt to other debts | P_RECSE | CHAR | 1 | P_RECSE | ||||
RESID | Indicator on how debt is sorted in relation to other debts | P_RESID | CHAR | 1 | P_RESID | ||||
REWID | Indicator on how debt is weighted in relation to other debts | P_REWID | CHAR | 1 | P_REWID | ||||
TCPRP | Garn.: total paid by higher-priority debts in current PayPer | P_GTCPRP | CURR | 11(2) | |||||
TMTOD | Garn.: total paid by higher-priority debts in month | P_GTMTOD | CURR | 11(2) | |||||
EXPNT | Garnishment payroll: Pointer to entry in ext. table for debt | P_EXPNT | RAW | 2 | P_EXPNT |
Key field | Non-key field |
How do I retrieve data from SAP structure PC2GB using ABAP code?
As PC2GB 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 PC2GB as there is no data to select.How to access SAP table PC2GB
Within an ECC or HANA version of SAP you can also view further information about PC2GB 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