J_1AF_UPDATE_VENDOR 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 J_1AF_UPDATE_VENDOR 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: S_LIFNR = D .
Selection Text: RG2549 = RG2616
Selection Text: RES177 = RES177
Selection Text: P_DATE = From Date
Selection Text: P_CHKBX = Test Run
Selection Text: P_BUKRS = D .
Selection Text: NO_MTHS = No of Months
Selection Text: NOMONTHS = No of Months
Selection Text: DATE_177 = From Date
Title: Tax Updates (Argentina)
Text Symbol: 060 = Error
Text Symbol: 050 = Total Accumulated value
Text Symbol: 040 = No changes saved.
Text Symbol: 031 = RES177 vendor details are updated.
Text Symbol: 030 = Monotributo Vendor details are updated.
Text Symbol: 020 = Withholding tax key is not maintained for tax type - tax code.
Text Symbol: 010 = Vendor is not liable for withholding tax. Assign tax type for vendor.
Text Symbol: 009 = No of Months
Text Symbol: 008 = From Date
Text Symbol: 007 = RES177
Text Symbol: 006 = RG2616
Text Symbol: 003 = Regulation
Text Symbol: 002 = Company Code details
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
MONTH_PLUS_DETERMINE CALL FUNCTION 'MONTH_PLUS_DETERMINE' EXPORTING months = months olddate = p_date IMPORTING newdate = fromdate.
MONTH_PLUS_DETERMINE CALL FUNCTION 'MONTH_PLUS_DETERMINE' EXPORTING months = months olddate = date_177 IMPORTING newdate = date_177.
RP_LAST_DAY_OF_MONTHS CALL FUNCTION 'RP_LAST_DAY_OF_MONTHS' EXPORTING day_in = date_177 IMPORTING last_day_of_month = date_177 EXCEPTIONS day_in_no_date = 1 OTHERS = 2.
MONTH_PLUS_DETERMINE CALL FUNCTION 'MONTH_PLUS_DETERMINE' EXPORTING months = months olddate = date_177 IMPORTING newdate = fromdate.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = it_bsik-budat foreign_amount = it_bsik-wrbtr foreign_currency = it_bsik-waers local_currency = wa_j_1ar_butype-t_waers IMPORTING local_amount = it_bsik-wrbtr.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = sy-repid * i_grid_title = text-003 it_fieldcat = it_fcat is_layout = is_layo TABLES t_outtab = it_arvs EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = sy-repid * i_grid_title = text-003 it_fieldcat = it_fcat1 is_layout = is_layo TABLES t_outtab = it_err EXCEPTIONS program_error = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.