SAP Reports / Programs | Logistics Execution | Warehouse Management(LE-WM) SAP LE

RLALEACU SAP ABAP Report - Generate distribution model for WMS component







RLALEACU is a standard Executable ABAP Report 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 RLALEACU into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

OL19 - Generate Distribution Model


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


Text pool values


Selection Text: I_VTWEG = Distribution Channel
Selection Text: I_VKORG = Sales Organization
Selection Text: I_TEST = Test
Selection Text: I_MTART = Material Type
Selection Text: I_LGNUM = Warehouse Number
Selection Text: I_CUSTM = Allocation Model
Title: Generate distribution model for WMS component
Text Symbol: S16 = Vendor master distribution
Text Symbol: S15 = Report stock transfers / posting changes / differences
Text Symbol: S14 = Transmit inbound delivery
Text Symbol: S13 = Transmit outbound delivery
Text Symbol: S12 = Customer master distribution
Text Symbol: S11 = Distribution material master
Text Symbol: S10 = Distribution warehouse:
Text Symbol: OK4 = Decentralized processing activated in WM system for warehouse number:
Text Symbol: OK3 = Decentralized processing for warehouse number activated in ERP system:
Text Symbol: OK2 = The following scenarios are available:
Text Symbol: OK1 = Distrib. model maintained for WMS component:
Text Symbol: N09 = Log
Text Symbol: N08 = Successfully Inserted Scenario
Text Symbol: N07 = Incorrect Scenario
Text Symbol: N06 = Existing Scenario
Text Symbol: N05 = Status
Text Symbol: N04 = Text
Text Symbol: S17 = Distribution classification system: Features
Text Symbol: S18 = Distribution classification system: Classification
Text Symbol: S19 = Distribution classification system: Classes
Text Symbol: S20 = Distribution batches
Text Symbol: S21 = Verify outbound delivery
Text Symbol: S22 = Verify inbound delivery
Text Symbol: S23 = Allocation article master
Text Symbol: S24 = Transmit posting change notice
Text Symbol: S25 = Verify posting change notice
Text Symbol: S26 = Split outbound delivery
Text Symbol: S27 = Change Outbound Delivery (ERP->WMS)
Text Symbol: S28 = Change Outbound Delivery (WMS->ERP)
Text Symbol: S29 = Change Inbound Delivery (ERP->WMS)
Text Symbol: S30 = Change Inbound Delivery (WMS->ERP)





Text Symbol: S31 = Send shipment
Text Symbol: S32 = Change shipment (ERP->WMS)
Text Symbol: TS1 = Test run: No message flow appended
Text Symbol: TS2 = The following scenarios were selected:
Text Symbol: 001 = Whse Number for WMS Component
Text Symbol: 002 = Log. Name of ERP System
Text Symbol: 003 = Log. Name of WMS System
Text Symbol: 004 = Sales Organization
Text Symbol: 005 = Distribution Channel
Text Symbol: 006 = Message for Material Master
Text Symbol: 007 = Message for Customer Master
Text Symbol: 008 = Message for Vendor Master
Text Symbol: 009 = Batches
Text Symbol: 010 = Systems Involved
Text Symbol: 011 = Master data to be distributed
Text Symbol: 012 = Optional
Text Symbol: 013 = Via classes
Text Symbol: 014 = Distribution Batch Class
Text Symbol: 015 = Distribution for Batches
Text Symbol: 016 = Output for Article Master
Text Symbol: 020 = Method already defined
Text Symbol: 021 = Message type already defined
Text Symbol: 022 = Optional Methods
Text Symbol: 023 = Use change management for inbound and outbound delivery
Text Symbol: 024 = Replicate shipments in decentralized WMS
Text Symbol: 025 = Use change management for shipments
Text Symbol: CUS = Model View
Text Symbol: F01 = No distribution model has been specified
Text Symbol: F03 = No valid message type in interface
Text Symbol: F04 = No valid method in interface
Text Symbol: F05 = Distribution model is locked at this time
Text Symbol: F07 = Distribution model cannot be maintained in this system
Text Symbol: F08 = Error in function MODEL_ADD_METHOD_LINK
Text Symbol: F2A = ERP system is not a valid, logical system
Text Symbol: F2B = WM system is not a valid, logical system
Text Symbol: FA1 = Error during activation of decentr. processing in ERP system for whse no.:
Text Symbol: FA2 = Error during activation of decentr. processing in WM system for whse no.:
Text Symbol: FA3 = The following errors occurred:
Text Symbol: FA4 = Activation of decentr. processing not possible in ERP system





