cancel
Showing results for 
Search instead for 
Did you mean: 

data migration with ALE/Idoc

hammitou_jack
Explorer
0 Kudos

Hello .

I want to migrate data between two SAP system using ALE / IDOC, and I want to know the settings to make on each system (source and target).

Does someone has an idea?

Thank you all

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Outbound Settings

Define Logical Systems and Assign Client to Logical System u2013 Transaction SALE

u2022 Go to Define Logical System (See the figure)

u2022 Define a new logical system to identify the local system and save it

u2022 Now, go to Assign Client to Logical System (See the figure)

u2022 Add a new entry

u2022 Specify the client, previously created logical system and other attributes

u2022 Save the entry

u2022 Define a new logical system to identify the partner system and save it

Maintain RFC Destinations u2013 Transaction SM59

u2022 Create a new RFC destination for R/3 type connection

u2022 Specify the target host on Technical settings tab

u2022 Provide the Logon credentials on the Logon/Security tab

u2022 Save the settings

u2022 To verify the settings, Click on Test connection or Remote logon

Define Ports u2013 Transaction WE21

u2022 We need to define a tRFC port for the partner system

u2022 Click on Transactional RFC node

u2022 Create a new port

u2022 Provide a description

u2022 Specify the name of the target RFC destination

u2022 Save the object

Maintain Distribution Model u2013 Transaction BD64

u2022 Click on Change

u2022 Create a new model view

u2022 Provide a Short text and Technical name to the model view

u2022 Add message type

u2022 Specify sender and receiver systems

u2022 Also, specify the message type that we created previously

u2022 Save the Distribution model

Generate/Create Partner Profile u2013 Transactions BD82/WE20

u2022 To generate Partner profiles automatically you may use BD82 or go to BD64 and use the menu path Environment -> Generate partner profiles

o Otherwise, you may use transaction WE20 to create a partner profile

u2022 On selection screen, specify the model view, target system and execute

u2022 The result log will be displayed on the next screen

u2022 To verify the partner profile go to WE20

u2022 Check the partner profile for the target system

Distribute Model View u2013 Transaction BD64

u2022 Select the Model View

u2022 Go to menu path Edit -> Model View -> Distribute

u2022 Result log will be displayed on the next screen

Inbound Settings

u2022 Define Logical Systems u2013 Transaction SALE (Please refer to Outbound Settings discussed)

u2022 Assign Client to Logical System u2013 Transaction SALE (Please refer to Outbound Settings discussed)

u2022 Maintain RFC Destinations u2013 Transaction SM59 (Please refer to Outbound Settings discussed)

u2022 Define Ports u2013 Transaction WE21 (Please refer to Outbound Settings discussed)

u2022 Generate/Create Partner Profile u2013 Transactions BD82/WE20 (Please refer to Outbound Settings discussed)

u2022 Assign Function Module to Logical message u2013 Transaction WE57

o Create a new entry

o Specify name of the Function Module

o Also, specify Type as F, Basic IDoc type , Message type and Direction as 2 (Inbound)

o Save the entry

u2022 Define Input method for Inbound Function Module u2013 Transaction BD51

o Create a new entry

o Provide Function Module name

o Specify the Input method as 2

o Save the entry

u2022 Create a Process Code u2013 Transaction WE42

o Create a new Process Code

o Select Processing with ALE Service

o Choose Processing type as Processing by function module

o Save the entry

o On the next screen, select your function module from the list

o Save the changes

o Now you will be taken to the next screen

o Double-click on Logical message

o In the Assignment to logical message, specify the message type

o Save the changes

hammitou_jack
Explorer
0 Kudos

thank you very much

Sandra_Rossi
Active Contributor
0 Kudos

several wikis discuss of that. They are referred in this [wiki - ALE and IDocs|http://wiki.sdn.sap.com/wiki/display/ABAP/ALEandIDocs]

Former Member
0 Kudos

Hi ,

Ask your basis guy will do that ..