cancel
Showing results for 
Search instead for 
Did you mean: 

Model view for inbound IDOC in ALE Config

Former Member
0 Kudos

Hi Gurus,

here i am working on the scenario of File to IDOC.. for posting the idoc s (INBOUND IDOC)to ECC from XI we need to Configure the ALE.

but while configuring the ALE we need to create the model view where we need to provide Sender system , receiver system and message type. but there in XI we are not having any message types saved .... so my here my question is how to create a model view in XI with a message type we need .

As i heard that when ever we create this model view that system automatically becomes the sender ... please help me out in this issue.

Accepted Solutions (0)

Answers (3)

Answers (3)

sunil_singh13
Active Contributor
0 Kudos

Hi ramana ,

Just Follow Below Steps to Configure ALE Rest of The things are easy you can refer links given by chirag for that

Steps for ALE settings:-

Steps for XI

Step 1)

Goto SM59.

Create new RFC destination of type 3(Abap connection).

Give a suitable name and description.

Give the Ip address of the R3 system.

Give the system number.

Give the gateway host name and gateway service (3300 + system number).

Go to the logon security tab.

Give the lang, client, username and password.

Test connection and remote logon.

Step 2)

Goto IDX1.

Create a new port.

Give the port name.

Give the client number for the R3 system.

Select the created Rfc Destination.

Step 3)

Goto IDX2

Create a new Meta data.

Give the Idoc type.

Select the created port.

Steps for R3.

Step 1)

Goto SM59.

Create new RFC destination of type 3(Abap connection).

Give a suitable name and description.

Give the Ip address of the XI system.

Give the system number.

Give the gateway host name and gateway service (3300 + system number).

Go to the logon security tab.

Give the lang, client, username and password.

Test connection and remote logon.

Step 2)

Goto WE21.

Create a port under transactional RFC.(R3->XI)

Designate the RFC destination created in prev step.

Step 3)

Goto SALE.

Basic settings->Logical Systems->Define logical system.

Create two logical systems(one for XI and the other for R3)

Basic settings->Logical Systems->Assign logical system.

Assign the R3 logical system to respective client.

Step 4)

Goto WE20.

Partner type LS.

Create two partner profile(one for XI the other for R3).

Give the outbound or inbound message type based on the direction.

Step 5)

Goto WE19

Give the basic type and execute.

fill in the required fields.

Goto IDOC->edit control records.

Give the following values.(Receiver port,partner no.,part type and sender Partner no. and type)

Click outbound processing.

Step 6)

Go to SM58

if there are any messages then there is some error in execution.

Goto WE02.

Check the status of the IDOC.

Goto WE47.

TO decode the status code.

Step 7)

Not mandatory.

Goto BD64.

Click on Create model view.

Add message type.

BD87 to check the status of IDOC.

In case if not authorized then go to the target system and check in SU53, see for the missing object

and assign it to the user.

SAP r3

sm59(status check)(no message)

WE02(status check)

WE05(status check)

BD87(status check)

Xi

IDx5(Idoc check)

SU53(authorization check)

Reward Points If HelpFul

Thanks

Sunil Singh

former_member556603
Active Contributor
0 Kudos

Hi Ramana,

Create a Distribution Model

A distribution model models a distributed environment in which you specify messages

Exchanged between sending and receiving systems. You must create the model on the system that will be the model owner. This model owner is responsible for maintaining the model and distributing it to various systems. In our case, we assume that there are only two systems.

1. SAP transaction code: BD64 – Type /nbd64 in the SAP input window and press the

Enter key.

2. Notice that the Create model view push button is gray. This means that the function is

disabled.

3. Click the Distributional Model pull-down menu.

4. Select Switch processing mode to enable the Create model view function.

5. Click Create model view.

6. Fill in the Short text field.

7. Enter a meaningful Technical name.

8. Keep the Start date and the End date unchanged. The SAP system will prompt the

current date as the Start date. It will also prompt an end date, which is beyond most of

our lifetimes (December 31, 9999).

9. Click the green check icon to continue.

You will now see a new entry created with the short text you entered on the left side and the technical name on the right side.

10. Highlight the new entry.

11. Click Add message type on the top of the screen.

12. Fill in the information Sender as the SAP LS, Receiver as the LS of the remote system and message Type as MATMAS.

If you expand the new distribution model you will see that a new entry for the

message type MATMAS was created. If you need to support more message types, you need to repeat the Add message type operation for each of the SAP message types you will support.

The message type MATMAS will be supported for the outbound operations. SAP will send the MATMAS message type to remote LS.

If you will support inbound messages, you will need to specify Remote System LS as the sender and SAP LS as the receiver.

After you added all message types you want to support, you need to save your work:

14. Click the save icon (or press Ctrl+S) to save the model you just created.

15. You will see the message “Distribution model has been saved” displayed at the bottom of the SAP screen indicating that your work has been saved.

Thanks,

Satya Kumar.

Former Member
0 Kudos

HI,

No need to create the distribution model in XI. It is not required

Refer the below link for step by step solution.

File To IDOC - Part1 (SLD and Design):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&

File To IDOC - Part2 (Configuration):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&

File To IDOC - Part3 (Steps required in XI and R3):

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&

chirag