Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How we can import an IDOC structure from one SAP system to another

Former Member
0 Kudos

Hi Gurus,

How we can import an IDOC structure from one SAP system to another? If we're using ALE, how can we do that? Please can someone give me the process and necessary t codes.

Any response will be awarded!

Thanks a lot.

Samson

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi!

Define the logical system names in both the systems.

Logical system names :SAP001

SAP002

SAP001 FOR 001 CLIENT

SAP002 FOR 002 CLIENT

These two logical system definitions should be present in both the systems.

Assign the logical systems to the client. (in both the systems)

Assign SAP001 to 001 CLIENT

Assign SAP002 to 002 CLIENT

you can See these in transaction SALE.

After this define the rfc DESTINATION IN sm59. (in both the systems)

In 001 client create the RFC destination name SAP002

In the tab log on security, give the user name and password and client of the 002 client and save it.

Similarly do the reverse in the 002 Client.

In 001 client create the port.(Transaction WE21)

Specify the RFC destination name as SAP002.

Now you can define the ports, (both the systems)

Create the partner profile for partner(ie gve logical system name of partner) , so give as SAP002.

partner profile in both the systems.

Now create the distribution model in BD64 and goto edit>model view>distribute.

The same model view will be visible n distributed to the partner system also..which in this case is sap002.

U may trigger the idoc from we19 and chk its status in we05.

Please let me know if you need further info on this.

2 REPLIES 2

Former Member
0 Kudos

hi!

Define the logical system names in both the systems.

Logical system names :SAP001

SAP002

SAP001 FOR 001 CLIENT

SAP002 FOR 002 CLIENT

These two logical system definitions should be present in both the systems.

Assign the logical systems to the client. (in both the systems)

Assign SAP001 to 001 CLIENT

Assign SAP002 to 002 CLIENT

you can See these in transaction SALE.

After this define the rfc DESTINATION IN sm59. (in both the systems)

In 001 client create the RFC destination name SAP002

In the tab log on security, give the user name and password and client of the 002 client and save it.

Similarly do the reverse in the 002 Client.

In 001 client create the port.(Transaction WE21)

Specify the RFC destination name as SAP002.

Now you can define the ports, (both the systems)

Create the partner profile for partner(ie gve logical system name of partner) , so give as SAP002.

partner profile in both the systems.

Now create the distribution model in BD64 and goto edit>model view>distribute.

The same model view will be visible n distributed to the partner system also..which in this case is sap002.

U may trigger the idoc from we19 and chk its status in we05.

Please let me know if you need further info on this.

0 Kudos

Thanks a lot for the elaborate explaining.