cancel
Showing results for 
Search instead for 
Did you mean: 

Import XSLT files

Former Member
0 Kudos

Hello,

I try to reconstruct old interface (from other system, before the XI age).

The scenario is RFC to XML.

I have RFC, I have XSLT file and I have old xml file that created by the old interface.

My questions is:

1. How I can import the XSLT file?

2. Can I import the structure from the old XML file?

3. What is the easy and fast way to implement this scenario?

Elad

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Elad,

1. How I can import the XSLT file?>>

a)first of all make sure that ur XSLT file is having .xls extension.

b)zip it as .zip or .jar

c)import it under Imported archieve of mapping objects

2. Can I import the structure from the old XML file?

yes u can import XML structure in message mapping from local system.

3. What is the easy and fast way to implement this scenario?

I guess ur scenario will fit in RFC to FILE.

so import RFC...transform it to into XML file..simple.

Regards

Biplab

Former Member
0 Kudos

Hello,

Now I have scenario.

In OB interface I have the RFC

How can I import the XML structure from the XML file?

Elad

Former Member
0 Kudos

OK,

Now I converted the XML file to XSD.

I import the XSD file to External Definition

Now I need to use with this file in outbound interface.

May I need to create message type or I can drag and drop the external definition directly to outbound interface?

Elad

0 Kudos

Hi Elad,

>> May I need to create message type or I can drag and drop the external definition directly to outbound interface?

You dont need to create any message type for messages which are imported as external definitions,you can use it directly at the time of creating interfaces and pressing F4 help and search for corresponding external definition.

Regards,

Amit

Former Member
0 Kudos

Hello Amit

When I try to activate the outbound I received the message:

Activation of the change list canceled Check result for Message Interface Delivery_IB | com:netafim:RLH:Delivery: Object Message Interface Delivery_IB | com:netafim:RLH:Delivery references the inactive object Message Type Order_ED | com:netafim:RLH:Delivery

Message Type Order_ED is the external definition and I already activated him.

Elad

0 Kudos

Hey Elad,

Check whether while importing xsd did you change the category from wsdl to xsd and check whether its showing message in the message tab of external definition.If its not showing any message in your message tab then may be there is porblem with your xsd.

Regards,

Amit.

Former Member
0 Kudos

Hello,

I work about this solution long time and in the end of process I did it in the long way.

I made this scenario from the start to the end step by step without any shortcut

Thank you about all your help

Elad

Former Member
0 Kudos

This is RFC to File schenatio.

You have XML file with you, then just try to look first the format of the target XML and based on that create the XSD or Data Type.

If the mapping is one to one then just use Graphical mapping tool..else if XSLT code is then import it to IR.

>>How can I import the XSLT code in IR

Reffer this link :

Generic XSLT Mapping for SAP XI

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb9...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8...

Thanks

Farooq.