SAP Reports / Programs

RGPLEP01 SAP ABAP Report - FI-SL: Activate Update of Plan Line Items







RGPLEP01 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The program RGPLEP01 sets the indicator for local ledgers so that line item documents 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 RGPLEP01 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

FAGLGCLE - Activation of Plan Line Items
GCLE - Activate Local Plan Line Items
GLLI - Activate Local Plan Line Items


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


Text pool values


Selection Text: RYEAR = Fiscal Year
Selection Text: RVERS = Version
Selection Text: RLDNR = Ledger
Selection Text: DOCTY = Document type for beg. balance
Selection Text: BUKRS = Company Code
Selection Text: ANFBE = Update opening balance
Title: FI-SL: Activate Update of Plan Line Items
Text Symbol: 900 = Message Text
Text Symbol: 027 = FI-GL: Activate Update of Plan Line Items
Text Symbol: 026 = Opening Balance
Text Symbol: 025 = Ledger $ does not belong to the flexible ldgr
Text Symbol: 024 = Ledger $ is a fixed ledger
Text Symbol: 023 = Document type $ not defined in table T889A
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 Company code &3..
002 Version &2.





001 Ledger &1


INCLUDES used within this REPORT RGPLEP01

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_CHECK_IF_LEDGER_IS_GLFLEX CALL FUNCTION 'FAGL_CHECK_IF_LEDGER_IS_GLFLEX' "#EC .., bzw. durch

NUMBER_GET_INFO CALL FUNCTION 'NUMBER_GET_INFO' EXPORTING object = nriv-object subobject = nriv-subobject toyear = ryear nr_range_nr = 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 = norng IMPORTING number = si-docnr returncode = sy-lisel(1).

F4IF_GET_SHLP_DESCR CALL FUNCTION 'F4IF_GET_SHLP_DESCR' EXPORTING shlpname = 'FAGL_RLDNR_AND_ROLLUP_W_LEAD' IMPORTING shlp = lcs_shlp.

F4IF_START_VALUE_REQUEST CALL FUNCTION 'F4IF_START_VALUE_REQUEST' EXPORTING shlp = lcs_shlp TABLES return_values = lth_selection.

G_DISPLAY_LEDGERS_FOR_TABLE CALL FUNCTION 'G_DISPLAY_LEDGERS_FOR_TABLE' EXPORTING gappl = 'FI' gsubappl = 'SL' only_free_ledgers = 'X' IMPORTING picked_ledger = rldnr EXCEPTIONS no_ledger_found = 1 OTHERS = 2.

HELP_VALUES_GET CALL FUNCTION 'HELP_VALUES_GET' EXPORTING fieldname = 'DOCTY' tabname = 'FAGL_T889A' IMPORTING select_value = docty.

HELP_VALUES_GET CALL FUNCTION 'HELP_VALUES_GET' EXPORTING fieldname = 'DOCTY' tabname = 'T889A' IMPORTING select_value = docty.

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_FIELDLABEL_GET CALL FUNCTION 'DDIF_FIELDLABEL_GET' EXPORTING tabname = lc_syst fieldname = ic_var langu = sy-langu * LFIELDNAME = ' ' IMPORTING label = lv_text EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3 .

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' i_callback_program = iv_repid i_callback_pf_status_set = gc_pf_status * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * I_GRID_SETTINGS = is_layout = is_layout it_fieldcat = it_fieldcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' i_save = ic_save is_variant = is_variant it_events = it_eventstab * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = * IR_SALV_FULLSCREEN_ADAPTER = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = gt_output EXCEPTIONS program_error = 1 OTHERS = 2 .

REUSE_ALV_COMMENTARY_WRITE CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE' EXPORTING it_list_commentary = gt_list_top_of_page.



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