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
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.
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
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
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.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
WTMIGRATION - Withholding Tax: Conversion Program WTMIGRATION - Withholding Tax: Conversion Program WTMIGBUKRSI02 - documentation and ABAP source code WTMIGBUKRSI01 - documentation and ABAP source code WTMIGBUKRS2 - System Has Saved Following Settings: WTMIGBUKRS2 - System Has Saved Following Settings: