cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC Segment

Former Member
0 Kudos

Hello,

I have a node called header which is been set up as 1:1.

I have an element called filename under this node, when defining segment we can specify the occurrences, but not for elements.

So, in XI it comes by default 0:1, i need to change it as 1:1.

As idoc structure is been imported into XI, how shall i change it and re-import.

Accepted Solutions (1)

Accepted Solutions (1)

santhosh_kumarv
Active Contributor
0 Kudos

>>So, in XI it comes by default 0:1, i need to change it as 1:1.

1. Export the IDoc xsd.

2. Change the occurance as minOccurs="1" maxOccurs="1" in ths xsd and save it.

3. Import the xsd as External defination ans use it.

Refer my blog

Thanks

SaNv...

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Krishnan,

as santosh said u have to export the IDoc as XSD and u have to change the occurence of the element manually. u can open the XSD in any XSD editor like XML spy.

double click on the IDOC->tools->Export reduced XSD.

or else u have to do coding for that. i mean befor transmitting the IDoc u have to validate the field...

regards

biplab

Former Member
0 Kudos

Hi,

This links helpful to you.

turmoll
Active Contributor
0 Kudos

Have you tried to check "mandatory seg." for that segment in we30?

Regards,

Jakub