849 Sap Ale Edi Configuration Guide
849 Sap Ale Edi Configuration Guide
Topic
Page No.
INTRODUCTION................................................................................................................................................................4
PURPOSE .................................................................................................................................................................................4
SCOPE .....................................................................................................................................................................................4
DEFINITIONS AND ACRONYMS.................................................................................................................................................4
ASSUMPTIONS..........................................................................................................................................................................4
GENERAL DESCRIPTION...........................................................................................................................................................5
GENERAL CONFIGURATION.....................................................................................................................................................6
CONFIGURATION-INBOUND PROCESS....................................................................................................................................27
CONFIGURATION-OUTBOUND PROCESS.................................................................................................................................61
Introduction
Purpose
This document describes in detail the necessary ALE/EDI Configuration settings in SAP .
Term/Acronym Explanation
Idoc Intermediary document used for data
transition in SAP
RFC Remote Function Call
1. General Configuration
2. Configuration - Outbound Process
3. Configuration - Inbound Process
General Configuration
To transfer the SAP data, necessary ALE customization should be carried out in SAP.
This section explains the minimum general settings that have to be carried out
irrespective of the process (Outbound or Inbound). DEBMAS02 is the IDoc type used for
both inbound and outbound process.
Note: The menu paths given in this document refer to the 4.6B version of SAP.
Wherever possible, transaction codes are also given. Depending on the SAP
Version, it is possible that the menu paths may vary.
The following are the settings that have to be maintained in case of general configuration
settings. Each step is dealt in detail with the help of Screen Shot.
Explanation:
1. A Dummy logical system with an appropriate name should be defined in ALE
Customizing.
(Refer Screen Shot 1.1 and Screen Shot 1.2)
Explanation:
Port definition is the logical destination to be used by the SAP system during data
interchange. Here, the technical characteristics of the connection between the SAP
System and other system are defined. The file port type has to be maintained for the
directory. The outbound IDoc files are stored in the mentioned outbound file whereas the
Inbound files are stored in the mentioned Inbound File.
In outbound processing, SAP system creates the IDocs, processes them and then sends to
the directory defined in the file port. Whereas in case of inbound processing, the ASCII
files are taken from the Inbound Directory, converted to IDocs, processed and a new
record is created in the SAP Database.
Explanation:
1. The function module EDI_PATH_CREATE_CLIENT_DOCNUM (or any
other appropriate function module) is used for generating the IDoc file names.
2. Physical Directory has to be selected
(Screen Shot 3.1)
Screen Shot 3.1
Explanation:
Distribution model contains the following assignments:
1. Create distribution model view (Screen Shots 4.1, 4.2)
2. Assign From and To Logical System. (Screen Shots 4.3, 4.4)
3. Add message types to be transferred DEBMAS
4. Save distribution model.
5. Generate partner profile for logical system. (Screen Shots 4.5, 4.6)
For logical system, a partner profile can be automatically generated from the
distribution model. In this step relevant ports are assigned to the logical system.
Explanation:
The following details are maintained in the partner profile
1. Outbound messages (DEBMAS) to be transferred from SAP. (Screen Shots
5.1 and 5.2)
2. IDoc type (DEBMAS02) to be triggered for each message type
3. File Port to be used for transfer of IDocs .
4. IDoc pack size. This should be set to 1 only.
5. Output mode (Transfer IDoc immediately).
6. Receiver of error notifications (user id) if any, occurs during the process.
Change the port that can be used for both the messages types to the appropriate
port defined in the step 3.
Activate change pointers
Explanation: The relevant message types (DEBMAS) are activated. (Screen shots 6.1,
6.2, 6.3 and 6.4)
B) Execute Manually:
To execute program RBDMIDOC manually, the following steps are to followed.
Transaction: SE38.
Explanation:
1. On the screen enter the name of the program as RBDMIDOC and press the
execute button on the menu bar.
2. On the second screen ie selection screen enter the name of the message type
DEBMAS and execute the program
3. During the execution, two message windows will come. Press the continue button.