SAP Reports / Programs | Financial Accounting | Localization(FI-LOC) SAP FI

J_1ITD2I SAP ABAP INCLUDE - TDS Cancellation.







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

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_WITHHOLDING_TAX_CALCULATION CALL FUNCTION 'FI_WITHHOLDING_TAX_CALCULATION' EXPORTING i_land1 = t001-land1 i_qland = zlfb1-qland i_qsshb = base i_qsshh = basloc i_qsskz = taxcd i_waers = curr reduced_tax_rate = reduced_tax IMPORTING e_qbshb = tx.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_budat = inttab-j_1ibudat i_bukrs = comp IMPORTING e_gjahr = years EXCEPTIONS OTHERS = 8.

AC_DOCUMENT_GENERATE CALL FUNCTION 'AC_DOCUMENT_GENERATE' IMPORTING e_awtyp = atyp e_awref = aref e_aworg = aorg TABLES t_acchd = acchd_fi t_accit = accit_fi t_acccr = acccr_fi t_accfi = accfi_fi EXCEPTIONS OTHERS = 1.

J_1I6_DETERMINE_EXC_YEAR CALL FUNCTION 'J_1I6_DETERMINE_EXC_YEAR' EXPORTING i_bukrs = t001-bukrs i_budat = j_1itds-j_1ibudat IMPORTING excise_year = gjahr EXCEPTIONS miss_company = 1 OTHERS = 2.

FIMA_END_OF_MONTH_DETERMINE CALL FUNCTION 'FIMA_END_OF_MONTH_DETERMINE' EXPORTING i_date = periv_last_date IMPORTING * E_FLG_END_OF_MONTH = E_DAYS_OF_MONTH = excise_last_day.

DATE_CONVERT_TO_FACTORYDATE CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE' EXPORTING correct_option = next_prev_opt date = j_1itds-j_1ipaydue factory_calendar_id = cal_id IMPORTING date = j_1itds-j_1ipaydue EXCEPTIONS OTHERS = 7.

DEQUEUE_EJ_1ITDS CALL FUNCTION 'DEQUEUE_EJ_1ITDS' EXPORTING mode_j_1itds = 'E' mandt = sy-mandt j_1iawtyp = 'BKPF' j_1iaworg = zaworg EXCEPTIONS OTHERS = 1.

CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = pdate foreign_amount = paccit-pswbt foreign_currency = paccit-pswsl local_currency = t001-waers type_of_rate = pconvtyp IMPORTING local_amount = pacccr-wrbtr EXCEPTIONS no_rate_found = 1 overflow = 2 no_factors_found = 3 no_spread_found = 4 OTHERS = 5.

FI_COMPANY_CODE_CHECK CALL FUNCTION 'FI_COMPANY_CODE_CHECK' EXPORTING i_bukrs = zbukrs EXCEPTIONS company_code = 1 OTHERS = 2.

ENQUEUE_EFBKPF CALL FUNCTION 'ENQUEUE_EFBKPF' EXPORTING mode_bkpf = 'E' mandt = sy-mandt bukrs = zbukrs belnr = docno gjahr = zgjahr EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

DEQUEUE_EFBKPF CALL FUNCTION 'DEQUEUE_EFBKPF' EXPORTING mode_bkpf = 'E' mandt = sy-mandt bukrs = zbukrs belnr = docno gjahr = zgjahr EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = rounded_amt IMPORTING e_amount = rounded_amt EXCEPTIONS OTHERS = 1.

J_1I7_USEREXIT_CALID CALL FUNCTION 'J_1I7_USEREXIT_CALID' EXPORTING temp_bukrs = t001-bukrs temp_qsskz = j_1itds-qsskz temp_gsber = j_1itds-gsber IMPORTING option = next_prev_opt factory_cal_id = cal_id EXCEPTIONS OTHERS = 1.

J_1I7_USEREXIT_TDS CALL FUNCTION 'J_1I7_USEREXIT_TDS' EXCEPTIONS OTHERS = 1.

J_1I6_ROUND_TO_NEAREST_AMT CALL FUNCTION 'J_1I6_ROUND_TO_NEAREST_AMT' EXPORTING i_amount = rounded_amt IMPORTING e_amount = rounded_amt EXCEPTIONS OTHERS = 1.

FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING i_bukrs = i_bukrs i_budat = i_budat i_monat = e_monat i_gjahr = e_gjahr IMPORTING e_gjahr = e_gjahr e_monat = e_monat EXCEPTIONS fiscal_year = 1 period = 2 period_version = 3 posting_period = 4 special_period = 5 version = 6 posting_date = 7 OTHERS = 8.

FI_PERIOD_CHECK CALL FUNCTION 'FI_PERIOD_CHECK' EXPORTING i_bukrs = i_bukrs i_gjahr = e_gjahr i_koart = '+' i_monat = i_monat EXCEPTIONS error_period = 1 error_period_acc = 2 OTHERS = 3.

ENQUEUE_EJ_1ITDS CALL FUNCTION 'ENQUEUE_EJ_1ITDS' EXPORTING mode_j_1itds = 'E' mandt = sy-mandt j_1irectyp = p_1itds-j_1irectyp j_1iawtyp = p_1itds-j_1iawtyp j_1iawref = p_1itds-j_1iawref j_1iaworg = p_1itds-j_1iaworg EXCEPTIONS foreign_lock = 1 system_failure = 2.



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