IDOC with example and T.codes ??

hii
Some body explain me about the scenario and steps to be followed in configuration and in front process with transaction codes .
Jus some experts can explain me about over all procedure of IDOC in SAP with transaction code (Full cycle with examples...??
In MM , exaplin me with some examples and with transaction codes ..
Thanks

Check these links
[IDOC Configuration|http://sapmm.posterous.com/idoc-configuration]
[Learn SAP u2014 IDOC basic|http://blogs.moovar.com/sap/learn-sap-idoc-basic/]
1) What is IDOC?
IDoc means intermediate document is a standard data structure for electronic data interchange (EDI) between application programs written for the popular SAP business system or between an SAP application and an external program. IDocs serve as the vehicle for data transfer in SAP's Application Link Enabling (ALE) system.
2) Why its is used with SAP?
IDocs are used for asynchronous transactions: each IDoc generated exists as a self-contained text file that can then be transmitted to the requesting workstation without connecting to the central database. Another SAP mechanism, the Business Application Programming Interface (BAPI) is used for synchronous transactions.
3) What its advantages & disadvantages?
a) IDOC - Advantages :
The target system need not be always online. The IDOC would be created and would send the IDOC once the target
system is available.
No additional programming required. Configuration is the only one need to be set up.
b) IDOC - Disadvantages :
Receipt/Processing on the target system need not be immediate
When no standard IDOC is available, then it is very hard to create a custom IDOC when compared to creating a
standard BAPI
Unless ALE is used, it is difficult to trace if the IDOC has actually reached the target system
4) IDOC flow with MM :
In order to make use of the workflow for IDoc processing, you do not have to go through the cumbersome
workflow design procedure as it is described in the workflow documentation. For the mentioned purpose, you can
register the workflow handler from the menu, which says Event Coupling from the BALD transaction.
Triggering the IDoc from a workflow event has a disadvantage: if the IDoc has to be repeated for some reason, the
event cannot be repeated easily. This is due to the nature of a workflow event, which is triggered usually from a
precedent action.
Edited by: Afshad Irani on Aug 26, 2010 5:48 PM

