Question:
Hi all,
Can any one tell me what actually is the Message type in ALE. After creating the logical system and setting the RFC destination we create a distributiom mode where we define sender, recceiver system and give the name of message type like MATMAS for material master. What exactly is this matmas...is it an IDOC. Please help.
Thanks,
AnupU.
Answer:
Hi as far as i know message types are the way the bussiness communications are understand.for ex if we have a orders Idoc(ORDERS02),it is used as several message types like ORDERS,ORDRSP(order response),ORDCHG(order change).i.e receiver of ur Idocs understands the kind of order ur sending depending on the Message Types.
Answer:
An IDOC Type is a class of idocs. The type defines the IDOC structure. but can have different applications or uses(eg ORDERS or Order reponses are both the same IDOC type).
A message type is an application of the idoc type. So ORDERS is the IDOC type ORDERS05 used when transmitting or receiving an order. ORDRSP is also idoc type ORDERS05, but this time is is used in a different way to confirm an order. ORDERS and ORDRSP are 2 different message types because they are 2 different applications of the same IDOC type. The message type also decides on what processing routine will be used to process the IDOC.
an IDOC is a single document, for example, order 300123445 can have an IDOC. It is the actual document. An IDOC has both a message type and an IDOC type.