SAP Reports / Programs | Financial Accounting | Accounts Receivable | Basic Functions(FI-AR-AR) SAP FI

RFUMSV35 SAP ABAP Report - Tax Adjustment







RFUMSV35 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Tax adjustment in the case of a change in the tax rate...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 RFUMSV35 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 RFUMSV35. "Basic submit
SUBMIT RFUMSV35 AND RETURN. "Return to original report after report execution complete
SUBMIT RFUMSV35 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: TXTID = Sender details
Selection Text: TITLE = Title
Selection Text: SK_HABEN = G/L account credit posting key
Selection Text: REFERENZ = Reference number
Selection Text: PROT_ANZ = Log
Selection Text: NEUMWKZ3 = Third new tax code
Selection Text: NEUMWKZ2 = Second new tax code
Selection Text: NEUMWKZ1 = First new tax code
Selection Text: LISTSEP = Separate list
Selection Text: KUN_MITT = Customer notification
Selection Text: INCL_REF = Invoice Reference
Selection Text: GV_VATDT = Tax Reporting Date
Selection Text: EVENT = Form set
Selection Text: DKONTO = Customer account number
Selection Text: DB_SOLL = Customer debit posting key
Selection Text: DB_HABEN = Customer credit posting key
Selection Text: B_INPUT = Batch input
Selection Text: B_BUDAT = Posting date
Selection Text: B_BLDAT = Document date (batch input)
Selection Text: B_BLART = Document type
Selection Text: BSCHL = Customer posting key
Selection Text: BLGDATUM = Document date
Selection Text: BI_NAME = Batch input session name
Selection Text: BELEGNR = Document number
Selection Text: ALTMWKZ3 = Third old tax code
Selection Text: ALTMWKZ2 = Second old tax code
Selection Text: ALTMWKZ1 = First old tax code
Title: Tax Adjustment
Text Symbol: 500 = Tax adjustment with SAPscript form for company code
Text Symbol: 400 = Batch input confirmation
Text Symbol: 302 = Batch input error
Text Symbol: 301 = Batch input session name:
Text Symbol: 300 = Update error batch input session created.
Text Symbol: 201 = Number:
Text Symbol: 200 = Documents Posted
Text Symbol: 003 = Doc.no. Reference no. Post.dte Net amnt in LC Old rate ID Old tax in LC New rate ID New tax in LC Tax diff.in LC
Text Symbol: 002 = AccTyp/No....Address.............................................. ..................
Text Symbol: 001 = Change tax rate





INCLUDES used within this REPORT RFUMSV35

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_COMPANY_CODE_DATA CALL FUNCTION 'FI_COMPANY_CODE_DATA' EXPORTING i_bukrs = bsis-bukrs IMPORTING e_t001 = ls_t001 EXCEPTIONS system_error = 1 OTHERS = 2.

FI_COUNTRY_DATA CALL FUNCTION 'FI_COUNTRY_DATA' EXPORTING i_land1 = ls_t001-land1 IMPORTING e_kalsm = lv_kalsm.

GET_TAX_RFD_CODE CALL FUNCTION 'GET_TAX_RFD_CODE' EXPORTING iv_kalsm = lv_kalsm iv_mwskz = bsis-mwskz IMPORTING es_tax_rfd_codes = ls_tax_rfd_codes EXCEPTIONS not_found = 1 OTHERS = 2.

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING I_BUKRS = BKPF-BUKRS I_MWSKZ = NMWSKZ I_WAERS = T001-WAERS I_WRBTR = ALTNETTO TABLES T_MWDAT = TAB EXCEPTIONS BUKRS_NOT_FOUND = 4 COUNTRY_NOT_FOUND = 8 MWSKZ_NOT_VALID = 12 MWSKZ_NOT_DEFINED = 16.

GET_CURRENT_YEAR CALL FUNCTION 'GET_CURRENT_YEAR' EXPORTING BUKRS = SKB1-BUKRS DATE = B_BUDAT IMPORTING CURRM = HBUPER.

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING I_BUKRS = SKB1-BUKRS I_MWSKZ = NMWSKZ I_WAERS = T001-WAERS I_WRBTR = ALTNETTO TABLES T_MWDAT = TAB EXCEPTIONS BUKRS_NOT_FOUND = 4 COUNTRY_NOT_FOUND = 8 MWSKZ_NOT_VALID = 12 MWSKZ_NOT_DEFINED = 16.

READ_KNA1 CALL FUNCTION 'READ_KNA1' EXPORTING XKUNNR = KONTO IMPORTING XKNA1 = KNA1 EXCEPTIONS NOT_FOUND = 4.

BDC_OPEN_GROUP CALL FUNCTION 'BDC_OPEN_GROUP' EXPORTING GROUP = BI_NAME USER = SY-UNAME.

BDC_INSERT CALL FUNCTION 'BDC_INSERT' EXPORTING TCODE = 'FB05' TABLES DYNPROTAB = BDCDATA.

BDC_CLOSE_GROUP CALL FUNCTION 'BDC_CLOSE_GROUP' EXCEPTIONS NOT_OPEN = 1 QUEUE_ERROR = 2.

OPEN_FORM CALL FUNCTION 'OPEN_FORM' EXPORTING FORM = HFORNR LANGUAGE = T001-SPRAS DIALOG = SPACE OPTIONS = ITCPO.

START_FORM CALL FUNCTION 'START_FORM'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = '100' WINDOW = 'INFO'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = '300' WINDOW = 'MAIN'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = '400' WINDOW = 'MAIN'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = '400' WINDOW = 'MAIN' TYPE = 'TOP'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = '410' WINDOW = 'MAIN'.

WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = '400' WINDOW = 'MAIN' TYPE = 'TOP' FUNCTION = 'DELETE'.






WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = '500' WINDOW = 'MAIN'.

END_FORM CALL FUNCTION 'END_FORM'.

CLOSE_FORM CALL FUNCTION 'CLOSE_FORM'.

CALCULATE_TAX_FROM_NET_AMOUNT CALL FUNCTION 'CALCULATE_TAX_FROM_NET_AMOUNT' EXPORTING I_BUKRS = BKPF-BUKRS I_MWSKZ = p_newmwskz I_WAERS = T001-WAERS I_WRBTR = P_ALTNETTO "tax base in document cur TABLES T_MWDAT = TAB EXCEPTIONS BUKRS_NOT_FOUND = 4 COUNTRY_NOT_FOUND = 8 MWSKZ_NOT_VALID = 12 MWSKZ_NOT_DEFINED = 16.



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