cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding IDOC in XI

Former Member
0 Kudos

Dear All,

For scenario:

System A (RFC adapter) --> XI --> System B (IDOC adapter).

How should i configure for the partner profile?

1. In System A --> Logical System to System B, and put my message type as outbound.

2. In System B --> Logical System to System A, and put my message type as inbound.

3. or i need to configure in XI partner profile? Logical system A (outbound) and Logical system B (inbound).

Please clear my doubts.

Thanks,

Victor.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

For RFC Sender you don't need to maintain any partner Profile. Its Async scenario even though RFC is used as sender.

On System B you just have to mainatin the Logical system for inbound IDOCs.

You need to develop the scenario as in normal way.

1. Import RFC and IDOC in IR

2. Use it in Message Mapping and create the Mapping Interface

3. Either in Mapping make sure to pass the Contorl records ie.e EDI_DC40 for target side IDOC

4. Deploy the Integration Scenario and in ID part develope RFC Sender

http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/frameset.htm

5. Create the IDOC Receiver also

6. Make the remaining things like receiver,interface determination, sender , receiver agreements etc.

Thanks

Swarup

Former Member
0 Kudos

Dear All,

Thanks for your helpful answers.

Another question:

I trigger the RFC in System A, and i can see the XML message in XI (SXMB_MONI t-code). The flag is green colour.

But i can't see the IDOC in System B (BD87 t-code).

How i can trace why the IDOC is not generated in System B?

Best Regards,

Victor.

Former Member
0 Kudos

HI,

In XI can you check the tcode IDX5 as well as SM58 if IDOC have stuck somewhere in between.

Inbound IDOC Troubleshooting

http://help.sap.com/saphelp_nw04/helpdata/en/fa/09f83ee0e66856e10000000a114084/frameset.htm

Thanks

Swarup

Edited by: Swarup Sawant on Aug 13, 2008 5:39 AM

Former Member
0 Kudos

Hi Swarup,

Both t-code return nothing.

Former Member
0 Kudos

have you look into the SM58 of receiver system....

As well check if there are any errors mentioned in SXMB_MONI.

Also check the Queues if IDOC may be stuck up in Queue at SMQ2 /SMQ1 in XI

Delete the Queues and refresh the cache and try again to test the scenario

Thanks

swarup

Edited by: Swarup Sawant on Aug 13, 2008 5:55 AM

Former Member
0 Kudos

Hey,

As your flag is green seems your records are getting stuck in queue.

you can click on the queue Id in SXI_MONITOR and get the status of the queue.

regards,

Milan

Former Member
0 Kudos

Hi Swarup,

SMQ2 works for me.

I need to delete the queue and refresh the cache as your mentioned.

Thanks again guys,

Victor.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hey,

For RFC you do not need to make any entries in partner profile.

For IDOC(i.e) in system B create a partner profile as inbound.

Please refer to these steps if any issues.

teps 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)

WE42 process code

WE47 status info.

regards,

Milan