SAP Reports / Programs | Logistics - General | Logistics Basic Data | Vendor Master(LO-MD-BP-VM) SAP LO

RWALEACU SAP ABAP Report - Generate Distribution Model for Customer/Vendor and Relevant Addresses







RWALEACU is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for The following business partners use Central Address Management (CAM): Customers Vendors Contact persons For distribution as stand alone objects in ALE, addresses are assigned to the following message categories: ADRMAS ADR2MAS ADR3MAS Use this report to generate a recommendation for a distribution model...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter RWALEACU 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

WYL2 - Generate vert. model master + addr.


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 RWALEACU. "Basic submit
SUBMIT RWALEACU AND RETURN. "Return to original report after report execution complete
SUBMIT RWALEACU 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_TEST = Test
Selection Text: I_MSGDEB = Message category customers
Selection Text: I_MSGCRE = Message category vendors
Title: Generate Distribution Model for Customer/Vendor and Relevant Addresses
Text Symbol: TS2 = Following scenarios were selected:
Text Symbol: TS1 = Test run: No message flow appended
Text Symbol: OK1 = Distribution model for master data maintained:
Text Symbol: H02 = Filter groups are added
Text Symbol: H01 = Methods already available in following model view: &1
Text Symbol: FS2 = Following scenarios were selected:
Text Symbol: FS1 = Error during maintenance of distrib.model:
Text Symbol: F12 = Message type already defined
Text Symbol: F11 = Method already defined
Text Symbol: F10 = Error in function MODEL_ADD_MESSAGE_TYPE_LINK.
Text Symbol: F09 = No valid message type in interface
Text Symbol: F08 = Error in function MODEL_ADD_METHOD_LINK
Text Symbol: F07 = Distribution model cannot be maintained in this system
Text Symbol: F05 = Distribution model is locked at this time
Text Symbol: F04 = No valid method in interface
Text Symbol: F03 = Receiving system is not a valid logical system
Text Symbol: F02 = Sending system is not a valid logical system
Text Symbol: F01 = No distribution model has been specified
Text Symbol: CUS = Model view
Text Symbol: 016 = Contact partner address distribution
Text Symbol: 015 = Private address distribution
Text Symbol: 014 = Company address distribution
Text Symbol: 013 = Vendor master distribution
Text Symbol: 012 = Customer master distribution
Text Symbol: 011 = Via classes
Text Symbol: 010 = Systems involved
Text Symbol: 006 = Message category vendor master
Text Symbol: 005 = Message cat. customer master
Text Symbol: 004 = Master data to be distributed
Text Symbol: 003 = Receiving system
Text Symbol: 002 = Sending system
Text Symbol: 001 = Distribtn model


INCLUDES used within this REPORT RWALEACU

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:

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.

SWO_QUERY_API_METHODS CALL FUNCTION 'SWO_QUERY_API_METHODS' EXPORTING objtype = p_objtyp method = p_method with_impl_methods = 'X' with_texts = 'X' with_object_names = '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 .

ADDR_TSADOBJ_READ_INVERSE CALL FUNCTION 'ADDR_TSADOBJ_READ_INVERSE' EXPORTING table_name = p_tablename field_name = p_fieldname table_pers = p_table_pers field_pers = p_field_pers langu = sy-langu IMPORTING tsadobj_wa = lok_tsadobj * TSADOBJT_WA = * TEXT_NOT_MAINTAINED = EXCEPTIONS entry_not_found = 1 OTHERS = 2 .

MODEL_GET CALL FUNCTION 'MODEL_GET' EXPORTING language = sy-langu TABLES * T_VIEW = * T_LSYS = t_blink = lt_blink_all * T_API = * T_MLINK = * T_MTYP = t_bflt = lt_bflt_all * T_MFLT = * T_BPRM = * T_FOBJT = * T_FOBJV = .

BMODEL_MODIFY CALL FUNCTION 'BMODEL_MODIFY' EXPORTING custmodel = lv_custmodel TABLES blink = lt_blink bflt = lt_bflt * BRED = .

BAL_LOG_CREATE CALL FUNCTION 'BAL_LOG_CREATE' EXPORTING i_s_log = l_s_log EXCEPTIONS OTHERS = 1.

BAL_LOG_MSG_ADD CALL FUNCTION 'BAL_LOG_MSG_ADD' EXPORTING * I_LOG_HANDLE = i_s_msg = gs_msg EXCEPTIONS log_not_found = 0 OTHERS = 1.

BAL_DSP_PROFILE_DETLEVEL_GET CALL FUNCTION 'BAL_DSP_PROFILE_DETLEVEL_GET' IMPORTING e_s_display_profile = ls_display_profile EXCEPTIONS OTHERS = 1.

BAL_DSP_LOG_DISPLAY CALL FUNCTION 'BAL_DSP_LOG_DISPLAY' EXPORTING i_s_display_profile = ls_display_profile EXCEPTIONS OTHERS = 1.



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