Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

message type

Former Member
0 Likes
604

hi all,

i understand that idoc type represents all possible information whereas message type represents a specific set of segments used.

i know that to create message type is WE81 and WE82 is to assign message type to basic type/idoc type.

1)my question is, in WE82, if assign message type to a basic type/idoc type, then which means actually all the segment also assigned to message type. if i have 3 message type base on same idoc type, then all message type can use all the segment rite?

2) what segment or segment component used is actually controlled in abap program and not through configuration, rite? because in we82, it basically is to assign the message type to basic type and no where to define what segment needed for message type.

thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
571

Hi,

Yes it is not through configuration..

All message type are able to use the all the segments under standard IDOC,

but entire thing depends on message type,while coding we need to check

for our own message type,depending on message type we need to do your own coding,so it wont effect others code.

Thanks.

Sarala.

5 REPLIES 5
Read only

Former Member
0 Likes
571

Hi

You are creating segments in we31 and we30 you are creating idoc.

So in we82,you are assigning the same segment you have created.

Thanks

Read only

Former Member
0 Likes
572

Hi,

Yes it is not through configuration..

All message type are able to use the all the segments under standard IDOC,

but entire thing depends on message type,while coding we need to check

for our own message type,depending on message type we need to do your own coding,so it wont effect others code.

Thanks.

Sarala.

Read only

Former Member
0 Likes
571

e_l,

1.Yes, all segments will comes under message type.

2.No,there is a concept called filter ,ther we can filter the segments or fields based on for example : for one customer i need to send all data and for some customers i need to restric some data ,in this scenario we will use filtering concept.

Pls. reward if useful

Read only

0 Likes
571

hi,

1)where to define the filtering?

2)if without filtering also can work right? just that with filtering it is more efficient?

thanks

Read only

former_member404244
Active Contributor
0 Likes
571

Hi,

There is a hierarchy ....

Combination of fields makes a segment,combination of segemnts makes a idoc type and combination of idoc types make a message type.

So for a message type there will be lot of idoc types attached

for example

MESSAGE TYPE ->ORDERS

it has the following idoc types

ORDERS01,ORDERS02,ORDERS03,ORDERS04,ORDERS05.

SO u can find the difference in the idoc types ,means difference in segemnts and fileds.So as u go to higher version u will find the segments and fields enhanced....

regards,

Nagaraj