‎2007 Aug 08 12:21 PM
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.
‎2007 Aug 08 12:29 PM
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>
‎2007 Aug 08 12:26 PM
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
‎2007 Aug 08 12:27 PM
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
‎2007 Aug 08 12:29 PM
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>
‎2007 Aug 08 12:34 PM
‎2007 Aug 08 12:41 PM
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^
‎2007 Aug 08 12:48 PM
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