cancel
Showing results for 
Search instead for 
Did you mean: 

process code in idocs

Former Member
0 Kudos

hai experts,

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

Thanks.

Sam

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

i got useful answer

prasannakrishna_mynam
Contributor
0 Kudos

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..

former_member192295
Active Contributor
0 Kudos

Hi,

Process code is a logical name of functional module, for process code development first we need to develop functional module (se37) after that need to link with process code inbound/outbound(we42/we41). The main purpose of process code is to execute idoc data after reached to system (inbound only required process code, outbound not required).

Development of process code

1. Develop functional module according to your requirement (we37)

2. Once development is over, need to link function module to process code (we41(outbound) or we42 (inbound)).

3. Specify this process code name in partner profile.

I hope now clear

Former Member
0 Kudos

Hi,

Outbound side, their are no process codes instead their are Ports which are used to transfer the data.Transaction Code : WE21

Inbound Side: Their are process codes which are nothing but Function Modules. Existing Process Codes for message type can be viewed using WE64.

Thanks

Krithika

former_member187563
Contributor
0 Kudos

hi

this is a basic question and you can search easily on sdn.

Here is your exact reply.

http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b804043d711d1893e0000e8323c4f/frameset.htm

regards,

ujjwal kumar

Former Member
0 Kudos

Hello,

Process Codes is for processing idoc data in SAP. Once you get the idoc what to be done with that idoc data is defined by using process codes.

There are some built in codes for particular idocs like if you get ORDERS idoc data then invoke/call particulat process code for creating SaleOrder by using data.

Process Code is meant for processing idoc data once reaches R/3. (in case of Inbound)

Rgds

Rajesh

Former Member
0 Kudos

Hi,

Please check below link for Inbound and outbound process code.

http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b805a43d711d1893e0000e8323c4f/frameset.htm

Regards,

phani