Purpose of Process code

Hi what is purpose of Process Code
I know there we add Msg type and Function module what is its function that function module will helps in getting the data
and *what abt Msg type* and Process code there

Hi,
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.
Logical pointer to a processing method
The IDoc functions are often used for a series of message type/IDoc type combination. It is necessary to replace the processing function by a different one. E.g. when you make a copy of a standard function to avoid modifying the standard.
Easily replacing  the processing method
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.
For inbound processing codes you have to specify the method to use for the determination of the inbound function.
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.
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 definition of the processing code is identifying the handler routine and assigning a serious of processing options.
Processing with ALE
You need to click "Processing with ALE", if your function can be used via the ALE engine. This is the option you would usually choose. It allows processing via the ALE scenarios.
Associate a function module with a process code
Table TBD51 to define if visible BTCI is allowed
For inbound processing you need to indicate whether the function will be capable of dialog processing. This is meant for those functions which process the inbound data via call transaction. Those functions can be replayed in visible batch input mode to check why the processing might have failed.
WE41     Process code outbound creation
WE42     Process code inbound
Regds
Sivaparvathi
Please reward points if helpful............

Similar Messages

  • What is a process code in ale idoc

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

    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

  • Use of Process code

    Hi All ,
              I know the purpose of process code which will post the data in the idoc into database.But my query is after creating function module why cant we directly link that FM in partner profile.I mean ofcourse we dont have such option, but why they introduced this proces code concept.Any special purpose???
    Regards,
    Rakesh.

    Hi Rakesh,
           Process codes will process the data existing in Idoc type.Process code are two.
    1. Out bound process code -> IDOC_OUTUT_IDOCTYPE
    2. Inbound process code-> IDOC_INPUT_IDOCTYPE.
    Based on Outbound and Inbound function modules data will process.
    Thanks
    Prakash

  • All about Process codes

    Hi all,
    Iam doing IDOC( Stock Transfer)--XIFile Scenario.
    Q) For this Do we really need to mention the Process code at We20 --in Outbound Parameters side????
    Regards
    Suman

    Hi Suman
    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.
    Inbound Process Code
    Use
    The processing module (workflow or application function module) that reads the IDoc data and generates the corresponding documents is found using the inbound process code.
    You must edit the inbound process codes in the following cases:
    ?      You want to use a new process and need a new process code for it.
    ?      You want to assign different processing to process code X.
    ?      You want to switch the ALE services on or off (this is only possible if the processing module is a workflow module). Switching off the ALE services can improve performance (lower memory requirement).
    Features
    The inbound process codes are application-specific. IDoc Basis includes the process code ED08, which forwards inbound IDocs to distributed SAP systems (?Forward Inbound? function). This processing is defined by the workflow WS30000483.
    Activities
    ·         Determine the required process code from the corresponding partner profiles or by choosing SAP Menu ® Tools ® IDoc/ALE ®  Services ®Documentation ® Process Codes (WE64).
    ·         You choose SAP Menu ® Tools ® IDoc/ALE ® Development ® IDoc ® Inbound Processing ® Maintain Process Code (WE41).
    ·         To change an assignment or to make a new entry, choose .
    For more details on Process code kindly follow this link
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    hope this will definitly solve your problem
    regards
    sandeep Sharma
    PS if helpful kindly reward points
    Edited by: sandeep sharma on Apr 15, 2008 1:32 PM

  • Outboun IDoc Process Code

    Hi everyone,
    What is the purpose of Process code In Outbound IDoc
    I am Using Process code SD10 for outbound IDoc.
    and as per my Knowledge we use process code for Inbound IDoc only
    Please clarify my Doubts

    Hi,
    Process code is required in Outbound side also.when you save an application document , in your case i guess it is SALES order then you wish to send an IDOC to customer.
    So if you create partner profile for that customer and add SD10 as process code in message type then this process code will  be triggered,which is linked to FM IDOC_OUTPUT_ORDRSP behind the scene.This FM is responsible for generating IDOC's
    yes we need process code on inbound side also to trigger a process to read the incoming idoc and save the application data.
    Hope this helps!!
    harry
    Edited by: Harpreet Singh on Aug 29, 2008 12:35 PM

  • Message type, Idoc type and process code in ALE/Idoc

    Each Idoc version(creams01 or cremas03) will have seperate process codes in Inbound process?
    Whether Message type triggers the process code or the Idoctype/idoc  triggers the process code in Inbound process?
    regards
    Message was edited by: henry

    Hi Henry,
    About your question as how should you assign seperate process code for the same message type ( with different IDoc Type )-
    In We42, the message type can be assigned to the processing code. But here you will find that along with message type there are two more fields - Message Code & Message Function.
    You can use any one these to serve your purpose.
    e.g. you can assign
    -process code P1 to message type M with Message code 1
    -process code P2 to message type M with Message code 2
    Further these process types can be configured to call separate FMs.
    Now depending on IDOC types your external system should populate the message type as well as Message code so that accordingly process code will be determined at the time of inbound processing.
    I hope it's clear & correct
    Thanks,
    Ram

  • Process code for inbound idoc's

    hi  friend,
    i want to create a zprocess code for inbound idoc's pls i want to step or code.
    regrads and thanks

    Hi
    Are you using the customised idoc i:e message type .I hope most of the data transfer techniques always has a standard message type and if you are using one such than you can check in transaction we42(inbound process code) .All the steps have been rightly been mentioned for this querry of yours if you can clearly explain as to what message type are you using and for what purpose i can send you with documentation with steps to you.At the end of the day you will be posting idocs so that the data is being reflected in the segments .The things to be noted down is :-
    1.Maintain Partner Profile(we20) which is the sender system are you using ?
    2.If the satus is 53 it is sucess(green ) else 64(being processed-yellow) or 51(error-red)
    3.If you trigger by workflow than you have to use Message Variant .
                     If you are ok or incase do face any issues please do reply to the forum.
    Regards
    Somnath

  • Process code for extended idoc

    Hi,
    If we are creating an extended idoc, do we have to assign a new process code to it ?
    Or will the process code and the associated function module for the basic type work as well for the extended idoc ?

    Process code will come in to picture when you deal with IDOCS .. you need to assign a code which internally will have a Function module or a Include, that will have entire code to run your bussiness for an IDOC or EDI or ALE.
    Process Code is a different name for specific purposes like function module. IDocs are written in this process.
    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.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b7d6243d711d1893e0000e8323c4f/content.htm
    Enter transaction WE30 (ALE->Extension-> IDOC types->Maintain Idoc type)
    Type in your name of the extended IDOC type (usually starting with 'Z') and click on the Basic IDoc type, click the create icon.
    Click on Create new and enter a description and press enter.
    Click on ZIDOCTYPE01 and then on the Create icon.
    Enter ZIDOCTYPE as the segment type, click on Segment Editor.
    Enter a description for your segment type and create.
    Enter a description for your segment, enter each field required in your IDoc and press enter to validate.
    Save and generate, press back
    To release the segment choose Goto, Release from the menu.
    Check the box on the line of your segment.
    Save, back and enter.
    Your Idoc type structure should be displayed with your new segment.
    Save and back.
    To release the Idoc type choose Extras, Release type from the menu and Yes.
    Reward points if useful.

  • Process Code - Idocs

    Hi all!
        In Outbound parameters of partner profile we r mentioning the process code.
       Can u pls tell me why? i feel bcoz..... suppose we r purchasing from vendor in outbound parameters i am mentioning the process code.
    Now in the inbound processing of the vendor the vendor will access our process code via RFC to generate Idoc  and Vice Versa.
       Pls Tell me i am right or wrong.
    Looking for your reply very eagarly.
    Thanks
    Rahul.

    Rahul,
    Process codes are used in both Outbound & Inbound processing.
    Outbound: The main purpose of the process code is, there is an FM which is attached behind the process code and that FM will populate all the segments with the necessary data.
    For example: I have an Sales order and I need to send an order confirmation. So you define your partner profiles in WE20, provide the necessary message type and double click on that you can see the message control and your output type, process code ..etc
    Similarly is the case with Inbound, say you receive an Idoc from another system and the same data needs to be posted into your system, then you do the similar setting for Partner profiles, but in case of Inbound, you will not have any Message control, but an process code is directly defined here. There is an FM which is tied to this process code and the data is posted based on the FM.
    Hope it is clear.
    Thanks,
    Suresh Ganti

  • Processing code and Function Module  for IDOC

    hi forum,
    i m trying to make a file to IDOC scenario,
    the IDOC is being sent to a R/3 system,
    for the purpose, in R/3 i need to make a inbound processing code, can u tell me how to make a processing code and link it with a Function Module.......
    can u guide me....

    sudheer,
    If you are using standard idoc then you do not need to create new processing code.
    There would be standard processing code available. You need to set input partner profile with processing code.
    Let us know which idoc type you are using for inbound posting.
    Anyway..TC for Creating  processing code is : WE41(Outbound)  and WE42 (Inbound)
    Nilesh

  • Process code's function module required for the IDOC Message type PROACT

    Hi,
    I am trying to trigger an IDOC from ME32K transaction which will carry my Contract agreement details to XI. The IDOC I am using for this purpose is PROACT.PROACT01. But I couldn't find the outbound process code / Function module for the process code associated to this IDOC message type.
    Pls help me out....
    Thanks,
    Ram Kalyan

    I checked table EDIFCT for the message type and found this:
    Function module            Function type    Basic type                                      Message Type
    IDOC_INPUT_PROACT          F               PROACT01                                       PROACT
    Oops...I think you are looking for outbound..Ignore

  • Message type and Process Code for 940 IDoc

    Hi,
    what Message type and Process Code can be used for 940 IDoc when a SHPMNT05 IDoc is being used. We are using SHPADV message, SHPM process code for ASN. Can I use the SHPMNT message type for 940?
    thanks,
    Kumar.

    should SD11 be the only process code to be used or can we use SHPM. I guess we can use both for shpmnt05. But how do I know which process code is more suitable for my purpose. is there any place where i can check that info?
    Can we link SHPORD message type to a SHPMNT05 IDoc? i think this message type is more suitable.
    thanks,
    Kumar.

  • Process code in idocs

    WHat is the purpose of the process code in the inbound processing od IDOCS(WE42)

    you need the process code to determine which Function is used for creating/processing the IDoc.
    Go to WE20 (Partner) and choose you inbound processing messages.
    In the first tab you´´ll find the processing code.
    Transaction: WE42 to define the processing code
    Tcode: WE57 and BD51 to map the Function to this processing Code.

  • Process Codes - IDoc

    Could someone give me a brief explanation about IDoc Process Codes in the Partner Profiles.
    What is its Purpose, Impact etc...
    Also and most importantly, how do we distinguish which one to use for which IDoc? Who's responsibility is it to find this information, the Business or the XI team?

    >
    > Then why the need for any other process code ????
    Normally customizations in the processing of the Idoc is needed for clients. In these cases you write the report and then create a trsnmaction code ( think the t code is we 41 / 42 not sure though) and then use this in Partner Profile.
    Have also seen cases when BAPI has been used. My understanding was that BAPI is used when a similar RFC exists .
    Eg: BANK_CREATE Idoc has a similar BAPI called BAPI_BANK_CREATE and I remember us using BAPI for the inbound processing!
    Am not a functional person at all, but just what I have understood of things.
    Maybe Barry can validate it for me as well.
    Regards
    Bhavesh

  • IdocType, Message Type & Process code for Payroll Posting

    Hi Gurus,
    In My Project, the SAP HCM is Maintained as a separate instance and rest such as FI/CO resides in ECC ERP. Now We need to Interface the HCM Instance with ECC ERP, where FI/CO resides to post Payroll Results. Hence I am writing a Technical Specs for ALE interface between SAP HCM and ECC ERP. I came to know that a standard ALE is existing for this purpose and I hereby need its Idoc type, Message Type and Process code for the same.
    Thanks in advance.
    Regards
    Vinoth Kumar.R

    Guys
    I could not use above message type/idoc type as they are not released in SAP.
      So i am again back to where i have come from. I am trying to use DESADV01 and Mess Type DESADV.
    Regards
    Srikanth M

Maybe you are looking for

  • Oracle Forms - How can I create a Data Block with query

    Dear friends I have a question, I couldn't do this.. I have a sql query, I want to show the datas of the query.. How can I do this. ? Data Block Wizard wants a table, view or stored procedure, but I have a query, how can I create a data block with my

  • Recently my iphone 4 has been acting dumb

    i'm not sure why it is doing all this things but here is a list of what is recently has been doing: when i charge it, the screen goes completely black and this little white loading circle is in the middle and it does that for ages and finally loads.

  • Week-old Pro won't turn on, power cord doesn't light up

    I bought a new 13" non-retina MacBook Pro a week ago. Now my laptop will not turn on, and there is no green/amber light on the power cord when it is connected. Backstory: I've already had problems with this machine. The same day I bought it, it no lo

  • Java.util.Map and  java.util.HashMap samples

    Hi. Please, I need some code samples of java.util.Map and java.util.HashMap interfaces. I have problems to retreive objects in the map. Cheers, Cata

  • Third party pricing

    hi, plz any body explain how the pricing takes place........in this third party business process