on 04-11-2008 12:53 PM
Hi friends,
1. What is the need of process code?
2. Is process code required for outbound IDOC?
3. Please explain the process how SAP generates IDOC in case of outbound interface?
Thanks in advance,
Regards,
Meghna.
Hi Meghna
kindly follow these deffinitions
Outbound Process Code
In the case of Outbound processing under Message Control, the process is found (function module of the application) using the outbound process code. The process reads the application data and places it in an IDoc.
You must edit the outbound process codes in the following cases:
· You have written a function module (for example for a separate IDoc type), which you want to name through a new process code
· You want to assign a different function module to process code X.
· You want to the switch the ALE services on or off. Deactivating the ALE services can improve performance (lower memory requirement)
Features
The outbound process codes are application specific.
Purpose of Process Codes
Definition
Another name for a specific process, for example function module or workflow. IDocs are read or written in this process.
Use
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:
· 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.
There are also the process codes for exception handling:
· System Process Code - names the workflow which is triggered in inbound or outbound processing when an exception occurs.
· 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.
folow this link also for IDOC processing
http://help.sap.com/saphelp_nw04/helpdata/en/78/21750b51ce11d189570000e829fbbd/frameset.htm
regards
Sandeep Sharma
If helpful kindly reward points
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> 1. What is the need of process code?
Generally speaking, it links e.g. FM with IDoc for a particular application. This FM creates from some application document an IDoc. E.g: pcode: ME10 FM: IDOC_OUTPUT_ORDERS, IDoc: ORDERS05, Application - purchasing (MM)
> 2. Is process code required for outbound IDOC?
Yes, for applications that use Message Control: tcode: NACE
> 3. Please explain the process how SAP generates IDOC in case of outbound interface?
The FM generates the IDoc after it retrieved the business data.
Regards,
Jakub
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gurus,
Any clues for the above mentioned queries.
Regards,
Meghna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Process code is something where a function module ( or any task ) can be assigned to combination of message type and idoc type.
Yes, process code is needed for outbound scenario also if it is controlled by message control ( i mean if idocs are triggering by triggering output types )
You need to specify these process code parameters for outbound in message control tab, where u need to specify application, output type and corresponding process code. Process codes already defined for standard message types.
Please let me know if you need some more information. If my reply is helpful then assign me some points
Thanks,
Vijay Kumar T.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.