PC2GB SAP (Payroll results: Garnishment debt) Structure details

Dictionary Type: Structure
Description: Payroll results: Garnishment debt




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




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
IONUMCase Number (Internal) for Garnishment Order P_IONUMRNUMC4
OBJPSGarnishment: OBJPS by which debts are distinguished P_GAROBJPSCHAR2OBJPS
DBCODDebt Code P_DBCODECHAR2
LGARTWage type for the debt P_DBLGAGCHAR4Assigned to domainLGART
CRCODCode for calculation rule P_CRCODGCHAR3Assigned to domainP_CRCODG
CRSPYShould special pay be excluded from garnishment? P_CRSPYGCHAR1P_GXFELD
CRARRShould arrears be accumulated indefinitely? P_CRARRGCHAR1P_GXFELD
INSIDGarnishment: Insert indicator for payroll result of debt P_GARINSIDCHAR1P_GARINSID
IDBALAmount Payable Total P_IDBALCURR8(2) PG_CURR
IDOPAAmount Ongoing Payment P_IDOPACURR8(2) PG_CURR
IDOPUCalculation Unit for the Debt P_IDOPUCHAR1P_IDOPU
PROPAPercentage Ongoing Payment P_PROPADEC4DEC4
BAOPABasis for Ongoing Payment P_BAOPACHAR1B_BAOPA
IDCOSAmount Cost P_IDCOSCURR8(2) PG_CURR
PRCOSPercentage Cost P_PRCOSDEC4DEC4
BACOSBasis Cost P_BACOSCHAR1P_BACOS
ABPAYGarnishment: paid balance P_GABPAYCURR11(2)
ABREMGarnishment: remaining balance P_GABREMCURR11(2)
ACPRPGarnishment: amount paid in current payroll period P_GACPRPCURR11(2)
AMTODGarnishment: amount paid from beginning of month to date P_GAMTODCURR11(2)
AYTODGarnishment: amount paid from beginning of year to date P_GAYTODCURR11(2)
ATTODGarnishment: total amount paid to date P_GATTODCURR11(2)
DMTODGarnishment: difference accumulated month to date P_GDMTODCURR11(2)
DMTDLGarnishment: difference accumulated month to date in last PP P_GDMTDLCURR11(2)
DMAINGarn.: Diff between amount requested and paid for main debt P_GDMAINCURR11(2)
DARRSGarnishment: Arrears accumulated indefinitely P_GDARRSCURR11(2)
AREQRGarnishment: amount requested in current payroll run P_GAREQRCURR11(2)
APNOWGarnishment: amount paid now P_GAPNOWCURR11(2)
APPREGarnishment: amount paid for previous higher-priority debts P_GAPPRECURR11(2)
APADDGarnishment: amount paid for additional payment P_GAPADDCURR11(2)
APNXMGarnishment: amount paid from completely non-exempt money P_GAPNXMCURR11(2)
APVENGarnishment: amount paid to vendor P_GAPVENCURR11(2)
BCURRCurrent Basis for Garnishments P_BGCURRCURR11(2)
GCURRGarnishment: current gross P_GGCURRCURR11(2)
GCPRPGarnishment: gross summed over current payroll period P_GGCPRPCURR11(2)
GMTODGarnishment: gross summed month to date P_GGMTODCURR11(2)
NCURRGarnishment: current net P_GNCURRCURR11(2)
NCPRPGarnishment: net summed over current payroll period P_GNCPRPCURR11(2)
NMTODGarnishment: net summed month to date P_GNMTODCURR11(2)
XCURRGarnishment: current non-exempt amount P_GXCURRCURR11(2)
XXTNDGarnishment: extended non-exempt amount P_GXXTNDCURR11(2)
NXUNAUnit of the non-exempt amount P_NXUNACHAR1P_NXUNA
IGRNPGarnishment: indicator that a payment has been made P_GIGRNPCHAR1XFELD
DBPOSPosition of the debt P_DBPOSNUMC2
RECSESpecial cases for relation of debt to other debts P_RECSECHAR1P_RECSE
RESIDIndicator on how debt is sorted in relation to other debts P_RESIDCHAR1P_RESID
REWIDIndicator on how debt is weighted in relation to other debts P_REWIDCHAR1P_REWID
TCPRPGarn.: total paid by higher-priority debts in current PayPer P_GTCPRPCURR11(2)
TMTODGarn.: total paid by higher-priority debts in month P_GTMTODCURR11(2)
EXPNTGarnishment payroll: Pointer to entry in ext. table for debt P_EXPNTRAW2P_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 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!