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 vs IDOC

Former Member
0 Likes
725

dear consultant,

how a message in IDOC, different from a message from message-class,

thanks& regards in advance,

kcc

5 REPLIES 5
Read only

Former Member
0 Likes
672

Hi,

IDOC has a basic type which consists of segments(ALE).This basic type is attached to an upper layer called message type.

However message in message-class is used purely for displaying messages in R/3 for user interaction.

Hope this makes it clear.

Thanks & Regards,

Vanita

Please assign points for useful answers.

Read only

Former Member
0 Likes
672

Hi KC,

It is not clear what you are asking, but I presume two things and here are the answers for the same,

1. Message Type & message classes

The message type of the IDoc will help you to identify the business message/ data that you are transmitting across systems. Whereas the message classes contain a set of informative message that can be used to reflect the outcome of a process/ operation you do.

2. IDoc Status & message classes

In the IDoc status we can provide meaning information to reflect the status of the operation we performed. Here we can use the existing standard message classes.

Go through this link for some more information,

http://www.sapgenie.com/faq/ale.htm

Thanks

Kathirvel

Read only

Former Member
0 Likes
672

Hi Kc,

Some of your threads are answered, please check the same and reward points if they are helpful or solves your problem.

Please have a look at the below link to award points,

https://www.sdn.sap.com/irj/sdn/crphelp

Thanks in advance

Kathirvel

Read only

Former Member
0 Likes
672

dear consultants,

how to reward the respondents,

someone,please,help me

thanks& regards,

kcc

Read only

Former Member
0 Likes
672

Hi,

Here is the link between message vs idoc

The messages exchanged between systems are of various message types. The message type depends on the data contained and the process involved.

It determines the technical structure of the message, the IDoc type. For example, the FIDCMT message type is used for journal messages.

The IDoc type indicates the SAP format that is to be used to interpret the data of a business transaction.

This is how the data actually come from SAP to the IDoc as follows:

You need a function module or another self-written program that creates the data to send.

If the triggering transaction supports customizable NAST messaging, then you can create a NAST message that supports ALE or IDoc. The link between the message and IDoc is defined via the process code in the partner profile WE20. Whenever the NAST message is processed it will make a call to ALE_PROCESSING in program RSNASTED or EDI_PROCESSING in program RSNASTED, which does the job for you and eventually will call the function module that fills the data hive.

If a program does not support messaging via NAST then you need to create the IDocs with your own routine and then call MASTER_IDOC_DISTRIBUTE.

Thanks,

Naga