cancel
Showing results for 
Search instead for 
Did you mean: 

External defination help

Former Member
0 Kudos

Hello everyone,

i have a requirement to convert CSV file to XML file, i am almost done with the interface, but i have a small issue.

My trading partner want one of the target node as shown below

LUCENT.ACKNOWLEDGE_DELIVERY_001.INVDETAIL.USERAREA

the problem is PI does not accept any symbols like .+-

to deal with this i have approached the below process suggested by one of our friend on SDN

1. Create your data type, (without dots) in PI

2. Export the XSD

3. Add dot to all the fields which you need

4. Import it back as a XSD (external definition)

5. You have now dots in the required fields

i have imported the XSD as external defination but dont know how to use it as Data Type, can any one please help me out.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Deepthi,

Your external definition/XSD what you say is your interface. So you have to only specify whether it is outbound or inbound.

So use it as Interface and it cannot be used as Data type at the basic level.

REgards

Ramesh

Former Member
0 Kudos

Ramesh, can you explain it a bit more breafly please.

you mean that i have to use that External defination directly in Message Mapping.

Former Member
0 Kudos

Yes, you can use it.

It actually is your Message Type. It is similar like your BAPI or IDoc that you import and directly use them in message mapping/interface defining.

Similarly you can use it as Messag type.

If you want to edit your XSD, open the XSD file in third party tools like XML Spy, notepad(not user friendly).., and re-import it back!

Regards

Ramesh

Former Member
0 Kudos

But ramesh when i am trying to use it in Message Mapping it s is not showing in the input help.

The procedure i have followed is

(1)I created a data type

(2)exported its xsd as a file on desktop

(3) edited it using XML altovaspy

(4) imported as eternal defination under the same name space

now i assume that i dont have to create any message type, but its not working when i tried to use it in MM

Former Member
0 Kudos

check the input help under External definition. It will be there surely

Regards

Ramesh

Answers (0)