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

OPEN_ITEMS_RESET SAP ABAP INCLUDE - OPENITEMSRESET







OPEN_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 OPEN_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 OPEN_ITEMS_RESET. "Basic submit
SUBMIT OPEN_ITEMS_RESET AND RETURN. "Return to original report after report execution complete
SUBMIT OPEN_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 OPEN_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_OPITEMS_SELECT CALL FUNCTION 'FAGL_MIG_OPITEMS_SELECT' EXPORTING id_mgpln = us_mgpln_data_ext-mgpln id_bukrs = ls_bukrs-bukrs ir_belnr = ur_belnr id_gjahr = ud_gjahr ib_status_reset = abap_off "status as stored on database id_status_next = 'ZZ' i_package_size = 5000 IMPORTING ets_opitem_keys = lt_opitems_keys EXCEPTIONS no_items_found = 1 OTHERS = 2.

FAGL_MIG_OPITEMS_SELECT CALL FUNCTION 'FAGL_MIG_OPITEMS_SELECT' EXPORTING id_mgpln = us_mgpln_data_ext-mgpln id_bukrs = ls_bukrs-bukrs ir_belnr = ur_belnr id_gjahr = ud_gjahr ib_status_reset = abap_off "status as stored on database id_status_next = 'ZZ' id_status_prev = '01' i_package_size = 5000 IMPORTING ets_opitem_keys = lt_opitems_keys EXCEPTIONS no_items_found = 1 OTHERS = 2.

FAGL_DELETE_ITEM_LIST CALL FUNCTION 'FAGL_DELETE_ITEM_LIST' EXPORTING id_rldnr = ls_rldnr id_carry_forward_year = ld_ryear it_item_list = lt_item_list EXCEPTIONS no_data_found = 1.

FAGL_MIG_TOTALS_DELETE CALL FUNCTION 'FAGL_MIG_TOTALS_DELETE' IN UPDATE TASK EXPORTING it_totals = lt_totals.

FAGL_MIG_TOTALS_UPDATE CALL FUNCTION 'FAGL_MIG_TOTALS_UPDATE' IN UPDATE TASK EXPORTING it_fagl_mig_totals = lt_totals.

ENQUEUE_EFAGL_OPITEM CALL FUNCTION 'ENQUEUE_EFAGL_OPITEM' EXPORTING mode_fagl_mig_opitems = 'S' * _wait = 'X' mandt = sy-mandt.

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

ENQUEUE_EFAGL_OPITEM CALL FUNCTION 'ENQUEUE_EFAGL_OPITEM' EXPORTING mode_fagl_mig_opitems = 'S' * _wait = 'X' mandt = sy-mandt.

FAGL_MIG_OPITEMS_DELETE CALL FUNCTION 'FAGL_MIG_OPITEMS_DELETE' IN UPDATE TASK EXPORTING its_opitems = lt_opitems_keys.

ENQUEUE_EFAGL_OPITEM CALL FUNCTION 'ENQUEUE_EFAGL_OPITEM' EXPORTING mode_fagl_mig_opitems = 'S' * _wait = 'X' mandt = sy-mandt.

FAGL_MIG_OPITEMS_UPDATE CALL FUNCTION 'FAGL_MIG_OPITEMS_UPDATE' IN UPDATE TASK EXPORTING its_opitems = lt_opitems_keys.

ENQUEUE_EFAGL_OPITEM CALL FUNCTION 'ENQUEUE_EFAGL_OPITEM' EXPORTING mode_fagl_mig_opitems = '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_OP' it_fieldcat = lt_fieldcat TABLES t_outtab = gt_output_list_op 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_OP' it_fieldcat = lt_fieldcat TABLES t_outtab = lt_s_output_list_op 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.

FAGL_SET_GLFLEX_ACT_FOR_INTMOD CALL FUNCTION 'FAGL_SET_GLFLEX_ACT_FOR_INTMOD' EXPORTING id_active = abap_true.

G_GET_ORGANIZATIONAL_DATA CALL FUNCTION 'G_GET_ORGANIZATIONAL_DATA' EXPORTING i_rldnr = ls_rlnr i_orgunit = ls_bukrs-bukrs IMPORTING organizational_info = cs_organizational_info EXCEPTIONS no_info_found = 1 error_in_setup = 2 error_in_depld = 3 OTHERS = 4.

G_PERIOD_GET CALL FUNCTION 'G_PERIOD_GET' EXPORTING date = us_mgpln_data_ext-migdt variant = cs_organizational_info-periv IMPORTING year = ld_ryear_hlp EXCEPTIONS ledger_not_assigned_to_company = 1 period_not_defined = 2 variant_not_defined = 3 OTHERS = 4.



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