SAP Reports / Programs

J_1AF018 SAP ABAP Report - Gross Income Perception Listing with Magnetic Support







J_1AF018 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 the DGI about the Gross Income Perceptions...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_1AF018 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_1AF018. "Basic submit
SUBMIT J_1AF018 AND RETURN. "Return to original report after report execution complete
SUBMIT J_1AF018 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: S_PCAGNO = Perception agent no.
Selection Text: S_OPTYPE = Operation type
Selection Text: S_NEWDAT = Create new Dataset
Selection Text: S_KTOSL = Processing keys
Selection Text: S_FILE = Output file
Title: Gross Income Perception Listing with Magnetic Support
Text Symbol: T02 = T O T A L for company
Text Symbol: T01 = T O T A L for customer
Text Symbol: S02 = Output
Text Symbol: S01 = Additional selections
Text Symbol: H56 = amount/LC
Text Symbol: H55 = Perception
Text Symbol: H53 = amount/LC
Text Symbol: H52 = Total document
Text Symbol: H50 = char.
Text Symbol: H49 = Print.
Text Symbol: H47 = Type and No.
Text Symbol: H46 = Official document
Text Symbol: H44 = No.
Text Symbol: H43 = Document
Text Symbol: H41 = date
Text Symbol: H40 = Posting
Text Symbol: H24 = Regional GI No.
Text Symbol: H23 = GI No.
Text Symbol: H22 = ID document no.
Text Symbol: H21 = Name
Text Symbol: H20 = Cust.No.
Text Symbol: H19 = Output file:
Text Symbol: H14 = Operation type:
Text Symbol: H13 = Perception agent No.:
Text Symbol: H12 = Tax No.:
Text Symbol: H11 = Code:
Text Symbol: H02 = with Magnetic Support
Text Symbol: H01 = Gross Income Perception


INCLUDES used within this REPORT J_1AF018

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:

J_1A_HELP_KTOSL CALL FUNCTION 'J_1A_HELP_KTOSL' EXPORTING display = ' ' IMPORTING e_ktosl = s_ktosl-low EXCEPTIONS OTHERS = 1.

J_1A_HELP_KTOSL CALL FUNCTION 'J_1A_HELP_KTOSL' EXPORTING display = ' ' IMPORTING e_ktosl = s_ktosl-high EXCEPTIONS OTHERS = 1.

CUSTOMER_READ CALL FUNCTION 'CUSTOMER_READ' EXPORTING i_bukrs = space i_kunnr = bseg-kunnr IMPORTING e_kna1 = kna1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING LOGICAL_FILENAME = gc_filename PARAMETER_1 = sy-cprog CHANGING PHYSICAL_FILENAME = S_FILE EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 3 .

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat it_sort = lt_sort it_events = lt_events i_tabname_header = gc_tab_header_list i_tabname_item = gc_tab_item_list is_keyinfo = ls_keyinfo is_variant = gv_vrnt "1018186 TABLES t_outtab_header = gt_header_list t_outtab_item = gt_item_list EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' "#EC * EXPORTING i_program_name = gv_repid i_internal_tabname = uv_itab i_structure_name = uv_structure CHANGING ct_fieldcat = xt_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' "#EC * EXPORTING i_list_type = 1 IMPORTING et_events = xt_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.

FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.



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