/SAPDMC/LSGBDC SAP (BI Name: 'Code') Table details

Dictionary Type: Table
Description: BI Name: 'Code'




ABAP Code to SELECT data from /SAPDMC/LSGBDC
Related tables to /SAPDMC/LSGBDC
Access table /SAPDMC/LSGBDC




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

/SAPDMC/LSGBDC is a standard SAP Table which is used to store BI Name: 'Code' data and is available within R/3 SAP systems depending on the version and release level.

The /SAPDMC/LSGBDC table consists of various fields, each holding specific information or linking keys about BI Name: 'Code' data available in SAP. These include RECORDING (Recording with Batch Input Recorder), LINENR (Four Character Line Number), PROGRAMM (BDC module pool), DYNPRO (BDC Screen number).. 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: Not classified


SAP /SAPDMC/LSGBDC 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
PROJECTProject /SAPDMC/LS_PROJECTCHAR15/SAPDMC/LS_KEY
RECORDINGRecording with Batch Input Recorder /SAPDMC/LS_RECORDINGCHAR15/SAPDMC/LS_KEY
LINENRFour Character Line Number /SAPDMC/LS_LINENRNUMC4NUM4
PROGRAMMBDC module pool BDC_PROGCHAR40PROGNAME
DYNPROBDC Screen number BDC_DYNRNUMC4NUM04
DYNBEGINBDC screen start BDC_STARTCHAR1CHAR1
FNAMField name FNAM_____4CHAR132DYNFNAM
FVALBDC field value BDC_FVALCHAR132F4CHAR132
PARNAMEField Name (BI Recording) /SAPDMC/MG_PARNAMECHAR30Assigned to domainFDNAME
PARTXTField Name (BI Recording) /SAPDMC/MG_PARTXTCHAR60AS4TEXT
PARDOMAINUnderlying Domain of Field /SAPDMC/LS_DOMAINCHAR30Assigned to domainDOMNAME
PARDATAELEMENTUnderlying Data Element of Field /SAPDMC/LS_DATAELEMENTCHAR30Assigned to domainROLLNAME
X_POSITIONFlag: Entry Part of Position Structure /SAPDMC/MG_XPOSITIONCHAR1XFELD
TABNAMETable Name TABNAMECHAR30Assigned to domainAS4TABDTB
FIELDNAMEField Name FIELDNAMECHAR30Assigned to domainFDNAMEDFD
FIELDPOSITIONPosition of the field in the table TABFDPOSNUMC4AS4POS
FIELDOFFSETOffset of a field DOFFSETNUMC6DOFFSET
CHECKTABLETable Name TABNAMECHAR30Assigned to domainAS4TABDTB
LENGLength (No. of Characters) DDLENGNUMC6DDLENG
INTLENInternal Length in Bytes INTLENNUMC6DDLENG
OUTPUTLENOutput Length OUTPUTLENNUMC6DDLENG
DATATYPEABAP/4 Dictionary: Screen data type for Screen Painter DYNPTYPECHAR4DATATYPE
INTTYPEABAP data type (C,D,N,...) INTTYPECHAR1INTTYPE
LOWERCASELowercase letters allowed/not allowed LOWERCASECHAR1AS4FLAG

Key field Non-key field



How do I retrieve data from SAP table /SAPDMC/LSGBDC using ABAP code

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

SELECT SINGLE *
FROM /SAPDMC/LSGBDC
INTO CORRESPONDING FIELDS OF WA_/SAPDMC/LSGBDC
WHERE...

How to access SAP table /SAPDMC/LSGBDC

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