RM07XFLA is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Report that sets the deletion indicator in the case of physical inventory documents whose retention period has expired but which it has not been possible to archive...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 RM07XFLA 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.
Title: Set Deletion Status in Physical Inventory Document Header
Text Symbol: 001 = Document was locked by another user ;;
Text Symbol: 002 = System error occurred during locking process ;;
Text Symbol: 003 = Following documents could not be processed:
Text Symbol: 004 = Doc. No. Year Reas.
Text Symbol: 005 = ----------- ---- -----
Text Symbol: 006 = Document not included in phys. inventory document header ;;
Text Symbol: 007 = Reason
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
DEQUEUE_EMIKPF CALL FUNCTION 'DEQUEUE_EMIKPF' EXPORTING iblnr = ikpf_iblnr_last gjahr = ikpf_gjahr_last.
ENQUEUE_EMIKPF CALL FUNCTION 'ENQUEUE_EMIKPF' EXPORTING iblnr = ikpf-iblnr gjahr = ikpf-gjahr EXCEPTIONS foreign_lock = 2 system_failure = 3.
REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.
REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = gv_repid i_structure_name = gc_struname is_layout = gs_layout it_fieldcat = gt_fieldcat[] it_events = gt_events[] TABLES t_outtab = gt_protab EXCEPTIONS program_error = 1 OTHERS = 2.
REUSE_ALV_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING i_list_type = 0 IMPORTING et_events = xt_events EXCEPTIONS list_type_wrong = 1 OTHERS = 2.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
RM07XFLA - Set Deletion Status in Physical Inventory Document Header RM07XFLA - Set Deletion Status in Physical Inventory Document Header RM07SVOR - Batch Input: Inventory Sampling RM07SVOR - Batch Input: Inventory Sampling RM07STOCKSELECTION_IMP - RM07STOCKSELECTIONIMP RM07STOCKSELECTION_DEF - RM07STOCKSELECTIONDEF