SAP Reports / Programs | Logistics - General | Logistics Basic Data | Assortment Maintenance(LO-MD-RA-MT) SAP LO

SORALLFORM SAP ABAP INCLUDE - FORM routines for program RWSORALL







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


Text pool values


Title: FORM routines for program RWSORALL


INCLUDES used within this REPORT SORALLFORM

INCLUDE RWSORALL_ALF.


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:

MG_GET_FOR_CLASSES CALL FUNCTION 'MG_GET_FOR_CLASSES' EXPORTING * I_KLART = '026' i_klasse = klah-class * I_LANGU = SY-LANGU TABLES o_hier = lt_mathr EXCEPTIONS no_lower_classes = 1 no_class_found = 2 OTHERS = 3.

MAW1_SINGLE_READ CALL FUNCTION 'MAW1_SINGLE_READ' EXPORTING matnr = p_matnr IMPORTING wmaw1 = l_maw1 EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.

MVKE_SINGLE_READ CALL FUNCTION 'MVKE_SINGLE_READ' EXPORTING matnr = p_matnr vkorg = l_sotr-vkorg vtweg = l_sotr-vtweg IMPORTING wmvke = l_mvke EXCEPTIONS lock_on_mvke = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.

WLK1_READ_MULTIPLE_FUNCTIONS CALL FUNCTION 'WLK1_READ_MULTIPLE_FUNCTIONS' EXPORTING wlk1_single_select = h_wlk1 function = 'E' TABLES wlk1_results = lt_wlk1 EXCEPTIONS no_rec_found = 1 OTHERS = 2.

ASSORTMENT_CHECK_ATTYP CALL FUNCTION 'ASSORTMENT_CHECK_ATTYP' " 4.5B

ASSIGNMENT_POS_TO_SHOP CALL FUNCTION 'ASSIGNMENT_POS_TO_SHOP' EXPORTING assortment_head = p_wsoh assortment_pos = p_pos function = c_insert location = p_asort merchandise_group = p_matkl situation = c_check "'T'/' ' listing_method = l_lstfl * listing_check = 'X' " COLLETT 4.7

WRS1_SINGLE_READ CALL FUNCTION 'WRS1_SINGLE_READ' EXPORTING asort = p_asort IMPORTING wrs1_out = p_wrs1 EXCEPTIONS no_record_found = 1 spras_not_found = 2 OTHERS = 3.

MODULE_CREATE CALL FUNCTION 'MODULE_CREATE' EXPORTING function = c_insert location = p_asort merchandise_group = p_matkl save_directly = 'X' IMPORTING module = p_wsoh module_text = p_wsot wscor = wscor EXCEPTIONS module_already_exists = 1 wrong_function = 2 OTHERS = 3.

MATERIAL_READ_WITH_MATKL CALL FUNCTION 'MATERIAL_READ_WITH_MATKL' EXPORTING matkl = p_matkl only_retail = 'X' spras = sy-langu only_active = 'X' kzrfb = p_kzrfb incl_planned = '' " COLLETT 4.7

VARIANT_ITEM_READ_ALL CALL FUNCTION 'VARIANT_ITEM_READ_ALL' EXPORTING item = pt_mara-matnr type_f = 'X' IMPORTING e_attyp = attyp TABLES variant_list = ht_mara EXCEPTIONS no_variants_found = 1 OTHERS = 2.

ASSORTMENT_FIND_ISSUING_TYPE CALL FUNCTION 'ASSORTMENT_FIND_ISSUING_TYPE' EXPORTING mara_delivery_code = p_bwscl EXCEPTIONS from_external_vendor = 1 from_internal_plant = 2 undefined_issuing = 3 undetermined_delivery_code = 4 OTHERS = 5.

WSOH_READ_PROFILE_MODULE CALL FUNCTION 'WSOH_READ_PROFILE_MODULE' EXPORTING matkl = p_matkl asort = p_asort only_active = 'X' datab = p_datuv datub = p_datub IMPORTING ewsoh = p_wsoh EXCEPTIONS key_uncomplete = 1 rec_enqueued = 2 rec_not_active = 3 rec_not_valid_in_time = 4 no_rec_found = 5 OTHERS = 6.

PROFILE_MODULE_READ_AND_CREATE CALL FUNCTION 'PROFILE_MODULE_READ_AND_CREATE' EXPORTING matkl = p_matkl asort = p_asort datab = p_datuv datub = p_datub save_directly = 'X' IMPORTING ewsoh = p_wsoh EXCEPTIONS no_profile_module = 1 OTHERS = 2.

ASSORTMENT_ISSUING_SELECT * CALL FUNCTION 'ASSORTMENT_ISSUING_SELECT' * EXPORTING * ITEM = P_MATNR * SHOP = P_ASORT * DATE = P_DATUV * MATKL = P_MATKL * BWSCL = P_BWSCL * TABLES * ISSUING_PLANTS = PT_WERK * EXCEPTIONS * NO_ISSUING_PLANT = 1 * OTHERS = 2.

ASSORTMENT_ALL_ISSUING_SELECT CALL FUNCTION 'ASSORTMENT_ALL_ISSUING_SELECT' EXPORTING item = p_matnr asort = p_asort matkl = p_matkl bwscl = p_bwscl date = p_datuv TABLES issuing_plants = pt_werk EXCEPTIONS no_issuing_plant = 1 OTHERS = 2.

WLK1_READ_INTO_BUFFER CALL FUNCTION 'WLK1_READ_INTO_BUFFER' EXPORTING sortierung = '1' TABLES t_mara = t_all_matnr t_wrs1 = t_asort.

WRS1_SINGLE_READ CALL FUNCTION 'WRS1_SINGLE_READ' EXPORTING asort = p_asort only_single_select = 'X' IMPORTING wrs1_out = wrs1 EXCEPTIONS no_record_found = 1 spras_not_found = 2 OTHERS = 3.

WRS1_SINGLE_READ CALL FUNCTION 'WRS1_SINGLE_READ' EXPORTING asort = p_wrs6-asort IMPORTING wrs1_out = wrs1.

MVKE_SINGLE_READ





CALL FUNCTION 'MVKE_SINGLE_READ' EXPORTING matnr = p_matnr vkorg = l_sotr-vkorg vtweg = l_sotr-vtweg IMPORTING wmvke = l_mvke EXCEPTIONS lock_on_mvke = 1 lock_system_error = 2 wrong_call = 3 not_found = 4 OTHERS = 5.

MAW1_SINGLE_READ CALL FUNCTION 'MAW1_SINGLE_READ' EXPORTING matnr = p_matnr IMPORTING wmaw1 = l_maw1 EXCEPTIONS wrong_call = 1 not_found = 2 OTHERS = 3.

WLK1_READ_INTO_BUFFER CALL FUNCTION 'WLK1_READ_INTO_BUFFER' EXPORTING sortierung = '3' TABLES t_mara = lt_mara t_wrs1 = t_asort.

MAW1_ARRAY_READ CALL FUNCTION 'MAW1_ARRAY_READ' EXPORTING kzrfb = 'X'.

MVKE_ARRAY_READ CALL FUNCTION 'MVKE_ARRAY_READ' EXPORTING kzrfb = 'X'.



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