cancel
Showing results for 
Search instead for 
Did you mean: 

Import external definition to message type

Former Member
0 Kudos

Hello

I have scenario file to IDOC.

I don’t know way in this time I not successful to import my external definition to message type.

Any idea?

Elad

Accepted Solutions (1)

Accepted Solutions (1)

henrique_pinto
Active Contributor
0 Kudos

You don't create Message Type from External Definition.

You use it directly to define the Message Interface.

Regards,

Henrique.

Former Member
0 Kudos

In outbound side (left side) I have

> segament A

begin

> segmant b

> seggmant c

In inbound side (right side) I have

>ZORD_CREATE

IDOC

begin

> segmant b

> seggmant c

And because this situation I try to add more level in outbound side.

turmoll
Active Contributor
0 Kudos

Hi,

Can you explain in detail what you want to achieve and what the problem is?

Regards,

Jakub

Former Member
0 Kudos

Hello again,

I try to solve mapping problem

Hello again,

I have scenario from file(xml) to IDOC.

In outbound side I have XSD file and I imported this file and I use with him in outbound interface.

In inbound side I have IDOC.

I have mapping problem issue.

When I test this mapping I have this error message:

Cannot produce target element /ZORD_CREATE. Check xml instance is valid for source XSD and target-field mapping fulfills requirements of target XSD

Any idea?

Elad

Former Member
0 Kudos

Elad,

What is the mapping for this field /ZORD_CREATE.

Please check that it's not getting suppressed.

Thanks,

Beena.

nikhil_bose
Active Contributor
0 Kudos

test your mapping in the repository without specifying any data. check to see that is working or what?

this might be because of wrong namespace or datatype name you used.

get me your feedback

regards

nikhil

Answers (1)

Answers (1)

turmoll
Active Contributor
0 Kudos

Hi,

You can import external definition into data type and then create message type based on data type or create message interface based on external definition.

Regards,

Jakub