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

RFWT0020_EWT SAP ABAP INCLUDE - RFWT0020EWT







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

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_WT_INFO CALL FUNCTION 'FI_WT_READ_WT_INFO' EXPORTING i_bukrs = wa_bsxk-bukrs i_belnr = wa_bsxk-belnr i_gjahr = wa_bsxk-gjahr i_buzei = wa_bsxk-buzei TABLES t_with_item = i_with_item EXCEPTIONS not_found = 1 OTHERS = 2.

FI_WT_READ_T059P CALL FUNCTION 'FI_WT_READ_T059P' EXPORTING i_bukrs = wa_t001-bukrs i_type = i_accit_wt-witht TABLES t_t059p = h_t059p EXCEPTIONS not_found = 1 OTHERS = 2.

FI_WT_READ_T059Z CALL FUNCTION 'FI_WT_READ_T059Z' EXPORTING i_bukrs = wa_t001-bukrs i_type = i_accit_wt-witht i_wt_withcd = i_accit_wt-wt_withcd TABLES t_t059z = h_t059z EXCEPTIONS not_found = 1 OTHERS = 2.

FI_WT_READ_T059P CALL FUNCTION 'FI_WT_READ_T059P' EXPORTING i_bukrs = wa_t001-bukrs i_type = i_with_item-witht TABLES t_t059p = h_t059p EXCEPTIONS not_found = 1 OTHERS = 2.

FI_WT_READ_T059Z CALL FUNCTION 'FI_WT_READ_T059Z' EXPORTING i_bukrs = wa_t001-bukrs i_type = i_with_item-witht i_wt_withcd = i_with_item-wt_withcd TABLES t_t059z = h_t059z EXCEPTIONS not_found = 1 OTHERS = 2.

FI_WT_READ_WT_INFO CALL FUNCTION 'FI_WT_READ_WT_INFO' EXPORTING i_bukrs = wa_bsxd-bukrs i_belnr = wa_bsxd-belnr i_gjahr = wa_bsxd-gjahr i_buzei = wa_bsxd-buzei TABLES t_with_item = i_with_item EXCEPTIONS not_found = 1 OTHERS = 2.

FI_WT_READ_T059P CALL FUNCTION 'FI_WT_READ_T059P' EXPORTING i_bukrs = wa_t001-bukrs i_type = i_accit_wt-witht TABLES t_t059p = h_t059p EXCEPTIONS not_found = 1 OTHERS = 2.

FI_WT_READ_T059Z CALL FUNCTION 'FI_WT_READ_T059Z' EXPORTING i_bukrs = wa_t001-bukrs i_type = i_accit_wt-witht i_wt_withcd = i_accit_wt-wt_withcd TABLES t_t059z = h_t059z EXCEPTIONS not_found = 1 OTHERS = 2.

FI_WT_DELETE_KONTAB CALL FUNCTION 'FI_WT_DELETE_KONTAB'.

FI_WT_PUT_X_WTAK CALL FUNCTION 'FI_WT_PUT_X_WTAK' TABLES t_wtak = x_wtak.

FI_WT_PUT_X_WTAD CALL FUNCTION 'FI_WT_PUT_X_WTAD' TABLES t_wtad = x_wtad.

FI_WT_PUT_D_WTAK CALL FUNCTION 'FI_WT_PUT_D_WTAK' TABLES t_wtak = x_wtak.

FI_WT_PUT_D_WTAD CALL FUNCTION 'FI_WT_PUT_D_WTAD' TABLES t_wtad = x_wtad.

GET_CLEARED_ITEMS CALL FUNCTION 'GET_CLEARED_ITEMS' EXPORTING i_belnr = i_belnr i_bukrs = i_bukrs i_gjahr = i_gjahr i_bvorg = l_bkpf-bvorg TABLES t_items = postab EXCEPTIONS not_found = 1 error_cleared_accounts = 2 OTHERS = 3.

FI_WT_FB05_CALCULATE_WT CALL FUNCTION 'FI_WT_FB05_CALCULATE_WT' EXPORTING i_aktyp = i_aktyp i_dyncl = i_dyncl TABLES i_postab = l_postab i_bkpf = l_bkpf.

FI_WT_COLLECT_KONTAB CALL FUNCTION 'FI_WT_COLLECT_KONTAB' EXPORTING i_bukrs = l_postab-bukrs i_belnr = l_postab-belnr i_buzei = l_postab-buzei i_gjahr = l_postab-gjahr i_clearing_date = l_bkpf-budat i_kontab_key = kontab_key i_wt_kontab_id = wt_kontab_id IMPORTING e_qsskz = l_postab-qsskz EXCEPTIONS OTHERS = 1.

FI_WT_PREPARE_PAYMENT CALL FUNCTION 'FI_WT_PREPARE_PAYMENT' EXPORTING i_gjahr = i_gjahr i_buzei = i_buzei i_kontab = kontab_key2 IMPORTING e_qsskz = bseg-qsskz EXCEPTIONS OTHERS = 1.

FI_WT_GET_P_WITH_ITEM CALL FUNCTION 'FI_WT_GET_P_WITH_ITEM' TABLES t_with_item = i_with_item EXCEPTIONS OTHERS = 1.



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