RGBUK SAP (Table for Module Pool SAPMGBUK) Structure details
Description: Table for Module Pool SAPMGBUK
Structure field list including key, data, relationships and ABAP select examples
RGBUK 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 "Table for Module Pool SAPMGBUK" 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_RGBUK TYPE RGBUK.
The RGBUK table consists of various fields, each holding specific information or linking keys about Table for Module Pool SAPMGBUK data available in SAP. These include DATE (Posting Date in the Document), MLPERIOD (Spec. period/carry-forward period), MLYEAR (Spec. period (Year)), POPER (Posting period).. 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 RGBUK 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 |
DOCNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
DATE | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
MLPERIOD | Spec. period/carry-forward period | SOPER_D | CHAR | 3 | CHAR3 | ||||
MLYEAR | Spec. period (Year) | SOGJA | NUMC | 4 | GJAHR | GJAHR | |||
POPER | Posting period | POPER | NUMC | 3 | POPER | POPR | |||
RYEAR | Fiscal year | RYEAR | NUMC | 4 | GJAHR | GJAHR | GFY | ||
RUNIT_FLAG | Indicator: Enter quantities? | RUNFL | CHAR | 1 | XFELD | ||||
AUNIT_FLAG | Indicator: Additional quantities desired? | AUNFL | CHAR | 1 | XFELD | ||||
UNIT_TEXT | Unit of Measurement Text (Maximum 10 Characters) | MSEHT | CHAR | 10 | TEXT10 | ||||
AUNIT_TEXT | Unit of Measurement Text (Maximum 10 Characters) | MSEHT | CHAR | 10 | TEXT10 | ||||
LINE_NR | Line item | LINNR | NUMC | 3 | NUM3 | ||||
C_SIDATA | Line item | LINNR | NUMC | 3 | NUM3 | ||||
S_SIKEY | Coding line | KOZNR | NUMC | 3 | NUM3 | ||||
C_SIKEY | Coding line | KOZNR | NUMC | 3 | NUM3 | ||||
LOCAL_RATE | Exchange rate local currency | LRA11 | DEC | 9(5) | EXCRT | UKURS | |||
EXP_LC | Currency unit | EXP04 | NUMC | 4 | NUM04 | ||||
VT_TOTAL | Value in Transaction Currency | VTCUR9 | CURR | 17(2) | WERTV9 | ||||
GROUP_RATE | Exchange rate group currency | GRA11 | DEC | 9(5) | EXCRT | UKURS | |||
EXP_GC | Currency unit | EXP04 | NUMC | 4 | NUM04 | ||||
VL_TOTAL | Value in local currency | VLCUR9 | CURR | 17(2) | WERTV9 | ||||
VG_TOTAL | Value in group currency | VGCUR9 | CURR | 17(2) | WERTV9 | ||||
GCURR | Additional currency | GCURR_A | CUKY | 5 | TCURC | WAERS | GGC | ||
LCURR | Currency key of the local currency | LCURR | CUKY | 5 | TCURC | WAERS | GLC | ||
O_D01 | Text for additional account assignment | TZUSK | CHAR | 45 | TEXT45 | ||||
O_V01 | Value of Additional Account Assignment | WZUSK | CHAR | 24 | CHAR24 | ||||
O_D02 | Text for additional account assignment | TZUSK | CHAR | 45 | TEXT45 | ||||
O_V02 | Value of Additional Account Assignment | WZUSK | CHAR | 24 | CHAR24 | ||||
O_D03 | Text for additional account assignment | TZUSK | CHAR | 45 | TEXT45 | ||||
O_V03 | Value of Additional Account Assignment | WZUSK | CHAR | 24 | CHAR24 | ||||
O_D04 | Text for additional account assignment | TZUSK | CHAR | 45 | TEXT45 | ||||
O_V04 | Value of Additional Account Assignment | WZUSK | CHAR | 24 | CHAR24 | ||||
O_D05 | Text for additional account assignment | TZUSK | CHAR | 45 | TEXT45 | ||||
O_V05 | Value of Additional Account Assignment | WZUSK | CHAR | 24 | CHAR24 | ||||
O_D06 | Text for additional account assignment | TZUSK | CHAR | 45 | TEXT45 | ||||
O_V06 | Value of Additional Account Assignment | WZUSK | CHAR | 24 | CHAR24 | ||||
O_D07 | Text for additional account assignment | TZUSK | CHAR | 45 | TEXT45 | ||||
O_V07 | Value of Additional Account Assignment | WZUSK | CHAR | 24 | CHAR24 | ||||
O_D08 | Text for additional account assignment | TZUSK | CHAR | 45 | TEXT45 | ||||
O_V08 | Value of Additional Account Assignment | WZUSK | CHAR | 24 | CHAR24 | ||||
O_D09 | Text for additional account assignment | TZUSK | CHAR | 45 | TEXT45 | ||||
O_V09 | Value of Additional Account Assignment | WZUSK | CHAR | 24 | CHAR24 | ||||
O_D10 | Text for additional account assignment | TZUSK | CHAR | 45 | TEXT45 | ||||
O_V10 | Value of Additional Account Assignment | WZUSK | CHAR | 24 | CHAR24 | ||||
UQUANT1 | Unit of measure | UQUANT1 | CUKY | 5 | Assigned to domain | WAERS | |||
UQUANT2 | Unit of Measure | UQUANT2 | CUKY | 5 | Assigned to domain | WAERS | |||
VQUANT1 | Quantity | VQUANT1 | CURR | 15(2) | WERTV8 | ||||
VQUANT2 | Additional Quantity | VQUANT2 | CURR | 15(2) | WERTV8 | ||||
HW_10 | Character Field Length = 10 | CHAR10 | CHAR | 10 | CHAR10 | ||||
HW_20 | Char 20 | CHAR20 | CHAR | 20 | CHAR20 |
Key field | Non-key field |
How do I retrieve data from SAP structure RGBUK using ABAP code?
As RGBUK 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 RGBUK as there is no data to select.How to access SAP table RGBUK
Within an ECC or HANA version of SAP you can also view further information about RGBUK 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