‎2008 Jul 24 9:01 AM
what is a process code in ale idoc,what is the purpose of Process code.
‎2008 Jul 24 9:08 AM
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
‎2008 Jul 24 9:49 AM
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.
‎2008 Jul 24 9:51 AM
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
‎2008 Aug 08 8:17 AM
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
‎2008 Aug 08 8:23 AM
Hi,
Check the below link..
http://www.thespot4sap.com/Articles/SAP_ALE_Other_Concepts_Conclusion.asp
Regards,
Nagaraj
‎2008 Aug 08 9:18 AM
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
‎2008 Aug 08 9:40 AM
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.
‎2008 Aug 08 9:51 AM
Hi Surya,
Refer this link..it's very helpful..
http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b804043d711d1893e0000e8323c4f/frameset.htm
Regards,
Vivek
‎2008 Aug 08 10:01 AM
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
‎2008 Aug 08 10:11 AM
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.
‎2008 Aug 08 10:17 AM
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.