cancel
Showing results for 
Search instead for 
Did you mean: 

idoc

Former Member
0 Kudos

how to import idoc from server to xi?

Accepted Solutions (1)

Accepted Solutions (1)

vijay_b4
Active Contributor
0 Kudos

WE19 is the testing tool for the INBOUND and OUTBOUND Idocs,it will not post the data into XI.

What type of idoc ur using,To post the data into XI u have to trigger the IDOC in the transaction.

Suppoce u have to post the production order details then u have to go to CO02 TC code there u have to give the production order details and release the IDOC .

Before release the IDOC make sure u have done the ALE settings then the Data will be posted into XI.

Chech the ALE settings.

IDOC

http://msdn2.microsoft.com/en-us/library/ms942196.aspx

Idoc configuration Required~

in R/3

1) RFC destination pointing to XI

2) WE20 Partner Profile entries

in XI

1) RFC destination pointing to R/3

Go thru this -

Go thru these for Idoc to XI scenarios-

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

These will be the Configurations needed in your R3,

1. SM 59 - Create an RFC destination for your XI .

2. We21 -- Create a port for XI

3. We 20 -- Create a partner profile entry for the Outbound IDOCs for XI.

Configuration on XI

1. IDX2 - Import IDOC metadata.

For eg : Lets assume the R/3 system and Xi system are QZA and X7A.

In XI :

Step 1 : In SALE Tcode :

a)Create Logical systems for R/3 and XI.

EG : (QZACLNT100) and (X7ACLNT100).

b) Assign the logical system of XI to Client.(X7ACLNT100)

Both the above options u can find in SALE transaction under SENDING and RECEIVING SYSTEMS tab

Step 2 : In SM59 create RFC destination in XI pointing to R/3(i.e IP address of R/3) (This RFC Destination name shd be same as the Sender LS name)=> QZACLNT100 is my RFC destination.

Step 3: Create the PORT in XI for the Sender system and assign the RFC destination.

In R/3 :

Step 1:

In SALE Tcode :

a) Create Logical systems for R/3 and XI for

b) Assign the logical system of R/3 to Client.(QZACLNT100)

Step 2 : In SM59 create RFC destination in R/3 pointing to XI(i.e IP address of XI) (This RFC Destination name shd be same as the Receiver LS name)=> X7ACLNT100 is my RFC destination.

Step 3: In SALE Tcode under Modelling and Implementing Bussiness Processes-> maintain Disribution Model and Distribute Views.

a)Click on that ,it shall take to Tcode BD64 ,where u can create a Distribution Model.

b)Once you create that ADD MESSAGE type(You have the button at the top), there it shall ask for Receiver and Sender LS and Message type.

c)In Menu Bar EDIT->Generate Partner Profile.

Click on that and press Execute .

This shall create 2 partner profile X7ACLNT100 and QZACLNT100 ,X7ACLNT100(this is the partner number for QZA system) shall have the outbound parameter as CREMAS, and QZACLNT100 is created with no parameters ,you need not worry .

d) Click EDIT->MODEL VIEW->Distribute.

This shall distribute the model and you can see the distribution mode aslo getting created in XI system.

This configuration shall surely help u out as it worked out for me.

Configurations required for IDocs in R/3

In your XI system, you need to do the following.

1. Create a RFC destination to your R/3 system

2. Create a port in IDX1 of your XI system and use the RFC destination in step1.

3. Try importing a idoc metadata thru idx2 transaction to check whether the configuration is correct.

4. In your SLD configure the technical system and business system. The technical system should hold the logical system name you have in your R/3 system client.

5. Import the business system and you can use it in your configuration scenario.

Please also refer below links for details.

Go thru this-

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38...

Regards

Vani

Answers (6)

Answers (6)

former_member556603
Active Contributor
0 Kudos

Hi Ruchi,

Steps to Import IDOC..

Double click on Software component

Click on radio button : Import of RFC and IDOC interfaces from SAP System permitted.

Enter the SAP system details like system and client and save.

Goto Import Objects tab > right Click on IDOC-> Import of SAP Obejct

Enter application server, system number (00), Username, Pwd.

Select continue..

Then seach the idoc u need to import...

and click finish.

After doing all this save and activate.

Thanks,

Satya

Reward points if it is useful...

Former Member
0 Kudos

hi

you can import the idoc and rfc in the xi

just create the rfc and idoc in the R/3 system and in the

IR there is the option that is external defination in that import your rfc

if you are importing the rfc and idoc no need to create the data type and message

type

thanks

Regards

vijay

Former Member
0 Kudos

Hi,

You have option called import SAP objects in the namspace that u create.........so clicking on that option there u can import SAP-idoc by giving server name login id and passord and by doing this u can import the idoc on the XI server .......

below mentioned link can help u with screenshots.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd...

Thanks

