J_1AF102 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The report generates a list of bank and cash postings for the selected documents...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_1AF102 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_INIT = Time dependency for numbering
Selection Text: S_DELETE = Delete data for the selection
Selection Text: S_BUDAT = Posting date
Selection Text: S_BLDAT = Document date
Selection Text: S_BLART = Document type
Selection Text: S_BELNR = Document no.
Title: Daily Report for Bank and Cash Accounts
Text Symbol: S04 = Delete data in the historical table
Text Symbol: S03 = Output
Text Symbol: S02 = Additional Selection
Text Symbol: S01 = General Selection
Text Symbol: H50 = T O T A L S from last run
Text Symbol: H17 = Credit amount
Text Symbol: H16 = Debit amount
Text Symbol: H15 = Document line text
Text Symbol: H14 = Off.Docm.No.
Text Symbol: H13 = SAP document no./date
Text Symbol: H12 = Account/Description
Text Symbol: H11 = Post.Date
Text Symbol: H10 = Ref.No.
Text Symbol: H05 = Fiscal period:
Text Symbol: H04 = Code:
Text Symbol: H03 = Tax no.:
Text Symbol: B01 = T O T A L S
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 = F_DATE I_BUKRS = T001-BUKRS I_PERIV = T001-PERIV IMPORTING E_GJAHR = XPERIOD1-GJAHR E_MONAT = XPERIOD1-MONAT.
READ_HAUPTBUCH_TEXT CALL FUNCTION 'READ_HAUPTBUCH_TEXT' EXPORTING SPRACHE = SY-LANGU KONTENPLAN = T001-KTOPL SACHKONTO = BSEG-HKONT IMPORTING TEXT_WA = SKAT EXCEPTIONS TEXT_NOT_FOUND = 1.
J_1A_UPDATE_J1A101 CALL FUNCTION 'J_1A_UPDATE_J1A101' IN UPDATE TASK EXPORTING I_J1A101 = F_TABLE I_CHANGE = F_CHANGE.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT I_SAVE = GC_SAVE IT_EVENTS = GT_EVENTS TABLES T_OUTTAB = GT_OUTPUT EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_STRUCTURE_NAME = gc_j_1af102_alv CHANGING CT_FIELDCAT = XT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_eventtab EXCEPTIONS list_type_wrong = 1 OTHERS = 2.
FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING IS_BHDGD = BHDGD.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.