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

Similar Messages

  • . What is a process code in ALE

    . What is a process code in ALE
    could u plz explain clearly

    hi,
    a process code represent function mod.,
    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.
    reward useful points,
    siva
    Message was edited by:
            Shan

  • 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

  • What is the serialization concept in ALE/IDOC?

    what is the serialization concept in ALE/IDOC?

    Hi Srinu ,
    IDoc Serialization means, sending/posting the idocs in sequence.
    We serialize IDocs in the following cases:
    · If you want the Integration Server to process the corresponding IDoc XML messages in the same sequence that it receives them from the IDoc adapter at the inbound channel.
    · If you want the receiver to receive the IDocs in the same sequence that the IDoc adapter sends them at the Integration Server outbound channel.
    The sequence at the Integration Server inbound or outbound channel can only be guaranteed if only IDocs are processed, and not if different protocols (for example, IDocs and proxies) are processed together.
    Do not confuse IDoc serialization using the IDoc adapter with the ALE serialization of IDocs.
    Prerequisites
    · The quality of service EOIO (Exactly Once In Order) must be specified in the message header.
    · The receiver system or the sender system must be based on SAP Web Application Server 6.40 or higher. If this is not the case, the quality of service is automatically changed to EO for compatibility reasons and the message is processed accordingly.
    Procedure
    If you want the Integration Server to process the IDoc XML messages created by the IDoc adapter in the same sequence that the IDocs are sent by your application, proceed as follows:
    · Enter a queue name in your application. You can use 16 alphanumeric characters. The prefix SAP_ALE_ is then added.
    The IDoc adapter checks the prefix and replaces it with the prefix of the corresponding Integration Server inbound queue (for example, XBQI0000).
    If you want the receiver to receive the IDocs in the same sequence that they are sent by the Integration Server using the IDoc adapter, proceed as follows:
    · In the communication channel, select the check box Queue processing for the receiver.
    The IDoc adapter replaces the prefix of the outbound queue (XBQO) with the prefix SAP_ALE_.
    You can display the individual messages in the qRFC monitor of the outbound queue. To do this, do one of the following:
    ¡ Use the queue ID in the list of displayed messages in the monitor for processed XML messages.
    ¡ Use the transaction ID in the list of displayed XML messages in the IDoc adapter.
    ¡ Call the transaction qRFC Monitor (Outbound Queue)(SMQ1).
    To navigate directly to the display of messages in the IDoc adapter, double click the transaction ID of a message in the outbound queue.
    To do this, you must have registered the display program IDX_SHOW_MESSAGE for the outbound queue in the qRFC administration (transaction SMQE) beforehand.
    In both cases, the function module IDOC_INBOUND_IN_QUEUE is called, which enables EOIO processing of the messages. The processing sequence is determined by the sequence of the function module calls.
    Unlike the other function modules (interface versions from the communication channel), with this function module you have to transfer segment types rather than segment names in the data records.
    Serialization of Messages
    Use
    Serialization plays an important role in distributing interdependent objects, especially when master data is being distributed.
    IDocs can be created, sent and posted in a specified order by distributing message types serially.
    Errors can then be avoided when processing inbound IDocs.
    Interdependent messages can be serially distributed in the following ways:
    Serialization by Object Type
    Serialization by Message Type
    Serialization at IDoc Level
    (not for IDocs from generated BAPI-ALE interfaces)
    Serialization at IDoc Level
    Use
    Delays in transferring IDocs may result in an IDoc containing data belonging to a specific object arriving at its destination before an "older" IDoc that contains different data belonging to the same object. Applications can use the ALE Serialization API to specify the order IDocs of the same message type are processed in and to prevent old IDocs from being posted if processing is repeated.
    SAP recommends that you regularly schedule program RBDSRCLR to clean up table BDSER (old time stamp).
    Prerequisites
    IDocs generated by BAPI interfaces cannot be serialized at IDoc level because the function module for inbound processing does not use the ALE Serialization API.
    Features
    ALE provides two function modules to serialize IDocs which the posting function module has to invoke:
    · IDOC_SERIALIZATION_CHECK
    checks the time stamps in the serialization field of the IDoc header.
    · IDOC_SERIAL_POST
    updates the serialization table.
    Check the following link:
    http://help.sap.com/saphelp_nw04s/helpdata/en/0b/2a66d6507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/78/2175a751ce11d189570000e829fbbd/frameset.htm
    Ex: ADRMAS, DEBMAS(customer)
    ADRMAS, CREMAS(Vendor)
    In this case, Before posting Customer Data or Vendor Data it requires Address Data.
    Rgds
    Sree m

  • Need of Process code in ALE Inbound Processing?

    Hi All,
      What is the need of process code in ALE Inbound Processing? Why do we need to reach the function module through process code? we can as well directly point to function module.

    Hi Ravi,
    Please chcek this link perhaps it may help.
    http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b804043d711d1893e0000e8323c4f/frameset.htm
    Regards,
    Ferry Lianto

  • What is the process code for Message type FUNDMA

    Hi,
    I am sending CO elements to the distributed server using ALE. Can somebody tell me what is the process code for the message type FUNDMA?
    Thanks
    William

    Check entries of table VEDI_TMSG1. This contains Message types and associated Process codes.
    Hope this helps.
    ashish

  • How to know the process code of an IDOC

    Hi All,
    If I want to know the process code of a standard SAP IDOC, how do I do it. Is it we42 or any table/transaction, which can show me all the possible process codes for an IDOC.
    I need to know this so that I can use this accordingly in my partner profile. ( I do not have any idoc in mind, but its avery general question. How do I know what process code belongs to which IDOC)
    Many thanks

    Hi,
    U can check using We41 and We42 tcode for both inbound and outbound case. For each process code a function module is attached check the same for required functionality.
    WE60 and WE64 transaction.will list the std IDOC in SAP.
    chirag

  • 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

  • What is the process code for message type FIXEDASSET_CREATE?

    Hi all
    please tell me that what is the process code for
    MESSGAE TYPE = FIXEDASSEt_CREATE,
    FUNCTION MODULE = IDOC_INPUT_FIXEDASSET_CREATE,
    BASIC TYPE = FIXEDASSET_CREATE01 ?
    thanx in advance.......
    Edited by: Prachi Sharma on Jan 11, 2008 7:45 AM
    Edited by: Prachi Sharma on Jan 11, 2008 8:03 AM

    Hi,
    Check the Tcodes WE41 and WE42 for Outbound and Inbound process codes
    Check below Tables as well
    EDE1T
    EDE2T
    EDE5T
    EDE6T
    TEDE5
    TEDE6
    Regards,
    Satish

  • 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

  • What is A process Code?

    1.What is A process Code?
    2. How to associate a process code with an output type ?

    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
    <u>http://logosworld.com/www7/EDI/HTML/IDocBook.htm</u>

  • Process Code for Outbound Idoc

    Hi All,
    We need to find out the Process Code for an Idoc.
    Note : We dont have access to WE41, WE20 ,BD51.
    Could you please suggest any alternatives.
    Thanks,
    Sanjeet

    Hi Gautham,
    Thanks for ur reply.
    But still we hv not *** to the solution.
    We have available information as following:
    Basic Type : DESADV01
    Extension Type : EXTDES03
    Message type : DESADV
    Partner NUmber : XXXXXX
    Partner Type : KU
    I checked in Table TMSG1 and i got more than one similar process codes for the same message type.
    Actually I have the generated Idoc number and we are trying to reach to the FM which populates the Idoc segments.
    So if we get the process code, we can reach to FM.
    Thanks,
    Sanjeet

  • What is the Process code for IDoc SISCSO01

    Hi all,
    I am using 4.6c version.
    I am going for an outbound IDoc SISCSO01 for sales Order confirmation.
    I want the process code (we41) which suits this IDoc SISCSO01.
    Can you please help to get the process code so that my IDoc can be sent succesfully.
    Best Regards,
    Gangolu

    Hi Gangolu,
    I don't think there is an outbound process code for IDoc type SISCSO01.
    But you can generate the IDoc with this FM <b>MCV_STATISTICS_ALE_OUT_ORDER</b>. But you still need to setup partner profile, distribution model and etc.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • 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.

Maybe you are looking for