Text Symbol: FA5 = Activation of decentr. processing not possible in WMS system
Text Symbol: FA6 = Maintenance of distribution model does not take place in ERP or WM system
Text Symbol: FS1 = Error during maintenance of distrib.model:
Text Symbol: FS2 = The following scenarios were selected:
Text Symbol: N01 = Scenario
Text Symbol: N02 = Method or Message Type
Text Symbol: N03 = Message Text


INCLUDES used within this REPORT RLALEACU

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:

L_WMS_CEN_CHECK CALL FUNCTION 'L_WMS_CEN_CHECK' EXPORTING i_lgnum = i_lgnum IMPORTING i_decsy = gv_decsy EXCEPTIONS lgnum_does_not_exist = 1 OTHERS = 2.

L_MESSAGE_AUFBEREITEN CALL FUNCTION 'L_MESSAGE_AUFBEREITEN' EXPORTING i_mess = lmess IMPORTING o_text = hlp_message.

L_MESSAGE_AUFBEREITEN CALL FUNCTION 'L_MESSAGE_AUFBEREITEN' EXPORTING i_mess = lmess IMPORTING o_text = hlp_message.

MODEL_ADD_METHOD_LINK CALL FUNCTION 'MODEL_ADD_METHOD_LINK' EXPORTING blink = bapi_link TABLES filter = t_fbapis2 EXCEPTIONS view_name_not_specified = 1 sending_system_not_valid = 2 receiving_system_not_valid = 3 method_not_valid = 4 model_foreign_lock = 5 link_already_exists = 6 view_maintenance_not_allowed = 7 OTHERS = 8.

MODEL_ADD_MESSAGE_TYPE_LINK CALL FUNCTION 'MODEL_ADD_MESSAGE_TYPE_LINK' EXPORTING mlink = msgtyp_link TABLES filter = t_fmsgtyp2 EXCEPTIONS view_name_not_specified = 1 sending_system_not_valid = 2 receiving_system_not_valid = 3 message_type_not_valid = 4 model_foreign_lock = 5 link_already_exists = 6 view_maintenance_not_allowed = 7 OTHERS = 8.

OWN_LOGICAL_SYSTEM_GET CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET' IMPORTING own_logical_system = own_logsystem EXCEPTIONS own_logical_system_not_defined = 01.

L_WMS_CEN_SET CALL FUNCTION 'L_WMS_CEN_SET' EXPORTING i_lgnum = i_lgnum i_commit_work = con_x EXCEPTIONS lgnum_does_not_exist = 1 error_update = 2 OTHERS = 3.

L_WMS_CEN_IM_SYNC_RECEIVER CALL FUNCTION 'L_WMS_CEN_IM_SYNC_RECEIVER' EXPORTING i_werks = it320-werks i_lgort = it320-lgort i_lgnum = i_lgnum IMPORTING e_receiver = hlp_receiver e_rfctype = hlp_rfctype EXCEPTIONS not_unique_receiver = 1 no_rfc_destination_maintained = 2 error_in_ale = 3 error_in_wm_customizing = 4 inconsistency_between_wm_ale = 5 OTHERS = 6.

