cancel
Showing results for 
Search instead for 
Did you mean: 

Simple XI Scenario

Former Member
0 Kudos

Hi friends ,

I am learning XI and right now working on simple XI scenario for Idoc to IDoc .

I want to send Sales notification from sandbox sap system to ides sap system.I am able to do it in ale but nw want to do it in XI.

In XI, SLD part is done. Also I had created product and SWCV.

Now I am in IR. I had imported the SWCV that I had created.Created new namespace in that , and created new rfc, and am able to import required idoc succesfuly.

but after this, what i have to do I am complete blankk abt that. so please provide me with the steps that I should do after this.

Edited by: brijesh soni on Jul 3, 2008 9:52 AM

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi,

As the Idoc structures are imported into PI, You can start of with the creation of Message Mapping and Interface Mapping.

There are few settings which has to be done in the PI and R/3 side.

Settings:

Please follow the below process for configuration:

Pre-requisites for Inbound IDoc to R/3 from PI:

Configuration required at Xi side:

Go to IDX1: configure the port.

Go to IDX2: load the DOC metadata.

Go to SM59: Create RFC destination which points to R3 system this is require in the case where your IDOC is sent to R 3 system,

Configuration required at R3 side:

Maintain Logical System for PI (SALE transaction):

Maintain Partner Profile for XI system(WE20):

Pre-requisites for Outbound IDoc from R/3 to PI:

Configurations required in R/3:

Maintain Logical System (SALE)

Define RFC Destination (SM59) which points to PI system

Maintain Port (WE21)

Maintain partner profile. (WE20):

Maintain Distribution Model (BD64):

To send Idoc to XI you have done ALE settings on both XI and R3 system.

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.

Thanks,

Kiran

Former Member
0 Kudos

Hi,

1.Do RFC Connection it involves connecting you xi with R/3 Systems.

2. Then you have to import IDOCs into XI.

3. Then do start mapping and do configuration settings.

Thanks,

RamuV

aashish_sinha
Active Contributor
0 Kudos

Hi,

Look into this wiki, you will find most common scenarios step by step.

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/step-by-step+guides

Regards

Aashish Sinha

PS : reward points if helpful

Former Member
0 Kudos

hi go thru below blogs

Creating Purchase Order Idoc through XI

mapping template for idoc

creating sales order thru idoc

regards

kummari

Former Member
0 Kudos

Hi,

This should help you -

[Settings in sender R/3 System to send IDoc|http://www.riyaz.net/blog/index.php/2008/01/20/beginners-guide-to-ale-and-idocs-part-ii/]

[IR Settings|http://www.riyaz.net/blog/index.php/2008/01/23/xipi-designing-with-integration-repository/]

[IDoc Adapter|http://www.riyaz.net/blog/index.php/2008/02/11/xipi-simple-idoc-communication-using-sap-xi/]

Regards,

Riyaz

Former Member
0 Kudos

Hi Riyaz,

I had did upto this using that document only, that is realy helpful document. But i am gettin little confused here cozz, i am using standard idoc, in in ur document u had given example with customised idoc.

One step is there to create data types, but i think as i m using standard idoc, i dnt need to go with this step.after that there is step for Create Message Type in this step whn i m selecting create, its askin for name and namespace. what i have to enter in Name .

Former Member
0 Kudos

Hi Brijesh,

When you are using IDoc as sender, you dont need to create data type and message type. You can skip those steps and directly create message interfaces. In the message interface, choose the IDoc you have imported.

Rest of the steps remain the same. In the mapping objects also, you can simply choose the imported IDocs on the source and target side.

Regards,

Riyaz

Former Member
0 Kudos

Hi Riyaz,

I am some what clear now. I am goin to send IDOC from SAP system to XI, and that will be standard idoc,so no need to create data type and msg type. I can directly go to message mapping step.This is what my understanding is,please tell me if I am wrong some where, also in message mapping step, I will use same standard idoc that i had imported in source message and target msg both. Please let me know is this right step.

Former Member
0 Kudos

Yes. you are right Let me know if you are stuck.

Former Member
0 Kudos

hi Riyaz,

Sorry frnd again disturbing u, but need ur help again,I am again having some problem in mapping,

i selected the sender and receiver as same idoc. so both the structure of idoc appeared in sending side adn receiveing side. and i completed mapping. as shown in that document. but after that, its saying about the use of arithmatic function 'counter',,i am nt gettin how to use it to map the segment fiends of idoc. and after this its saying to assign constant '1' to Begin field of idoc. bt i am not gettin ,how to assign that.

and one more thing,how can i execute mapping in test, i have an xml of that idoc,i wan to test mapping, so I had loaded the test instance by giving the xml file to it. bt m nt gettin how to execute it.

is it the test button there, but whn i m clickin on it, nothing is happning, if you wan i can provide u with the screen shots

Former Member
0 Kudos

If your source and target IDoc is same, you dont really need mapping. But if you want you can do one to one mapping. No need for any counter/constant functions.

You can find counter and constant functions at the bottom part of your mapping editor in IR. Under Functions, choose Arithmetic functions from dropdown and then select counter function. Similarly, choose Constants from dropdown and select Constant function. Double click the function to define its properties.

To test the mapping, save your mapping and switch to the Test tab of your mapping editor. Enter the source values on the left and then click the execute button below to see the result in the right hand side pane.

Hope this helps.

Regards,

Riyaz

Former Member
0 Kudos

Thanks Riyaz, IR part is done. And now working on I D.