SAP Reports / Programs | Materials Management | Consumption-Based Planning (See Also PP-MRP)(MM-CBP) SAP MM

PLPROG01 SAP ABAP INCLUDE - documentation and ABAP source code







PLPROG01 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 PLPROG01 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 PLPROG01. "Basic submit
SUBMIT PLPROG01 AND RETURN. "Return to original report after report execution complete
SUBMIT PLPROG01 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 PLPROG01

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:

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING i_callback_program = 'RWRPLPRO' i_callback_pf_status_set = 'SET_ALV_STATUS' i_callback_user_command = 'ALV_CALLBACK_COMMANDS' i_structure_name = 'WRPL_REPL_RUN_ALV' * ACC-B i_grid_title = sy-title * ACC-E is_layout = g_alv_layout it_fieldcat = g_alv_fieldcat_t IT_EXCLUDING = g_extab_t * IT_SPECIAL_GROUPS = IT_SORT = g_alv_sort_criteria_t it_filter = g_alv_filter_criteria_t * IS_SEL_HIDE = * I_DEFAULT = 'X' I_SAVE = g_alv_variant_save_type IS_VARIANT = g_alv_disp_variant * IT_EVENTS = * 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 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = tables t_outtab = g_alv_enriched_data_t exceptions program_error = 1 others = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = 'RWRPLPRO' i_callback_pf_status_set = 'SET_ALV_STATUS' i_callback_user_command = 'ALV_CALLBACK_COMMANDS' i_structure_name = 'WRPL_REPL_RUN_ALV' is_layout = g_alv_layout it_fieldcat = g_alv_fieldcat_t IT_EXCLUDING = g_extab_t * IT_SPECIAL_GROUPS = IT_SORT = g_alv_sort_criteria_t it_filter = g_alv_filter_criteria_t * IS_SEL_HIDE = * I_DEFAULT = 'X' I_SAVE = g_alv_variant_save_type IS_VARIANT = g_alv_disp_variant * IT_EVENTS = * 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 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = g_alv_enriched_data_t EXCEPTIONS program_error = 1 OTHERS = 2.

WRITE_MESSAGE_NEW CALL FUNCTION 'WRITE_MESSAGE_NEW' EXPORTING msgid = item-msgid msgno = item-msgno msgty = item-msgty msgv1 = item-msgv1 msgv2 = item-msgv2 msgv3 = item-msgv3 msgv4 = item-msgv4 msgv5 = space IMPORTING messg = name msgln = length EXCEPTIONS OTHERS = 1.

WRITE_MESSAGE_NEW CALL FUNCTION 'WRITE_MESSAGE_NEW' EXPORTING msgid = wa_re_item-msgid msgno = wa_re_item-msgno msgty = wa_re_item-msgty msgv1 = wa_re_item-msgv1 msgv2 = wa_re_item-msgv2 msgv3 = wa_re_item-msgv3 msgv4 = wa_re_item-msgv4 msgv5 = space IMPORTING messg = message EXCEPTIONS OTHERS = 0.

HELP_START CALL FUNCTION 'HELP_START' EXPORTING help_infos = help_info TABLES dynpselect = dummy1 dynpvaluetab = dummy2.

RPL_IM_STOCK_GET CALL FUNCTION 'RPL_IM_STOCK_GET' CHANGING PX_ITEM = g_ve_item.

POPUP_GET_VALUES CALL FUNCTION 'POPUP_GET_VALUES' EXPORTING POPUP_TITLE = 'Nachschubmenge ändern'(001) IMPORTING RETURNCODE = ANSWER TABLES FIELDS = FIELDS.



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