SAP Reports / Programs

WTMIGRATION SAP ABAP Report - Withholding Tax: Conversion Program







WTMIGRATION is a standard Executable ABAP Report 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 WTMIGRATION 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 WTMIGRATION. "Basic submit
SUBMIT WTMIGRATION AND RETURN. "Return to original report after report execution complete
SUBMIT WTMIGRATION 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: P_DELETE = Delete?
Selection Text: P_RUN_ID = Run ID
Selection Text: P_STEP = Step
Selection Text: P_TEST = Test?
Title: Withholding Tax: Conversion Program


INCLUDES used within this REPORT WTMIGRATION

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_CURRENCY_INFORMATION CALL FUNCTION 'FI_CURRENCY_INFORMATION' EXPORTING I_BUKRS = WA_T001-BUKRS IMPORTING E_X001 = WA_X001 EXCEPTIONS CURRENCY_2_NOT_DEFINED = 1 CURRENCY_3_NOT_DEFINED = 2 OTHERS = 3.

FWTM_MESSAGE_STORE CALL FUNCTION 'FWTM_MESSAGE_STORE' EXPORTING ID_RUN_ID = P_RUN_ID ID_STEP = P_STEP ID_DETAIL = P_DETAIL ID_ARBGB = P_ARBGB ID_MSGTY = P_MSGTY ID_MSGNR = P_MSGNR ID_MSGV1 = LD_MSGV1 ID_MSGV2 = LD_MSGV2 ID_MSGV3 = LD_MSGV3 ID_MSGV4 = LD_MSGV4.

DATE_TO_PERIOD_CONVERT CALL FUNCTION 'DATE_TO_PERIOD_CONVERT' EXPORTING I_DATE = WA_BSAK-AUGDT * i_monmit = 00 I_PERIV = PS_T001-PERIV IMPORTING * e_buper = E_GJAHR = LD_GJAHR EXCEPTIONS INPUT_FALSE = 1 T009_NOTFOUND = 2 T009B_NOTFOUND = 3 OTHERS = 4.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING DATE = P_DATE FOREIGN_AMOUNT = P_FVALUE FOREIGN_CURRENCY = P_FWAERS LOCAL_CURRENCY = P_HWAERS RATE = P_KURS TYPE_OF_RATE = P_KUTY IMPORTING * EXCHANGE_RATE = * FOREIGN_FACTOR = LOCAL_AMOUNT = P_HVALUE * LOCAL_FACTOR = * EXCHANGE_RATEX = * FIXED_RATE = * DERIVED_RATE_TYPE = EXCEPTIONS NO_RATE_FOUND = 1 OVERFLOW = 2 NO_FACTORS_FOUND = 3 NO_SPREAD_FOUND = 4 DERIVED_2_TIMES = 5 OTHERS = 6.



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