SAP Reports / Programs | Logistics - General | Logistics Basic Data | Material Master(LO-MD-MM) SAP LO

RWRF_DISCONT_SEL_FORMS SAP ABAP INCLUDE - Include RWRF_ART_DISCONT_FORMS







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


Text pool values


Title: Include RWRF_ART_DISCONT_FORMS


INCLUDES used within this REPORT RWRF_DISCONT_SEL_FORMS

FORM INCLUDE_PREPACKS


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:

TWPA_SINGLE_READ CALL FUNCTION 'TWPA_SINGLE_READ' EXPORTING kzrfb = ' ' IMPORTING wtwpa = g_twpa EXCEPTIONS not_found = 1 OTHERS = 2.

PROMOTION_DISCONT_POSITION_GET CALL FUNCTION 'PROMOTION_DISCONT_POSITION_GET' EXPORTING faktnr = p_aktnr TABLES dcaktpos = i_waktp_discont_pos EXCEPTIONS promotion_not_found = 1 no_position_in_promotion = 2 promotion_in_planing = 3 OTHERS = 4.

LESEN_VARIANTEN_ZU_SA CALL FUNCTION 'LESEN_VARIANTEN_ZU_SA' EXPORTING * sammelartikel = i_mara-matnr " GB 1596853 * kzrfb = ' ' " GB 1596853 sammelartikel = -matnr " GB 1596853 kzrfb = 'X' " GB 1596853 sperrmodus = ' ' std_sperrmodus = ' ' TABLES varianten = it_mara_var EXCEPTIONS enqueue_mode_changed = 1 lock_on_material = 2 lock_system_error = 3 wrong_call = 4 not_found = 5 no_maw1_for_mara = 6 lock_on_marc = 7 lock_on_mbew = 8 OTHERS = 9.

MARC_ARRAY_READ_WERK_ALL * CALL FUNCTION 'MARC_ARRAY_READ_WERK_ALL' * EXPORTING * kzrfb = ' ' * TABLES * iwerk = it_werks * marc_tab = it_marc * EXCEPTIONS * enqueue_mode_changed = 1 * lock_system_error = 2 * lock_on_marc = 3 * OTHERS = 4.

LESEN_VARIANTEN_ZU_SA CALL FUNCTION 'LESEN_VARIANTEN_ZU_SA' EXPORTING * sammelartikel = i_mara-matnr " GB 1596853 * kzrfb = ' ' " GB 1596853 sammelartikel = -matnr " GB 1596853 kzrfb = 'X' " GB 1596853 sperrmodus = ' ' std_sperrmodus = ' ' TABLES varianten = it_mara_var EXCEPTIONS enqueue_mode_changed = 1 lock_on_material = 2 lock_system_error = 3 wrong_call = 4 not_found = 5 no_maw1_for_mara = 6 lock_on_marc = 7 lock_on_mbew = 8 OTHERS = 9.

VENDOR_MASTER_SELECT_EKORG CALL FUNCTION 'VENDOR_MASTER_SELECT_EKORG' EXPORTING pi_ekorg = h_t024e-ekorg IMPORTING pe_ekorz = ref_ekorg pe_more_than_one_found = more_found EXCEPTIONS no_entries_found = 1 OTHERS = 2.

CHECK_MULTIPLE_ASSIGNMENT CALL FUNCTION 'CHECK_MULTIPLE_ASSIGNMENT' IMPORTING multiple_assignment = multi_assign_flag.

ASSORTMENT_GET_ASORT_FOR_CLASS CALL FUNCTION 'ASSORTMENT_GET_ASORT_FOR_CLASS' EXPORTING assortment_class = i_klah-class TABLES assortment_data = ht_wrs1 EXCEPTIONS class_not_exists = 1 no_assortments_found = 2 OTHERS = 3.

ASSORTMENT_GET_USERS_OF_ASORT CALL FUNCTION 'ASSORTMENT_GET_USERS_OF_ASORT' EXPORTING select_invalid_asort = c_x " note 657725 valid_per_date = sy-datum " note 640416 date_to = max_datum " note 640416 TABLES assortment_users = ht_wrsz assortment_asorts = it_wrs1 EXCEPTIONS no_asort_to_select = 1 no_user_found = 2 OTHERS = 3.

T001W_WERKS_FOR_LOCNR CALL FUNCTION 'T001W_WERKS_FOR_LOCNR' EXPORTING locnr = i_asort_data-kunnr IMPORTING werks = i_asort_data-werks EXCEPTIONS no_werks_found = 1 OTHERS = 2.

ASSORTMENT_GET_DATA_AND_USER_B CALL FUNCTION 'ASSORTMENT_GET_DATA_AND_USER_B' EXPORTING asort = p_asort IMPORTING asort_data = h_asort_data EXCEPTIONS no_data = 1 no_valid_data = 2 OTHERS = 3.

ASSORTMENT_GET_ASORT_OF_USER CALL FUNCTION 'ASSORTMENT_GET_ASORT_OF_USER' EXPORTING user = p_locnr user_type = c_typ_filiale TABLES assortment_data = ht_wrs1 EXCEPTIONS no_asort_found = 1 OTHERS = 2.

ASSORTMENT_GET_DATA_AND_USER_B CALL FUNCTION 'ASSORTMENT_GET_DATA_AND_USER_B' EXPORTING asort = ht_wrs1-asort IMPORTING asort_data = h_asort_data EXCEPTIONS no_data = 1 no_valid_data = 2 OTHERS = 3.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-008 text_question = new_text default_button = '2' IMPORTING answer = answer.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING text = new_text.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = text-012 text_question = new_text default_button = '2' IMPORTING answer = answer.

MARA_ARRAY_READ CALL FUNCTION 'MARA_ARRAY_READ' EXPORTING kzrfb = ' ' sperrmodus = ' ' std_sperrmodus = ' ' TABLES ipre03 = lt_pre03 mara_tab = lt_mara_head EXCEPTIONS enqueue_mode_changed = 1 OTHERS = 2.



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