cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

process code in idocs

Former Member
0 Likes
8,959

hai experts,

What is process code in idocs please explain how to do inbound process code and outbound processcode.

Thanks.

Sam

View Entire Topic
prasannakrishna_mynam
Contributor
0 Likes

Hello Sam,

Process Code:

The processing code is a logical name for the algorithm(function module) used to process the IDoc. The processing code points itself to a method or function, which is capable of processing the IDoc data.

A processing code can point to an SAP predefined or a self-written business object or function module as long as they comply with certain interface standards.

Process code can be used for more than one partner profile.

Since process code is nothing but logical name of function module, which specifies the application processing of received IDOC data.

We can use the predefined function modules or our own implemented ones

Maintain Process Code (WE41).

Process Codes (WE64).

Inbound Process Codes:

Inbound can handle the inbound request for the specified IDoc and message type. Once at the receiver side IDOC reaches, The processing module (application function module) that reads the IDoc data and generates the corresponding documents.

Message Type ProcessCode FunctionModule

ORDERS ORDE IDOC_INPUT_ORDERS

MATMAS MATM IDOC_INPUT_MATMAS01

Outbound Process Codes:

In the case of Outbound processing under Message Control, the process is found (function module of the application) using the outbound process code. The process reads the application data and places it in an IDoc.

For Outbound instance:

IDocs should be sent out at certain events. Therefore you have to define a trigger. A lot of consideration is required to determine the correct moment when to send out the IDoc. The IDoc can be triggered at a certain time or when an event is raised. R/3 uses several completely different methods to determine the trigger point. There are messages to tell the system that there is an IDoc waiting for dispatching, there are log files which may be evaluated to see if IDocs are due to send and there can be a workflow chain triggered, which includes the sending of the IDoc.

Check Transaction WE64 for Porcess Codes of Inbound and Outbound.

Hope you come to know what is Process Code...

Regards..

Krishna..