Doubt in IDOC Regarding Process codes

Please check the link
http://idocs.de/www5/books/IDocBook/cook_A5.pdf
In page no: 32 (Topic: 8.5 Assigning a processing function ) ,FM is assigned directly to Message type and Idoc type combination.
But in the next page, Process code is created for that FM and Asigned that process code to message type and Idoc type combination.
What's the differece.
Another thing is in which transaction we assign Process codes to Message type and Idoc type Combinations
Above tutorial looks like old version. In my system Transactions are looking different ,than they are in Tutorial. I am working in version 5.0. If possible, Please provide me perfect material.

Hi
Process code always points to a Function module
Means it calls the fun module
In We41/42 you creata process code and assigns to a Message type
so means that Process Code, Idoc Type and Message type are interlinked
Even you can check in WE20 partner profile
in the Outbound
double click on the Message type and press message control , it shows the process code attached
and double click on the process code it shows the fun module attached to it.
Reward points if useful
Regards
Anji

Similar Messages

  • Doubt in IDOC's - Process Codes

    Hi,
    Currently i am working on an object related to IDOC generation. This is my first object in IDOC's. I am doing it from the scratch including creation of segments, IDOC type, message type, process codes...
    In this process, I am developing a function module that should be assigned to the process code. My doubt here is, is there any standard interface to the function module that we have  to assign to the process code?
    I am also giving the flow which i will be using in developing the Function module. Please go through it and kindly let me know if I am doing it in the right way or not?
    1. Extract data from data base based on the entry in NAST
    2. Filling IDOC DATA & Control records
    3. Calling the FM MASTER_IDOC_DISTRIBUTE to generate the IDOC
    Please suggest me whether i am doing it in the correct way or not?
    Thanks in Advance,
    Best Regards,
    Phani

    Hi,
    For outbound u need to attach ur FM to the process code in WE41 tcode..I think u r using message control method for ur requirement.please look at the configurations for outbound using message control method.we use we41 (outbound process code) and we use this in the message control tab in the partner profiles. 
    The transaction codes that are required for this method are
    We81
    We30
    We31
    We82
    We21
    We20
    Bd64
    Nace
    Me22n (purchase order), va02 (sales order) etc.
    Ex: purchase order.
    Message type: ORDERS
    Idoc type: ORDERS05
    Outbound process code for purchase order: me10
    Regards,
    Nagaraj

  • Message type ,IDOC TYPE , PROCESS CODE for Edi 990

    Hi ,
    Please provide the Message type ,IDOC TYPE , PROCESS CODE for Edi 990 (Response to a Load Tender).
    Thanks in Advance.
    Ajay Kolla

    Hi
    Pls check the below links
    1. http://www.erpgenie.com/sap/sapedi/ansi.htm
    2. http://www.erpgenie.com/sap-technical/ale-edi-b2b/master-data-message-types-idoc-types
    Hope this may helps you.
    Regards
    Sirigiri

  • Please provide the Message type ,IDOC TYPE , PROCESS CODE for Edi 990 ,214

    Hi friends,
    Please provide the Message type ,IDOC TYPE , PROCESS CODE for Edi 990 (Response to a Load Tender)., 214 (Shipment Status )
    For shipement status i got trxstc01 for idoc type .. but its only before 4.6 version ..for 4.7 its not there .. please give the alternate for that ...
    Thanks in Advance ....
    If any one is provide exact answer i will give Max marks ..
    Edited by: ajay KOLLA on Aug 6, 2009 8:04 AM

    Hi,
    Have you resolved this issue. If yes, can you please let me know. Im actually looking for same for EDI 867 (guess it is for summary report and need to know message type, Idoc type associated with this).
    Rgds
    Sudhanshu

  • IDOCs - Simple doubt in INBOUND DELVRY. IDOC-DELVRY03, Process code isDELV?

    Hello Experts,
    Our SAP system receives the Inbound IDOC for Delivery from Gentran.
    Further details are,
    Process code: DELV
    IDOC type: DELVRY03
    Message type: SHPCON
    Message code: TOC
    Parther profile: Account # of Ship To party
    So, my requirement is that,
    If this Inbound Delivery IDOC contans the Message Code as TOC, I need to insert/add my logic
    so, let me know that,
    1) Request u that, let me know How to go ahead, becoz am new IDOCs, like, Is I need to look for the any Usre Exit? I mean, At Wht point I need to add my code in this whole process?
    thank you
    Edited by: Srinivas on Jun 29, 2008 11:15 PM

    Hi Srinivas,
    Use the below user exit for creating a STO order.
      CALL CUSTOMER-FUNCTION '003'
           EXPORTING
                IDOC_CONTROL        = IDOC_CONTRL
                IDOC_DATA           = IDOC_DATA[]
                DELIVERY_HEAD       = S_KOKO
                DELIVERY_ITEM       = T_KOPO[]
                PACKING_HEAD        = T_VSEK[]
                PACKING_ITEM        = T_VSEP[]
                PROCESSING_STATUS   = F_STAT
           IMPORTING
                WARNING_IGNORE      = F_FLAG
           CHANGING
                PROCESSING_PROTOCOL = T_PROT[]
           EXCEPTIONS
                OTHERS              = 0.
    Because by the time you get to this point, the delivery document is created. I believe you need to create the STO order only once the delivery document is created.
    Thanks,
    Mahesh.

  • IDOC BETMAS01 process code

    Hai Friends
    I created new CUstom idoc for BETMAS01.
    Please give response to the following topics.
    1)What is the process code or TCODE of BETMAS01 (Site master).
    1)How to raise the outbound idoc automatically when the site data was created?.
    Advance Thanks to all.
    WIth regards
    Krishna

    Hai Friends
    I created new CUstom idoc for BETMAS01.
    Please give response to the following topics.
    1)What is the process code or TCODE of BETMAS01 (Site master).
    1)How to raise the outbound idoc automatically when the site data was created?.
    Advance Thanks to all.
    WIth regards
    Krishna

  • Functiopn module associated with basic type of idoc without process code

    can i know the function module assciated with basic type of idoc if i do not know the process code for the same

    hi saurabh,
    download.oracle.com/docs/cd/B10464_05/integrate.904/b10299/intro.htm
        CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
          EXPORTING
            master_idoc_control                  = wa_edidc
          TABLES
            communication_idoc_control           = it_edidc
            master_idoc_data                     = it_edidd
      EXCEPTIONS
        ERROR_IN_IDOC_CONTROL                = 1
        ERROR_WRITING_IDOC_STATUS            = 2
        ERROR_IN_IDOC_DATA                   = 3
        SENDING_LOGICAL_SYSTEM_UNKNOWN       = 4
        OTHERS                               = 5
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDIF.
    ENDIF.
    ENDMETHOD.
    i think this will help u
    regards,
    sindhu.

  • HRMD_A Inbound Idoc with process Code:HRMD not updated in SAP

    Dear friends,
    I'm facing a problem with Personnel data creation in SAP (this is not a SAP HR system).
    I have a data file with Personnel data, in WE19, I use idoc_input_hrmd to process the data (with basic type: hrmd_a06). Idoc has been created with status '53'. However, when I check in SAP, t-code PA30 with the Personnel number, the record does not exist. Checked infotype tables PA0000, PA0001, PA0002 and PA0003 as well, no luck.
    I wonder where does the data go? Is it sitting somewhere in the system and waiting to be processed?
    Please help!!!!!

    Hi
    Authorizations might be one of the reason.
    So IDOC transfered but no records to be writeen to DB.
    regards
    vijay

  • Custom Process Code - IDOCS

    Hi Guys!
       This Question is similar to my previous post i want to know whats the reason, when we go for custom process code development for standard idocs & message types, any way sap has provided that.
      Is there any nessacary to devlop that, any way we want to develop, whats the real reason.
      Can u give details.
      Second, when we develop our custom process code we give our z development class name & transport request is there any other objects of ALE we store in them & transport the same.
      Thanks.

    Hi Rahul,
         A. The segments which i have used are listed below.                                                                               
    EDI_Z50               EDI IDOC, invoice header, standard data                   
            EDI_Z3                 EDI IDoc type: purchase orders etc.: header, partner info 
            <b>ZEDI_Z51          EDI IDOC, invoice line items, standard data               </b>
            EDI_Z55                EDI IDoc type: totals, conditions                         
            EDI_Z52                EDI IDOC, invoice totals, standard data                   
            EDI_Z53                EDI IDOC, invoice totals, taxes                                                                               
    The bolded one is the customised segment, as i have mentioned early,in which we have used Additional fields for debit and credit memo.
    B. You mean, you need the coding of the functional module.
    C. Regarding process code, you can just, link your FM to Process code in we42 for Inbound .
    Enhancements in the sense, extended the exsisting IDoc and related information?
    You can mail me on [email protected] I can send you an document for that.
    Thanks
    Manju

  • 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

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

  • 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

  • IDOC Inbound Processing and updating DN

    Hi,
    I'm unfamiliar to inbound processing (i just understand the basics). I've dealt with outbound processing and user exits associated with that.
    I have a specific client requirement: an Inbound IDOC is to be processed and update a delivery note. Some field of some segment within this inbound idoc will carry some information which I need to extract and update a field  in the Delivery Note with. How could I do this?
    Inbound message type is DESADV. Does my requirement need user exit programming or can I set up some kind of a batch job process?
    Thanks in advance,
    Risad

    HI,
    For processing inbound idoc one process code attached in the partner profile. From this process code you can find out the function module attached to it.
    Inside function module use can check for exit or badi to modify DN or write your custom logic. If you already have the test data you can check it from we19. Here you need to select standard inbound.
    Thanks
    Subhankar

  • File 2 IDoc ----- Process Codes

    Hi Frnds,
    I done one scenario between File 2 IDOC.
    I am updating file system data in MATMAS IDOC.
    Scenario working prperly, But i am unable to  se the results in MATAMAS IDOC.
    File adapater picking up tha data it sent IDOC.
    how to see the Up dated data in to MATMAS,
    Which process codes i need to execute
    can any one help me out...
    Regards,
    Raj

    hi,
    these are the process codes.
    Step 1)
    Goto SM59.
    Create new RFC destination of type 3(Abap connection).
    Give a suitable name and description.
    Give the Ip address of the R3 system.
    Give the system number.
    Give the gateway host name and gateway service (3300 + system number).
    Go to the logon security tab.
    Give the lang, client, username and password.
    Test connection and remote logon.
    Step 2)
    Goto IDX1.
    Create a new port.
    Give the port name.
    Give the client number for the R3 system.
    Select the created Rfc Destination.
    Step 3)
    Goto IDX2
    Create a new Meta data.
    Give the Idoc type.
    Select the created port.
    Steps for R3.
    Step 1)
    Goto SM59.
    Create new RFC destination of type 3(Abap connection).
    Give a suitable name and description.
    Give the Ip address of the XI system.
    Give the system number.
    Give the gateway host name and gateway service (3300 + system number).
    Go to the logon security tab.
    Give the lang, client, username and password.
    Test connection and remote logon.
    Step 2)
    Goto WE21.
    Create a port under transactional RFC.(R3->XI)
    Designate the RFC destination created in prev step.
    Step 3)
    Goto SALE.
    Basic settings->Logical Systems->Define logical system.
    Create two logical systems(one for XI and the other for R3)
    Basic settings->Logical Systems->Assign logical system.
    Assign the R3 logical system to respective client.
    Step 4)
    Goto WE20.
    Partner type LS.
    Create two partner profile(one for XI the other for R3).
    Give the outbound or inbound message type based on the direction.
    Step 5)
    Goto WE19
    Give the basic type and execute.
    fill in the required fields.
    Goto IDOC->edit control records.
    Give the following values.(Receiver port,partner no.,part type and sender Partner no. and type)
    Click outbound processing.
    Step 6)
    Go to SM58
    if there are any messages then there is some error in execution.
    Goto WE02.
    Check the status of the IDOC.
    Goto WE47.
    TO decode the status code.
    Step 7)
    Not mandatory.
    Goto BD64.
    Click on Create model view.
    Add message type.
    BD87 to check the status of IDOC.
    In case if not authorized then go to the target system and check in SU53, see for the missing object
    and assign it to the user.
    SAP r3
    sm59(status check)(no message)
    WE02(status check)
    WE05(status check)
    BD87(status check)
    WE42 process code
    WE47 status info.
    Thanks,
    Vijaya

  • 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

Maybe you are looking for

  • How to return a business fault from a DB Adapter call.

    Using a SOA composite with a Mediator, from a BPEL service we call a PL/SQL package, via a DB Adapter, to get some information. Sometimes we will get a NO_DATA_FOUND from the select and we catch that (or as the documentation says - for example when a

  • Page size in 08

    1. I tried changing page size in iWeb 1 but it didn't work. Does it work in 08? 2. Can you change margins/fontsize in navigation bar?

  • Vol_init failed (can't communicate with kernel)

    Hi, I'm running Sol 2.8 on a sparc SUNW, Sun blade 1000 and having problem mounting the CDROM. I tried to start vold but I'm seeing that /var/adm/messages is logging "vol_init failed" and "Can't communicate with kernel". I've seen similar error in th

  • External Monitor to Macbook Pro 15"

    When I start the computer, the external monitor shows only the background of the login screen but not the box itself where I type the password. After loggin in, I see the dektop on my computer but the external monitor continues to show only the backg

  • Zen Micro Photo wont und

    Hi guys hope you can help?I am having problems with my Zen Micro Photo. Where as before when leaving explorer my player would undock, now it just stays docked and I am afraid to remove it from the USB. Have spent a lot of time looking on the threads