Sai

PS: kindly reward points if helpful

Former Member
0 Kudos

Hi

click import idiocs and rfc from r/3 system while creating name space

then imported objects icon will genarate.

right click on idoc and give logon details of r/3 and IP address...

select idoc wht ever u want to import

click import button

idocs will be imported from r/3 sys to xi

Former Member
0 Kudos

you can import RFC and IDOC message interfaces into IR, these interfaces are imported for a perticular SWCV,Via wizard interface

the import of interfacesmust be permited for software component versions for which u want to import interfaces from SAP.

Connection perameters must be specified in the SWCV.

Log on with the user that has authorization.

Start the wizard by right click on the navigation tree of imported objects from IR and choose import of SAP objects.

In the wizard provide the password ,select the objects to be imported and click finish to start the import.

For an IDOC ,the definition of idoc, segments ,records and data elements of idoc will be imported.

for RFC ,input output fault types for the interface will be imported

Former Member
0 Kudos

Hi ruchita

By importing interfaces you make the signature and the technical name of the interface known to the Integration Builder, thus easing further design and configuration:

· You can use the imported message schema as an output or input message in message interfaces. This enables you to generate a proxy as a counterpart to an imported interface (see also: Communication Parties (Case Examples)).

· In mapping you can import the parameters and structures for the imported interface directly to the mapping editor for the source or target structure.

· During the design and configuration phase you must constantly reference the interfaces you have used. If the interface has been imported, you can avoid typing errors by using the input help.

You do not have to import an interface to use it in SAP Exchange Infrastructure; however, it eases the entire design and configuration process. You can import RFCs (and thus BAPIs as well) and IDocs.

Prerequisites

The SAP system from which you want to import the RFCs or IDocs must contain function modules for calling metadata. You can import RFCs and IDocs from SAP Release 4.0 and higher. The table below gives an overview of the required support packages:

Support Packages Required for IDoc Imports

Release

Minimum Support Package Requirement

40B

SAPKH40B48

45B

SAPKH45B26

46A

SAPKB46A20

46B

SAPKB46B12

46C

SAPKB46C05

If you experience problems with the IDoc or RFC import, see SAP Notes 677732 (authorizations), 672745 (missing function modules), 212011 (access to IDoc metadata), and 718320.

The import of interfaces must be permitted for the software component version for which you want to import interfaces from an SAP system. To check this, call the context menu for the software component version concerned and choose Open. The Interfaces from SAP Systems Permitted checkbox must be selected on the Definition tab page, and the connection data for the SAP system concerned must be maintained (see also: Displaying/Editing a Software Component Version). You must also log on with a user that has the authorizations required to import interfaces. For a SAP Web Application Server Release 6.20, the following authorizations are required:

Authorizations Required to Import from Systems Based On SAP Web Application Server 6.20

Authorization Object: S_RFC

Authorization Field

Authorization Required

ACTVT

16 (Execute)

RFC_NAME

ATSV, EDIMEXT, RFC1, RFC2, SDIFRUNTIME, SDNT, SDDO, SDOC, SDTB, SEF1,SG00, SIFD, SIMG, SRFC, SUNI, SYST, SYSU

RFC_TYPE

FUGR (Function group)

Authorization Object: S_DEVELOP

Authorization Field

Authorization Required

ACTVT

Display

DEVCLASS

*

OBJNAME

*

OBJTYPE

*

P_GROUP

*

In systems of release < 4.6 D, the authorization SDIF is required instead of the authorization SDIFRUNTIME (authorization field RFC_NAME).

Activities

You are on the design maintenance screen in the Integration Builder.

1. Expand the subnodes for the software component version for which you want to import interfaces.

2. Call the context menu for the Imported Objects subnode of this software component version and choose Import of SAP Objects.

3. The first step of the import wizard is Logon. Enter the user that you want to use to import the interfaces from the SAP system. To display the connection data for the SAP system, choose Display Connection Data (). You can also overwrite the connection data temporarily in the expanded area.

4. The second step of the import wizard is Choose Objects. Select the RFCs and IDocs that you want to import. After approximately one minute, the import wizard displays the objects on the Objects tab page (sorted alphabetically) and on the Component Hierarchy tab page (sorted by application components).

¡ The functions of the navigation area correspond to those of the navigation tree in the Integration Builder (see: Navigation Area).

¡ To check your selection, use the functions Display Selected Objects in List () and Close List of Selected Objects ().

5. In the third step, Execute Import, you can delete RFCs or IDocs from the list of selected objects. To execute the import, choose Finish.

for more details follow this link

http://help.sap.com/saphelp_nw04/helpdata/en/2b/a48f3c685bc358e10000000a11405a/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

regards

Sandeep

If helpful Kindly reward points

Edited by: sandeep sharma on Apr 18, 2008 5:05 AM