SAPF170 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Program SAPF170 is used to reorganize the work lists automatically created for customers and vendors...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 SAPF170 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: XTEST = Test run
Selection Text: XKRED = Vendors
Selection Text: XDELE = Delete
Selection Text: XDEBI = Customers
Selection Text: XCREA = Reset
Title: Automatic Work List Layout
Text Symbol: S02 = Vendor
Text Symbol: S01 = Customer
Text Symbol: B02 = Processing parameters
Text Symbol: B01 = Account selection
Text Symbol: 017 = To b.deltd
Text Symbol: 016 = To b.deltd
Text Symbol: 015 = Deleted
Text Symbol: 013 = Identification
Text Symbol: 012 = First delete the layout rule
Text Symbol: 011 = First define the layout rule
Text Symbol: 010 = ID
Text Symbol: 009 = To be deleted No.of entries
Text Symbol: 007 = Deleted No.of entries
Text Symbol: 006 = Entries in work lists
Text Symbol: 005 = Worklists
Text Symbol: 004 = Update run
Text Symbol: 003 = Test run
Text Symbol: 001 = Identification No.of entries
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = gv_repid is_layout = ls_layout it_fieldcat = lt_fieldcat it_events = lt_events is_print = ls_print TABLES t_outtab = gt_output EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_structure_name = gc_structname 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 = lt_event.
REUSE_ALV_LIST_LAYOUT_INFO_GET CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET' IMPORTING e_width = gv_linsz.
FAGL_BATCH_HEADING_PERFORM CALL FUNCTION 'FAGL_BATCH_HEADING_PERFORM' EXPORTING is_bhdgd = bhdgd.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = lt_line.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.