KQST1004 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 KQST1004 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.
Title: Include for RFKQST30
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = BSIK-AUGDT FOREIGN_AMOUNT = WWRBTR "Rechn.btr in BW
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = KURSDAT FOREIGN_AMOUNT = WWRBTR "Rechn.btr in BW
FI_WITHHOLDING_TAX_CALCULATION CALL FUNCTION 'FI_WITHHOLDING_TAX_CALCULATION' EXPORTING I_LAND1 = T001-LAND1 I_QLAND = ' ' I_QSSHB = QSBTBW "Basisbtr in BW I_QSSHH = KTAB-WQSSHB "Basisbtr in HW I_QSSKZ = KTAB-QSSKZ I_WAERS = T001-WAERS REDUCED_TAX_RATE = ' ' i_landk = t005-landk " Insert ALRK169000 i_intca = t005-intca " Insert ALRK169000 IMPORTING E_QBSHB = ERQBSHB. "Qst-Btr in BW
POPUP_NO_LIST CALL FUNCTION 'POPUP_NO_LIST' EXPORTING ON_EMPTY_LIST = 'X'.
FI_WT_READ_T059MINMAX CALL FUNCTION 'FI_WT_READ_T059MINMAX' EXPORTING I_T001 = T001 I_TYPE = UTAB-WITHT I_CODE = SPACE I_BUDAT = KURSDAT TABLES T_T059MINMAX = X_T059MINMAX EXCEPTIONS NO_VALID_ENTRY_FOUND = 1 OTHERS = 2.
FI_WT_READ_T059MINMAX CALL FUNCTION 'FI_WT_READ_T059MINMAX' EXPORTING I_T001 = T001 I_TYPE = UTAB-WITHT I_CODE = UTAB-QSSKZ I_BUDAT = KURSDAT TABLES T_T059MINMAX = X_T059MINMAX EXCEPTIONS NO_VALID_ENTRY_FOUND = 1 OTHERS = 2.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = KURSDAT FOREIGN_AMOUNT = PBTRJP FOREIGN_CURRENCY = T059Q-QMIWA LOCAL_CURRENCY = T001-WAERS IMPORTING LOCAL_AMOUNT = PBTRJP.
FI_WT_READ_T059ZT CALL FUNCTION 'FI_WT_READ_T059ZT' EXPORTING I_BUKRS = T001-BUKRS I_TYPE = ETAB-WITHT I_WT_WITHCD = ETAB-QSSKZ I_SPRAS = SY-LANGU TABLES T_T059ZT = X_T059ZT EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
FI_WT_READ_T059Z CALL FUNCTION 'FI_WT_READ_T059Z' EXPORTING I_BUKRS = T001-BUKRS I_TYPE = ETAB-WITHT I_WT_WITHCD = ETAB-QSSKZ TABLES T_T059Z = X_T059Z EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.