SAP Reports / Programs | Financial Accounting | Special Purpose Ledger | Information System(FI-SL-IS) SAP FI

FGRWGF52 SAP ABAP INCLUDE - documentation and ABAP source code







FGRWGF52 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 FGRWGF52 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 FGRWGF52. "Basic submit
SUBMIT FGRWGF52 AND RETURN. "Return to original report after report execution complete
SUBMIT FGRWGF52 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 FGRWGF52

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:

K_KOKRS_READ CALL FUNCTION 'K_KOKRS_READ' EXPORTING kokrs = l_kokrs IMPORTING e_tka01 = l_tka01 EXCEPTIONS not_found = 1 not_found_gjahr = 2 OTHERS = 3.

MESSAGE_STORE * CALL FUNCTION 'MESSAGE_STORE' * EXPORTING * arbgb = 'KM' * msgty = 'E' * msgv1 = l_kokrs * txtnr = 025 * EXCEPTIONS * OTHERS = 3.

G_SET_READ_VARIABLE CALL FUNCTION 'G_SET_READ_VARIABLE' EXPORTING index = l_setindex IMPORTING variable = l_variable.

G_SET_READ_INDEXED CALL FUNCTION 'G_SET_READ_INDEXED' EXPORTING index = l_setindex IMPORTING header = l_set_header.

KE_PROFIT_CENTER_CHECK CALL FUNCTION 'KE_PROFIT_CENTER_CHECK' EXPORTING prctr = l_rprctr test_kokrs = l_kokrs read_text = ' ' EXCEPTIONS not_found = 1 not_defined_for_date = 2 no_kokrs_for_bukrs = 3 parameter_mismatch = 4 prctr_locked = 5 not_defined_for_bukrs = 6 OTHERS = 7.

MESSAGE_STORE * CALL FUNCTION 'MESSAGE_STORE' * EXPORTING * arbgb = 'KM' * msgty = 'E' * msgv1 = l_rprctr * msgv2 = l_kokrs * txtnr = 004 * EXCEPTIONS * OTHERS = 3.

K_RACCT_SINGLE_CHECK_WO_DATE CALL FUNCTION 'K_RACCT_SINGLE_CHECK_WO_DATE' "Note 339532 EXPORTING i_kokrs = l_kokrs i_racct = l_racct EXCEPTIONS not_valid = 1 OTHERS = 2.

MESSAGE_STORE * CALL FUNCTION 'MESSAGE_STORE' * EXPORTING * arbgb = 'KM' * msgty = 'E' * msgv1 = l_racct * txtnr = 540 * EXCEPTIONS * OTHERS = 3.

K_TKVS_READ CALL FUNCTION 'K_TKVS_READ' EXPORTING version = l_rvers EXCEPTIONS not_found = 1 OTHERS = 2.

MESSAGE_STORE * CALL FUNCTION 'MESSAGE_STORE' * EXPORTING * arbgb = 'KM' * msgty = 'E' * msgv1 = l_rvers * txtnr = 886 * EXCEPTIONS * OTHERS = 3.



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 FGRWGF52 or its description.