Skip to Content
avatar image
Former Member

Message type and Basic type related to IDOC

Hello Friends,

1) What is the difference between Message type and Basic type related to IDOC..Could any give example for explaining this.

2)whether message type depends on bsic type or reverse.

3)How to create message type and basic type for IDOC..

Could any one give example for this.

4)what is custom IDOC .How to define this.any example

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 16, 2008 at 07:35 AM

    Hi,

    MESSAGE TYPE IS THE MESSAGE WHICH IS TRANSFERRED IN BETWEEN

    THE BUSINESS PARTNERS.

    BASIC TYPE IS THE CONTAINER OF THE MESSAGE.

    refer this link

    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b7db043d711d1893e0000e8323c4f/content.htm

    reward if useful

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 16, 2008 at 07:36 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 16, 2008 at 07:37 AM

    ALE Idoc is method to migrate data between two SAP systems.whereas EDI used to transfer data

    between one SAP and other non-SAP systems and vice versa.

    IDoc (for intermediate document) is a standard data structure for data migration

    between two SAP application programs.it carries Business Information.

    Business Data is of three types-

    1. Control Data - i.e. configuration data (client, company code etc.)

    2. Master Data - i.e. Application level data (Material/vendor master etc.)

    3. Transactional Data - i.e. also Application level data (Like invoice, billing etc)

    For control data IDocs are created once, and after being transferred it can not be changed,

    whereas for transactional and master data many IDOCs can be created.

    Structure of IDOC-

    Message Type- Can contains several segments.

    Segment Type- Actual contents of the data contained into the SEGMENT.Segments are the

    section of data.Segments containns the fields, it means ields are the

    basic building block of any segment.segments are identified by the Sequence no. of the segment i.e. IDOCSYN.

    EDIDD,EDIDC,EDID4 are the tables for IDOC data.

    Imp. Terms -

    Logical System - Logical system is an appropriate name to identify the sender and receiver.it should be

    uniquely binded with a particular client.

    CDM (Customer distribution model) - Is responsible for finding out the axact recepient for the IDOC.

    Partner Profile - Recipient system should know what type of message it is going to receive from which system,for

    this partner profile has to be created,every information related to PORT, RFC, LS, IDOC Type

    should be maintained in Partner Profile.

    RFC Destination - it will be the other SAP system.

    Imp. Tcodes-

    WE31 - Creating Segment

    WE30 - Creating IDOC Type

    WE81 - Creating Message Type

    WE82 - Assigning Message type to IDOC

    BD64 - Creating CDM

    WE20 - Creating Partner Profile

    BD82 - Generating Partner Profile Automatically

    WE21 - Assign Port to RFC Destination

    BD54/SALE - Creating logical System and assign LS to appropriate client.

    SM59 - Creating RFC Destination

    WE21 - Creating Port and assigning port to RFC destination.

    Steps -

    1. Create the Logical System.

    2. Assign LS to Client.

    3. Create RFC Destination.

    4. Create PORT.

    5. Bind the PORT with RFC dest. to create communication channel.

    6. Create Partner Profile.

    7. Create CDM.

    8. Assign partner profile to CDM.

    9. distributing the CDM.

    To Create Message type-

    10. Create Segment. (WE31)

    11. Create IDOC.(WE30)

    12. create Message type (WE81)

    13. Assign Message type to Idoc Type.

    14. Assign the IDOC type to partner profile.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 16, 2008 at 07:48 AM

    Hi,

    1.Message type holds the information about the application.

    we can create the message type using the

    TCode:WE81.

    2.Basic Type jus holds information regarding the application.

    We will create the basic or extention of the IDOC in WE30.

    3.Message type and basic Type or interdependent.So, they can be assigned in WE82.

    4.Custome IDoc is nothing but ,creating the IDoc as BAsic type.That is also created in WE30.

    STEPS to create:

    Steps in creating IDoc Type:

    T.Code WE30 to create IDoc Type.

    Enter the Object Name, Select Basic Type and click Create Icon

    Select the create new option and enter a description for your basic IDOC type and press enter

    Select the IDoc name and click Create icon

    The system prompts us to enter a segment type and its attributes

    Choose the appropriate values and press enter

    The system transfers the name of the segment type to the IDoc editor.

    Follow these steps to add more number of segments to Parent or as Parent-child relation.

    Save it and go back.

    Go to Edit -> Set Release.

    Message Type:

    Steps in Creating Message Type:

    T.Code WE81.

    change the details from Display mode to Change mode

    After selection, the system will give this message "The table is cross client (See help for further info)". Press enter.

    Click New Entries to create new Message Type.

    Fill details

    Save it and go back.

    Assign Message Type to IDoc Type:

    T.Code WE82

    Change the details from Display mode to change mode.

    After selection, the system will give this message "The table is cross client (See help for further info)". Press enter.

    Click New Entries to create new Message Type.

    Regards,

    Kumar(Reward if helpful).

    Add comment
    10|10000 characters needed characters exceeded