MGBUKF80 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.
If you would like to execute this report or see the full code listing simply enter MGBUKF80 into the relevant SAP transactions such as SE38 or SE80
This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
NUMBER_GET_NEXT CALL FUNCTION 'NUMBER_GET_NEXT' EXPORTING OBJECT = NBR_OBJECT SUBOBJECT = SUBOBJ NR_RANGE_NR = NBR_DOCTY-NORNG TOYEAR = GD_YEAR QUANTITY = QUANTITY IMPORTING NUMBER = GD_DOCNR QUANTITY = QUANTITY RETURNCODE = RETURNCODE EXCEPTIONS INTERVAL_NOT_FOUND = 01 NUMBER_RANGE_NOT_INTERN = 02 OBJECT_NOT_FOUND = 03 QUANTITY_IS_0 = 04 OTHERS = 08.
NUMBER_GET_INFO CALL FUNCTION 'NUMBER_GET_INFO' EXPORTING NR_RANGE_NR = NBR_DOCTY-NORNG OBJECT = NBR_OBJECT SUBOBJECT = SUBOBJ TOYEAR = DOCUMENT_YEAR IMPORTING INTERVAL = NBR_INTERVAL EXCEPTIONS OTHERS = 8.
G_GIVE_GLEDGER CALL FUNCTION 'G_GIVE_GLEDGER' TABLES ILEDGER = ILEDGER.
G_GIVE_GLEDGER CALL FUNCTION 'G_GIVE_GLEDGER' TABLES ILEDGER = ILEDGER.
NUMBER_CHECK CALL FUNCTION 'NUMBER_CHECK' EXPORTING OBJECT = NBR_OBJECT SUBOBJECT = SUBOBJ NR_RANGE_NR = NBR_DOCTY-NORNG TOYEAR = GD_YEAR NUMBER = GD_DOCNR IMPORTING RETURNCODE = RETURNCODE EXCEPTIONS INTERVAL_NOT_FOUND = 01 NUMBER_RANGE_NOT_EXTERN = 02 OBJECT_NOT_FOUND = 03 OTHERS = 08.
NUMBER_RANGE_OBJECT_READ CALL FUNCTION 'NUMBER_RANGE_OBJECT_READ' EXPORTING OBJECT = NBR_OBJECT LANGUAGE = SY-LANGU IMPORTING OBJECT_ATTRIBUTES = INRO.
G_TABLE_READ CALL FUNCTION 'G_TABLE_READ' EXPORTING TABLE = T800A-TAB IMPORTING TABLE_ATTR = DD02V EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
G_GIVE_GLEDGER CALL FUNCTION 'G_GIVE_GLEDGER' TABLES ILEDGER = ILEDGER.
G_PERIOD_GET * call function 'G_PERIOD_GET' * exporting * date = rgbuk-date * bukrs = glu1-bukrs * importing * period = sidata-poper * year = sidata-ryear * exceptions * others = 4.
G_GIVE_GLEDGER * call function 'G_GIVE_GLEDGER' * tables * iledger = iledger.
BUKRS_AUTHORITY * CALL FUNCTION 'BUKRS_AUTHORITY' * EXPORTING BUCHUNGSKREIS = T001-BUKRS.
G_TEXT_FOR_CT_GET CALL FUNCTION 'G_TEXT_FOR_CT_GET' EXPORTING CT = '10' IMPORTING TEXT_10 = RGBUK-HW_10 TEXT_20 = RGBUK-HW_20.
BUKRS_AUTHORITY * CALL FUNCTION 'BUKRS_AUTHORITY' * EXPORTING BUCHUNGSKREIS = T001-BUKRS.
G_TEXT_FOR_CT_GET CALL FUNCTION 'G_TEXT_FOR_CT_GET' EXPORTING CT = '60' IMPORTING TEXT_10 = RGBUK-HW_10 TEXT_20 = RGBUK-HW_20.
G_PERIOD_GET * call function 'G_PERIOD_GET' * exporting * date = rgbuk-date * rcomp = glu1-rcomp * importing * period = sidata-poper * year = sidata-ryear * exceptions * others = 4.
G_GIVE_GLEDGER * call function 'G_GIVE_GLEDGER' * tables * iledger = iledger.
GL_USER_DATA_GET CALL FUNCTION 'GL_USER_DATA_GET' EXPORTING OWNER = GC_OWNER NAME = P_NAME IMPORTING VALUE = P_VALUE EXCEPTIONS INVALID_OWNER = 1 NAME_NOT_FOUND = 2.
GL_USER_DATA_SET CALL FUNCTION 'GL_USER_DATA_SET' EXPORTING OWNER = GC_OWNER NAME = P_NAME VALUE = P_VALUE.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.