J_1AF_UPDATE_WTAK 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_WTAK 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: NOMONTHS = No of Months
Selection Text: NO_MTHS = No of Months
Selection Text: P_BUKRS = D .
Selection Text: P_GJAHR = Fiscal Year
Selection Text: RES177 = RES177
Selection Text: RG2549 = RG2616
Selection Text: S_LIFNR = D .
Selection Text: TEST_RUN = Test Run
Title: Accumulation Table Updates
Text Symbol: 001 = Company details
Text Symbol: 003 = Vendor Details
Text Symbol: 004 = Total Accumulated value
Text Symbol: 005 = Regulation
Text Symbol: 006 = RG2616
Text Symbol: 007 = RES177
Text Symbol: 008 = From Date
Text Symbol: 009 = No of Months
Text Symbol: 010 = Number of months for accumulation cannot be less than 11
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 = date IMPORTING newdate = date.
MONTH_PLUS_DETERMINE CALL FUNCTION 'MONTH_PLUS_DETERMINE' EXPORTING months = months olddate = date IMPORTING newdate = date.
CONVERT_TO_LOCAL_CURRENCY CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY' EXPORTING date = wa_bsak-budat foreign_amount = wa_bsak-wrbtr foreign_currency = wa_bsak-waers local_currency = lv_waers IMPORTING local_amount = wa_bsak-wrbtr.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_grid_title = text-003 it_fieldcat = it_fcat TABLES t_outtab = it_outtab 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.