L_WMS_CEN_SET CALL FUNCTION 'L_WMS_CEN_SET' DESTINATION hlp_receiver-rfc_dest EXPORTING i_lgnum = i_lgnum i_commit_work = con_x EXCEPTIONS communication_failure = 1 MESSAGE icen_error-message system_failure = 2 MESSAGE icen_error-message lgnum_does_not_exist = 3 error_update = 4 OTHERS = 5.

L_WMS_DEC_SET CALL FUNCTION 'L_WMS_DEC_SET' EXPORTING i_commit_work = con_x TABLES t_wmsdec = t_wmsdec EXCEPTIONS error_update = 1 OTHERS = 2.

L_WMS_DEC_WM_SYNC_RECEIVER CALL FUNCTION 'L_WMS_DEC_WM_SYNC_RECEIVER' EXPORTING i_lgnum = i_lgnum IMPORTING e_receiver = hlp_receiver e_rfctype = hlp_rfctype EXCEPTIONS not_unique_receiver = 1 no_rfc_destination_maintained = 2 error_in_ale = 3 lgnum_not_decentralized = 4 lgnum_does_not_exist = 5 OTHERS = 6.

L_WMS_DEC_SET CALL FUNCTION 'L_WMS_DEC_SET' DESTINATION hlp_receiver-rfc_dest EXPORTING i_commit_work = con_x TABLES t_wmsdec = t_wmsdec EXCEPTIONS communication_failure = 1 MESSAGE idec_error-message system_failure = 2 MESSAGE idec_error-message error_update = 3 OTHERS = 4.

SWO_QUERY_API_METHODS CALL FUNCTION 'SWO_QUERY_API_METHODS' EXPORTING objtype = p_objtyp method = p_method with_impl_methods = con_x with_texts = con_x with_object_names = con_x TABLES api_methods = t_api_methods EXCEPTIONS objtype_not_found = 1 method_not_found = 2 method_not_api = 3 method_not_released = 4 parameter_error = 5 OTHERS = 6.

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING * DDIC_STRUCTURE = ' ' retfield = 'MESTYP' * PVALKEY = ' ' * DYNPPROG = ' ' * DYNPNR = ' ' * DYNPROFIELD = ' ' * STEPL = 0 * WINDOW_TITLE = * VALUE = ' ' value_org = 'S' * MULTIPLE_CHOICE = ' ' * DISPLAY = ' ' * CALLBACK_PROGRAM = ' ' * CALLBACK_FORM = ' ' TABLES value_tab = t_f4msgtyp * FIELD_TAB = FIELD_TAB return_tab = rettab EXCEPTIONS parameter_error = 1 no_values_found = 2 OTHERS = 3.

SHP_CHANGE_ACTIVATE



CALL FUNCTION 'SHP_CHANGE_ACTIVATE' DESTINATION lf_remlsy EXPORTING if_erp_logsys = if_erplsy if_wms_logsys = if_wmslsy if_lgnum = if_lgnum EXCEPTIONS communication_failure = 1 MESSAGE icen_error-message system_failure = 2 MESSAGE icen_error-message OTHERS = 3.

SHP_CHANGE_ACTIVATE CALL FUNCTION 'SHP_CHANGE_ACTIVATE' EXPORTING if_erp_logsys = if_erplsy if_wms_logsys = if_wmslsy if_lgnum = if_lgnum EXCEPTIONS commit_failure = 1 OTHERS = 2.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = lv_repid I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' I_GRID_TITLE = lv_title IS_LAYOUT = ls_layout IT_FIELDCAT = it_fieldcat[] TABLES T_OUTTAB = gt_output EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = lv_icon TEXT = lv_quickinfo INFO = lv_shorttext IMPORTING RESULT = cv_icon EXCEPTIONS ICON_NOT_FOUND = 1 OUTPUTFIELD_TOO_SHORT = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = lv_repid I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS_PROT' I_GRID_TITLE = lv_title IS_LAYOUT = ls_layout IT_FIELDCAT = lt_fieldcat[] TABLES T_OUTTAB = gt_prot[] EXCEPTIONS PROGRAM_ERROR = 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 RLALEACU or its description.