SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Basic Functions(FI-SL-SL) SAP FI

MGBUKF80 SAP ABAP INCLUDE - Formroutinen mit Buchstaben A beginnend







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


ABAP code to call this SAP report using the submit statement

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.






SUBMIT MGBUKF80. "Basic submit
SUBMIT MGBUKF80 AND RETURN. "Return to original report after report execution complete
SUBMIT MGBUKF80 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


INCLUDES used within this REPORT MGBUKF80

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

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.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name MGBUKF80 or its description.