Skip to Content
0
Former Member
Jun 04, 2008 at 03:02 AM

A custom Data definition containing a standard IDOC

53 Views

Hi

without wanting to extend an IDOC I would like to have a definition that contains a wrapper around multiple IDOCS that I can map to. I do not want a multi-mapping either as I want to control the name of the wrapper tags . This would be possible if I can define such a data type.

I am after a definition such as this... a couple of custom tag followed by the Standard IDOC(s).

<dt_asnfiles>

<ASN>0000002374</ASN>

<Company>mycompany</Company>

<ASNRecords>

<_-AFS_-DELVRY03>...</_-AFS_-DELVRY03>

<_-AFS_-DELVRY03>...</_-AFS_-DELVRY03>

<_-AFS_-DELVRY03>...</_-AFS_-DELVRY03>

<_-AFS_-DELVRY03>...</_-AFS_-DELVRY03>

</ASNRecords>

</dt_asnfiles>

I have tried exporting the IDOC as XSD - playing with the definition in order to import as a complex type

into a new Data Type but I cannot seem to do it.

There must be some way of doing this - do you know how ?