WRF_RWSORT_DC_DISCONT_F07 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 WRF_RWSORT_DC_DISCONT_F07 into the relevant SAP transactions such as SE38 or SE80
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.
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
WRF_DISCONTINUATION_DC CALL FUNCTION 'WRF_DISCONTINUATION_DC' EXPORTING i_function = pi_function i_date = pi_date i_test = pi_test IMPORTING es_statistic = pes_statistic TABLES it_dc = pit_dc it_matnr = pit_matnr it_art_site = pit_art_site et_result = pet_result.
WLK1_CHECK * CALL FUNCTION 'WLK1_CHECK' * EXPORTING * item = pi_matnr * asort = pi_asort * date_begin = pi_datefr * date_end = pi_dateto * EXCEPTIONS * no_listing = 1 * no_listing_in_time = 2 * existing_exclusion_listing = 3 * wrong_parameters = 4 * no_open_time_shop_in_time = 5 * no_listing_for_promotion = 6 * wrong_location = 7 * no_complete_listing_in_time = 8 * wrong_rackjobber = 9 * listing_only_as_component = 10 * no_assignment = 11 * OTHERS = 12.
WRS1_SINGLE_READ * CALL FUNCTION 'WRS1_SINGLE_READ' * EXPORTING * asort = ls_wlk1-filia * IMPORTING * wrs1_out = ls_wrs1 * EXCEPTIONS * no_record_found = 1 * spras_not_found = 2 * OTHERS = 3.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.