cancel
Showing results for 
Search instead for 
Did you mean: 

How to Transfer IDoc Type to Data Type in XI

Former Member
0 Kudos

Dear All,

I am working on scenario to transfer data(IDoc) from SAP System to Non SAP system through XI.

While Defining "Data Type" in XI i want to create Data Type as of IDoc type(CREMAS05).There is any direct method to import IDoc type into "Data Type" in XI.

thanks,

RP

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi RP,

Once u import idoc to XI, export the XSD to ur local system using XSD tab.

Now go to External defiinttions, and import that XSD file.

you can use this external definition in message interfaces.

No need to create data type and message type.

Let me know if u have any doubts,

This is applicable if u want to create datatype of an standard idoc as it is.

Regards,

Ravi.

Former Member
0 Kudos

thanks Dear,

please can u tell me little more about using external definition in message interfaces.

RP

Former Member
0 Kudos

hi

while creating message interfaces either outbound or inbound, select the external definition from the pop up window and select the desired one.

normally u select message type in message interface, in this case u have to select external definition.

ravi.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Rp,

External definitions enable you to import WSDL, XSD, and DTD documents to the Integration Repository so that you can access the message definitions they contain as external messages.

If a description of the message structure already exists in one of the above formats, you can use it in the Integration Repository by importing it as an external definition rather than re-entering it manually using the data type editor.

Prerequisites

The document to be imported must conform to the WSDL, XSD, or DTD standard.

Chk out all the details + how to import Ext Def:

http://help.sap.com/saphelp_nw04/helpdata/en/26/9e97b0f525d743882936c2d6f375c7/content.htm

Also refer...

Connection Using Adapters and Imported Interfaces

http://help.sap.com/saphelp_nw04/helpdata/en/4a/576d219c340844aaa12ce9bbc2c3ee/frameset.htm

Incase u want to chk out the details of Idoc scenario.....

IDoc to File:

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

Handling different partners for IDoc:

/people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file%2bto%2bidoc

Hope this was helpful..

kanan

Shabarish_Nair
Active Contributor
0 Kudos

you dont have to make a DT/MT for an IDoc, you import it.

In case you want to create a DT/MT for the non SAP system. Goto the imported IDoc in XI and save it as an XSD and use it.