SGNBU SAP (GNBU Interface) Structure details
Description: GNBU Interface
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 |
AREWR | GR/IR account clearing value in local currency | AREWR | CURR | 13(2) | WERT7 | ||||
BDIFP | Stock correction tolerance | BDIFP | DEC | 5(2) | PROZS | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
BWAER | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
BWKEY | Valuation Area | BWKEY | CHAR | 4 | Assigned to domain | BWKEY | BWK | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
CURTP | Currency Type and Valuation View | CURTP | CHAR | 2 | CURTP | ||||
DMBTR | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
KUFIX | Indicator: Fixing of Exchange Rate | KUFIX | CHAR | 1 | XFELD | ||||
KURSF | Exchange rate | KURSF | DEC | 9(5) | EXCRT | KURSF | |||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
MENGE | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
MLMAA | Material ledger activated at material level | CK_ML_MAAC | CHAR | 1 | XFELD | ||||
NPEINH | New price unit | NPEINH | DEC | 5 | PACK3 | ||||
NPREI | New price | NPREI | CURR | 11(2) | WERT11 | ||||
POSNR | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
PRAVT | Price change: carried over from previous to current period | PRAVT | CHAR | 1 | XFELD | ||||
PSPNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
PWAER | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
REMNG | Quantity invoiced | REMNG | QUAN | 13(3) | MENG13 | ||||
RETPO | Returns Item | RETPO | CHAR | 1 | XFELD | ||||
REWRT | Invoice value in local currency | REWRT | CURR | 13(2) | WRTV7 | ||||
REWWR | Invoice Amount in Foreign Currency | REWWR | CURR | 13(2) | WERT7 | ||||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
TBTKZ | Indicator: subsequent debit/credit | TBTKZ | CHAR | 1 | TBTKZ | ||||
UMREZ | Numerator for Conversion to Base Units of Measure | UMREZ | DEC | 5 | UMBSZ | ||||
UMREN | Denominator for conversion to base units of measure | UMREN | DEC | 5 | UMBSN | ||||
VBELN | Sales and Distribution Document Number | VBELN | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
VPRSV | Price control indicator | VPRSV | CHAR | 1 | VPRSV | ||||
WAART | Indicates that material is a value-only material | WAART | CHAR | 1 | XFELD | ||||
REPDAT | Invoice Verification date | REPDAT | DATS | 8 | DATUM | ||||
WAERS | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
WEMNG | Quantity of Goods Received | WEMNG | QUAN | 13(3) | MENG13 | ||||
WEPOS | Goods Receipt Indicator | WEPOS | CHAR | 1 | XFELD | ||||
WEUNB | Goods Receipt, Non-Valuated | WEUNB | CHAR | 1 | XFELD | ||||
WEWRT | Value of goods received in local currency | WEWRT | CURR | 13(2) | WERT7 | ||||
WEWWR | Value of goods received in foreign currency | WEWWR | CURR | 13(2) | WERT7 | ||||
XEKBZ | Indicator: Update Purchase Order Delivery Costs | XEKBZ | CHAR | 1 | XFELD | ||||
XRUEJ | Indicator: post to previous year | XRUEJ | CHAR | 1 | XFELD | ||||
XRUEM | Allow Posting to Previous Period (Backposting) | XRUEM | CHAR | 1 | XFELD | ||||
WRBTR | Amount in document currency | WRBTR | CURR | 13(2) | WERT7 | ||||
EREKZ | Final Invoice Indicator | EREKZ | CHAR | 1 | XFELD | ||||
PSTYP | Item Category in Purchasing Document | PSTYP | CHAR | 1 | Assigned to domain | PSTYP | |||
LEBRE | Indicator for Service-Based Invoice Verification | LEBRE | CHAR | 1 | XFELD | ||||
WEREC | Clearing Indicator for GR/IR Posting for External Services | MMWEREC | CHAR | 1 | XFELD | ||||
IVTYP | Origin of a Logistics Invoice Verification Document | IVTYP | CHAR | 1 | IVTYP | ||||
KUDIF | Exchange Rate Difference Amount | KUDIF | CURR | 13(2) | WERT7 | ||||
MENGE_F | Quantity (Floating Point Number - Internal Field) | MENGE_F | FLTP | 16(16) | |||||
REMNG_F | Quantity Share Account Assignment Line for Item | SHARE_F | FLTP | 16(16) | |||||
WEMNG_F | Quantity Share Account Assignment Line for Item | SHARE_F | FLTP | 16(16) | |||||
VRTKZ | Distribution indicator for multiple account assignment | VRTKZ | CHAR | 1 | VRTKZ | ||||
PRDIF00 | Amount in Local Currency | DMBTR | CURR | 13(2) | WERT7 | ||||
WKURS_GR | Exchange Rate | WKURS | DEC | 9(5) | EXCRT | KURSP | |||
WKURS_IR | Exchange Rate | WKURS | DEC | 9(5) | EXCRT | KURSP | |||
KUDIF_GR | Exchange Rate Difference Amount | KUDIF | CURR | 13(2) | WERT7 | ||||
KUDIF_IR | Exchange Rate Difference Amount | KUDIF | CURR | 13(2) | WERT7 | ||||
REWRT_10 | Invoice value in local currency | REWRT | CURR | 13(2) | WRTV7 | ||||
WEWRT_10 | Value of goods received in local currency | WEWRT | CURR | 13(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 asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects