‎2006 Apr 11 8:15 AM
what is the process code, how to use the in outbound processing, please give me details of process code.
Thanks
santha
‎2006 Apr 11 8:19 AM
PROCESS CODE is linked with either a FUNCTION MODULE OR WORK FLOW.
PROCESS CODE IS LINKED WITH FUNCTION MODULE IN CASE OF ALE SCENARIO AND IN CASE OF EDI SCENARIO, IT IS LINKED WITH WORK FLOW.
THE FUNCTION MODULE IS NOTHING BUT THE POSTING FUNTION MODULE WHICH HAS THE LOGIC TO POST DATA INTO THE UNDERLYING DATABASE.
for example, for material master , process code is MATM, which is linked with fn module IDOC_INPUT_MATMAS01 which inturn posts data into the underlying database.
u must give the procees code in the inbound parameters(receiver) side in partner profiles.
if u want to create ur own process code, u can do it in bd57 and u can assign it to the fn module in we42
Message was edited by: Hymavathi Oruganti
‎2006 Apr 11 8:19 AM
Hi santha Reddy,
Process code is by trancation code WE42.
which tells the corresponding function module to fill up the idoc with data.
Thanks,
Eswar
‎2006 Apr 11 8:20 AM
Hi Santha,
<b>Process Code:</b> Code which identifies the type of data which is to be sent via the IDoc interface. Using the process code, the IDoc interface finds the application selection module which converts the SAP document into an IDoc. The process code is only used with applications which perform outbound processing via Message Control (NAST).
This Process code is assgined to a message type.
You can access the Outbound Process codes using the transaction code: <b>WE41.</b>
Hope this helps.
Thanks & Regards,
Joseph Reddy.
‎2006 Apr 11 8:23 AM
Hi,
Every Process code is associated with a function module. So, when you configure a Partner profile in WE20 for Inbound IDOCS, you specify the message type and a process code. That means, the function module tied to that process code will be triggere and the IDOC data will passed to the funciton.
Look at the WE82 transaction. Also look at this document.
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
This should help you understand things.
Sorry the T Code is WE42
Regards,
Ravi
Note : Please mark the helpful answers
Message was edited by: Ravikumar Allampallam
‎2006 Apr 11 8:26 AM
hi reddy,
Process code is the alternative name for the process which we are actually going to carry out.
<b>Process code refers to function module or workflow in ALE Context..</b>
Cheers,
Abdul Hakim
‎2006 Apr 11 9:42 AM
hi,
Check this out....
http://www.sapgenie.com/sapgenie/docs/advanced_guide_to_edi_configuration.doc
Regards,
Santosh
‎2006 Apr 11 9:44 AM
Hi Santhananda,
**what is the process code, how to use the in outbound processing, please give me details of process code.
<b>Process Code</b>
R/3 uses the method of logical <b>process codes</b> 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.
*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.
<b>outbound processing</b>
-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.
- 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.
<b>For inbound processing codes</b> you have to specify the method to use for the determination of the inbound function.
<b>Outbound process codes</b> are stored in table TEDE1,
while <b>inbound process codes</b> are stored in TEDE2.
For more information on the same , just check out this site and find Process code in it and u will surely get all ur answers.
http://idocs.de/www5/books/IDocBook/IDocBook.htm
http://www.intelligententerprise.com/channels/applications/feature/archive/kasturi.jhtml (Added)
Hope this will help you.
If ur satisfied please close this thread by rewarding appropriate points to the helpful answers.
Cheers
Sunny
Message was edited by: Sunny
‎2006 Apr 11 11:02 PM
Hi Sunny,
i got a small doubt,
how can we assign the Outbound process code to work flow and can you explain it a bit more?
Let us assume, we have created two outbound entries for the same message type in single partner, one for ALE (FM) and one for EDI (work flow). In this situation, how the IDOC will recognise to which one should be triggered?
shylesh
‎2006 Apr 12 4:35 AM
HI Sailesh,
sorry for the delay as i was not online on SDN.
**how can we assign the Outbound process code to work flow and can you explain it a bit more?
The combination of message type and IDoc type determine the processing algorithm. This is usually a function module with a well defined interface or a SAP business object and is set up in table EDIFCT.
- The entry made here points to a function module which will be called when the IDoc is to be processed.
**Let us assume, we have created two outbound entries for the same message type in single partner, one for ALE (FM) and one for EDI (work flow). In this situation, how the IDOC will recognise to which one should be triggered?
-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.
Do check this link which i had stated above also, it will tell you all the steps which will definetely answer ur question.
http://idocs.de/www5/books/IDocBook/IDocBook.htm
Hope you will get clear .
As per form Etiquettes, if ur satisfied please close this thread by rewarding appropriate points to the helpful answers.
Cheers
Sunny
reward points ,if found helpful
‎2006 Apr 12 7:04 PM
hi sunny,
thanks for the response, but i cannot give the points to you as i didnot created thread.
shylesh
‎2006 Apr 12 4:11 AM
Hi Santhananda,
<b>Process Code</b>:
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.
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 outbound function module is triggered using a process code in the IDoc Interface.
Please check this link for more detail on how to assign a process code (outbound processing).
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
Also find this useful links for ALE and IDoc.
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
http://www.sapgenie.com/sapedi/index.htm
Hope this will help.
Regards,
Ferry Lianto