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

what is a process code in ale idoc

Former Member
0 Likes
14,071

what is a process code in ale idoc,what is the purpose of Process code.

11 REPLIES 11
Read only

Former Member
0 Likes
5,635

the process code is having the function module attachment ...here you will get the logic for the data population in the idocs....simply process code contains the code of the program

Read only

Former Member
0 Likes
5,635

Hi surya,

Process code refers to an workflow or a function module which helps in reading or writing data from/to Idoc. Following are types of process code

Process Code

Description

Outbound Process Code

This will read application data and place data in Idoc

Inbound Process Code

This will Idoc and create corresponding application data

System Process Code

This will create work item in case some error occurs in idoc / application document processing

Status Proces Code

This will handle error that occurs when a idoc is sent to some other system

award if found helpful,

with thanks & regards,

Sravani yendru.

Read only

Former Member
0 Likes
5,635

continuation....

A process code needs to be maintained on each client. It then needs to be linked to the message via the partner profiles on each client. This allows the various clients to use a unique function module for the same message type.

To maintain the process code follow these steps:

Log on to the appropriate receiving system client

Execute WE42 (ALE - Extensions - Inbound - Maintaining process codes inbound)

Choose Inbound with ALE service

Choose Processing with function module

Click on Processing with function module and choose create icon

Click on New Entries

Type in process code ZINR and give it a description and save

Now you are asked to Please maintain codes added in ALE entry methods, enter and choose Z_IDOC_INPUT_FIRVSL and copy it. You should choose a FM similar to your one.

Enter your process code ZINR

Enter your function module Z_IDOC_INPUT_ZINVRV

Read only

Former Member
0 Likes
5,635

Hi,

Let me tell some scenario then u would be able to understand what a process code is-------

In ALE ie, the data requested system is receiver and the data already presented system is sender ie, from where we are having the data,

here in sender side----


we need a program to tranfer required data into idoc--( idoc is just a data container ) in sender side this program logic is in a function module it is configured in we41.

ie this will transfer the data from database to idoc----in sender side it is a process code

and in receiver side after receiving the data we have to post it in database again program needed it is also ie the required code is also in function module it is configured in we42

-


it is about receiver side f.m or simply process code

okkkkkkkkkkkk

Read only

former_member404244
Active Contributor
0 Likes
5,635
Read only

Former Member
0 Likes
5,635

Hi,

Process Codes are used in both ALE and EDI framework to identify the function module or API (Application Programming Interface) to be invoked for subsequent processing. Inbound as well as outbound interfaces use process code but for different purposes. Outbound process codes are stored in table TEDE1, while inbound process codes are stored in TEDE2.

Regards,

Bhaskar

Read only

Former Member
0 Likes
5,635

Hi Surya,

Already SDN members discussed about

process code.

In simple way,

OUTBOUND : Process code acts as Selection programs

INBOUND : Process code acts as function modules.

Read only

Former Member
0 Likes
5,635
Read only

Former Member
0 Likes
5,635

Hi Surya,

Process code in ALE Inbound process checks the message type and identifies the posting application program for that message type for posting the data into the database.

regards

padma

Read only

Former Member
0 Likes
5,635

Hi Surya ,

Please check the links for information on process code ,

http://sapsdforum.com/category/idoc-edi-and-ale/

http://www.sapbrainsonline.com/ARTICLES/TECHNICAL/ALE/ALE_INTRODUCTION.html

Regards,

Sreekar.Kadiri.

Read only

Former Member
0 Likes
5,635

Hi,

In we21 transaction, u should assign partner profile, there u should assign this process code, for calling the function module of processing idoc.

thanks.