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

Purpose of Process code

Former Member
0 Likes
702

Hi what is purpose of Process Code

I know there we add Msg type and Function module what is its function that function module will helps in getting the data

and *what abt Msg type* and Process code there

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
625

Dear Durga,

Process Code is a different name for specific purposes like function module. IDocs are written in this 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.

Best Regards,

Rajesh.

Please reward points if found helpful.

3 REPLIES 3
Read only

Former Member
0 Likes
625

Process code will come in to picture when you deal with IDOCS .. you need to assign a code which internally will have a Function module or a Include, that will have entire code to run your bussiness for an IDOC or EDI or ALE.

Read only

Former Member
0 Likes
625

Hi,

R/3 uses the method of logical process codes to detach the IDoc processing and the processing function module. They assign a logical name to the function instead of specifying the physical function name.

Logical pointer to a processing method

The IDoc functions are often used for a series of message type/IDoc type combination. It is necessary to replace the processing function by a different one. E.g. when you make a copy of a standard function to avoid modifying the standard.

Easily replacing the processing method

The combination message type/IDoc will determine the logical processing code, which itself points to a function. If the function changes, only the definition of the processing codes will be changed and the new function will be immediately effective for all IDocs associated with the process code.

For inbound processing codes you have to specify the method to use for the determination of the inbound function.

After defining the processing code you have to assign it to one or several logical message types. This declaration is used to validate, if a message can be handled by the receiving system.

The inbound processing code is assigned analogously. The processing code is a pointer to a function module which can handle the inbound request for the specified IDoc and message type.

The definition of the processing code is identifying the handler routine and assigning a serious of processing options.

Processing with ALE

You need to click "Processing with ALE", if your function can be used via the ALE engine. This is the option you would usually choose. It allows processing via the ALE scenarios.

Associate a function module with a process code

Table TBD51 to define if visible BTCI is allowed

For inbound processing you need to indicate whether the function will be capable of dialog processing. This is meant for those functions which process the inbound data via call transaction. Those functions can be replayed in visible batch input mode to check why the processing might have failed.

WE41 Process code outbound creation

WE42 Process code inbound

Regds

Sivaparvathi

Please reward points if helpful............

Read only

Former Member
0 Likes
626

Dear Durga,

Process Code is a different name for specific purposes like function module. IDocs are written in this 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.

Best Regards,

Rajesh.

Please reward points if found helpful.