GRIR_ACC SAP (Account Assignment Fields for GR/IR Clearing Account Maint.) Structure details

Dictionary Type: Structure
Description: Account Assignment Fields for GR/IR Clearing Account Maint.




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




Structure field list including key, data, relationships and ABAP select examples

GRIR_ACC 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 "Account Assignment Fields for GR/IR Clearing Account Maint." 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_GRIR_ACC TYPE GRIR_ACC.

The GRIR_ACC table consists of various fields, each holding specific information or linking keys about Account Assignment Fields for GR/IR Clearing Account Maint. data available in SAP. These include ANLN1 (Main Asset Number), ANLN2 (Asset Subnumber), AUFNR (Order Number), DABRZ (Reference Date for Settlement).. 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 (character-type or numeric)


SAP GRIR_ACC 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
KNTTPAccount Assignment Category KNTTPCHAR1Assigned to domainKNTTPKNT
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
ANLN2Asset Subnumber ANLN2CHAR4Assigned to domainALPHAANLN2AN2
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
DABRZReference Date for Settlement DABRBEZDATS8DDAT
FISTLFunds Center FISTLCHAR16Assigned to domainFISTLFIS
FIPOSCommitment Item FIPOSCHAR14Assigned to domainFIPOSFIP
FKBERFunctional Area FKBERCHAR16Assigned to domainFKBERFBE
GEBERFund BP_GEBERCHAR10Assigned to domainBP_GEBERFIC
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
IMKEYInternal Key for Real Estate Object IMKEYCHAR8IMKEY
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
PAOBJNRProfitability Segment Number (CO-PA) RKEOBJNRNUMC10RKEOBJNR
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
SAKTOG/L Account Number SAKNRCHAR10Assigned to domainALPHASAKNRSAKC_SAKNR
SAKNRG/L Account Number SAKNRCHAR10Assigned to domainALPHASAKNRSAKC_SAKNR
TXJCDTax Jurisdiction TXJCDCHAR15Assigned to domainTXJCDTXJ
VBELNSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
VBELPSales document item VBELPNUMC6Assigned to domainPOSNR
VETENDelivery Schedule Line Number ETENRNUMC4Assigned to domainETENR
VPTNRPartner account number JV_PARTCHAR10Assigned to domainALPHAKUNNR
LSTARActivity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
PRZNRBusiness Process CO_PRZNRCHAR12Assigned to domainALPHACO_PRZNRKWP
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
APLZLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
NPLNRNetwork Number for Account Assignment NPLNRCHAR12Assigned to domainALPHAAUFNRNET
VORNROperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
OBJECTObject for Business Transaction CKML_OBJECTCHAR40CHAR40
KONTYAccount assignment category KONTYCHAR2OBARTJ_OBART_LD
EMPGEGeneral settlement receiver ABR_EMPCHAR35ABR_EMP
ITEXTBusiness entity identification XWETEXTCHAR30XMBEZ
WEMPFGoods Recipient/Ship-To Party WEMPFCHAR12WEMPF
ABLADUnloading Point ABLADCHAR25TEXT25
KO_GSBERBusiness area reported to the partner GSBER_GPCHAR4Assigned to domainGSBER
KO_PARGBassumed business area of the business partner PARGB_GPCHAR4Assigned to domainGSBER
KO_PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
KO_PPRCTRPartner Profit Center PPRCTRCHAR10Assigned to domainALPHAPRCTRPPC
BUDGET_PDFM: Budget Period FM_BUDGET_PERIODCHAR10Assigned to domainFM_BUDGET_PERIODBUDPER

Key field Non-key field



How do I retrieve data from SAP structure GRIR_ACC using ABAP code?

As GRIR_ACC 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 GRIR_ACC as there is no data to select.

How to access SAP table GRIR_ACC

Within an ECC or HANA version of SAP you can also view further information about GRIR_ACC 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!