Application Development 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: 

Difference Between Process Code And Message Type

Former Member
0 Kudos

Hi,

Plz tell me the difference between Process Code and Message type .

And also How we use them in INBOUND SIDE and OUTBOUND SIDE .

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

Hi Pavan,

Message Type is used to Link the IDoc Type application it is realted , it will tell you for which application it is used.

but where as process code will be attached to message type , which will trigger when IDoc is processed, the Process Code is used to Process the IDoc , the Processing can be done by a FM in general , all these configuration will be maintained using WE41(Outbound), WE42)Inbound).

Regards

Vijay

5 REPLIES 5

Former Member
0 Kudos

Message type indicates the business document you are dealing with.

Process code is something that is internally used by SAP to identify which function modules needs to be triggered to process the data of the IDOC.

Regards,

Ravi

Note - Please mark all the helpful answers

Former Member
0 Kudos

Definition

Another name for a specific process, for example function module or workflow. IDocs are read or written in this process.

Use

In the partner profiles, the processing is never addressed directly but rather always via a process code. You can therefore replace an old process with a new one for any number of partners by assigning the existing process code to the new process.

Two types of process code are used in conjunction with the partner profiles:

Outbound Process Code - if you are using outbound processing under Message Control, the IDoc is generated in the IDoc interface. The process code names the relevant function module.

Inbound Process Code - names the function module or workflow which reads the IDoc data and transfers the data to the application document.

If you do not know what process code is relevant for your business process, but you know the message type, then you can display the process code defined for this message type: Choose Documentation ® Process codes in the initial node of the IDoc interface or use the F4 Help in the partner profiles after you have entered the message type.

There are also the process codes for exception handling:

System Process Code - names the workflow which is triggered in inbound or outbound processing when an exception occurs.

Status Process Code - names the exception workflow which is triggered when an incorrect status is returned by the external system.

These two types are configured centrally and not on a partner-specific basis and therefore do not have to be maintained when a new process is defined. They were introduced for the sake of completeness, so that each process in the IDoc interface is addressed via a process code.

http://help.sap.com/saphelp_46c/helpdata/en/dc/6b804043d711d1893e0000e8323c4f/content.htm

Regards,

Santosh

former_member188685
Active Contributor
0 Kudos

Hi Pavan,

Message Type is used to Link the IDoc Type application it is realted , it will tell you for which application it is used.

but where as process code will be attached to message type , which will trigger when IDoc is processed, the Process Code is used to Process the IDoc , the Processing can be done by a FM in general , all these configuration will be maintained using WE41(Outbound), WE42)Inbound).

Regards

Vijay

Former Member
0 Kudos

hi

good

process code->

process code identifies the type of data processing for inbound processing

The IDoc interface uses the process code to find the business process which controls the conversion of the IDoc into the SAP document.

http://help.sap.com/saphelp_erp2004/helpdata/en/04/25fbd39e3511d188da0000e8216438/content.htm

MESSAGE TYPE->

Use

A message type comprises a data type that describes the structure of a message. At the following points in SAP Exchange Infrastructure you can refer to the message to be exchanged at runtime by using the message type:

· More than one message interface can use the same message type. For example, an asynchronous outbound message interface and an asynchronous inbound message interface can reference the same message type because the request message does not need to be mapped.

· When defining a message mapping you can directly reference message types to map messages from an outbound interface to messages from a receiver interface.

http://help.sap.com/saphelp_nw04/helpdata/en/2d/c0633c3a892251e10000000a114084/content.htm

THANKS

MRUTYUN^