SAP Reports / Programs

RFUMSANF SAP ABAP Report - Posting Outgoing Tax from Down Payment Requests







RFUMSANF is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The user requires the authorization to display line items for account type "D" (Customer) (authorization object 'F_BKPF_KOA', activity "03"), and the authorization to display documents on the selection screen for the company codes entered (authorization object 'F_BKPF_BUK', activity '03')...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RFUMSANF 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 RFUMSANF. "Basic submit
SUBMIT RFUMSANF AND RETURN. "Return to original report after report execution complete
SUBMIT RFUMSANF VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: PAR_BDAT = Posting date
Selection Text: PAR_BDET = Output by Down Payment Request
Selection Text: PAR_BINA = Batch input session name
Selection Text: PAR_BINP = Create batch input session
Selection Text: PAR_BLAR = Document type
Selection Text: PAR_BSLH = Credit Posting Key
Selection Text: PAR_BSLS = Debit Posting Key
Selection Text: PAR_EPOS = Issue line item list
Selection Text: PAR_KEYD = Key Date
Selection Text: PAR_KTO1 = Tax-relevant payables account
Selection Text: PAR_KTO2 = Clearing Account
Selection Text: PAR_LINE = Additional Title
Selection Text: PAR_LIS1 = Document level
Selection Text: PAR_LIS2 = Tax Code Level
Selection Text: PAR_MIKF = Print Microfiche Line
Selection Text: PAR_SDAT = Reversal Posting Date
Selection Text: PAR_SOFA = Run immediately
Selection Text: PAR_XDAT = Restriction by Date
Selection Text: PAR_XKEY = Restriction by Key Date
Selection Text: PAR_ZEIT = Run time
Selection Text: SEL_BELN = Document Number
Selection Text: SEL_BLDT = Document Date
Selection Text: SEL_BUDT = Posting Date
Selection Text: SEL_BUKR = Company Code
Selection Text: SEL_GJHR = Fiscal Year
Selection Text: SEL_KUNR = Customer Number
Selection Text: SEL_MONA = Fiscal periods
Selection Text: SEL_MWKZ = Tax on sales/purchases code
Selection Text: SEL_ZUMS = Target Special G/L Indicator
Selection Text: PAR_ADAT = Run date
Title: Posting Outgoing Tax from Down Payment Requests
Text Symbol: 100 = |CoCd|Document |Posting|Posting |Tx| Invoice amount | Tax amount |Curr.|Remark |
Text Symbol: 101 = | |number |period |date |cd| in LC (FC) | in LC (FC) | | |
Text Symbol: 102 = |CoCd|Tx| Tax amount | Tax base |Comment |
Text Symbol: 103 = | |Cd| in LC | in LC | |
Text Symbol: 104 = Information on Generated Documents of BI Folder
Text Symbol: 105 = Document and reversal document in company code code &BUK for VAT indicator &K
Text Symbol: 106 = -> Item not considered





Text Symbol: 107 = Document and reversal document in company code &BUK for down payment request &DPR
Text Symbol: 151 = Restriction by Date
Text Symbol: 152 = Restriction by Key Date
Text Symbol: 200 = Outgoing tax pymt req.
Text Symbol: 201 = Rev. outg. tax pymt req.
Text Symbol: 202 = Rev. posting date - 1
Text Symbol: 301 = Layout
Text Symbol: 302 = Output
Text Symbol: 303 = Layout
Text Symbol: 304 = Company Codes / Documents
Text Symbol: 305 = Configure
Text Symbol: 306 = Company Codes / Tax Codes
Text Symbol: 401 = TaxC
Text Symbol: 402 = Tax Amount in LC
Text Symbol: 403 = Tax Base in LC
Text Symbol: 404 = Note
Text Symbol: 405 = Doc. Number
Text Symbol: 406 = Posting Period
Text Symbol: 407 = Invoice Amount in LC (FC)
Text Symbol: 408 = Tax Amount in LC (FC)
Text Symbol: 409 = Curr.


INCLUDES used within this REPORT RFUMSANF

INCLUDE RFDBRMAC.


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:

INITIALIZE_STRUCTURE CALL FUNCTION 'INITIALIZE_STRUCTURE' EXPORTING i_n_fill = 0 CHANGING c_workarea = gs_output_value_layout EXCEPTIONS invalid_type = 1 OTHERS = 2.

INITIALIZE_STRUCTURE CALL FUNCTION 'INITIALIZE_STRUCTURE' EXPORTING i_n_fill = 0 CHANGING c_workarea = gs_output_value_layout1 EXCEPTIONS invalid_type = 1 OTHERS = 2.

FI_MESSAGE_CHECK CALL FUNCTION 'FI_MESSAGE_CHECK' EXCEPTIONS no_message = 4.

FI_MESSAGE_PRINT * CALL FUNCTION 'FI_MESSAGE_PRINT' * EXPORTING * I_XAUSN = ' '.

FI_MESSAGE_GET CALL FUNCTION 'FI_MESSAGE_GET' TABLES t_fimsg = tab_fimsg.

POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING i_tcode = 'FB01' TABLES t_blntab = tab_blntab t_ftpost = tab_ftpost1 t_fttax = tab_fttax EXCEPTIONS OTHERS = 8.

POSTING_INTERFACE_DOCUMENT CALL FUNCTION 'POSTING_INTERFACE_DOCUMENT' EXPORTING i_tcode = 'FB01' TABLES t_blntab = tab_blntab t_ftpost = tab_ftpost2 t_fttax = tab_fttax EXCEPTIONS OTHERS = 8.

FI_MESSAGE_COLLECT





CALL FUNCTION 'FI_MESSAGE_COLLECT' EXPORTING i_fimsg = fimsg.

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING i_bukrs = p_bukrs "511468 i_mwskz = p_mwskz "511468 i_waers = t001-waers i_wrbtr = hlp2_wrbtr IMPORTING e_fwste = hlp_fwste TABLES t_mwdat = tab_mwdat EXCEPTIONS OTHERS = 8.

POSTING_INTERFACE_END CALL FUNCTION 'POSTING_INTERFACE_END' EXPORTING i_bdcimmed = par_sofa i_bdcstrtdt = par_adat i_bdcstrttm = par_zeit EXCEPTIONS OTHERS = 8.

POSTING_INTERFACE_START CALL FUNCTION 'POSTING_INTERFACE_START' EXPORTING i_client = sy-mandt i_function = 'B' i_group = par_bina i_user = sy-uname EXCEPTIONS OTHERS = 8.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = lt_layout it_fieldcat = lt_fieldcat it_events = lt_events it_sort = lt_sort is_variant = ls_variant i_save = gc_save TABLES t_outtab = itab_tab_ep EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = lt_layout it_fieldcat = lt_fieldcat it_events = lt_events it_sort = lt_sort is_variant = ls_variant i_save = gc_save i_callback_pf_status_set = slis_ev_pf_status_set TABLES t_outtab = itab_tab_ep EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = iv_structure CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING e_width = lv_width.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.

FI_MESSAGES_ALV CALL FUNCTION 'FI_MESSAGES_ALV' EXPORTING is_layout = lt_layout.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = lt_layout it_fieldcat = lt_fieldcat it_events = lt_events it_sort = lt_sort is_variant = ls_variant i_save = gc_save TABLES t_outtab = itab_tab_summe EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = lt_layout it_fieldcat = lt_fieldcat it_events = lt_events it_sort = lt_sort is_variant = ls_variant i_save = gc_save TABLES t_outtab = itab_tab_summe EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = g_repid i_structure_name = iv_structure CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_VARIANT_F4 CALL FUNCTION 'REUSE_ALV_VARIANT_F4' EXPORTING is_variant = ls_variant i_save = gc_save IMPORTING e_exit = l_exit es_variant = l_variant_help EXCEPTIONS not_found = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_VARIANT_EXISTENCE CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE' EXPORTING i_save = gc_save CHANGING cs_variant = ls_variant EXCEPTIONS wrong_input = 1 not_found = 2 program_error = 3 OTHERS = 4.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = lt_layout it_fieldcat = lt_fieldcat it_events = lt_events TABLES t_outtab = gt_bi_info EXCEPTIONS program_error = 1 OTHERS = 2.

FI_DOC_TO_ACC_TRANSFORM CALL FUNCTION 'FI_DOC_TO_ACC_TRANSFORM' TABLES t_bkpf = lt_bkpf t_bseg = lt_bseg t_acchd = lt_acchd t_accit = lt_accit t_acccr = lt_acccr t_accit_ext = lt_accit_enh EXCEPTIONS system_error = 1 OTHERS = 2.

G_BEB_MOVE_ACCIT_TO_STRING CALL FUNCTION 'G_BEB_MOVE_ACCIT_TO_STRING' EXPORTING i_ledger = ld_ledger i_accit = ls_accit_ext i_bs_fields = abap_true IMPORTING e_split = ld_addaa-split e_partner = ld_addaa-partner EXCEPTIONS wrong_parameters = 1 OTHERS = 2.

FI_SPLIT_MOVE_TO_BATCH_INPUT CALL FUNCTION 'FI_SPLIT_MOVE_TO_BATCH_INPUT' EXPORTING company_code = ld_bukrs gl_account_number = ld_account id_budat = ld_budat x_bs_account = abap_true add_acct_ass = p_addaa TABLES batch_input_data = pt_split_fields EXCEPTIONS assignment_not_set = 1 internal_error = 2 OTHERS = 3.




G_BEB_MOVE_STRING_TO_ACCIT CALL FUNCTION 'G_BEB_MOVE_STRING_TO_ACCIT' EXPORTING i_ledger = ld_ledger i_x_split = abap_true i_split = p_addaa-split i_x_partner = abap_true i_partner = p_addaa-partner i_bs_fields = abap_true CHANGING c_accit = ls_accit EXCEPTIONS wrong_parameters = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = lc_structname CHANGING ct_fieldcat = pt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

DDIF_NAMETAB_GET CALL FUNCTION 'DDIF_NAMETAB_GET' EXPORTING tabname = lc_structname TABLES x031l_tab = lt_x031l.



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