COOI SAP (Commitments Management: Line Items) Table details

Dictionary Type: Table
Description: Commitments Management: Line Items




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




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

COOI is a standard SAP Table which is used to store Commitments Management: Line Items data and is available within R/3 SAP systems depending on the version and release level.

The COOI table consists of various fields, each holding specific information or linking keys about Commitments Management: Line Items data available in SAP. These include REFBT (Reference document category (conversion exit; c.f. REFBTYP)), REFBN (Reference Document Number), RFPOS (Item number of reference document), RFKNT (Account assignment number of reference 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: A - Application table (master and transaction data)
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP COOI table 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
MANDTClient MANDTCLNT3T000MANDT
REFBTReference document category (conversion exit; c.f. REFBTYP) CO_REFBTYPNUMC3REFBTBELEGTYP
REFBNReference Document Number CO_REFBNCHAR10ALPHABELNR
RFPOSItem number of reference document CC_RFPOSNUMC5NUMC05
RFKNTAccount assignment number of reference document CC_RFKNTNUMC5NUMC05
RFTRMDeadline item of reference document CC_RFTRMNUMC5NUMC05
RFARTReference document type CC_RFARTCHAR1CHAR1
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10LFA1ALPHALIFNRLIFKRED_C
LEDNRLedger for Controlling objects LEDNRCHAR2ALPHALEDNR
OBJNRObject number J_OBJNRCHAR22ONR00J_OBJNRONR
HRKFTCO key subnumber CO_SUBKEYCHAR14Assigned to domainCO_SUBKEY
RFORGReference Organizational Units AWORGCHAR10AWORG
RFTYPReference Transaction AWTYPCHAR5TTYPAWTYP
RFSYSLogical system of source document AWSYSCHAR10TBDLSALPHALOGSYS
VRGNGCO Business Transaction CO_VORGANGCHAR4Assigned to domainJ_VORGANG
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
WRTTPValue Type CO_WRTTPCHAR2CO_WRTTP
VERSNVersion VERSNCHAR3TKA09ALPHACOVERSIKVS
SAKTOCost element SAKTOCHAR10Assigned to domainALPHASAKNR
VBUNDCompany ID of trading partner RASSCCHAR6T880ALPHARCOMPPGS
PARGBTrading partner's business area PARGBCHAR4TGSBGSBERGSB
BEKNZDebit/credit indicator BEKNZCHAR1BEKNZBEKNZ
TWAERTransaction Currency TWAERCUKY5TCURCWAERSFWS
UNAMEUser Name UNAMECHAR12UNAME
BLDATDocument Date CO_BLDATDATS8DATUM
BUDATExpected debit date CO_PODATDATS8DATUM
PERIOPeriod CO_PERIONUMC3PERBLVPE
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
KOKRSControlling Area KOKRSCHAR4TKA01CACCDCAC
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
MATKLMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
SGTXTSegment text CO_SGTXTCHAR50TEXT50
GESMNGPlanned quantity MENGE1QUAN15(3) MENGV8
MEINHUnit of Measure CO_MEINHUNIT3T006CUNITMEINS
MEGBTRTotal Quantity MEGXXXQUAN15(3) MENGV8
MBGBTRTotal quantity entered MBGXXXQUAN15(3) MENGV8
MEINBPosted Unit of Measure MEINBUNIT3T006CUNITMEINS
WKURSExchange Rate WKURSDEC9(5) EXCRTKURSP
ORGWTHPlanned value in local currency WERTH1CURR15(2) WERTV8
WHGBTRTotal value in local currency WHGXXXCURR15(2) WERTV8
ORGWTKPlanned value in controlling area currency WERTK1CURR15(2) WERTV8
WKGBTRTotal Value in Controlling Area Currency WKGXXXCURR15(2) WERTV8
ORGWTTPlanned value in transaction currency WERTT1CURR15(2) WERTV8
WTGBTRTotal Value in Transaction Currency WTGXXXCURR15(2) WERTV8
ORGWTOPlanned value in object currency WERTO1CURR15(2) WERTV8
WOGBTRTotal Value in Object Currency WOGXXXCURR15(2) WERTV8
ORGWTLPlanned value in ledger currency WERTL1CURR15(2) WERTV8
WLGBTRTotal value in ledger currency WLGXXXCURR15(2) WERTV8
LOEKZDeletion Indicator in Purchasing Document ELOEKCHAR1ELOEK
DABRZReference Date for Settlement DABRBEZDATS8DDAT
TIMESTMPSeconds since 1.1.1990,0:00 GMT * 10000 RKE_TSTMPDEC16RKE_TSTMP

Key field Non-key field



How do I retrieve data from SAP table COOI using ABAP code

The following ABAP code Example will allow you to do a basic selection on COOI to SELECT all data from the table
DATA: WA_COOI TYPE COOI.

SELECT SINGLE *
FROM COOI
INTO CORRESPONDING FIELDS OF WA_COOI
WHERE...

How to access SAP table COOI

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