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

wht is process code in idoc

Former Member
0 Likes
477

plz tell me the meaning and necesity of processcodes(we41 and we42) in idocs.

3 REPLIES 3
Read only

gopi_narendra
Active Contributor
0 Likes
438

A 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

Regards

- Gopi

Message was edited by: Gopi Narendra

Read only

Former Member
0 Likes
438

hi

good

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

thanks

mrutyun^

Read only

Former Member
0 Likes
438

Hi,

Process codes are used for extraction and submitting of application data.

we define process codes for inobound and outbound.

<b>Using the process code, the IDoc interface finds the application selection module which converts the SAP document into an IDoc.

Mainly process codes are used with applications whcih performs outbound processing via message control eg: SD,MM</b>

Message control means here you want to send some data as

EDI, FAX , MAIL etc (NAST).

Reward if helps.

Thanks,

Krishna