‎2007 Feb 21 5:45 AM
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
‎2007 Feb 21 5:51 AM
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.
‎2007 Feb 21 5:50 AM
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
‎2007 Feb 21 5:51 AM
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.
‎2007 Feb 21 6:00 AM
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
‎2007 Feb 21 6:04 AM
hi,
1)where to define the filtering?
2)if without filtering also can work right? just that with filtering it is more efficient?
thanks
‎2007 Feb 21 6:10 AM
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