J_1AF108 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report informs about the gross income tax to be paid to each region in the desired period...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.
If you would like to execute this report or see the full code listing simply enter J_1AF108 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_YEAR = Calendar year
Selection Text: S_WITHT = Withholding type
Selection Text: S_MONTH = Calender month
Selection Text: S_LIST = Print list
Selection Text: S_GITYP = Distribition type
Selection Text: S_DATE = valid from
Selection Text: S_COPY = No. of copies
Title: Gross Income Declaration
Text Symbol: U11 = in period
Text Symbol: U10 = To be paid
Text Symbol: U08 = Withholdings
Text Symbol: U07 = Payment amount
Text Symbol: U06 = Region
Text Symbol: U05 = Base Amount/GI
Text Symbol: U04 = Tax cd.
Text Symbol: U03 = Post.Date
Text Symbol: U02 = Docum.No.
Text Symbol: U01 = Activity
Text Symbol: T03 = Totals:
Text Symbol: T02 = Total of activity
Text Symbol: T01 = Total sales of the company:
Text Symbol: S04 = Selections
Text Symbol: S03 = Output
Text Symbol: S02 = Selection of Payments with withholdings
Text Symbol: S01 = Selection for Gross Income Tax rates
Text Symbol: L99 = ***** Please change the table(s) and start the report again!! *****
Text Symbol: L50 = not definied
Text Symbol: L11 = Gross Income Tax Percentage
Text Symbol: L06 = Key/Text
Text Symbol: L05 = Table
Text Symbol: L01 = P R O G R A M - L O G
Text Symbol: H20 = C O M P A N Y T O T A L S
Text Symbol: H06 = Calendar Period:
Text Symbol: H05 = Gross Income no.:
Text Symbol: H04 = Tax no.:
Text Symbol: H03 = Code:
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING I_BUDAT = XDATE I_BUKRS = T001-BUKRS I_PERIV = T001-PERIV IMPORTING E_GJAHR = FYEAR-FROM.
FI_PERIOD_DETERMINE CALL FUNCTION 'FI_PERIOD_DETERMINE' EXPORTING I_BUDAT = XDATE I_BUKRS = T001-BUKRS I_PERIV = T001-PERIV IMPORTING E_GJAHR = FYEAR-TO.
ADDR_GET CALL FUNCTION 'ADDR_GET' EXPORTING ADDRESS_SELECTION = ADDR1_SEL ADDRESS_GROUP = 'CA01' * read_sadr_only = 'X' IMPORTING SADR = SADR.
J_1A_PUT_DASHES_TO_STCD2 CALL FUNCTION 'J_1A_PUT_DASHES_TO_STCD2' EXPORTING I_STCD2 = XSTCD2 IMPORTING E_STCD2 = XT001-STCD2.
J_1A_READ_XZAHL CALL FUNCTION 'J_1A_READ_XZAHL' EXPORTING I_BSCHL = BSAD-BSCHL IMPORTING E_XZAHL = BSAD-XZAHL.
J_1A_READ_XZAHL CALL FUNCTION 'J_1A_READ_XZAHL' EXPORTING I_BSCHL = BSID-BSCHL IMPORTING E_XZAHL = BSID-XZAHL.
WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING WINDOW = 'COPY_NO' ELEMENT = 'LINE'.
WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'LINES'.
WRITE_FORM CALL FUNCTION 'WRITE_FORM' EXPORTING ELEMENT = 'TOTAL'.
END_FORM CALL FUNCTION 'END_FORM'.
CLOSE_FORM CALL FUNCTION 'CLOSE_FORM'.
OPEN_FORM CALL FUNCTION 'OPEN_FORM' " open form for output EXPORTING FORM = 'J_1A_F008_GI_STD' DIALOG = 'X' OPTIONS = ITCPO DEVICE = 'PRINTER'.
START_FORM CALL FUNCTION 'START_FORM' EXPORTING FORM = J_1AGILTS-TDFORM STARTPAGE = 'PAGE1'.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.