2007 Aug 04 8:31 AM
Hi,
what is a process code in ALE, Please define..
Regards.
Allan
2007 Aug 04 9:18 AM
Hi Allan,
Process code is used in outbound processing of Idocs
It's a Code which identifies the type of data which is sent by the IDoc
interface.Using the process code, the IDoc interface finds the application selection module which converts the SAP document into an IDoc.It is only used with applications which perform outbound processing via Message Control.
Thanks,
Sathish Raj
Edited by: Vijay Babu Dudla on Dec 20, 2008 12:55 AM
Hi..
IN ALE or EDI distribution
Process Code: Identifies the Function Module or Workflow that has to be called to process the IDOC.
Process codes are 2 types:
1. Outbound process codes : these are created in Tcode WE41.
Outbound process code is Linked to a FM that generates the IDOC in outbound processing. We will assign process code in Outbound only when we use the Message Control. In the Partner profiles you can see the Tab Message control for an Outbound Message type .
2. Inbound Process Code. these are created in Tcode WE42.
Inbound process code is Linked to a FM that will Post the IDOC in Inbound processing. We have to always assign Inbound process code.
For Eg: MATM is an Inbound process code that calls the FM IDOC_MATMAS_INPUT01
<b>Reward if Helpful</b>
2007 Aug 04 8:38 AM
Hi Allan,
<b>Definition</b>
Another name for a specific process, for example function module or workflow. IDocs are read or written in this process.
<b>Use</b>
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,
Vinay
Message was edited by:
Vinaykumar G
2007 Aug 04 9:18 AM
Hi Allan,
Process code is used in outbound processing of Idocs
It's a Code which identifies the type of data which is sent by the IDoc
interface.Using the process code, the IDoc interface finds the application selection module which converts the SAP document into an IDoc.It is only used with applications which perform outbound processing via Message Control.
Thanks,
Sathish Raj
Edited by: Vijay Babu Dudla on Dec 20, 2008 12:55 AM
2007 Aug 04 10:48 AM
Hi..
IN ALE or EDI distribution
Process Code: Identifies the Function Module or Workflow that has to be called to process the IDOC.
Process codes are 2 types:
1. Outbound process codes : these are created in Tcode WE41.
Outbound process code is Linked to a FM that generates the IDOC in outbound processing. We will assign process code in Outbound only when we use the Message Control. In the Partner profiles you can see the Tab Message control for an Outbound Message type .
2. Inbound Process Code. these are created in Tcode WE42.
Inbound process code is Linked to a FM that will Post the IDOC in Inbound processing. We have to always assign Inbound process code.
For Eg: MATM is an Inbound process code that calls the FM IDOC_MATMAS_INPUT01
<b>Reward if Helpful</b>
2007 Aug 04 1:44 PM
Hi
SAP +Integration using ALE
(Application Linking and Enabling)+[
- Introduction -
Introduction
To Create Idoc we need to follow these steps:
imp links
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapedi/idoc_abap.htm
--here u can find the ppts and basic seetings for ALE
http://sappoint.com/presentation.html
http://www.sapgenie.com/ale/index.htm
Check these links.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
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
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://www.sapgenie.com/sapedi/idoc_abap.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
http://www.allsaplinks.com/idoc_sample.html
http://www.sappoint.com/abap.html
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
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
http://www.allsaplinks.com/idoc_sample.html
http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
Please check this PDF documents for ALE and IDoc.
http://www.sappoint.com/abap/ale.pdf
http://www.sappoint.com/abap/ale2.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
Check below link. It will give the step by step procedure for IDOC creation.
http://www.supinfo-projects.com/cn/2005/idocs_en/2/
Creation of Custom IDOc type and message Type
First Create Partner Profile(WE20 Tcode) and Port Definition in WE19 Tcodes.
take the Basis help to create them.
1.First create segments in WE31 Tcode with the required dataelements
2.Create the Basic Idoc Type in WE30
release the Segments and IDOC type.
3.Create Message type in We81
4.Assign the message type to IDOC type in WE82 T code
5.Create the process code in We41 (for Outbound) WE42 (for Inbound)
6.Create A fun module in SE37 starting with ZIDOC_OUTPUT_.. by copying some Inbound (for Inbound) Outbound Fun module
7.Create Workflow setting if needed ..
8. Assign the fun module to Idoc Type, Message Type and WF object (if it is there0
9.Define setting for fun module in BD51
10.In BD51 Define the settings for Fun module..
10.Assign the Processs Code to Fun mod`ule
Reward all helpfull answers
Regards
Pavan
2007 Aug 04 3:27 PM
Hi,
Process Code refers to the name of the function module or workflow..
Cheers,
Hakim
2007 Aug 04 3:41 PM
Hi,
Couple things need to check.
- Please ensure the custom FM is activated (SE37).
- When you create new entry for ALE attribute (BD51), did you specify input type 1 (individual input) and check dialog allowed (if you allowed)?
- When you create new entry in WE57, did you specify for inbound FM?
Perhaps you can use this link to check your inbound processing configuration step by step. In case you missed something.
http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
Please chcek this link perhaps it may help.
http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b804043d711d1893e0000e8323c4f/frameset.htm
<b>Reward points</b>
Regards
2007 Aug 06 5:44 AM
Hi Allan,
Process code is used to identify the function module associated.
Use transaction we41 and we42
eg. process code MATM
associated function module is IDOC_INPUT_MATMAS01
This process code is assigned in We20 partner profile transaction
Regards
Arun
2007 Aug 06 6:08 AM
hai process code contain function module . for outbound processcode you can find in transaction codewe41 usually reads application document generate idocs. for inbound processcode tcode is we42 reads idoc generate application document in in bound
ex material master 'matm' is process code contains function module idoc_output_matmas.in outbound.
regards
nagesh paruchuri
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |