SGNBU SAP (GNBU Interface) Structure details

Dictionary Type: Structure
Description: GNBU Interface




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




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

SGNBU 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 "GNBU Interface" 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_SGNBU TYPE SGNBU.

The SGNBU table consists of various fields, each holding specific information or linking keys about GNBU Interface data available in SAP. These include BDIFP (Stock correction tolerance), BUKRS (Company Code), BWAER (Currency Key), BWKEY (Valuation Area).. 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 SGNBU 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
AREWRGR/IR account clearing value in local currency AREWRCURR13(2) WERT7
BDIFPStock correction tolerance BDIFPDEC5(2) PROZS
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
BWAERCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
BWKEYValuation Area BWKEYCHAR4Assigned to domainBWKEYBWK
BWTARValuation Type BWTAR_DCHAR10Assigned to domainBWTARBWT
CURTPCurrency Type and Valuation View CURTPCHAR2CURTP
DMBTRAmount in Local Currency DMBTRCURR13(2) WERT7
KUFIXIndicator: Fixing of Exchange Rate KUFIXCHAR1XFELD
KURSFExchange rate KURSFDEC9(5) EXCRTKURSF
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
MENGEQuantity MENGE_DQUAN13(3) MENG13
MLMAAMaterial ledger activated at material level CK_ML_MAACCHAR1XFELD
NPEINHNew price unit NPEINHDEC5PACK3
NPREINew price NPREICURR11(2) WERT11
POSNRItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
PRAVTPrice change: carried over from previous to current period PRAVTCHAR1XFELD
PSPNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
PWAERCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
REMNGQuantity invoiced REMNGQUAN13(3) MENG13
RETPOReturns Item RETPOCHAR1XFELD
REWRTInvoice value in local currency REWRTCURR13(2) WRTV7
REWWRInvoice Amount in Foreign Currency REWWRCURR13(2) WERT7
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
TBTKZIndicator: subsequent debit/credit TBTKZCHAR1TBTKZ
UMREZNumerator for Conversion to Base Units of Measure UMREZDEC5UMBSZ
UMRENDenominator for conversion to base units of measure UMRENDEC5UMBSN
VBELNSales and Distribution Document Number VBELNCHAR10Assigned to domainALPHAVBELNAUN
VPRSVPrice control indicator VPRSVCHAR1VPRSV
WAARTIndicates that material is a value-only material WAARTCHAR1XFELD
REPDATInvoice Verification date REPDATDATS8DATUM
WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
WEMNGQuantity of Goods Received WEMNGQUAN13(3) MENG13
WEPOSGoods Receipt Indicator WEPOSCHAR1XFELD
WEUNBGoods Receipt, Non-Valuated WEUNBCHAR1XFELD
WEWRTValue of goods received in local currency WEWRTCURR13(2) WERT7
WEWWRValue of goods received in foreign currency WEWWRCURR13(2) WERT7
XEKBZIndicator: Update Purchase Order Delivery Costs XEKBZCHAR1XFELD
XRUEJIndicator: post to previous year XRUEJCHAR1XFELD
XRUEMAllow Posting to Previous Period (Backposting) XRUEMCHAR1XFELD
WRBTRAmount in document currency WRBTRCURR13(2) WERT7
EREKZFinal Invoice Indicator EREKZCHAR1XFELD
PSTYPItem Category in Purchasing Document PSTYPCHAR1Assigned to domainPSTYP
LEBREIndicator for Service-Based Invoice Verification LEBRECHAR1XFELD
WERECClearing Indicator for GR/IR Posting for External Services MMWERECCHAR1XFELD
IVTYPOrigin of a Logistics Invoice Verification Document IVTYPCHAR1IVTYP
KUDIFExchange Rate Difference Amount KUDIFCURR13(2) WERT7
MENGE_FQuantity (Floating Point Number - Internal Field) MENGE_FFLTP16(16)
REMNG_FQuantity Share Account Assignment Line for Item SHARE_FFLTP16(16)
WEMNG_FQuantity Share Account Assignment Line for Item SHARE_FFLTP16(16)
VRTKZDistribution indicator for multiple account assignment VRTKZCHAR1VRTKZ
PRDIF00Amount in Local Currency DMBTRCURR13(2) WERT7
WKURS_GRExchange Rate WKURSDEC9(5) EXCRTKURSP
WKURS_IRExchange Rate WKURSDEC9(5) EXCRTKURSP
KUDIF_GRExchange Rate Difference Amount KUDIFCURR13(2) WERT7
KUDIF_IRExchange Rate Difference Amount KUDIFCURR13(2) WERT7
REWRT_10Invoice value in local currency REWRTCURR13(2) WRTV7
WEWRT_10Value of goods received in local currency WEWRTCURR13(2) WERT7

Key field Non-key field



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

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

How to access SAP table SGNBU

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