Serializing IDocs

Hi,
My scenario is IDoc to File. I want to serialize IDocs.
Where will I specify quality of service EOIO.
Thanks in advance,
Neena

Hey,
I am sry for that..
The quality of service EOIO (Exactly Once In Order) must be specified in the message header
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
/people/community.user/blog/2006/11/04/how-to-serialize-idoc-xml-messages-fed-into-xi
Thanks,
Vijaya

Similar Messages

  • Not able to Post multiple IDOCS

    Hi All,
    I am getting my output from XSLT mapping like below:
    <?xml version="1.0" encoding="UTF-8" ?>
    <ZORDERS5>
    + <IDOC BEGIN="1">
    + <IDOC BEGIN="1">
    </ZORDERS5>
    But in the SAP R/3 it is able to post only the last IDOC (which is second IDOC in this case). I want to post all the IDOCS. What could be the problem?
    Edited by: sreinivas prak on May 13, 2008 11:12 AM

    Hi Srinivas,
    Post multiple IDOCS
    There are two Message Mappings involved in the whole scenario. First mapping is N:1 Mapping which will be used in BPM and second Mapping is 1:1 Mapping:
    1.     First Message Mapping &#61664; N: 1 – Mapping between IDoc (occurrence – 0...unbounded in “Messages” tab) to IDoc with changed occurrence of its top node (IDOC) as 0...unbounded.
    Check these Blogs:
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    /people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter
    /people/prasadbabu.nemalikanti3/blog/2006/02/24/collecting-and-bundling-vendor-records-from-different-multiple-interfaces-file-systempeoplesoft-and-sending-to-sap-r3-system-part-1
    Thanks,
    Satya  Kumar
    Edited by: SATYA KUMAR AKKARABOYANA on May 13, 2008 11:21 AM

  • Collection of IDOC's and creating file

    Hi,
    I am working on one scenario collection of IDOC's for 10  minutes and creating file.
    When my IDOC's are created in r/3 and reaching in an order and reaching the same order in XI as well,but creating of file for those idocs is not happening in the same order.
    Its skipping some of the orders as well while creating file.
    Basically i need to create the file in the same order as idocs are reached XI.I am using BPM for collection of IDOC's.
    Would request your suggestions.
    Thanks in Advance.
    Regards,
    Chandra.

    Hello Chandra,
    I am working on one scenario collection of IDOC's for 10 minutes and creating file.
    When my IDOC's are created in r/3 and reaching in an order and reaching the same order in XI as well,but creating of file for those idocs is not happening in the same order.
    Its skipping some of the orders as well while creating file.
    Basically i need to create the file in the same order as idocs are reached XI.I am using BPM for collection of IDOC's??????
    Eg: Take a Fallowing Requirement..
    For Exmaple A background program should be scheduled to run every 10 minutes to analyse any material records that have been created or changed or deleted that have occurred to the material master records or Customer Records in the last minute.
    There are two Message Mappings involved in the whole scenario. First mapping is N:1 Mapping which will be used in BPM and second Mapping is 1:1 Mapping:
    1.     First Message Mapping &#61664; N: 1 – Mapping between IDoc (occurrence – 0...unbounded in “Messages” tab) to IDoc with changed occurrence of its top node (IDOC) as 0...unbounded. This message mapping will be used in BPM – transformation step.
    Description: This BPM collects all Idocs for 10 minutes which are of Message Type (ZMATMAS05) according to Receiver Partner Number (Field – RCVPRN) and calls N: 1 mapping to bundle the collected Idocs in a One External Definition for that IDOC.
    Use
    You use a wait step ( ) to incorporate a delay in a process. Usually, you use a delay to define when the next step in the process is to start. You can define a delay as either a point in time or a period of time.
    At runtime, the step waits until the specified point in time is reached or the specified period of time has passed. The system then continues the process by proceeding with the next step.
    Go through this Blogs::
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    /people/stefan.grube/blog/2006/09/18/collecting-idocs-without-using-bpm
    /people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter
    /people/prasadbabu.nemalikanti3/blog/2006/02/24/collecting-and-bundling-vendor-records-from-different-multiple-interfaces-file-systempeoplesoft-and-sending-to-sap-r3-system-part-1
    Thanks,
    Satya Kumar
    Reward if it is useful..

  • Need help on IDOC to file interface.

    Hi Folks,
    I am working on IDOC to file Interface. We are pushing 15 Idocs from SAP R/3 system to SAP PI. Idocs in R/3 system are in correct order. When it comes nto PI system IDOC order is diffrent.
    For Example :  I am sending 6 idocs 1000, 1001,1002,1003,1004,1005 from R/3 system. WHen these idocs coming into PI its order is changing so in PI system IDOCS order is 1000, 1004,1001,1005,1002.  But, I want IDOCS are should be same as R/3 system.
    For handling this issue, what are the necessary steps I need to follow in PI?
    Thanks,
    Enivass

    Hi Enivas,
    Check this link regarding serialing IDOC: http://help.sap.com/saphelp_nw04/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm
    http://www.saptechnical .com/Tutorials/ALE/Serialization/page1.htm
    Thanks,

  • Send IDOCs to R3

    Hi all.
    I am investigating a solution how to remotely send IDOCs to R3 with JCO. Does anyone have a working example which could be passed to this forum?
    My IDOCs are <b>in XML format</b>, so I prefere a way of sending XMLs.
    I found a moudule but a call attempt ends with:
    The function module "IDOC_INBOUND_XML_VIA_HTTP" not released for 'remote' calls. I tried IDOC_INBOUND_ASYNCHRONOUS.
    If there is no way how to send <b>XML</b> format IDOCs, it is acceptable to send also in TXT format with some workarounds in my programs.
    I think there has to be someone being able to do this job.
    Thanks in advance.
    GG

    yes it is possible to send idoc's from R3 to XI using qRFC
    That includes two processes
       1.Registering the queue and queuing the idoc's in (outbound )sender side.
       2.Registering the queue and processing them in  receiver side(inbound)
    check the following link for config in XI side:
      /people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter
    and for QRFC details
    http://help.sap.com/saphelp_erp2004/helpdata/en/f0/225c3c60065627e10000000a114084/frameset.htm
    Thanks,
    Vasanth.

  • Tcode for IDOC

    Dear friends ,
    can any one give me important Tcodes for IDOC & workflow
    Reddy

    Tcode list for ALE IDOC:
    ALE / EDI/ IDOCS TRANSACTION CODES
    Transaction Code     Description
    WE02     List Of All Idocs Created. (Default, Additional, EDI)
    WE05     List Of  Idocs Created.    (Standard, Additional)
    WE06     Active Monitoring For Idoc Processing.
    WE07     Idoc Statistics.
    WE08     Display View u201CFile Statusu201D:Overview-Path Name.
    WE09     Idoc Search For Business Contents (Database).
    WE10     Idoc Search For Business Contents (Archive).
    WE12     Modification Of Outbound File, Triggering Inbound Processing.
    WE14     Process All Selected Idocs.
    WE15     Selection Program For Issuing Output.
    WE16     Trigger Inbound Processing.
    WE17     Trigger Status Processing.
    WE18     Generate Test Status File For Outbound Idocs.
    WE19     Test Tool For Idoc Processing
    WE20     Partner Profile.
    WE21     Ports In Idoc Processing.
    WE23     Display Test Catalog Test Idoc Interface.
    WE24     Maintain Table View. Direction-1.(Outbound)
    WE27     Maintain Table View. Direction-2.(Inbound)
    WE30     Develop Idoc Type.
    WE31     Develop Idoc Segments.
    WE32     View Development.
    WE33     Maintain Table Views.
    WE34     Change View u201CTable Of Style Ids With The Objects To Be Loadedu201D
    WE40     Display System Process Code.
    WE41     Display View: Logical Msg Overview. For Outbund.
    WE42     Display View: Logical Msg Overview. For Inbound.
    WE43     Display Status Records.
    WE44     Display Partner Types
    WE45     Maintenance Interface: Forwarding Inbound/EDILOGADR For Application
    WE46     Global Parameter For Idoc Interface.
    WE47     Status Maintenance.
    WE50     Display Text For Process Code System.
    WE54     Idoc Function Module For File Name
    WE56     Display Status Process Code
    WE57     Idoc Assignment Of FM To Log. Message And Idoc Type.
    WE58     Text For Process Code Status.
    WE60     Documentation For Idoc Type.
    WE61     Documentation For Idoc Record Type.
    WE62     Documentation For Idoc Segment Type.
    WE63     Documentation For Idoc Record Types And Idoc Types (Parser).
    WE64     Process Code In Idoc Inbound And Outbound.
    WE70     Conversion Table For Basic Types.
    WE71     Conversion Table For Extensions.
    WE72     Conversion Table For Field DOCTYP.
    WE73     Conversion Table For Logical Message Type.
    WE81          EDI:Logical Message Type.
    WE82     Message Types And Assignment To Idoc Types.
    WE84     Assignment Table Between Idoc And Application Field.
    ALE / EDI/ IDOCS TRANSACTION CODES
    Transaction Code     Description
    BD10     Send Material (Matmas)
    BD11     Get Material.
    BD12     Send Customer.
    BD13     Get Customers
    BD14     Send Vendor.
    BD15     Get Vendor.
    BD16     Send Cost Center. (Cosmas)
    BD17     Request Cost Center.
    BD18     Send G/L Accounts.
    BD19     Get Master Data G/L Accounts.
    BD20     Inbound Processing Of Idocs Ready For Transfer.
    BD21     Creating Idoc Types For Change Pointers.
    BD22     Delete Change Pointers.
    BD23     Serialization Using Time Stamp: Deletion Of Old Time Stamp.
    BD24     Send Cost Elements.
    BD25     Send Activity Type (COAMAS)
    BD26     Request  Activity Type
    BD27     Cost Center/Activity Types: Transmit Plan Quantities And Acty Prices.
    BD28     Cost Center/ Cost Elements: Send Control Records.
    BD30     Material Bom Distribution. (Bommat).
    BD31     Document Structure Distribution. (Bomdoc)
    BD32     Plant Allocation To Material Boms Distribution.
    BD33     Distribution Of Material Variants. (STTMAT)
    BD34     Distribution Of Boms (BOMORD)
    BD35     ALE: Send Business Process Group.
    BD36     ALE: Send Business Process.
    BD37     ALE: Send Business Process Price.
    BD40     Generate Idocs For Serialization Group From Change Pointers.
    BD41     Dispatch Of Idocs  Of Serialization Group.
    BD42     Check Dispatch Status Of Idocs Of Serialization Group.
    BD43     Processing Inbound Idocs Of Serialization Group.
    BD44     Change View u201CSerialization Groupu201D.
    BD47     Dependence Between Methods.
    BD48     Dependence Between Methods And Message Type.
    BD50     Activate Change Pointers For Message Type.
    BD51     Characteristics Of Inbound Function Module.
    BD52     Determine Work Area.
    BD53     Reduce Message Type.
    BD54     Change View: Logical Systems
    BD55     Idoc Conversion.
    BD56     Maintain Idoc Segment Filters.
    BD57     Link Type And Serialization Type Of Message Type.
    BD58     Convert Organizational Unit.
    BD59     Allocation Of Object Type.
    BD60     Additional Data For Message Type.
    BD61     Activate Change Pointers Generally.
    BD62     Display Conversion Rule.
    BD63     Transport Of Ale Tables For A Message Type.
    BD64     Display Distribution Model.
    BD65     Maintain Idoc Type Required Fields.
    BD66     Change Idoc Fields.
    BD67     Function Module For ALE/EDI Overview.
    BD68     Maintain List.
    BD69     Assignment Of Idoc Type To Message Type.
    BD70     Cross-System Comparison Of Number Range Objects.
    BD71     Attributes For Receiver Determination.
    BD72     Active Events For ALE/EDI
    BD73     Start Error Handling For Non-Posted Idocs.
    BD75     Status Conversion With Trfc Execution.
    BD77     Generate Transport Requests For Distributing ALE Customizing Data.
    BD78     Monitoring Ale Customizing Data Transport
    BD79     ALE IDOC Segments - Conversion Rule
    BD81     Filter Objects For BAPI Parameter Filtering
    BD82     Generating Partner Profile
    BD83     Re-Processing Incorrect Outbound Odocs.
    BD84     Re-Processing Of Idocs After ALE Input Error.
    BD85     Consistency Check: Reassignment Between Two System.
    BD86     ALE Consistency Check: Create Purchase Order From Sales Order.
    BD87     Select Idocs
    BD89     Customizing Data Modeling For Distribution Model.
    BD91     Distribute All Characteristics Via ALE.
    BD92     Distribute Class Via ALE: Send Direct.
    BD93     Distribution Of Classification Data Via ALE.
    BD95     Ale Object View
    BD96     Filter Object For Receiver Determination Of Methods.
    BD97     Assign RFC Destination For Synchronous Method Calls.
    BD98     Consistency Check With Workflow Link
    BD99     Dependencies Between Message Types.
    BD100     Display Serialized Idocs. (Serialization Using Object Types)
    BD101     Serialization Using Object Types: Consistency Check.
    BD102     Ale: Outbound Channel Registry.

  • How To Sample IDOC send, but none in XI.

    Hello,
    I use the How-To Guide "Sample IDOC-XI Scenarios" for posting an IDOC from R/3 to XI.
    The Current status of the IDoc in R/3 is 03: Data passed to port OK.
    But there is no IDoc in the XI when using SXMB_MONI.
    Any ideas?
    Thank you, Mario

    Hi Mario,
    First you need to import ur idoc into xi thru the import objects option under swcvs.then do the mapping and the rest of the configurations.
    In the import object,mention ur r/3 server by giving the username and password.
    you can refer these blogs i fu need:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters                              
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping                              
    /people/swaroopa.vishwanath/blog/2005/03/13/mapping-template-in-xi--inbound-delivery-from-idoc                              
    /people/ravikumar.allampallam/blog/2005/03/03/creating-purchase-order-idoc-through-xi                              
    /people/ravikumar.allampallam/blog/2005/02/28/creating-sales-order-through-idoc                              
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi     (post idoc from xi to r3)                              
    /people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter                              
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc                              
    thanks and regards
    Priyanka
    Message was edited by: Priyanka Balagangadharan

  • SOAP adapter and serializing

    Hello, all.
    My scenario is R/3(IDOC) -> XI -> IIS(SOAP message).
    I need idocs and soap messages to be processed in order on both inbound and outbound sides. I set up inbound qRFC queue for serializing IDocs using the IDoc Adapter. But when SOAP messages reach IIS their order is wrong.
    What i must to do that their order will be right?
    I am using XI 3.0 with SAP 4.7
    Thanks
    Alexander

    Hi,
    How is the order specfied on the SOAP - should be EOIO I think.
    Cheers
    Colin.

  • Data Fir  IDOC  ALE  and EDI

    Hello All,
        I am newly join in IT company (Name don't want to specify) .  They have putted me in a consolidate project in which I do have to work on IDOC,ALE and EDI object.
    yet in my career with SAP ABAP I haven't work on the above mention terms of SAP. Can some One please guide me and provide me some material to prepare my self best for the things.
    Regards
    Swati Namdev

    Some use full Tcodes:
    ALE / EDI/ IDOCS TRANSACTION CODES
    Transaction Code     Description
    WE02     List Of All Idocs Created. (Default, Additional, EDI)
    WE05     List Of  Idocs Created.    (Standard, Additional)
    WE06     Active Monitoring For Idoc Processing.
    WE07     Idoc Statistics.
    WE08     Display View u201CFile Statusu201D:Overview-Path Name.
    WE09     Idoc Search For Business Contents (Database).
    WE10     Idoc Search For Business Contents (Archive).
    WE12     Modification Of Outbound File, Triggering Inbound Processing.
    WE14     Process All Selected Idocs.
    WE15     Selection Program For Issuing Output.
    WE16     Trigger Inbound Processing.
    WE17     Trigger Status Processing.
    WE18     Generate Test Status File For Outbound Idocs.
    WE19     Test Tool For Idoc Processing
    WE20     Partner Profile.
    WE21     Ports In Idoc Processing.
    WE23     Display Test Catalog Test Idoc Interface.
    WE24     Maintain Table View. Direction-1.(Outbound)
    WE27     Maintain Table View. Direction-2.(Inbound)
    WE30     Develop Idoc Type.
    WE31     Develop Idoc Segments.
    WE32     View Development.
    WE33     Maintain Table Views.
    WE34     Change View u201CTable Of Style Ids With The Objects To Be Loadedu201D
    WE40     Display System Process Code.
    WE41     Display View: Logical Msg Overview. For Outbund.
    WE42     Display View: Logical Msg Overview. For Inbound.
    WE43     Display Status Records.
    WE44     Display Partner Types
    WE45     Maintenance Interface: Forwarding Inbound/EDILOGADR For Application
    WE46     Global Parameter For Idoc Interface.
    WE47     Status Maintenance.
    WE50     Display Text For Process Code System.
    WE54     Idoc Function Module For File Name
    WE56     Display Status Process Code
    WE57     Idoc Assignment Of FM To Log. Message And Idoc Type.
    WE58     Text For Process Code Status.
    WE60     Documentation For Idoc Type.
    WE61     Documentation For Idoc Record Type.
    WE62     Documentation For Idoc Segment Type.
    WE63     Documentation For Idoc Record Types And Idoc Types (Parser).
    WE64     Process Code In Idoc Inbound And Outbound.
    WE70     Conversion Table For Basic Types.
    WE71     Conversion Table For Extensions.
    WE72     Conversion Table For Field DOCTYP.
    WE73     Conversion Table For Logical Message Type.
    WE81          EDI:Logical Message Type.
    WE82     Message Types And Assignment To Idoc Types.
    WE84     Assignment Table Between Idoc And Application Field.
    ALE / EDI/ IDOCS TRANSACTION CODES
    Transaction Code     Description
    BD10     Send Material (Matmas)
    BD11     Get Material.
    BD12     Send Customer.
    BD13     Get Customers
    BD14     Send Vendor.
    BD15     Get Vendor.
    BD16     Send Cost Center. (Cosmas)
    BD17     Request Cost Center.
    BD18     Send G/L Accounts.
    BD19     Get Master Data G/L Accounts.
    BD20     Inbound Processing Of Idocs Ready For Transfer.
    BD21     Creating Idoc Types For Change Pointers.
    BD22     Delete Change Pointers.
    BD23     Serialization Using Time Stamp: Deletion Of Old Time Stamp.
    BD24     Send Cost Elements.
    BD25     Send Activity Type (COAMAS)
    BD26     Request  Activity Type
    BD27     Cost Center/Activity Types: Transmit Plan Quantities And Acty Prices.
    BD28     Cost Center/ Cost Elements: Send Control Records.
    BD30     Material Bom Distribution. (Bommat).
    BD31     Document Structure Distribution. (Bomdoc)
    BD32     Plant Allocation To Material Boms Distribution.
    BD33     Distribution Of Material Variants. (STTMAT)
    BD34     Distribution Of Boms (BOMORD)
    BD35     ALE: Send Business Process Group.
    BD36     ALE: Send Business Process.
    BD37     ALE: Send Business Process Price.
    BD40     Generate Idocs For Serialization Group From Change Pointers.
    BD41     Dispatch Of Idocs  Of Serialization Group.
    BD42     Check Dispatch Status Of Idocs Of Serialization Group.
    BD43     Processing Inbound Idocs Of Serialization Group.
    BD44     Change View u201CSerialization Groupu201D.
    BD47     Dependence Between Methods.
    BD48     Dependence Between Methods And Message Type.
    BD50     Activate Change Pointers For Message Type.
    BD51     Characteristics Of Inbound Function Module.
    BD52     Determine Work Area.
    BD53     Reduce Message Type.
    BD54     Change View: Logical Systems
    BD55     Idoc Conversion.
    BD56     Maintain Idoc Segment Filters.
    BD57     Link Type And Serialization Type Of Message Type.
    BD58     Convert Organizational Unit.
    BD59     Allocation Of Object Type.
    BD60     Additional Data For Message Type.
    BD61     Activate Change Pointers Generally.
    BD62     Display Conversion Rule.
    BD63     Transport Of Ale Tables For A Message Type.
    BD64     Display Distribution Model.
    BD65     Maintain Idoc Type Required Fields.
    BD66     Change Idoc Fields.
    BD67     Function Module For ALE/EDI Overview.
    BD68     Maintain List.
    BD69     Assignment Of Idoc Type To Message Type.
    BD70     Cross-System Comparison Of Number Range Objects.
    BD71     Attributes For Receiver Determination.
    BD72     Active Events For ALE/EDI
    BD73     Start Error Handling For Non-Posted Idocs.
    BD75     Status Conversion With Trfc Execution.
    BD77     Generate Transport Requests For Distributing ALE Customizing Data.
    BD78     Monitoring Ale Customizing Data Transport
    BD79     ALE IDOC Segments - Conversion Rule
    BD81     Filter Objects For BAPI Parameter Filtering
    BD82     Generating Partner Profile
    BD83     Re-Processing Incorrect Outbound Odocs.
    BD84     Re-Processing Of Idocs After ALE Input Error.
    BD85     Consistency Check: Reassignment Between Two System.
    BD86     ALE Consistency Check: Create Purchase Order From Sales Order.
    BD87     Select Idocs
    BD89     Customizing Data Modeling For Distribution Model.
    BD91     Distribute All Characteristics Via ALE.
    BD92     Distribute Class Via ALE: Send Direct.
    BD93     Distribution Of Classification Data Via ALE.
    BD95     Ale Object View
    BD96     Filter Object For Receiver Determination Of Methods.
    BD97     Assign RFC Destination For Synchronous Method Calls.
    BD98     Consistency Check With Workflow Link
    BD99     Dependencies Between Message Types.
    BD100     Display Serialized Idocs. (Serialization Using Object Types)
    BD101     Serialization Using Object Types: Consistency Check.
    BD102     Ale: Outbound Channel Registry.

  • IDOCs poted by PI are failed bcoz data is locked by PI under previous IDOC

    Hi,
    We have a sceanrio Where we are posting IDOC from PI to ECC. We are facing an issue that When we are posting IDOCs by PI into ECC, sometimes the data that Current IDOC is trying to process, its alreday locked by the previous IDOC that PI submitted.
    Like at the same time, PI submits two same idocs.and one is in process, so second fails bcoz data is locked by the first one.
    Can anybody suggest a soultion, how to queue them so that seocnd one should wait till first is procssed and data is released.
    Thanks
    -Kulwant

    You need to implement EOIO for your receiver IDOC CC:
    /people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter
    In the Receiver IDOC CC select  the Queue Processing check-box..
    Also check: http://help.sap.com/saphelp_nw04/helpdata/en/96/791c42375d5033e10000000a155106/content.htm
    From the above link:
    Queue Processing
    If the function module IDOC_INBOUND_IN_QUEUE is to be used, set the relevant indicator. It is used for IDocs that are serialized
    by queues (quality of service is EOIO). This module is only available in SAP Web AS 6.40 and higher. If it is not available, the
    function module IDOC_INBOUND_ASYNCHRONOUS is called. The indicator only takes effect in SAP systems Releases 4.0 and
    higher. Calls for the queue processing function module are placed in the qRFC queue.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Jul 3, 2009 3:48 PM

  • File to IDOC - Serialization

    Hi experts,
    i have been through the OSS note 152239 :
    Symptom
    In the ALE inbound IDocs are not processed in the same sequence as they are generated in the receiving system (IDoc number).
    Additional key words
    RBDAPP01, serialization, swapped, EDIDC-SERIAL
    Cause and prerequisites
    Cause: In the control record of the IDoc the field SERIAL is not filled.
    The sequence of the IDoc numbers in the receiving system does not always correspond to the creation sequence in the sending system.
    However, the processing sequence in the ALE inbound should correspond to the creation sequence in the sending system. Therefore the IDocs in the ALE inbound are sorted according to the field SERIAL during background processing.
    Preconditions:
    IDocs come from an external application (no R/3 System)
    Background processing with program RBDAPP01 (Transaction BD87)
    Solution
    Check whether the field SERIAL is filled in the control record of the IDoc: Up to Release 4.5B, out from the display of IDoc the control record display; via Goto -> Serialization info the field is displayed.
    If the field is empty, it must be filled in the transmission system in the control record the IDocs(structure EDIDC) are filled. For example, a time stamp like the following is suitable:+                 YYYYMMDD_HHMMSS
    In my mapping, I tried to insert the timestamp in the field SERIAL of the idoc, but I have a problem, there are many mandatory fields such as : TABNAM, DIRECT, IDOCTYP, CIMTYP, MESTYP, SNDPOR, SNDPRT, SNDPRN, RCVPOR, RCVPRN in which I have no idea what to put in ??
    any help would be appreciated,
    Kind regards,
    Jamal

    Hi,
    For serialization find below links for more help
    http://help.sap.com/saphelp_erp2004/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm
    /people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter
    /people/community.user/blog/2006/11/04/how-to-serialize-idoc-xml-messages-fed-into-xi
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/59e837d3-0201-0010-c096-dc1869733413
    http://help.sap.com/saphelp_nw04/helpdata/en/78/2175a751ce11d189570000e829fbbd/content.htm

  • IDoc Serialization for Inbound processing

    Hi Techies,
    I have a requirement of sending the IDocs from XI to SAP in the same order in which they were sent from the sender SAP system.
    i have a special constriant here which says "if the message get stuck in the Integration Engine (may be because of any runtime error) the messages sent after this message should not be processed.
    How can i achieve this, please help.
    Regards,
    Jeet

    Hi,
    This will help you..
    http://help.sap.com/saphelp_erp2004/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm
    Setting up inbound qRFC queues for serializing IDocs using the IDoc Adapter
    Regards,
    Sarvesh

  • EOIO QOS for IDOC- PI- Proxy communication

    Hi,
      We have a scenario where IDOC communication is being used for sending the data to PI and PI does the mapping and routes it to ABAP proxy of the reciever.
    In this scenario,  we want to ensure the EOIO for one IDOC which means we want all the XML messsages of a particular  interface  need to be executed in the same queue.
    Sender Uses IDOC to send information to PI
    PI does the mapping and routes to reciever using XI adapter.
    Reciver uses ABAP proxy to execute the XML
    THanks,
    Prashanth

    you need IDoc serialization.
    /people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter & http://help.sap.com/saphelp_erp2004/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm will help you

  • Serialization in SAP R/3

    Dear all,
    In one of the interface flow, we are expecting a batch of  IDOCs from SAP R/3 in a serial order, which is not happening right now.
    I want to know, if there is a option/function module to enable serialization from SAP R/3.
    Kindly pour in your comments.
    Regards,
    Younus

    This could help you...
    /people/community.user/blog/2006/11/04/how-to-serialize-idoc-xml-messages-fed-into-xi
    http://help.sap.com/saphelp_erp2004/helpdata/en/bd/277264c3ddd44ea429af5e7d2c6e69/content.htm
    http://help.sap.com/saphelp_erp2004/helpdata/en/0b/2a66d6507d11d18ee90000e8366fc2/content.htm
    /people/sap.user72/blog/2005/01/28/setting-up-inbound-qrfc-queues-for-serializing-idocs-using-the-idoc-adapter

  • Queue Mechanism in OBPM 10GR3

    Hi all,
    We want to develop a queue mechanism in BPM. We want only 5 out of a total of 10 instances to enter a sub-process at a time. Only when the count is less than < 5, would the next instance enter the sub-process.
    But we are finding it difficult to implement this using BPM and db.
    Whenever an instance enters the sub-process we increment the count in an external db and whenever an instance leaves the sub-process we decrement the count in the external db.
    And before this step, we check for the counter from the db by matching it with a Max. Counter.
    But the problem with this is that, when the counter is less than the < Max. Counter, if 3 instances are waiting in the queue, all three are released instead of one. This is because it takes time to increment the db and there is no locking mechanism in place to make sure that the db is locked while incrementing the counter and therefore the queue does not really work.
    Does anybody has any suggestions?

    Hi VR,
    please have a look at this two links:
    XI Asynchronous Message Processing: Understanding XI Queues
    XI Asynchronous Message Processing: Understanding XI Queues -Part I
    Registering queques
    http://help.sap.com/saphelp_nw04/helpdata/en/7b/94553b4d53273de10000000a114084/frameset.htm
    Queque assignment
    Performance Tuning Checks in SAP Exchange Infrastructure(XI): Part-III
    Complete reference for IDOC queuing and monitoring
    Setting up inbound qRFC queues for serializing IDocs using the IDoc Adapter
    Regards
    srinivas

Maybe you are looking for