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

RWPRLSRPF01 SAP ABAP INCLUDE - Store Replenishment: Subroutines for Requirements Calculation







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


Text pool values


Title: Store Replenishment: Subroutines for Requirements Calculation


INCLUDES used within this REPORT RWPRLSRPF01

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:

SPBT_INITIALIZE CALL FUNCTION 'SPBT_INITIALIZE' EXPORTING group_name = i_svrgrp IMPORTING free_pbt_wps = e_jobs EXCEPTIONS invalid_group_name = 1 internal_error = 2 pbt_env_already_initialized = 3 currently_no_resources_avail = 4 no_pbt_resources_found = 5 cant_init_different_pbt_groups = 6 error_message = 98 OTHERS = 99.

WSRP_STORE_REPLENISHMENT CALL FUNCTION 'WSRP_STORE_REPLENISHMENT' "#EC * EXPORTING i_s_selopt = i_s_selopt i_s_wrpr = i_s_wrpr "#EC ENHOK i_srplog = i_srplog i_cprog = sy-cprog i_tcode = sy-tcode TABLES ch_t_customers = g_t_customers "#EC CALLED i_r_matnr = i_r_matnr i_r_matkl = i_r_matkl e_t_minute = g_t_minute EXCEPTIONS no_rpl_data = 1 db_error = 2 error = 3 OTHERS = 99.

WSRP_STORE_REPLENISHMENT CALL FUNCTION 'WSRP_STORE_REPLENISHMENT' STARTING NEW TASK l_task_number DESTINATION IN GROUP i_svrgrp PERFORMING end_of_task ON END OF TASK EXPORTING i_s_selopt = i_s_selopt i_s_wrpr = i_s_wrpr "#EC ENHOK i_srplog = i_srplog i_cprog = sy-cprog i_tcode = sy-tcode TABLES ch_t_customers = l_t_customers_pkt i_r_matnr = i_r_matnr i_r_matkl = i_r_matkl EXCEPTIONS communication_failure = 1 system_failure = 2 resource_failure = 3 no_rpl_data = 4 db_error = 5 error = 6 OTHERS = 99.

WSRP_STORE_REPLENISHMENT CALL FUNCTION 'WSRP_STORE_REPLENISHMENT' EXPORTING i_s_selopt = i_s_selopt i_s_wrpr = i_s_wrpr "#EC ENHOK i_srplog = i_srplog i_cprog = sy-cprog i_tcode = sy-tcode TABLES ch_t_customers = l_t_customers_seq i_r_matnr = i_r_matnr i_r_matkl = i_r_matkl e_t_minute = g_t_minute_par EXCEPTIONS no_rpl_data = 1 db_error = 2 error = 3 OTHERS = 99.

WSRP_SELECT_CUSTOMERS CALL FUNCTION 'WSRP_SELECT_CUSTOMERS' EXPORTING i_sel = l_sel TABLES i_r_kunnr = i_r_kunnr i_r_class = i_r_class e_t_customers = e_t_customers EXCEPTIONS error = 1 OTHERS = 99.

WSRP_REGISTER_REPLENISHMENT CALL FUNCTION 'WSRP_REGISTER_REPLENISHMENT' EXPORTING i_jobtype = i_jobtype i_srplog = i_srplog CHANGING ch_s_wrpr = ch_s_wrpr EXCEPTIONS error = 1 OTHERS = 99.

TWPA_SINGLE_READ CALL FUNCTION 'TWPA_SINGLE_READ' IMPORTING wtwpa = l_w_twpa_item EXCEPTIONS not_found = 1 OTHERS = 99.



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