GRIRPOS SAP (GR/IR Items to be Cleared) Structure details
Description: GR/IR Items to be Cleared
Structure field list including key, data, relationships and ABAP select examples
GRIRPOS 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 "GR/IR Items to be Cleared" 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_GRIRPOS TYPE GRIRPOS.
The GRIRPOS table consists of various fields, each holding specific information or linking keys about GR/IR Items to be Cleared data available in SAP. These include EBELP (Item Number of Purchasing Document), LIFNR (Account Number of Vendor or Creditor), EKORG (Purchasing Organization), PSTYP (Item Category in Purchasing Document).. 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: Can Be Enhanced (Deep)
SAP GRIRPOS 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 |
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
EKORG | Purchasing Organization | EKORG | CHAR | 4 | Assigned to domain | EKORG | EKO | ||
PSTYP | Item Category in Purchasing Document | PSTYP | CHAR | 1 | Assigned to domain | PSTYP | |||
BEDAT | Purchase Order Date | BEDAT | DATS | 8 | DATUM | ||||
BEWAE | Purchase order currency | BSTWA | CUKY | 5 | Assigned to domain | WAERS | |||
BUZEI | Number of Line Item Within Accounting Document | BUZEI | NUMC | 3 | BUZEI | BUZ | |||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
RETPO | Returns Item | RETPO | CHAR | 1 | XFELD | ||||
WRBTR | Amount in document currency | WRBTR | CURR | 13(2) | WERT7 | ||||
ANLN1 | Main Asset Number | ANLN1 | CHAR | 12 | Assigned to domain | ALPHA | ANLN1 | AN1 | |
ANLN2 | Asset Subnumber | ANLN2 | CHAR | 4 | Assigned to domain | ALPHA | ANLN2 | AN2 | |
APLZL | Routing number of operations in the order | CO_AUFPL | NUMC | 10 | AUFPL | ||||
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
DABRZ | Reference Date for Settlement | DABRBEZ | DATS | 8 | DDAT | ||||
FIPOS | Commitment Item | FIPOS | CHAR | 14 | Assigned to domain | FIPOS | FIP | ||
FISTL | Funds Center | FISTL | CHAR | 16 | Assigned to domain | FISTL | FIS | ||
FKBER | Functional Area | FKBER | CHAR | 16 | Assigned to domain | FKBER | FBE | ||
GEBER | Fund | BP_GEBER | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
GRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
GSBER | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
IMKEY | Internal Key for Real Estate Object | IMKEY | CHAR | 8 | IMKEY | ||||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
KOSTL | Cost Center | KOSTL | CHAR | 10 | CSKS | ALPHA | KOSTL | KOS | |
KSTRG | Cost Object | KSTRG | CHAR | 12 | Assigned to domain | KSTRG | KTR | ||
PAOBJNR | Profitability Segment Number (CO-PA) | RKEOBJNR | NUMC | 10 | RKEOBJNR | ||||
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
PS_PSP_PNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
RECID | Rules for Issuing an Invoice | RECID | CHAR | 4 | TEXT4 | ||||
SAKNR | G/L Account Number | SAKNR | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | SAK | C_SAKNR |
SGTXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
TXJCD | Tax Jurisdiction | TXJCD | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
VBELP | Sales document item | VBELP | NUMC | 6 | Assigned to domain | POSNR | |||
VPTNR | Partner account number | JV_PART | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | ||
MENGE | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
ZEKKN | Sequential Number of Account Assignment | DZEKKN | NUMC | 2 | NUM02 | ||||
BPMNG | Quantity in Purchase Order Price Unit | BPMNG | QUAN | 13(3) | MENG13 | ||||
XUNPL | Unplanned Account Assignment from Invoice Verification | XUNPL | CHAR | 1 | XFELD | ||||
LSTAR | Activity Type | LSTAR | CHAR | 6 | Assigned to domain | LSTAR | LAR | LART_EMPTY | |
PRZNR | Business Process | CO_PRZNR | CHAR | 12 | Assigned to domain | ALPHA | CO_PRZNR | KWP | |
AUFPL | Routing number of operations in the order | CO_AUFPL | NUMC | 10 | AUFPL | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
BZDAT | Asset value date | BZDAT | DATS | 8 | DATUM | ||||
BNKAN_FW | Delivery costs' share of item value | BNK_ANTEIL | CURR | 13(2) | WERT7 | ||||
XNEGP | Indicator: Negative posting | XNEGP | CHAR | 1 | XFELD | ||||
ERLKZ | Used earmarked funds set to 'Complete' | REFSETERLK | CHAR | 1 | CHAR1_X | ||||
FIKRS | Financial Management Area | FIKRS | CHAR | 4 | Assigned to domain | FIKRS | FIK | ||
KBLNR | Document Number for Earmarked Funds | KBLNR_FI | CHAR | 10 | Assigned to domain | ALPHA | KBLNR | KBL | |
KBLPOS | Earmarked Funds: Document Item | KBLPOS | NUMC | 3 | Assigned to domain | KBLPOS | KBP | ||
PARGB | Trading partner's business area | PARGB | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
PERNR | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
XSKRL | Indicator: Line item not liable to cash discount? | XSKRL | CHAR | 1 | XFELD | ||||
NPLNR | Network Number for Account Assignment | NPLNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | NET | |
VORNR | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
ZUONR | Assignment Number | DZUONR | CHAR | 18 | ZUONR | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
MWART | Tax Type | MWART | CHAR | 1 | MWART | ||||
FWBAS | Tax Base Amount in Document Currency | FWBAS | CURR | 13(2) | WERT7 | ||||
HWBAS | Tax Base Amount in Local Currency | HWBAS | CURR | 13(2) | WERT7 | ||||
ABPER | Settlement period | ABPER_RF | ACCP | 6 | BUPER | ||||
LEDAT | Delivery Creation Date | LEDAT | DATS | 8 | DATUM | ||||
MENGE_F | Quantity (Floating Point Number - Internal Field) | MENGE_F | FLTP | 16(16) | |||||
BPMNG_F | Quantity in PO Price Unit (as Floating Point No. - Int. Fld) | BPMNG_F | FLTP | 16(16) | |||||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
BUDGET_PD | FM: Budget Period | FM_BUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER | ||
MEASURE | Funded Program | FM_MEASURE | CHAR | 24 | Assigned to domain | FM_MEASURE | FM_MEASURE | ||
BWKEY | Valuation Area | BWKEY | CHAR | 4 | Assigned to domain | BWKEY | BWK | ||
BPUMN | Denominator for Conv. of Order Price Unit into Order Unit | BPUMN | DEC | 5 | UMBSN | ||||
BPUMZ | Numerator for Conversion of Order Price Unit into Order Unit | BPUMZ | DEC | 5 | UMBSZ | ||||
HWAER | Local Currency | HWAER | CUKY | 5 | Assigned to domain | WAERS | |||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
POSNR | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
KZBWS | Valuation of Special Stock | KZBWS | CHAR | 1 | KZBWS | ||||
PEINH | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
SELKZ | Selection flag | SELKZ | CHAR | 1 | SELKZ | ||||
KNTTP | Account Assignment Category | KNTTP | CHAR | 1 | Assigned to domain | KNTTP | KNT | ||
HRKFT | Origin Group as Subdivision of Cost Element | HRKFT | CHAR | 4 | Assigned to domain | HRKFT | |||
MATBF | Material in Respect of Which Stock is Managed | MATBF | CHAR | 18 | Assigned to domain | MATN1 | MATNR | ||
WAART | Indicates that material is a value-only material | WAART | CHAR | 1 | XFELD | ||||
ANBWA | Asset Transaction Type | ANBWA | CHAR | 3 | Assigned to domain | BWASL | |||
LNRAN | Sequence number of asset line items in fiscal year | LNRAN | NUMC | 5 | Assigned to domain | LNRAN | |||
KDAUF | Sales Order Number | KDAUF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
KDPOS | Item Number in Sales Order | KDPOS | NUMC | 6 | NUM06 | KPO | |||
KO_GSBER | Business area reported to the partner | GSBER_GP | CHAR | 4 | Assigned to domain | GSBER | |||
KO_PARGB | assumed business area of the business partner | PARGB_GP | CHAR | 4 | Assigned to domain | GSBER | |||
KO_PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
KO_PPRCTR | Partner Profit Center | PPRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PPC | |
XBLNR | Reference Document Number | XBLNR1 | CHAR | 16 | XBLNR1 | ||||
UMREN | Denominator for conversion to base units of measure | UMREN | DEC | 5 | UMBSN | ||||
UMREZ | Numerator for Conversion to Base Units of Measure | UMREZ | DEC | 5 | UMBSZ | ||||
WEBRE | Indicator: GR-Based Invoice Verification | WEBRE | CHAR | 1 | XFELD | ||||
LEBRE | Indicator for Service-Based Invoice Verification | LEBRE | CHAR | 1 | XFELD | ||||
PACKNO | Package Number of Service | PACKNO_EKBE | NUMC | 10 | Assigned to domain | PACKNO | |||
INTROW | Line Number of Service | INTROW_EKBE | NUMC | 10 | INTROW | ||||
SRVPOS | Service number | SRVPOS | CHAR | 18 | Assigned to domain | ALPHA | ASNUM | ||
LFBNR | Document No. of a Reference Document | LFBNR | CHAR | 10 | ALPHA | BELNR | |||
LFGJA | Fiscal Year of Current Period | LFGJA | NUMC | 4 | GJAHR | GJAHR | |||
LFPOS | Item of a Reference Document | LFPOS | NUMC | 4 | MBLPO | ||||
XMACC | Multiple Account Assignment | XMACC | CHAR | 1 | CHAR1 | ||||
STUNR | Step number | STUNR | NUMC | 3 | Assigned to domain | STUNR | |||
ZAEHK | Condition counter | DZAEHK | NUMC | 2 | ZAEHK | ||||
KSCHL | Condition Type | KSCHL | CHAR | 4 | Assigned to domain | KSCHL | VKS | ||
VRTKZ | Distribution indicator for multiple account assignment | VRTKZ | CHAR | 1 | VRTKZ | ||||
XHISTMA | Update Multiple Account Assignment EKBE_MA, EKBZ_MA | XHISTMA | CHAR | 1 | CHAR1 | ||||
AREWB | Clearing Value on GR/IR Account in PO Currency | AREWB | CURR | 13(2) | WERT7 | ||||
T_BZN | 0 | ||||||||
T_LIF | 0 |
Key field | Non-key field |
How do I retrieve data from SAP structure GRIRPOS using ABAP code?
As GRIRPOS 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 GRIRPOS as there is no data to select.How to access SAP table GRIRPOS
Within an ECC or HANA version of SAP you can also view further information about GRIRPOS 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