RWSWRS1AF01 is a standard ABAP INCLUDE 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 RWSWRS1AF01 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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
WWS_SAVE_WRS1 CALL FUNCTION 'WWS_SAVE_WRS1' in update task EXPORTING TYPE_SAVE = 'U' TABLES I_WRS1 = pt_CHANGE_WRS1_TAB.
WWS_SAVE_WRS1 CALL FUNCTION 'WWS_SAVE_WRS1' EXPORTING TYPE_SAVE = 'U' TABLES I_WRS1 = pt_CHANGE_WRS1_TAB.
REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = g_repid is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_special_groups = gt_sp_group[] i_default = g_default i_save = g_save is_variant = g_variant it_events = gt_events[] TABLES T_OUTTAB = Pt_CHANGE_WRS1_TAB EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.
REUSE_ALV_VARIANT_DEFAULT_GET CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET' EXPORTING i_save = g_save CHANGING cs_variant = gx_variant EXCEPTIONS not_found = 2.
REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_internal_tabname = g_tabname_header i_structure_name = 'WRS1' CHANGING ct_fieldcat = p_fieldcat[].
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = P_EVENTS.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.