You are on page 1of 7

PUBLIC

Decentralized EWM: Setup Reports for


Configuration of IDoc Communication
Automate configuration steps for ALE IDoc communication
in sender and receiver systems
TABLE OF CONTENTS
OVERVIEW ....................................................................................................................................................... 3
Report for creating reduced ALE Message Types ....................................................................................... 4
Adjustable settings in the report ................................................................................................................... 4
Report for sender system ............................................................................................................................... 5
Adjustable settings in the report ................................................................................................................... 5
Report for receiver system ............................................................................................................................. 7
Adjustable settings in the report ................................................................................................................... 7

www.sap.com/contactsap

© 2020 SAP SE or an SAP affiliate company. All rights reserved.


No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.

The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distributors contain proprietary software components of other software vendors.
National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated companies shall not be liable
for errors or omissions with respect to the materials. The only warranties for SAP or SAP affiliate company products and services are those that are set forth in the express warranty statements
accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.

In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this document or any related presentation, or to develop or release any functionality
mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ strategy and possible future developments, products, and/or platform directions and functionality are
all subject to change and may be changed by SAP SE or its affiliated companies at any time for any reason without notice. The information in this document is not a commitment, promise, or legal obligation
to deliver any material, code, or functionality. All forward-looking statements are subject to various risks and uncertainties that could cause actual results to differ materially from expectations. Readers are
cautioned not to place undue reliance on these forward-looking statements, and they should not be relied upon in making purchasing decisions.

SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE (or an SAP affiliate company) in Germany and other
countries. All other product and service names mentioned are the trademarks of their respective companies. See www.sap.com/copyright for additional trademark information and notices.
With these reports, you can automate the setup of ALE Customizing to enable master data transfer from an
enterprise management system, such as SAP S/4HANA or SAP ERP, to decentralized Extended Warehouse
Management (EWM) based on SAP S/4HANA.

To establish the master data transfer from an enterprise management system (sender system) to
decentralized EWM system (receiver system), you use ALE IDoc communication. You configure the ALE
Customizing in the sender and receiver systems. As there are several repetitive steps and usually the
default setup is used in most of the cases, the steps can be automated. The reports set up a default IDoc
communication between the systems. You can also manually configure additional Customizing.

The reports can be used to check an existing configuration as well.

OVERVIEW
You use the following reports for the complete setup of the ALE Customizing.
• A report for generating the necessary reduced ALE IDoc message types
• A report for the sender side configuration
• A report for the receiver side configuration
You can adjust default settings like message type names, filter values and advanced settings in all the
reports.
Every report has a Check and Change Mode. In the Check Mode, the report reads and checks the existing
Customizing without making any changes. In the Change Mode, the report checks the Customizing and then
saves the changes. The reports use Customizing requests to collect all changes in the systems. The result of
the report can be adjusted manually, if necessary. The reports do not overwrite any existing Customizing.

3
Report for creating reduced ALE Message Types

Report /SPE/R_DEC_EWM_REDUCE_MESSTYPE

Transaction code /SPE/DECEWM_MESSTYPE

System Sender and Receiver systems

Client Dependent No

Delivered in SAP Note 2873713

The communication with an ALE IDoc is done using messages based on message types. There are several
basic message types for common objects like customer, vendor and material. These message types contain
all available segments and fields. When you use a decentralized EWM connected to an enterprise
management system, you do not need all possible segments and fields in the communication. For this
purpose, we recommend using reduced message types. A reduced message type contains a subset of
segments and fields of a base message types.
In decentralized EWM, we recommend that you reduce the message type for customers (based on DEBMAS), for
vendors (based on CREMAS), and materials (based on MATMAS). You can create the reduced message types
manually in the systems, or the report can do this automatically.
There are some fields which are not maintained as filters for base message types. If you create the reduced
message types with the report, the following fields will be maintained as filter fields: Sales Organization and
Company Code for customers, Purchasing Organization and Company Code for vendors; and Storage
Location for materials.

Adjustable settings in the report


Under Reduce Message Types, you can select which reduced message types are generated and enter a
name and description for each.
Under Settings, you can execute the report in the following modes:
• you can select the Check Customizing radio button to display the existing entries in the
Customizing and their current status. In this mode, no changes are saved.
• you can select the Check and Perform Customizing radio button to save changes in the
Customizing.

4
Report for the sender system

Report /SPE/R_DEC_EWM_ALE_CUST

Transaction Code /SPE/DECEWM_ALE

System Sender System

Client Dependent Yes

Delivered in SAP Note 2843956

Most of the settings of the ALE IDoc communication are to be done in the sender system. There should be
change pointer activation, ALE distribution model generation, ALE port settings, partner profiles and
conversion rules. You can execute these steps manually in the systems, or the report can do this
automatically.

Adjustable settings in the report


