RGBUK SAP (Table for Module Pool SAPMGBUK) Structure details

Dictionary Type: Structure
Description: Table for Module Pool SAPMGBUK




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




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
DOCNRAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
DATEPosting Date in the Document BUDATDATS8DATUM
MLPERIODSpec. period/carry-forward period SOPER_DCHAR3CHAR3
MLYEARSpec. period (Year) SOGJANUMC4GJAHRGJAHR
POPERPosting period POPERNUMC3POPERPOPR
RYEARFiscal year RYEARNUMC4GJAHRGJAHRGFY
RUNIT_FLAGIndicator: Enter quantities? RUNFLCHAR1XFELD
AUNIT_FLAGIndicator: Additional quantities desired? AUNFLCHAR1XFELD
UNIT_TEXTUnit of Measurement Text (Maximum 10 Characters) MSEHTCHAR10TEXT10
AUNIT_TEXTUnit of Measurement Text (Maximum 10 Characters) MSEHTCHAR10TEXT10
LINE_NRLine item LINNRNUMC3NUM3
C_SIDATALine item LINNRNUMC3NUM3
S_SIKEYCoding line KOZNRNUMC3NUM3
C_SIKEYCoding line KOZNRNUMC3NUM3
LOCAL_RATEExchange rate local currency LRA11DEC9(5) EXCRTUKURS
EXP_LCCurrency unit EXP04NUMC4NUM04
VT_TOTALValue in Transaction Currency VTCUR9CURR17(2) WERTV9
GROUP_RATEExchange rate group currency GRA11DEC9(5) EXCRTUKURS
EXP_GCCurrency unit EXP04NUMC4NUM04
VL_TOTALValue in local currency VLCUR9CURR17(2) WERTV9
VG_TOTALValue in group currency VGCUR9CURR17(2) WERTV9
GCURRAdditional currency GCURR_ACUKY5TCURCWAERSGGC
LCURRCurrency key of the local currency LCURRCUKY5TCURCWAERSGLC
O_D01Text for additional account assignment TZUSKCHAR45TEXT45
O_V01Value of Additional Account Assignment WZUSKCHAR24CHAR24
O_D02Text for additional account assignment TZUSKCHAR45TEXT45
O_V02Value of Additional Account Assignment WZUSKCHAR24CHAR24
O_D03Text for additional account assignment TZUSKCHAR45TEXT45
O_V03Value of Additional Account Assignment WZUSKCHAR24CHAR24
O_D04Text for additional account assignment TZUSKCHAR45TEXT45
O_V04Value of Additional Account Assignment WZUSKCHAR24CHAR24
O_D05Text for additional account assignment TZUSKCHAR45TEXT45
O_V05Value of Additional Account Assignment WZUSKCHAR24CHAR24
O_D06Text for additional account assignment TZUSKCHAR45TEXT45
O_V06Value of Additional Account Assignment WZUSKCHAR24CHAR24
O_D07Text for additional account assignment TZUSKCHAR45TEXT45
O_V07Value of Additional Account Assignment WZUSKCHAR24CHAR24
O_D08Text for additional account assignment TZUSKCHAR45TEXT45
O_V08Value of Additional Account Assignment WZUSKCHAR24CHAR24
O_D09Text for additional account assignment TZUSKCHAR45TEXT45
O_V09Value of Additional Account Assignment WZUSKCHAR24CHAR24
O_D10Text for additional account assignment TZUSKCHAR45TEXT45
O_V10Value of Additional Account Assignment WZUSKCHAR24CHAR24
UQUANT1Unit of measure UQUANT1CUKY5Assigned to domainWAERS
UQUANT2Unit of Measure UQUANT2CUKY5Assigned to domainWAERS
VQUANT1Quantity VQUANT1CURR15(2) WERTV8
VQUANT2Additional Quantity VQUANT2CURR15(2) WERTV8
HW_10Character Field Length = 10 CHAR10CHAR10CHAR10
HW_20Char 20 CHAR20CHAR20CHAR20

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 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!