Export IDoc documentation

Hi everyone,
I am aware of a Tcode WE60 which is used to export IDoc documentation based on the message/basic type in HTML format. Is there anyway to export the IDoc documentation in text format through this Tcode? Or is there another Tcode which allows us to export the IDoc documentation in text format?
I have tried searching for it but failed. Any help will be greatly appreciated.
Thanks,
Alpana

hi,
The best way I found to do this was to run function module 'IDOC_TYPE_COMPLETE_READ
' in SE37 test mode. It lists all details concerning the IDOC type required in table output format. You can then click on the output table contents required, for example SEGMENT_STRUCT contains all segment fields, their types, descriptions, etc. Then click 'Object > Display entire list' then 'System >  List > Save as > Local file' and select 'Spreadsheet'.
You then have a full list of all segments/fields of the IDoc in a spreadsheet to use for mapping/documentation, etc.
Hope this helps whoever needs this.
M

Similar Messages

  • How do you produce both Customs Export & Import documentation in an STO?

    Hello All -
    How do you produce both Customs Export & Import documentation in an STO scenario? For instance, if a company would like to create a STO in SAP to move materials from one plant to another and would like to produce both the Export & Import paperwork in GTS, what documents would be needed in R/3 to make this possible?
    Would the following be needed, or is there some other way?
    - STO
    - Outbound Delivery & F8 Invoice to generate the Customs Shipment in GTS for the Export documentation
    - Inbound Delivery to generate the Customs Declaration in GTS for the Import documentation

    Thanks Sameer -
    Yes, for the Import documentation, I think we will be declaring prior to Goods Receipt, so we will first use the Inbound delivery, and then the GR document later on once the materials have been received. (I believe you and I were talking about some of this in another thread actually.) Thank you for confirming this.
    As for the Note, I have also seen this - but thought that this was to more or less give visibility to the sending plant up-front at STO of what export licenses might be needed. (According to the note, currently they would only be able to check if licenses were needed at the outbound delivery, and not on the PO)
    Per the note: "Given a Stock Transport Purchase Order scenario: Plant A in Germany issues a STO PO against vendor plant US10 in the US. GTS looks at the PO in terms of importing from the US (departure country) coming into Plant A in Germany and performs compliance checks. Meanwhile, exporting plant US10 only has visibility at outbound delivery creation to see if am Export License is needed. Exporting plant US10 may want to know if they need a license to the country of destination, in this case Germany, at STO PO creation."
    However with the proper country-level export/import activation of the legal regulations, I believe that you can still have the STO check export-related licenses even though it is mapped to GTS as IMPORD. I have done some testing on this and it appears to work (you just need to ensure that you are activating the relevant countries for export/import properly in the legal regulation, and you can have both export & import documents check the same legal regulation and deliver the correct license determination). I was just wondering if you had any experience with this that was contrary to what I have found, or if there is something you think I am missing..
    Thanks

  • ECC 6.0 and WE62 in tree view (IDOC documentation)

    Hi,
    we have just upgraded our ERP system from R/3 4.6C to ECC 6.0, new WE62 for IDOC documentation is in html mode only. Is it possibile to use old-style WE62 in tree-view mode ?
    Regards.
    Ganimede Dignan.

    Hello Ganimede
    The package SED (IDoc Interface (Processing, Administration, Definition)) has undergone a major change on ERP 6.0.
    The function modules for tree display of IDoc / segments found in function group EDIT no longer exist on the newer release:
    - EDI_START_IDOC_TREE
    - EDI_START_SEGMENT_TREE
    The only thing you can do is to copy the coding from an old 4.6c release into a new z-function group on ERP 6.0.
    Regards
      Uwe

  • Export HTML Documentation / Metadata repository

    Hi,
    I'm trying to download (or export) the generated documentation on the metadata repository to my local workstation, but I'm having a problem. The procedure I use (procedure that I found into these forums) is:
    - On transport connection, I select the InfoCube for which I want the documentation to be downloaded.
    - Right click -> export html documentation
    The problem is that on the generated documentation, generated links are not correct. They all have a prefix "SAPEVENT" that doesn't allow the link to be followed and makes it erroneous.
    Have you faced this problem? How can be extracted a subset of the metadata repository that works locally on a user workstation?
    Thanks in advance,
    David.

    Hi all,
    I recently discovered that on our production system the metadata repository export works perfectly on a local machine (it doesn't generate urls with sapevent string), while in our development system the thing is not working.
    This should probably mean that it is all about customizing and configuration (cause both systems are on the same version and SP).
    Does anybody know how to configure this in order to export the metadata repository properly?
    Thanks,
    David.

  • Reg SAP ECC IDOC documentation

    Hi Friends
    Where we can get SAP ECC IDOC documentation help for especially  Functional Consultant.
    Thanks In Advance
    Regards
    SR

    Hi Ravi,
         Hope this links will fullfill your need.
    http://www.sdn.sap.com/irj/sdn/ale
    http://www.riyaz.net/blog/beginners-guide-to-ale-and-idocs-a-step-by-step-approach/technology/sap/18/
    Thanks
    Vinayak

  • EDI-IDOC documentation procedure for mapping

    Hi All,
    I came across a confusion about some T.Codes for IDOC documentation.
    I want to know the difference between WE60, WE61, WE62 and WE63. All are using the same screen program and I m only authorized to use WE60.
    I came to know that WE63 is used for download the SAP IDOC structure to PC for mapping with EDI. But why not others?
    Please guide me on the use of these above mentioned TCodes and also the process of download to PC.
    Thanks,
    Sagar

    YeswanthRaj:
    I found your conflicted statements
    The following statement you say you just have one receiver, to receive two IDOCs
    But i have only one receiver where the 2 IDOcs needs to be send based on the condition..
    The following statements showing that you have more than one receiver,
    the condition editor for receiver determination usually used for multiple receivers based on XPATH or Context Object condition
    It is mapped based on the condition that is given in Receiver Determination and i has two interface Determinations.
    It seems that the first scenario is your situation.
    If your answer is yes, and your source interface is just one,and target interface is two (two IDOC), then this should be typical
    muti-mapping scenario, and the propose I gave to you should fit
    Regards.
    Liang

  • Error when exporting IDOC from one XI system to another

    Hi all,
    When I do an export for an IDOC from my one XI server to be able to import it into another I get the error below. The funny thing is that it works perfectly for my COND_A idoc but not at all for DEBMAS and MATMAS idoc.
    Any ideas?
    <b>Error during export. Internal error during pvc call: SAP DBTech JDBC: Result set is positioned after last row.</b>
    Regards,
    Liesel

    Hey,
    I guess you are using MAXDB,
    please read note number 1055246
    (Inconsistent XI content caused by bug in MAX DB)
    Good luck!

  • Bad console export, worse documentation for session replication setup

    Hi,
    I'm having problem configuring config.xml/weblogic.xml to get in-memory session rep going for WL 6.0
    sp1.
    I already have everything up and running in 5.1 sp8; so I figure I can just export my
    weblogic.properties settings to 6.0's config.xml via the console, right? Well, here's my original
    properties:
    weblogic.httpd.session.enable=true
    weblogic.httpd.session.cookies.enable=true
    weblogic.httpd.session.timeoutSecs=10000
    weblogic.httpd.session.cookie.comment="Kiko session tracking cookie"
    weblogic.httpd.session.cookie.domain=.kikotest.com
    weblogic.httpd.session.cookie.maxAgeSecs=-1
    weblogic.httpd.session.persistence=true
    weblogic.httpd.session.cacheEntries=1024
    weblogic.httpd.session.persistentStoreType=replicated
    When I use the console export tool, I find NONE of these settings in config.xml!!! So I look
    through the docs to see if I can do this manually, and the documents are just as confusing! This
    mapping table:
    http://e-docs.bea.com/wls/docs60///////config_xml/properties.html#1152226
    seem to suggest that each session flag from weblogic.properties is mapped to two corresponding flags
    in config.xml and weblogic.xml (e.g. persistentStoreType -> (config.xml) SessionPersistentStoreType
    & (weblogic.xml) PersistentStoreType). Does this mean I have to set the flags for BOTH files? Or
    just one? Which one???
    As for config.xml flags which have "N/A" in the "Console Label" column, does this mean I just add
    this flag as a top-most label, like:
    <SessionPersistentStoreType>replicated</SessionPersistentStoreType>
    And to further add to the confusion, when I look at the document for "Configuring In-Memory HTTP
    Replication in a Cluster" http://e-docs.bea.com/wls/docs60/cluster/servlet.html#1009453, it tells me
    to "set the property PersistentStoreType to replicated in the Web Application deployment descriptor,
    web.xml."? I thought it was weblogic.xml???
    I think all of these confusions can easily be alleviated by fixing any one of the following, if not
    all three:
    1) /console export of weblogic.properties to config.xml needs to translate these session flags
    2) /console needs to have access to these session flags so we don't have to poke around config.xml!
    3) Documents need to be less ambiguous about how to set these flags
    Gene

    Hi Gene,
    I believe the documentation is incorrect - sessionPersistentStoreTyped doesn't need to be set in the
    config.xml file (I don't believe this tag still exists). The file name should be weblogic.xml and has
    the following general form:
    <!DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 6.0//EN"
    "http://www.bea.com/servers/wls600/dtd/weblogic-web-jar.dtd">
    <weblogic-web-app>
    ... other stuff from the dtd if you like
    <session-descriptor>
    <session-param>
    <param-name>PersistentStoreType</param-name>
    <param-value>replicated</param-value>
    </session-param>
    </session-descriptor>
    </weblogic-web-app>
    weblogic.xml goes in the WEB-INF directory in your war file.
    Hope this helps,
    Glen
    Gene Chuang wrote:
    Hi,
    I'm having problem configuring config.xml/weblogic.xml to get in-memory session rep going for WL 6.0
    sp1.
    I already have everything up and running in 5.1 sp8; so I figure I can just export my
    weblogic.properties settings to 6.0's config.xml via the console, right? Well, here's my original
    properties:
    weblogic.httpd.session.enable=true
    weblogic.httpd.session.cookies.enable=true
    weblogic.httpd.session.timeoutSecs=10000
    weblogic.httpd.session.cookie.comment="Kiko session tracking cookie"
    weblogic.httpd.session.cookie.domain=.kikotest.com
    weblogic.httpd.session.cookie.maxAgeSecs=-1
    weblogic.httpd.session.persistence=true
    weblogic.httpd.session.cacheEntries=1024
    weblogic.httpd.session.persistentStoreType=replicated
    When I use the console export tool, I find NONE of these settings in config.xml!!! So I look
    through the docs to see if I can do this manually, and the documents are just as confusing! This
    mapping table:
    http://e-docs.bea.com/wls/docs60///////config_xml/properties.html#1152226
    seem to suggest that each session flag from weblogic.properties is mapped to two corresponding flags
    in config.xml and weblogic.xml (e.g. persistentStoreType -> (config.xml) SessionPersistentStoreType
    & (weblogic.xml) PersistentStoreType). Does this mean I have to set the flags for BOTH files? Or
    just one? Which one???
    As for config.xml flags which have "N/A" in the "Console Label" column, does this mean I just add
    this flag as a top-most label, like:
    <SessionPersistentStoreType>replicated</SessionPersistentStoreType>
    And to further add to the confusion, when I look at the document for "Configuring In-Memory HTTP
    Replication in a Cluster" http://e-docs.bea.com/wls/docs60/cluster/servlet.html#1009453, it tells me
    to "set the property PersistentStoreType to replicated in the Web Application deployment descriptor,
    web.xml."? I thought it was weblogic.xml???
    I think all of these confusions can easily be alleviated by fixing any one of the following, if not
    all three:
    1) /console export of weblogic.properties to config.xml needs to translate these session flags
    2) /console needs to have access to these session flags so we don't have to poke around config.xml!
    3) Documents need to be less ambiguous about how to set these flags
    Gene

  • Found IDoc documentation : which IDoc will made what I need ?

    Hello all,
    I know that the Idoc DEBMAS06 can be used to create a customer. But if I haven't this IDOC name ?
    If I need to create customers and I want find if an IDoc exists : where can I get this information ?
    I  searched in help.sap.com, sap marketplace, transaction SPRO ...
    I though to find this kind of information :
    SD > Master Data > Customers
    <Definition of what is a customer> (ok for this point in help.sap.com)
    Linked IDOCs :
    DEBMAS06 : Customer creation
    Thanks for your help

    Thanks for your answer.
    But it's not easy to find the needed IDoc in WE60 (without reading all the documentations)
    [answered]

  • Customer Master Create using CRMXIF_PARTNER_SAVE (IDOC)-documentation

    HI All,
    please send me some documents related to the following question
    Customer Master Create using CRMXIF_PARTNER_SAVE (IDOC)
    Regards,
    Radha Krishna

    Hi Krishna,
    Check out the documentation available on http://ifr.sap.com/catalog/query.asp
    SAP CRM - 4.0 > Customer Relationship Management > Master Data > CRMXIF_PARTNER_SAVE
    In the meanwhile I shall check if I have something better and more detailed.
    Regards
    Binai

  • Full IDOC documentation, tutorial..lacking IDOC knowledge.

    Hi to all experts in SDN,
    Currently I'm doing IDOC enhancement for example changing the codes in userexit. I know inbound...outbound...communicate with 3rd party system... but never know how it begins or how it should be set at the very beginning of the IDOC till it really working...I need to handle a support for a company in IDOC and I really need to equip myself with full knowledge...
    Therefore I'm here to ask all experts here, please provide documentation, tutorial or any training material available...Start from the configuration should be done..both functional settings or technical settings....
    I'm appreaciate for all helps and will compose a fully documentation once I'm done in research in IDOC as return to SDN. Please help....
    Thanks a lot.
    Best Regards,
    JL

    Hi,
    1)EDI
    Electronic Data Interchange
    Cross-company exchange of electronic data (for example business documents) between domestic and international business partners who use a variety of hardware, software, and communication services. The data involved is formatted according to predefined standards. In addition to this, SAP ALE technology is available for data exchange within a company.
    Refer
    http://www.erpgenie.com/sapedi/index.htm
    2) ALE
    A means of creating and operating distributed applications.
    Application Link Enabling (ALE) guarantees a distributed, but integrated, R/3 installation. This involves business-controlled message exchange using consistent data across loosely linked SAP applications.
    Applications are integrated using synchronous and asynchronous communication - not by using a central database.
    ALE consists of the following layers:
    Application services
    Distribution services
    Communication services
    Refer
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    Check this link ALE and EDI
    Types of RFC.
    RFC:
    Remote Function Call (RFC) is the standard SAP interface for communication between SAP systems. The RFC calls a function to be executed in a remote system.
    Synchronous RFC:
    The first version of RFC is synchronous RFC (sRFC). This type of RFC executes the function call based on synchronous communication, which means that the systems involved must both be available at the time the call is made.
    Transactional RFC (tRFC) and Queued RFC (qRFC). tRFC is used mainly to transfer ALE Intermediate Documents (IDocs).
    Transactional RFC:
    If an error occurs during a synchronous remote function call, the system cannot tell at what point the error occurred (most crucially, whether the function module was actually processed in R/3 before the operation failed). Restarting a failed call is therefore a dangerous thing to do, since you risk duplicating a completed function call.
    To alleviate this problem, you can use transactional RFC, which guarantees that each function call you issue will only be executed once, even if you submit it repeatedly to the R/3 System. The system implements this safeguard by assigning a unique transaction ID (TID) to each transaction that you submit. When you attempt to process the transaction, the system checks whether that TID has already been processed. If it has, the transaction is ignored.
    Queued RFC:
    When you use transactional RFC, you cannot guarantee the order in which the function calls will be processed in the system (it is quite possible that one call might overtake another). For cases where you need to specify a particular processing order, you can use queued RFC, which is an extension of transactional RFC. In qRFC, you place each function call in a logical queue. A function call cannot be executed until all of its predecessors in the queue have been processed. Queued RFC calls are processed asynchronously
    For more information on RFC, please go through the link.
    http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5b6a85b11d6b28500508b5d5211/content.htm
    In simple words, ALE is used within the organization and EDI is used betn. the business partners.
    For eg: in ALE, when you want other branches of your company to have the same data as your main branch. You transport the data through ALE methodology.
    Whereas, EDI is used for communication betn ur co. & bank or co. & transport co., etc.
    If the other end does not have SAP, then a middle layer like MERCATOR is used to convert SAP data to non-SAP data and vice-versa.
    The basic difference is that ALE is the SAP technology for communications and you do not have to depend on 3rd party sofywares for the communication. EDI is the technology which requires you to define/create a sub-system that enables data transfers and these subsystems are 3rd party tools.
    THe various types of RFCs used in the technology are
    1. Synchronous RFC
    2. Asynchronous RFC
    3. Transactional RFC (tRFC)
    You can refer these links for ALE and EDI.
    http://www.onestopsap.com/interview-Question/ale/
    http://www.onestopsap.com/interview-Question/edi/
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • Export Idoc as XSD from ABAP

    Hi all,
    could anybody tell me how it is possible to export an idoc from a sap system as xsd.
    I know that transaction WE60 -> Export XSD does exactly the same, so could anybody tell me, how to perform this task with abap coding ?
    Thanks in advance!
    BR

    **  IF seddocustr-bassel = 'X'.
    **    IF NOT seddocustr-idoctyp IS INITIAL.
    **      idoctyp = seddocustr-idoctyp.
          idoctyp = p_idoctp.
          control-is_cim = ' '.
          CALL FUNCTION 'SDIXML_IDOC_TO_SCHEMA'
            EXPORTING
              mestyp          = mestyp
              idoctyp         = idoctyp
              control         = control
            IMPORTING
              elements        = elements
            CHANGING
              idocdescr       = idoctypdescr
              document        = document
            EXCEPTIONS
              idoc_not_exists = 1
              OTHERS          = 2.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                 WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            EXIT.
          ENDIF.
    **    ELSE.
    **      MESSAGE s346(ea).
    **      EXIT.
    **    ENDIF.
    **  ELSEIF seddocustr-cimsel = 'X'.
    **    IF NOT seddocustr-cimtyp IS INITIAL.
    **      idoctyp = seddocustr-cimtyp.
    **      control-is_cim = 'X'.
    *      CALL FUNCTION 'SDIXML_IDOC_TO_SCHEMA'
    *        EXPORTING
    *          mestyp          = mestyp
    *          idoctyp         = idoctyp
    *          control         = control
    *        IMPORTING
    *          elements        = elements
    *        CHANGING
    *          idocdescr       = idoctypdescr
    *          document        = document
    *        EXCEPTIONS
    *          idoc_not_exists = 1
    *          OTHERS          = 2.
    *      IF sy-subrc <> 0.
    *        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *             WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    *        EXIT.
    *      ENDIF.
    *    ELSE.
    *      MESSAGE s346(ea).
    *      EXIT.
    *    ENDIF.
    *  ELSE. " es muß eins der beiden ausgewählt worden sein
    *  ENDIF.
    Continued.

  • IDOC documentation

    I need to read and learn about IDOC´s, I have to send material master IDoc from SAP.
    can somebody help me?

    hi Alenjandro,
    Pls refer to this thread
    IDOC
    BR,
    Preema
    *Reward points for helpful answers

  • IDoc structure and documentation to Excel

    Dear all,
    please help. I'm totaly lost.
    I'm looking for a link/place to download IDoc documentation (INVOIC and EXPINV) to Excel. I need this to create IT specifications.
    Using WE60 does not help so I'm searching since a few hours on SAP Marketplace, Forums and Google to find this simple thing. In the meantime I could have done it manualy.
    SAP Marketplace lady told it should be here. Somewhere.
    Hope anyone can help.
    Regards,
    Dennis

    Hi Manikandan,
    The main use of a sender adapter is to convert the input format into an XI supported XML format. Once this is done, the sender agreement appends the header with the sender details. In the case of IDoc adapter, you would not require a sender agrrement or a sender channel for the following reasons
    1. The adapter resides on ABAP stack hence the integration server takes care of the IDoc to XML conversion without requirement for adapter.
    2. The business system that is sending the adapter has already been assigned to a technical system which normally acts as an Integration server.
    3. In the system, you fill in the adapter specific identifiers where you define under the IDoc adapter, the Logical system name and the R/3 client and the number
    Thanks,

  • Plz help me ALE/IDOC Scinario documentation

    hi and all,
    plz help me ale/idoc scinarios documentation plz send to me.
    thanking u one and all.

    Hi
    ALE:
    check url
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/ale/configuration.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapdevelopment.co.uk/training
    And also u can get lots of inof from the below link.
    http://www.sapgenie.com/ale/why_ale.htm
    Outbound:
    Step 1.  Application document is created when transaction is saved.
             2.  Message control is invoked.
             3.  Messages are processed by system.
             4.  Messages are Edited (if desired).
             5.  Output (ALE /  EDI) is checked
             6.  Validate against Message control record from Partner Profile
             7.  Application Document is saved.
             8.  Entry NAST table is created for every selected output program
                  along with Medium & Timing.
             9.  Check for Process Immediately .
                     If (yes)
                       Determine Processing Program from TNAPR Table.
                     ELSE
                       Execute RSNASTED Program.
           10.  Read Partner Profile to determine Process Code.
           11.  Process Code points to the Function Module & Invoked.
           12.  IDoc is generated. 
           13.  Check for ALE Request.
                        if (Yes)
                            Perform Filters, Conversions, Version Changes etc.
                        Else.
                            IDoc is stored in DATABASE.
    INBOUND:
    Step 1.  EDI Subsystem creates an IDoc file from EDI Messages
            2.   Subsystem calls Functional Module                                 EDI_DATA_INCOMING from
    startRFC program.
             3.  Data in Control Record is validate against the Partner                       Profile.
            4. IDoc is generated in Database and syntax check is                      carried out.
            5. IDoc file is deleted once file read.
            6. Event PROCESSSTATE REACHED is triggered in Idoc Object Workflow. 
                       7.  Check for Process Immediately.
                   If NO
                     Execute RBDAPP01 Program
                   Else
                      Read Process Code from Partner Profile        
                           Process Code Points to  Function Module
                     Application Document Posted.     
    IDOC
    Data Creation in Idoc
    IDocs are text encoded documents with a rigid structure that are used to exchange data between R/3 and a foreign system. Instead of calling a program in the destination system directly, the data is first packed into an IDoc and then sent to the receiving system, where it is analyzed and properly processed. Therefore an IDoc data exchange is always an
    asynchronous process. The significant difference between simple RFC-calls and IDoc data exchange is the fact, that every action performed on IDocs are protocolled by R/3 and IDocs can be reprocessed if an error occurred in one of the message steps.
    While IDocs have to be understood as a data exchange protocol, EDI and ALE are typical use cases for IDocs. R/3 uses IDocs for both EDI and ALE to deliver data to the receiving system. ALE is basically the scheduling mechanism that defines when and between which partners and what kind of data will be exchanged on a regular or event triggered basis. Such a set-up is called an ALE-scenario.
    IDoc is a intermediate document to exchange data between two SAP Systems.
    *IDocs are structured ASCII files (or a virtual equivalent).
    *Electronic Interchange Document
    *They are the file format used by SAP R/3 to exchange data with foreign systems.
    *Data Is transmitted in ASCII format, i.e. human readable form
    *IDocs exchange messages
    *IDocs are used like classical interface files
    IDOC types are templates for specific message types depending on what is the business document, you want to exchange.
    WE30 - you can create a IDOC type.
    An IDOC with data, will have to be triggered by the application that is trying to send out the data.
    FOr testing you can use WE19.
    How to create idoc?
    *WE30 - you can create a IDOC type
    For more information in details on the same along with the examples can be viewed on:
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm#_Toc8400404
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a6620507d11d18ee90000e8366fc2/frameset.htm
    http://www.sappoint.com/presentation.html
    http://www.allsaplinks.com/idoc_search.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://www.erpgenie.com/sapedi/idoc_abap.htm
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30 )
    Create Message Type ( WE81 )
    Assign Idoc Type to Message Type ( WE82 )
    Creating a Segment
    Go to transaction code WE31
    Enter the name for your segment type and click on the Create icon
    Type the short text
    Enter the variable names and data elements
    Save it and go back
    Go to Edit -> Set Release
    Follow steps to create more number of segments
    Create IDOC Type
    Go to transaction code WE30
    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
    Create Message Type
    Go to transaction 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
    Go to transaction 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.
    Fill details
    Save it and go back
    Check these out..
    Re: How to create IDOC
    Check below link. It will give the step by step procedure for IDOC creation.
    http://www.supinfo-projects.com/cn/2005/idocs_en/2/
    ALE/ IDOC
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
    go trough these links.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    An IDoc is simply a data container that is used to exchange information between any two processes that can understand the syntax and semantics of the data...
    1.IDOCs are stored in the database. In the SAP system, IDOCs are stored in database tables.
    2.IDOCs are independent of the sending and receiving systems.
    3.IDOCs are independent of the direction of data exchange.
    The two available process for IDOCs are
    Outbound Process
    Inbound Process
    AND There are basically two types of IDOCs.
    Basic IDOCs
    Basic IDOC type defines the structure and format of the business document that is to be exchanged between two systems.
    Extended IDOCs
    Extending the functionality by adding more segments to existing Basic IDOCs.
    To Create Idoc we need to follow these steps:
    Create Segment ( WE31)
    Create Idoc Type ( WE30)
    Create Message Type ( WE81)
    Assign Idoc Type to Message Type ( WE82)
    imp links
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    www.sappoint.com
    --here u can find the ppts and basic seetings for ALE
    http://sappoint.com/presentation.html
    www.sapgenie.com
    http://www.sapgenie.com/ale/index.htm
    WE30 - you can create a IDOC type.
    An IDOC with data, will have to be triggered by the application that is trying to send out the data.
    Try this..Hope this will help.
    >>>> SAP ALE & IDOC<<<<
    Steps to configuration(Basis) >>
    1. Create Logical System (LS) for each applicable ALE-enabled client
    2. Link client to Logical System on the respective servers
    3. Create background user, to be used by ALE(with authorizaton for ALE postings)
    4. Create RFC Destinations(SM59)
    5. Ports in Idoc processing(WE21)
    6. Generate partner profiles for sending system
    The functional configuration(Tcode: SALE)
    • Create a Customer Distribution Model (CDM);
    • Add appropriate message types and filters to the CDM;
    • Generate outbound partner profiles;
    • Distribute the CDM to the receiving systems; and
    • Generate inbound partner profiles on each of the clients.
    Steps to customize a new IDoc >>>
    1. Define IDoc Segment (WE31)
    2. Convert Segments into an IDoc type (WE30)
    3. Create a Message Type (WE81)
    4. Create valid Combination of Message & IDoc type(WE82)
    5. Define Processing Code(WE41 for OUT / WE42 for IN)
    6. Define Partner Profile(WE20)
    Important Transaction Codes:
    SALE - IMG ALE Configuration root
    WE20 - Manually maintain partner profiles
    BD64 - Maintain customer distribution model
    BD71 - Distribute customer distribution model
    SM59 - Create RFC Destinations
    BDM5 - Consistency check (Transaction scenarios)
    BD82 - Generate Partner Profiles
    BD61 - Activate Change Pointers - Globally
    BD50 - Activate Change Pointer for Msg Type
    BD52 - Activate change pointer per change.doc object
    BD59 - Allocation object type -> IDOC type
    BD56 - Maintain IDOC Segment Filters
    BD53 - Reduction of Message Types
    BD21 - Select Change Pointer
    BD87 - Status Monitor for ALE Messages
    BDM5 - Consistency check (Transaction scenarios)
    BD62 - Define rules
    BD79 - Maintain rules
    BD55 - Defining settings for IDoc conversion
    WEDI - ALE IDoc Administration
    WE21 - Ports in Idoc processing
    WE60 - IDoc documentation
    SARA - IDoc archiving (Object type IDOC)
    WE47 - IDoc status maintenance
    WE07 - IDoc statistics
    BALE - ALE Distribution Administration
    WE05 - IDoc overview
    BD87 - Inbound IDoc reprocessing
    BD88 - Outbound IDoc reprocessing
    BDM2 - IDoc Trace
    BDM7 - IDoc Audit Analysis
    BD21 - Create IDocs from change pointers
    SM58 - Schedule RFC Failures
    Basic config for Distributed data:
    BD64: Maintain a Distributed Model
    BD82: Generate Partner Profile
    BD64: Distribute the distribution Model
    Programs
    RBDMIDOC – Creating IDoc Type from Change Pointers
    RSEOUT00 – Process all selected IDocs (EDI)
    RBDAPP01 - Inbound Processing of IDocs Ready for Transfer
    RSARFCEX - Execute Calls Not Yet Executed
    RBDMOIND - Status Conversion with Successful tRFC Execution
    RBDMANIN - Start error handling for non-posted IDocs
    RBDSTATE - Send Audit Confirmations
    FOr testing you can use WE19.
    Check these links.
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://www.sapgenie.com/sapedi/idoc_abap.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sappoint.com/abap.html
    http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc
    http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419
    http://www.netweaverguru.com/EDI/HTML/IDocBook.htm
    http://www.sapgenie.com/sapedi/index.htm
    http://www.allsaplinks.com/idoc_sample.html
    http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.docs
    Please check this PDF documents for ALE and IDoc.
    http://www.sappoint.com/abap/ale.pdf
    http://www.sappoint.com/abap/ale2.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEIO/BCMIDALEIO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDISC/CAEDISCAP_STC.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVEDI/CAEDI.pdf
    Check below link. It will give the step by step procedure for IDOC creation.
    http://www.supinfo-projects.com/cn/2005/idocs_en/2/
    <b>Reward points for useful Answers</b>
    Regards
    Anji

Maybe you are looking for

  • Fetch from cursor when no records returned

    Hi, I've got the following question / problem? When I do a fetch from a cursor in my for loop and the cursor returns no record my variable 'r_item' keeps the value of the previous fetched record. Shouldn't it contain null if no record is found and I

  • Deleted photos save in photo stream??

    I'm just wandering why in settings>general>usage>photos the My Photo Stream part says 8.8 KB and it increases whenever I delete photos from my camera roll, I don't use My Photo Stream at all

  • My iPad was stolen and I deleted it from my list of devices

    My iPad was stolen and I deleted it from my list of devices of Find my iPad by a mistake.... Is there a way to add the iPad again?

  • IPod not playing a song

    Hey, My iPod Nano (2GB Second Generation I think, in Silver), isn't playing this one song I bought from iTunes (Operation Ground And Pound by Dragonforce). It plays fine in iTunes, but when I sync it to my iPod, it's recognised but always skips to th

  • Can't see Bridge within Creative Cloud apps

    I've just signed up to Creative Cloud and have downloaded Photoshop, InDesign and Illustrator but there's no sign of Bridge. Where can I download it?