Similar Messages

  • IDOC message type and message code and function?

    Hai...
      anyone can explain with example what is IDOC message type and message code and function? how it is used?
    regards,
    prabakaran

    Hi
    An IDoc type can be implemented for various "logical" messages; one message can also be assigned to different IDoc types (m:n relationship).
    The message is defined by the values for message type (required), message code (optional) and message function (optional). These three fields belong to the key fields in the partner profiles, which are used, for example, to determine inbound processing. If the 'Message type' field is not maintained (e.g. in the case of a control record from Release 2.1, in which MESTYP did not exist), the IDoc Interface uses the value from STDMES (EDI message type).
    If possible, the descriptions of the message type should be linked to the corresponding EDI message type.
    The message ORDERS (= message type) identifies purchase orders (outbound) and sales orders (inbound).
    Message code or Process Code for Inbound Processing
    Code which identifies a process type.
    The process type determines which process is used to convert an IDoc to an SAP document.
    Process code for outbound processing
    Code which identifies the type of data which is to be sent via the IDoc interface.
    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).
    Thanks & Regards
    Kishore

  • VAT registration number in combination with country and company code

    Hi,
    Is there configuration where we can define the VAT registration number with combination of country and company code.
    thanx in advance

    Hi,
    Thanx for the reply.bt the issue is like we have a condition type zvat where condition table have the following fields departure country and destination country,The country of our company code is GB and we maintain a record for condition type zvat i.e GB (departure country) to GB (destination country) 17.5%.While creating a contract if vat is applicable we told user to maintain country GB in both the fieds i.e tax departure country and tax destination country in billing tab at header level of the contract .It is working fine for other company where  company code country is different then GB.But for this where company code  country is GB.An error occurs i.e.There is no vat registration number fot this comapny code XXXX for  country GB.
    Now how should i go about it?

  • Need help with API and sample code for checking a user's rights on a folder

    Hi All,
    I am working on an UCM integration where user supplies a folderpath (ucm folders), and a file is later uploaded to this location.
    Since a user can provide a folderpath where he has only Read Access or no access at all, we are trying to work out a way to pre-check his permissions on the folder.
    Since we have Entity Security enabled, we have 5 security fields to rely on Account, Security Group, User Access List, Group Access List, Role Access List.
    Writing custom code for this security check is second on our agenda.
    Firstly, we wish to know the API and sample code that typically performs this Security Check in UCM.
    We could find intradoc.shared.SecurityUtils which has methods to check security on SGroup and Account, but we couldn't find anything for:
    1) Overall security check
    2) ACL security check on top of sgroup and account security check

    Any ideas anyone?!
    I am looking forward to some pointers here. :(

  • Login Box example and source code on adf struts and JSP

    Dear all..
    I want to make application using ADF struts and JSP using oracle 10g Jdeveloper.
    The user should login into the login box and verify everyone who has right to enter the home.jsp.
    Anybody could help me with the source code as well as the step by step explanation...
    I'm looking forward the help...

    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/reviewer/viewlets/reviewer_struts_viewlet_swf.html

  • How to edit data from an IDOC with errors and reprocess it

    Hi,
    We are working with SAP XI for communicate with an external systems by files (external) to IDOCS (SAP R/3).
    Sometimes we need to edit the data from an inbound IDOC, because the external system generates wrong information and that can't be processed directly.
    We had seen posts like:
    But we wanna to do it with no ABAP editor.
    ¿Can we change the data from the IDOC in other way (transaction) and reprocess it?
    We tried with /WE05, pushing EDIT button, but can't edit the data from the IDOC.
    Thanks in advance for your help
    Regards,
    Federico Martin

    Keep Looking at forums i founded:
    change idoc data
    To change the Inbound IDoc,
    1)Go to WE05/WE02, enter the Inbound IDoc number and Execute.
    2)Double Click on the segment (Page Icon) where you want to change the Data.
    3)In the Screen 'Display data record for IDoc' , Go to menu 'Data record' and click on 'Display - > Change'. Then it display a popup information 'Changes to the IDoc are written to the database' , then press enter .
    To Process the Edited Inbound Idoc , execute the program 'RBDAGAIE' in SE38 and enter the IDoc number.
    Thanks
    Sekhar
    AND
    /people/raja.thangamani/blog/2007/07/19/troubleshooting-of-ale-process
    Also if you have something to say about it will be appreciated
    thanks

  • Issues with installation and Error codes afterwards ...

    So this morning getting on my computer I was going to watch youtube videos, and it popped up saying that my adobe flash player was out of date.
    Fine and all, I went to update, and when the .exe finished downloading I launched it, and the Adobe Flash Player installer popped up, and its was blank, didnt do anything.
    I did some searching around and found that a way around it is downloading the offline installer, which a member of this board posted links to very often. But everytime I tried following these links it was giving me a 404, so I did some searching around, ended up a the download center Adobe Flash Player - Downloads and downloaded this one : Download the Windows Flash Player 15 Plugin content debugger (for Netscape-compatible browsers) (EXE, 16.84 MB)
    It installed just fine, my videos and .swf files loaded again.
    But now I've run into another issue, when I load a youtube video up, I get a couple error codes, here they are
    Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.
    Now, I've googled these errors, and looked at the help section on this site, and both of these have nothing to do with the issue I'm having, they seemingly pop up for no reason, when I hit dismiss all or continue the video plays just fine. But I would really rather not have to deal with this popping up every single time I go to watch a video.
    I dont know if it has something to do with plugins I'm using or the browser, I'll do some more tests meantime but I'll list what Im running below :
    Windows 7 Ultimate 64 bit
    Using the Opera Web browser
    The only extension that I believe could be causing an issue, is Youtube Center, but the only thing that really changes is the way the video loads, I'll try disabling it and seeing if that changes it but I'm confident thats not the issue here.
    If someone could help me out with this I would really appreciate it.

    useduser wrote:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.
    You get this because you installed the debug player.  Uninstall it, and install the standard players from
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)

  • Working with Templates and Automatic Code Changes

    I am working in DW CS6.
    I am creating a new page based on a template and when DW creates the new page, it is automatically changing the paths to the links to .css and .js files.  These changes are breaking the template.  Is there a way to keep the auto-changes from occurring?
    BTW - All the pages were created with a different template and I was able to modify the pages and apply this template to those pages without a problem.  All is beautiful. 
    Original Code in the Template:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <!-- TemplateBeginEditable name="doctitle" -->
    <title>Information Technology (IT):  (DADS)</title>
    <!-- TemplateEndEditable -->
    <link href="../assets/coo.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="../assets/sform.css" rel="stylesheet" type="text/css" media="screen" />
    <script type="text/javascript" language="javascript" src="../assets/jquery-1-fontresizer.js"></script>
    <script src="../assets/jquery-fontresizer.js" type="text/javascript"></script>
    <script type="text/javascript" src="../p7epm/p7EPMscripts.js"></script>
    <link href="../p7tmm/p7TMM02.css" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="../p7tmm/p7TMMscripts.js"></script>
    <link href="../p7epm/epm52/p7EPM52p2.css" rel="stylesheet" type="text/css" media="all" />
    Code once I create a page using the template:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/index_wao.dwt" codeOutsideHTMLIsLocked="false" -->
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <!-- InstanceBeginEditable name="doctitle" -->
    <title>Information Technology (IT):  (DADS)</title>
    <!-- InstanceEndEditable -->
    <link href="file://ausimo225/devDADSView/coo/ITnew/assets/coo.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="file://ausimo225/devDADSView/coo/ITnew/assets/sform.css" rel="stylesheet" type="text/css" media="screen" />
    <script type="text/javascript" language="javascript" src="file://ausimo225/devDADSView/coo/ITnew/assets/jquery-1-fontresizer.js"></script>
    <script src="file://ausimo225/devDADSView/coo/ITnew/assets/jquery-fontresizer.js" type="text/javascript"></script>
    <script type="text/javascript" src="file://ausimo225/devDADSView/coo/ITnew/p7epm/p7EPMscripts.js"></script>
    <link href="file://ausimo225/devDADSView/coo/ITnew/p7tmm/p7TMM02.css" rel="stylesheet" type="text/css" media="all" />
    <script type="text/javascript" src="file://ausimo225/devDADSView/coo/ITnew/p7tmm/p7TMMscripts.js"></script>
    <link href="file://ausimo225/devDADSView/coo/ITnew/p7epm/epm52/p7EPM52p2.css" rel="stylesheet" type="text/css" media="all" />

    Always set site links to "Document" unless you NEED "Site Root". If you don't know whether you need them, then you don't need them. When you understand that you need them and why you need them, then you can use "Site Root"!
    Good advice.
    N

  • JSF with TILES and HTML-Code

    Hello!
    I have a pure JSP-project using tiles. Now I want to migrate to JSF and find some problems.
    When I use my existing layout and include the different JSPs I have no problem as long I have a single f:view in every jsp file is used. When I try to define f:view and a h:form including different files and in each file JSF componets where used I got a very bad result. Additiotal I have to say, that I try to keep my formatting with HTML tags existing.
    The effect is, that all JSF componets were rendered at the beginning of the jsp file and than be included into the layout.
    Have I use a special order of f:view, f:subview, h:form, ....
    Alternative I could make a complete reprogramming of the JSP's, not my favourit, but than I need the possibility to set single formats for each <td> in a table and this seems not to be possible with h:panelGrid.
    Havy anyone an idea?
    Thanks for your help!

    Read about facelets as a replacement for tiles in jsf.

  • Post material master idoc  with class and characteristic values

    Hi,
    I need to post the class and characterstic values of material while posting the material using idoc of basic type matmas05 . Can anyone suggest me the fields and segment details to fill the class, class type and characteristic values in matmas05.
    Note : the class and characteristic values are already created in the system, my purpose is to assign them to material while creating. so please give me the field and segment details in idoc basic type matmas05.
    thanks
    Kiran

    I  try to do the samething. I see the fields E1CUVAL : CU: Characteristic valuation in the structure of MATMAS05 but when I run the IDOC, these fields never appear even they exist for the material.
    Did you find an answer to your question that can help me?

  • Problems with sockets and hex code

    When i try to send 0x9d on socket, it send 0x3f. Why?
    conexion = new Socket("server", 0000);
    escritura = new PrintWriter( conexion.getOutputStream(),true);
    escritura.write(0x9d);
    escritura.print("\u009d");
    It always send 0x3f.

    jotremar wrote:
    When i try to send 0x9d on socket, it send 0x3f. Why?
    conexion = new Socket("server", 0000);
    escritura = new PrintWriter( conexion.getOutputStream(),true);
    escritura.write(0x9d);
    escritura.print("\u009d");
    It always send 0x3f.My guess is 0x3f is a question mark, and since you're using PrintWriter which is geared for printing "strings" and the character 0x9d is not in the selected (default, since you didn't specify one) character encoding, it turns it into a question mark.
    Solution: Don't use PrintWriter for sending binary data.

  • Oracle DRM Batch script with outputs and result codes

    Hi ,
    Any one can help me in adding Email notifications to DRM Batch scripts if action script or export failed.
    DRM Version is 11.1.2.1
    Thanks,
    Aswartha

    Hi Aswartha,
    There is no command within the DRM batch client to send emails. You will need to use a third party tool which can be called from the batch file to send emails. Below are the error codes details that you can use,
    Error Level Value Description
    0 Success
    1 Unknown error
    2 Batch operation completed but generated warnings
    3 Batch operation did not complete due to error
    100 Error communicating to or returned from the Oracle Hyperion Data Relationship Management Server
    200 Error occurred during initialization of the Batch Client
    210 An invalid parameter value was passed
    220 Invalid URL
    230 Invalid user name or password
    Thanks,
    Prasad

  • Idoc type, message type and process code for EDI 940 & 945

    Hi,
    We are implementing a scenario wherein we are required to send a Wharehouse Shipping Order to the warehouse (forwarding agent) using EDI 940. The output of the o/b is triggered from the Delivery (VA01) after creation of a Delivery in SAP. Once the warehouse ships the goods, it notifies us back by sending EDI 945 (Warehouse Shipping Advice). Using this inbound 945 we are required to update the existing delivery in SAP, i.e., it should do the Pick, Pack and PGI.
    Can someone tell me which Idoc type, Message Type and Process code should be used for the above scenario.
    Thanks in advance for the help.
    Regards,
    Gajendra

    Hi Gajendra,
    For EDI940, you can use message type SHPORD or WHSORD,  IDOC type DELVRY01 and process code DELV.
    For EDI945, you can use message type SHPCON or WHSCON,  IDoc type DELVRY01 and process code DELV.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Idoc Message type and Process Cosde for CJ01 transaction

    Hi,
    What is the Idoc message type and inbound Process code for CJ01 transdaction?
    Is there Any standard procedure to find out Idoc Mesage type and process codes for particular application?
    Thanks.

    Hi,
    All the sending and receiving programs(transaction) start with BD. e.g. if you want to send the material you can use the BD10 transaction and IDOC is available for the same.
    Go to se93 and search for BD* and look for the description.
    Regards,
    Nilesh.

  • MDO examples and tutorials.

    Hi all,
    Can you please point me where can i find examples and tutorials on MII MDO.
    Even if i can get the steps to create a simple MDO and how to use it in that in real time would be great.
    i tried in help.sap.com site, but could not find examples.
    any help would be highly appreciated.
    Thanks,

    i should have looked around a bit first before i jumped the
    gun and posted, but that's a great recipe with explanation and
    documented code examples.
    i will dig into it so i can get my feet wet and possibly port
    my app to a somewhat similar structure.
    you've helped me out more than once and i do appreciate it.
    thanks greg...
    -fd

Maybe you are looking for