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

regarding process codes.

Former Member
0 Likes
1,138

Hello everyone,

I would like to know whether the process codes are mandatory for idocs ?

what is the exact use of process codes in IDOCS ?

Explain in detail.

1 ACCEPTED SOLUTION
Read only

varma_narayana
Active Contributor
0 Likes
790

Hi

Process Code identifies the FM (To post the idoc) or Workflow task (For any other processing) in Inbound processing of idoc.

So it is always mandatory to assign the Process code in partner profile for a message type.

Inbound process codes are created in Tcode WE42

Process Code identifies the FM for Generating the IDOC in outbound processing only when Message control is configured.

Inbound process codes are created in Tcode WE41

<b>Reward if Helpful</b>

6 REPLIES 6
Read only

Former Member
0 Likes
790

Hi,

                      • WELCOME TO SDN ******************

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 using 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:

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

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

There are process codes for exception handling:

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

2) 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 using a process code.

Regards

Sudheer

Read only

former_member404244
Active Contributor
0 Likes
790

Hi,

Process codes are mandatory for inbound idocs...the process code is attached with a function module which actally triggers the idoc.

For outbound if we choose message control method then the process code is required for other methods its not required.

The transaction codes for process codes are

1>WE41(Outbound process code)

2>WE42(Inbound process code)

Please have a look at the below links

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

regards,

Nagaraj

Read only

varma_narayana
Active Contributor
0 Likes
791

Hi

Process Code identifies the FM (To post the idoc) or Workflow task (For any other processing) in Inbound processing of idoc.

So it is always mandatory to assign the Process code in partner profile for a message type.

Inbound process codes are created in Tcode WE42

Process Code identifies the FM for Generating the IDOC in outbound processing only when Message control is configured.

Inbound process codes are created in Tcode WE41

<b>Reward if Helpful</b>

Read only

Former Member
0 Likes
790

Hi,

welcome to SDN.

check the below link.

Reward Points if it is s Useful.

Thanks,

Manjunath MS

Read only

Former Member
0 Likes
790

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 using 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:

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

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

There are process codes for exception handling:

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

2) 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 using a process code.

thanks

mrutyun^

Read only

Former Member
0 Likes
790

Hi,

Process code determines what function module needs to be called.

process code are linked in partner profile we20.

From the partner profile --> Process code is identified.

From the Process code --> Function module to be executed is identified

Tcodes WE41 and WE42

Regards

Arun