RGPLEP02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program RGPLEP02 sets the indicator for global ledgers so that line items will be written for further changes made to the planning summary records...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 RGPLEP02 into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
GCGE - Activate Global Plan Line Items
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: RYEAR = Fiscal Year
Selection Text: RVERS = Version
Selection Text: RLDNR = Ledger
Selection Text: RCOMP = Company
Selection Text: DOCTY = Document type for open.balance
Selection Text: ANFBE = Update opening balance
Title: FI-SL: Activate Update of Plan Line Items
Text Symbol: 026 = Message Text
Text Symbol: 025 = Opening Balance
Text Symbol: 024 = Ledger $ is a fixed ledger
Text Symbol: 023 = Document type $ not defined in table T889B
Text Symbol: 022 = Document number(s):
Text Symbol: 021 = The opening balance of $ records has been updated
Text Symbol: 020 = No free document numbers are available
Text Symbol: 019 = Insufficient free document numbers available
Text Symbol: 018 = The last document number has been reached
Text Symbol: 017 = The number range is nearly used up
Text Symbol: 016 = A plan line item table has not been created for table $
Text Symbol: 015 = No summary records have yet been planned
Text Symbol: 014 = Ledger $ is not a local ledger
Text Symbol: 013 = Create ledger $
Text Symbol: 012 = Number assignment for document type $ is external
Text Symbol: 011 = Ledger $ is not a global ledger
Text Symbol: 010 = sub-object $, fiscal year $
Text Symbol: 009 = Create a number interval for number range object $,
Text Symbol: 008 = Create the number range object $
Text Symbol: 007 = The version is blocked for changes
Text Symbol: 006 = Document type $ is not provided for planning data
Text Symbol: 005 = Create document type $
Text Symbol: 004 = Enter a document type
Text Symbol: 003 = Line item update has been activated
Text Symbol: 002 = Line item update is already active
Text Symbol: 001 = Maintain the fiscal year-dependent version parameters
004 Fiscal year &4..
003 Global Company &3....
002 Version &2.
001 Ledger &1
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
NUMBER_GET_INFO call function 'NUMBER_GET_INFO' EXPORTING object = nriv-object subobject = nriv-subobject toyear = ryear nr_range_nr = t889-norng IMPORTING interval = nriv EXCEPTIONS object_not_found = 1 interval_not_found = 2.
G_FIELD_READ call function 'G_FIELD_READ' EXPORTING fieldname = 'DOCLN' table = t800a-psitable IMPORTING field_attr = udfies EXCEPTIONS not_found = 1 others = 2.
NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' EXPORTING object = nriv-object subobject = nriv-subobject toyear = ryear nr_range_nr = t889-norng IMPORTING number = si-docnr returncode = sy-lisel(1).
REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = iv_repid i_callback_pf_status_set = gc_pf_status is_layout = is_layout it_fieldcat = it_fieldcat it_events = it_eventstab TABLES t_outtab = gt_output 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_eventstab EXCEPTIONS list_type_wrong = 1 others = 2.
REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_program_name = gv_repid * I_INTERNAL_TABNAME = i_structure_name = gc_structure * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = changing ct_fieldcat = xt_fieldcatalog exceptions inconsistent_interface = 1 program_error = 2 others = 3 .
DDIF_DTEL_GET CALL FUNCTION 'DDIF_DTEL_GET' EXPORTING NAME = ic_var STATE = 'A' LANGU = sy-langu IMPORTING * GOTSTATE = DD04V_WA = ls_dd04v * TPARA_WA = EXCEPTIONS ILLEGAL_INPUT = 1 OTHERS = 2.
REUSE_ALV_COMMENTARY_WRITE call function 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.