SAP Reports / Programs | Financial Accounting | General Ledger Accounting(FI-GL) SAP FI

RP_ITEMS_RESET SAP ABAP INCLUDE - RPITEMSRESET







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


INCLUDES used within this REPORT RP_ITEMS_RESET

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:

FAGL_MIG_RPITEMS_SELECT CALL FUNCTION 'FAGL_MIG_RPITEMS_SELECT' EXPORTING id_mgpln = us_mgpln_data_ext-mgpln ir_monat = lt_range_monat ir_bukrs = lt_range_bukrs ir_belnr = ur_belnr ir_gjahr = lt_range_gjahr id_status_next = 'ZZ' i_package_size = 5000 ib_status_reset = abap_off IMPORTING et_rpkey = lt_rpkey.

FAGL_MIG_RPITEMS_SELECT CALL FUNCTION 'FAGL_MIG_RPITEMS_SELECT' EXPORTING id_mgpln = us_mgpln_data_ext-mgpln ir_monat = lt_range_monat ir_bukrs = lt_range_bukrs ir_belnr = ur_belnr ir_gjahr = lt_range_gjahr id_status_next = 'ZZ' id_status_prev = '01' i_package_size = 5000 ib_status_reset = abap_off IMPORTING et_rpkey = lt_rpkey.

FAGL_DELETE_DOCUMENT_LIST CALL FUNCTION 'FAGL_DELETE_DOCUMENT_LIST' EXPORTING id_rldnr = ls_rldnr it_belnr_list = lt_belnr_list EXCEPTIONS no_data_found = 1.

ENQUEUE_EFAGL_RPITEM CALL FUNCTION 'ENQUEUE_EFAGL_RPITEM' EXPORTING mode_fagl_mig_rpitems = 'S' * _wait = 'X' mandt = sy-mandt.

FAGL_MIG_ADJUST_DEL_LOG CALL FUNCTION 'FAGL_MIG_ADJUST_DEL_LOG' IN UPDATE TASK EXPORTING id_mgpln = us_mgpln_data_ext-mgpln irt_bukrs = lt_range_bukrs irt_gjahr = lt_range_gjahr irt_belnr = ur_belnr.

FAGL_SPLINFO_DELETE CALL FUNCTION 'FAGL_SPLINFO_DELETE' IN UPDATE TASK EXPORTING id_bukrs = ls_rpkey-bukrs id_gjahr = ls_rpkey-gjahr id_belnr = ls_rpkey-belnr id_subsequent = 'X'.

ENQUEUE_EFAGL_RPITEM CALL FUNCTION 'ENQUEUE_EFAGL_RPITEM' EXPORTING mode_fagl_mig_rpitems = 'S' * _wait = 'X' mandt = sy-mandt.

FAGL_MIG_RPITEMS_DELETE CALL FUNCTION 'FAGL_MIG_RPITEMS_DELETE' IN UPDATE TASK EXPORTING it_rpkey = lt_rpkey.

ENQUEUE_EFAGL_RPITEM CALL FUNCTION 'ENQUEUE_EFAGL_RPITEM' EXPORTING mode_fagl_mig_rpitems = 'S' * _wait = 'X' mandt = sy-mandt.

FAGL_MIG_RPITEMS_UPDATE CALL FUNCTION 'FAGL_MIG_RPITEMS_UPDATE' IN UPDATE TASK EXPORTING it_rpkey = lt_rpkey.

ENQUEUE_EFAGL_RPITEM CALL FUNCTION 'ENQUEUE_EFAGL_RPITEM' EXPORTING mode_fagl_mig_rpitems = 'S' * _wait = 'X' mandt = sy-mandt.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_top_of_page = 'TOP_OF_PAGE_RP' it_fieldcat = lt_fieldcat TABLES t_outtab = gt_output_list_rp EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = sy-repid i_callback_top_of_page = 'TOP_OF_PAGE_RP' it_fieldcat = lt_fieldcat TABLES t_outtab = lt_s_output_list_rp EXCEPTIONS program_error = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid i_structure_name = lc_structname CHANGING ct_fieldcat = ct_fieldcat EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.



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