SAP Reports / Programs | Financial Accounting | General Ledger Accounting | Information System(FI-GL-IS) SAP FI

KQST5001 SAP ABAP INCLUDE - Include for RFKQST50 and RFKQST60 List Display / Log







KQST5001 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 KQST5001 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 KQST5001. "Basic submit
SUBMIT KQST5001 AND RETURN. "Return to original report after report execution complete
SUBMIT KQST5001 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Include for RFKQST50 and RFKQST60 List Display / Log


INCLUDES used within this REPORT KQST5001

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:

FI_WT_READ_T059U CALL FUNCTION 'FI_WT_READ_T059U' EXPORTING I_BUKRS = DETAIL_TAB-BUKRS I_TYPE = DETAIL_TAB-WITHT TABLES T_T059U = X_T059U EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

FI_WT_READ_T059Z CALL FUNCTION 'FI_WT_READ_T059Z' EXPORTING I_BUKRS = DETAIL_TAB-BUKRS I_TYPE = DETAIL_TAB-WITHT I_WT_WITHCD = DETAIL_TAB-WT_WITHCD TABLES T_T059Z = X_T059Z EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

CONVERT_TO_FOREIGN_CURRENCY CALL FUNCTION 'CONVERT_TO_FOREIGN_CURRENCY' " <--- euro EXPORTING DATE = CONVDAT " <--- euro FOREIGN_CURRENCY = ALTCURR " <--- euro LOCAL_AMOUNT = DETAIL_TAB-WT_QSSHH " <- euro LOCAL_CURRENCY = T001-WAERS " <--- euro * rate = ??? " <--- euro TYPE_OF_RATE = 'M' " <--- euro IMPORTING FOREIGN_AMOUNT = DETAIL_TAB-WT_QSSHH." <- euro

POPUP_NO_LIST CALL FUNCTION 'POPUP_NO_LIST' EXPORTING ON_EMPTY_LIST = 'X'.

GET_CURRENT_YEAR Call function 'GET_CURRENT_YEAR' exporting Bukrs = Bsik-Bukrs Date = Bsik-Augdt importing Curry = Ld_gjahr.

CONVERT_TO_LOCAL_CURRENCY Call function 'CONVERT_TO_LOCAL_CURRENCY' exporting Date = Bsik-Augdt Foreign_amount = Bsik-Qbshb Foreign_currency = Ld_zwaers Local_currency = Bsik-Waers importing Local_amount = Bsik-Qbshb.

CONVERT_TO_FOREIGN_CURRENCY Call function 'CONVERT_TO_FOREIGN_CURRENCY' exporting Date = Convdat Foreign_currency = Outputwaers Local_amount = Wwrbtr Local_currency = Bsik-Waers Type_of_rate = 'M' importing Foreign_amount = Ktab-Wdmbtr.

GET_CURRENT_YEAR CALL FUNCTION 'GET_CURRENT_YEAR' " Data from payment document EXPORTING BUKRS = bsik-bukrs DATE = bsik-augdt IMPORTING CURRY = lv_aug_year.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = bsik-augdt FOREIGN_AMOUNT = wwrbtr FOREIGN_CURRENCY = bsik-waers LOCAL_CURRENCY = waers RATE = lwa_bkpf-kursf * TYPE_OF_RATE = 'M' * READ_TCURR = 'X' IMPORTING LOCAL_AMOUNT = KTAB-WDMBTR.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = bsik-augdt FOREIGN_AMOUNT = wwrbtr FOREIGN_CURRENCY = bsik-waers LOCAL_CURRENCY = waers * RATE = 0 TYPE_OF_RATE = 'M' READ_TCURR = 'X' IMPORTING LOCAL_AMOUNT = KTAB-WDMBTR.



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