OIB_GOCOMP SAP (Components for Subcontracting) Structure details

Dictionary Type: Structure
Description: Components for Subcontracting




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




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

OIB_GOCOMP 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 "Components for Subcontracting" 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_OIB_GOCOMP TYPE OIB_GOCOMP.

The OIB_GOCOMP table consists of various fields, each holding specific information or linking keys about Components for Subcontracting data available in SAP. These include GLOBAL_COUNTER (Unique number for one line), PARENT (Unique number for one line), MATNR (Material Number), WERKS (Plant).. 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 OIB_GOCOMP 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
GLOBAL_COUNTERUnique number for one line MIGO_GLOBAL_COUNTERNUMC6NUMC6
PARENTUnique number for one line MIGO_GLOBAL_COUNTERNUMC6NUMC6
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
ERFMEUnit of Entry ERFMEUNIT3Assigned to domainCUNITMEINS
ERFMGQuantity in Unit of Entry ERFMGQUAN13(3) MENG13
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
MAT_KDAUFSales Order Number of Valuated Sales Order Stock MAT_KDAUFCHAR10Assigned to domainALPHAVBELNAUN
MAT_KDPOSSales Order Item of Valuated Sales Order Stock MAT_KDPOSNUMC6NUM06KPO
MAT_PSPNRValuated Sales Order Stock WBS Element MAT_PSPNRNUMC8Assigned to domainKONPRPS_POSNR
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
KDAUFSales Order Number KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
KDEINDelivery Schedule for Sales Order KDEINNUMC4NUM04
NPLNRNetwork Number for Account Assignment NPLNRCHAR12Assigned to domainALPHAAUFNRNET
VORNROperation/Activity Number VORNRCHAR4NUMCVVORNRVGN
FIPOSCommitment Item FIPOSCHAR14Assigned to domainFIPOSFIP
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
ANLN2Asset Subnumber ANLN2CHAR4Assigned to domainALPHAANLN2AN2
PAOBJNRProfitability Segment Number (CO-PA) RKEOBJNRNUMC10RKEOBJNR
IMKEYInternal Key for Real Estate Object IMKEYCHAR8IMKEY
GEBERFund BP_GEBERCHAR10Assigned to domainBP_GEBERFIC
FISTLFunds Center FISTLCHAR16Assigned to domainFISTLFIS
FKBERFunctional Area FKBERCHAR16Assigned to domainFKBERFBE
LSTARActivity Type LSTARCHAR6Assigned to domainLSTARLARLART_EMPTY
PRZNRBusiness Process CO_PRZNRCHAR12Assigned to domainALPHACO_PRZNRKWP
KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
MEASUREFunded Program FM_MEASURECHAR24Assigned to domainFM_MEASUREFM_MEASURE
BUDGET_PDFM: Budget Period FM_BUDGET_PERIODCHAR10Assigned to domainFM_BUDGET_PERIODBUDPER
KBLNRDocument Number for Earmarked Funds KBLNR_FICHAR10Assigned to domainALPHAKBLNRKBL
KBLPOSEarmarked Funds: Document Item KBLPOSNUMC3Assigned to domainKBLPOSKBP
AUFPSOrder Item Number CO_POSNRNUMC4CO_POSNR
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
APLZLGeneral counter for order CO_APLZLNUMC8Assigned to domainCO_APLZL
DABRZReference Date for Settlement DABRBEZDATS8DDAT
SERIAL_GLCTemporary item in mat. docmt for subcontracting component SERIAL_GLCNUMC4MBLPOPOS
MWSKZTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
J_1BEXBASEAlternate base amount in document currency J_1BEXBASECURR13(2) WERT7
ABLADUnloading Point ABLADCHAR25TEXT25
EXBWRExternally Entered Posting Amount in Local Currency EXBWRCURR13(2) WERT7
EXVKWExternally Entered Sales Value in Local Currency EXVKWCURR13(2) WERT7
GRUNDReason for Movement MB_GRBEWNUMC4Assigned to domainMB_GRBEW
KONTOG/L Account Number SAKNRCHAR10Assigned to domainALPHASAKNRSAKC_SAKNR
SGTXTItem Text SGTXTCHAR50TEXT50
WEANZNumber of GR/GI Slips to Be Printed WEANZNUMC3NUM3
WEMPFGoods Recipient/Ship-To Party WEMPFCHAR12WEMPF
BYPROCheckbox XFELDCHAR1XFELD
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG

Key field Non-key field



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

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

How to access SAP table OIB_GOCOMP

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