Under Logical Systems, you can maintain the logical system of the receiver system. Your logical system is
automatically prefilled as the sender system.
Under Reduced Message Types, you can maintain the reduced message types you are using (and what
you have already created with the report).
Under Change Pointer Settings, you can activate or deactivate change pointers for the IDoc message
types:
• If you select the Activate Change Pointers radio button, the system creates the necessary TBDA2
entry for all message types. For reduced message types, the system creates the necessary entries
for all message type fields into table TBD62.
• If you select the No Changes in Change Pointers radio button, the system does not perform any
actions.
• If you select the Deactivate Change Pointers radio button, the entries relevant to the message
types are deleted.
• If you select the Maintain Retail Settings checkbox, the system creates additional entries for all
reduced message types for materials. If you want to transfer articles from a sender system, this
setting allows the system to create entries for articles as well.
Under Distribution Model, you can generate an ALE distribution model for data transfer from the sender to
the receiver system:
• You can enter a technical name for the distribution model.
• The system adds the following message types to the distribution model:
o Reduced message type for materials (based on message type MATMAS)
o Reduced message type for vendors (based on message type CREMAS)
o Reduced message type for customers (based on message type DEBMAS)
o Message type for batch characteristics (CHRMAS)
o Message type for batch classifications (CLFMAS)
o Message type for batch classes (CLSMAS)
• The system adds the following BAPIs to the distribution model:
o BAPI for Business Partner addresses (AddressOrg.SaveReplica)
o BAPI for batches (Batch.SaveReplica)

5
• The system sets up dependent distribution between material message type and batches, and
between material message type and classifications.
• The system sets up dependent distribution between customer message types and addresses, and
vendor message types and addresses.
• The report sets the following default filters in the ALE distribution model:
o For message type CLFMAS - "Class Type" = "022" OR "023"
o For message type CLSMAS - "Class Type" = "022" OR "023"
• The report sets the following adjustable filters in the ALE distribution model. You can change the
default filters in the corresponding fields.
o For the reduced message type for materials for Material Type and Material Group. If you
select the Activate Enhanced Filtering and Transfer Options checkbox, then Plant and
Storage Location are also added as a filter.
o For the reduced message type for vendors for Vendor Account Group. If you select the
Activate Enhanced Filtering and Transfer Options checkbox, the Purchasing
Organization and Company Code are also added as a filter.
o For the reduced message type for customers for Customer Account Group. If you select
the Activate Enhanced Filtering and Transfer Options checkbox, the Sales Organization
and Company Code are also added as a filter.
Under Further Process Steps, you can make the following settings:
• If you select the Create Port for IDocs checkbox, the report creates an ALE IDoc Port for the
sender system to enable ALE message sending.
• If you select the Maintain Partner Profiles and Outbound Parameters checkbox, the report
creates partner profiles for the receiver system in order to send IDoc messages to it. The necessary
outbound parameters are set to the partner profiles for the IDoc message types.
• You can set the IDoc mode for the outbound parameters. The following options are available:
o Immediate IDoc Mode: The system generates an output for each IDoc immediately.
o Collective IDoc Mode: The system generates a collective output for all the IDocs at a
defined time.
• If you select the Create Conversion Rules for Material Maintenance Status checkbox, the report
creates conversion rules for material maintenance status.
o You can set a prefix for the conversion rule name.
• When you execute the report, a new entry is created in the maintenance view /SPE/V_EWM_DEST
and the receiver system is set as decentralized EWM in the view. For further details see SAP Note
2881061 (Decentralized EWM: Enhanced Settings for ALE Data Transfer).
• If you select the Activate Enhanced Filtering and Transfer Options checkbox, enhanced filters
are set for the corresponding message types. Additionally, in the maintenance view
/SPE/V_EWM_DEST enhanced filter and data transfer options are added to the new entry.
Under Settings, you can execute the report in the following modes:
• You can select the Check Customizing radio button, to display the existing entries in the
Customizing and their current status. In this mode, no changes are saved.
• You can select the Check and Perform Customizing radio button to save the changes in the
Customizing.

6
Report for the receiver system

Report /SCWM/R_DEC_EWM_ALE_SETUP

Transaction code /SCWM/DECEWM_ALE

System Receiver System

Client Dependent Yes

Delivered in SAP Note 2873714

Only few of the ALE IDoc communication settings have to be made in the receiver system. There should be
partner profiles maintained. You can execute these steps manually in the systems, or the report can do this
automatically.

Adjustable settings in the report


Under Logical Systems, you can maintain the logical system of the sender system. Your logical system is
automatically prefilled as the receiver system.
Under Reduced Message Types, you can maintain the reduced message types you are using (and what
you have already created with the report).
Under Process Steps, you can make the following settings:
• If you select the Maintain Partner Profiles and Inbound Parameters checkbox, the report creates
a partner profile for the sender system in order to receive IDoc messages from it. Inbound
parameters are set to the partner profile for the IDoc message types.
• You can set the IDoc mode for the inbound parameters. The following options are available:
o Immediate IDoc Mode: The inbound IDoc is processed immediately.
o Collective IDoc Mode: The system processes the inbound IDoc as a background job. This
setting is only relevant for inbound processing by a function module. Other inbound
processing types (task, process) are processed immediately.
Under Settings, you can execute the report in the following modes:
• You can select the Check Customizing radio button to display the existing entries in the
Customizing and their current status. In this mode, no changes are saved.
• You can select the Check and Perform Customizing radio button to save the changes in the
Customizing.

You might also like