cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc Scenario

Former Member
0 Kudos

Hi Experts,

We have the below scenario

R/3- IDoc(Orders05)------------------->XI----------->XML -Supplier
Supplier-XML(Advance ship notice)----------------------------->XI------------>R/3-IDoc(DESADV01)

our new requirement is to once R/3 system receives the Advance shippment notification, it needs to forward it to the other R/3 system.

i.e,

Supplier-XML(Advance ship notice)-------------->XI---------->R/3-IDoc(DESADV01)------------->R/3(new system)

with the following condition

1. The current R/3 system may include one line item or multiple line items on an Advanced Ship Notice transaction.

please suggest how can I implement the scenario with requirement given and configuration needed.

Thank you,

MK

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hey,

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 a partner profile

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)

WE42 process code

WE47 status info.

regards,

Milan

santhosh_kumarv
Active Contributor
0 Kudos

Hi,

All the ALE setting needs to be done between the Current R3 and the New R3 System.

As the IDoc is getting triggered from the Current R3 system to new R3 system this doesn't requires

any XI integration.

You have to enhance the inbound Function module of the Current R3 system to add one/multiple line to the in the DESADV01 IDoc and send it to the New R3 System.

Thanks

SaNv...

Edited by: Santhosh Kumar V on Jul 14, 2008 12:03 PM

Former Member
0 Kudos

Thanks Santhosh,

Can you please eloborate your answer. and also please list IDocs that we can use for Outbound and Inbound Advance shipment notification.