cancel
Showing results for 
Search instead for 
Did you mean: 

message mapping

Former Member
0 Kudos

Hello,

i am new to XI, can anyone explain about

minoccurs, maxoccurs, fixed occurs in message mapping

i have read some theory but i could not get exact purpose and how to use them, please explain with some example.

thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Amarender,

The name itself defines the things.

1. Min Occurance : This value indicates the minimum occurance of perticular segment in input or output. which is either 0, 1 or unbounded

2. Max Occurance : This inidcates maximum occurance in the input or output.

Regards,

Shri

Former Member
0 Kudos

Hello All,

thanks for your replies.

i am giving a example. this is source message......and the occurences are like i have mentioned

i am unable to understand what these occurences signifies here.

please let me know

Name.....................................1:1

firstname............... 1:unbound

surname..................1:1

Address..................................0:3

street ....................0:1

citycode...................0:1

city ........................1:1

phone ....................0:unbound

email .................... 0:unbound

Answers (3)

Answers (3)

Former Member
0 Kudos

hi,

Minimum occurrences :The number of time the node is occuring ex: It may ocur 0,1or 2 etc.

Max occurs: the maximum number of times the node is occuring. say 999 times etc.

Unbounded: here we are not specifying any number say for a field we are given 0 to unbounded. so it may occur 0 times or more number of times.

Have a look at the link:

http://help.sap.com/saphelp_nw04/helpdata/en/e4/82cf0ec8b9494db92e27e2be69524f/frameset.htm

Regards,

Gunasree

Shabarish_Nair
Active Contributor
0 Kudos

http://www.w3schools.com/schema/schema_complex_indicators.asp - refer section Occurrence Indicators to get an idea.

Minoccurs means that a particular node may occur that many minimum times

Maxoccurs means that a particular node may occur that many maximum times

Former Member
0 Kudos

Hi,

The minoccurs,maxoccurs, fixed occurs defines the multiplicity/cardinality of a node in the XML.

e.g. for a node N1 with occuurence as 0..unbounded, minoccurs is 0, and maxoccurs is unbounded. So the XML looks like this:

<N1>value1</N1>

<N1>value2</N1>

<N1>value3</N1>

<N1>value4</N1>

The node can occur in the XML 0,1,...n times, where there is no limit on n.

For Fixed occurs, there is a lower and an upper bound on the occurence of this node in the XML.

Regards,

Puloma.