cancel
Showing results for 
Search instead for 
Did you mean: 

REG:subelement

Former Member
0 Kudos

what is a subelement,in a message hierarchy where it occurs

and its importance?

Accepted Solutions (1)

Accepted Solutions (1)

GabrielSagaya
Active Contributor
0 Kudos

For creating Sub element in the Data type your Node element should not have corresponding type .

Vendor_Detail

|__Header

|__First

|__Second

|__Detail

|__Description

Here For the Data type 'Vendor_Detail'

First and Second are sub element for Header

Description is sub element for Detail

Inorder to create sub element for Header node, Header node should not contain the corresponding type like String / Number etc.

Answers (3)

Answers (3)

former_member238007
Contributor
0 Kudos

Hi,

Subelements comes in Data Types, so, while defining the fields under subnode or any node, we basically call such fields as subelements..

regards

Kishore..

Former Member
0 Kudos

HI,

The Data types used in Message in XI is created with either elements or Attributes.

Subelements are indiacting the elements structured under one element.

For e.g. An element have either type as String, integer, Date etc. or the substructre consists of different elements of various types.

These elments included in sub-structure are called as sub-elements.

You can create these subelemets in Data Type editor in IR. Just make sure to not mention any type for the element under which you will be creating the sub-elements

http://help.sap.com/saphelp_nw04/helpdata/en/2d/c7d9b2d9f138439482a8fafb91f047/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/2d/c7d9b2d9f138439482a8fafb91f047/frameset.htm

Thanks

Swarup

Edited by: Swarup Sawant on Mar 19, 2008 7:55 AM

Former Member
0 Kudos

Hi,

If you want to create a Subelement under the Upper hierarchy, then we use this option to create the sub element under that

Regards

Seshagiri