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

Similar Messages

  • Use of process codes

    hi,
    why do we use process codes,what is the exact functionality of the process codes?
    thanks in advance,
    sravanthi

    Hi
    Process Code turn drives which Function Module to use,which in turn will determine the content of the message.
    This link will be helpful for teh second query
    http://logosworld.com/www7/EDI/HTML/IDocBook.htm.
    Suggest to do search in SDN with key - 'Process Code'
    Will get a lot of helpful discussions.
    <b>Reward points if this helps.
    Manish</b>

  • XI-- IDOC scenario, how to link process code with function module

    Hi Forum,
    I have a XI--->IDOC (R/3) scenario,
    where i m creating a IDOC in XI and sending it to R/3,
    i have done all settings to send the IDOC from XI to the R/3,
    i also have the function module to process that IDOC in R/3,
    the problem is:
    I want to know in details (step by step) how to make a Idoc Inbound process code, link it with the function module and use the process code in the Partner Profile in R/3,
    pls help

    HI,
    FOr this u need to go to transaction WE41 for inbound and WE40 for outbound there u assign the function module.
    Now u go to WE20 transaction for partner profile and u can assign the proces code to the inbound message.
    Go to the below help for more information:
    http://help.sap.com/saphelp_nw04/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm
    Inbound process code:
    http://help.sap.com/saphelp_nw04/helpdata/en/72/c18ee5546a11d182cc0000e829fbfe/frameset.htm
    Thnx
    Chirag

  • Error in Process code creation

    Hi All,
    I need to create a process code and i need to attach  a custom function module for that process code.
    So i have  created custom FM.
    afterward in WE42 ,
    I gave custom process code name ,description and FM .
    when i tried to save the same its giving following message.
    For entry, access 'Function module for ALE-EDI inbound processing'
    when i tried to give some entries its not accepting...
    Please provide me the steps for process code creation.
    Reg,
    Hem.

    hi
    good
    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:
    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.
    reward point if helpful.
    thanks
    mrutyun^

  • Process code & Inbound FM for DEBMDM06 (Cutomer masster + Addresses)

    Hi All,
    Can any one tell me the Process code and Inbound function module for the IDOC DEBMDM06.
    Thanks in advance
    NK

    Hi Michael,
    Thaks for your quick responce. Message type for the IDOC DEBMDM06 is DEBMDM. But i did not find any process code for the the message type DEBMDM.
    There are two process codeds DEB2 and DEBM for the meeage type DEBMAS for the IDOC DEBMAS06 not for the DEBMDM06.
    I'm trying to use the process code DEB2 and DEBM for the IDOC DEBMDM06 but not working.
    Please let me know if you know any solution.
    Thank you
    NK

  • Process code for Function Module IDOC_INPUT_MBGMCR

    hello!!
    here i m tryin to create n inbound idoc
    idoc type - MBGMCR02
    Function Module - IDOC_INPUT_MBGMCR
    but i dont knw the process code for dat can ny 1 help me to find it?
    1st of all how to find da process code if u hav the FM ?
    it wld b more helpful if ny1 cld give me the process code
    thank u
    ashwinee

    hai
    if u dont have process code r cant able to find process code,
    u create process code its very easy. 
      for inbound, go to
       TX-WE42.
      click create give ur process code and give that function module.
      in processing type,
               u check the radiobutton as processing by function module and save it.
    then, u can use this process code in our partner profile .
    any doubt regarding this u can ask me.
    Message was edited by:
            tamilarasan kandasamy

  • Reg process code FM

    HI friends,
    We use same process code in outbound and inbound? If different process code means how to do? If different process code means function codes are differs or same ...please give me  clear explanation
    regards
    Mani

    Hi Mani,
    Outbound and inbound process codes are different and the function modules are also different for each process code.
    For outbound, the process code is defined in the messagecontrol (in WE20 partner profile definition).
    For inbound the process code is defined in the inbound options.(in WE20).
    Every process code will have to be linked to message type and function module in WE64.
    In WE57 also you need to define the link between logical message type and the FM.
    Hope this helps.

  • Process codes..

    hello friends,
    i m trying to implement a scenario where i need to send a MATMAS05 IDoc from MDM to R3 via XI....
    once IDoc reaches R3 i want to update the database using MATMAS05 IDoc...
    can any 1 please tell me the process code that is used for MATMAS05....
    can i use MATM process code?
    function module used is IDOC_INPUT_MATMAS01
    i also found a process code MAT2
    Function Module -- IDOC_INPUT_MATMAS_MDM..
    is this the relevant process code for MATMAS05?
    also where can i search for the process codes?
    thanks in advance
    Roshani

    Hi Roshani,
    The idoc type ia attached to the message type and the message type is linked tro the process code.
    Process code inturn is attached to the function module (like idoc_input_<objecttype>)
    Idoc versions will not have different process code .It is the process code that trigerss the inbound process.
    So you will have different message type for different versions of idoc and the process code remains the same.
    for eg material will have matmas01,matmas02..matmas05 but the process code remains the same MATM.
    <i>[Reward points if found helpful]</i>
    Regards,
    Prateek

  • Process Code in outbound IDOC

    Hi,
    We have created a process code for outbound IDOC and assigned an FM to it.In that FM, code is written to generate an IDOC(FM 'master_idoc_distribute').Please let us know how to trigger the outbound IDOC using the process code.Are there any FM or standard programs??
    Regards
    Prathima

    Hi Prathima,
    For outbond Idoc you have to define the output parameters for the corresponding Partner profile (transaction WE20). Look there that there is a tab called Messages control to specify and aplication, a message class and a process code. Is here where you have to add the process code.
    The application/message is responsible of select the data adapted for the FM linked to the process code.
    Reward points if helps.
    Roger

  • 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

  • What is outbound process code for quotation

    hi
    what is outbound process code for quotation

    Process code for outbound processing - Code which identifies the type of data which is to be sent via the IDoc interface.
    Use - 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).
    Check with tcode WE41
    Process code SD12 - QUOTES: Quotation
    Regards,
    maha

  • Hi about process codes

    Can any body tell me about process codes, What exactly the significance of Process codes in the outbound and inbound system?
    What is the use of process code in ALE/IDOC scenario? and where will u create the process codes.?

    Hi,
    Just check the tcodes we41- outbound and we42-inbound. You can find out all related process codes . when you select and look this will be having related FM.
    Kindly go thro this link, u will get idea abt process codes.
    http://help.sap.com/saphelp_47x200/helpdata/en/dc/6b805a43d711d1893e0000e8323c4f/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/dc/6b804d43d711d1893e0000e8323c4f/frameset.htm
    Regards....
    Padmam.

  • Wrong processing code used in inbound processing

    Hi
    We are on 4.6C and have configured a dist. model for material distribution using message type MATMAS. On receiving end IDOC is properly received but processed with code 51 which is "IDOC Interface not complete for message type".
    While testing it in we19 with standard inbound option we found that its using process code AFSA though in the inbound partner profile its set to MATM. (In the table tbd52 AFSA is not even defiend for MATMAS but for ARTMAS) While using INBOUND FM option there with FM specified as IDOC_INPUT_MATMAS_MDM we were able to process the IDOC properly in receiving end. We are not sure which code is being defaulted to during automatic inbound processing but we guess its same as AFSA as shown during standard inbound option. It will be of great help if someone can explain what might have gone wrong.

    Dear Renjith
      I got it. Actually the process code was correctly attached in sending system but in receiving system it was unfortunately set to AFSA which I ignored. Thanks a lot for the response.
    regards
    saurav

  • What Message type and Process Code to use for Purchase Order Change in 4.6C

    I like to implement in SAP R/3 4.6C a scenario for Purchase Order Change, via inbound IDoc.
    I have been searching, but could not find what Message Type, Idoc Basic Type and Process Code to use.
    I can not imagine this functionality does not exist in 4.6C.
    Any suggestions for my problem are welcome.

    Hello,
    In this case you should use the message PORDCH and BAPI method BAPI_PO_CHANGE but only exist as of release 4.7.
    Function module    BAPI_IDOC_INPUT1
    Idoc Type              PORDCH01
    Message Type      PORDCH
    So check carefully the following OSS notes:
      [Notes 589066 - BAPI_PO_CHANGE: Incorrect account assignment to network |https://service.sap.com/sap/support/notes/589066] (not be fooled by the description)
    [ Notes 197958 - BAPIs for purchase orders - Missing Functions|https://service.sap.com/sap/support/notes/197958]
    Regards,
    Andrea
    Edited by: Andrea Olivieri on Sep 3, 2009 10:17 AM

  • Process code used for DELFOR inbound idoc

    I have to create one interface in that i have to capture the transfer orders from that i have create the DELFOR idoc which used for posting the scheduling agreements.
    These agreements will pos teh requirement to the forecast tab.
    Please let me know the process code used for this inbound DELFOR idoc.
    Regards,
    Uday

    Hi Uday,
    Firstly: Yes. Delins function module can be used for Delfor. Either case you will make the sytem update the forecast tab of scheduling agreement.
    Secondly: Make sure you have one valid sales scheduling agreement maintained for that sold to, customer-material, ship to partner description.
    Let me know if you have further concerns;
    Regards,
    Syed Nasir

Maybe you are looking for

  • Absence Quota Requirment in Time Management

    Hi All I have a Requirement of a Casual Day where in prefixing or suffixing CL days with weekly offs or holidays is allowed. However, both prefixing & suffuxing will result in on extra day being counted as CL.    For more information : It is applicab

  • How to send email notifications from a workflow?

    I am having problems trying to get notification emails to work from a workflow. I have done the following: 1.Checked notification to file is commented out in waveset.properties 2.Set SMTP server and port setting in Configure > Servers > email templat

  • Unable to open the workflow in iphone

    hi all, myself facing an issues with opening the workflow in iphone device. Added iphone device in SCC and assigned the workflow to the device. able to see the workflow in inphone but when trying to open it it shows an error stating "Unable to open w

  • Conversion from KGs to Pounds

    Hi All, I have a keyfigure Quantity in the cube. These values are stored in KGs. I have a requirement where I have to display the values in the report both in KGs and Pounds. Could someone please let me know how can I do this conversion? Thanks, J

  • PRoblems between audigy2zs and 9800pro drive

    I have been having a lot of trouble installing my new sound card into my system. Here is the steps I have taken. I installed windows xp pro w/sp2 integrated. I installed all mobo drivers(the onboard sound is disabled in the bios). I then installed th