BDOC message flow and its architecture

Hi Expert,
It can be a simple question but i have a doubt regarding the flow of messages using SAP CRM middleware.
The scenario is like:
1. Message flows from ECC to CRM through a BDoc. (It can be opposite way also)
2. The BDoc fails in CRM due to some data issue.
3. A BDoc message id is generated.
4.Now the data is corrected in ECC and initial load was triggered.
5.The messages are flowing correctly.
So my doubt is:
1.What will happen to the old BDoc?
2. Do the initial or delta load processes the messages with new BDoc ID or through the old BDoc ID?
3. If the messages are processed through new BDoc id, can the old BDocs be deleted?
Please help me understand this concepts of BDocs and please provide me to some study material to get more undertsanding of the BDOC message flow architecture.
thanks,
Vicky

Hello Vicky,
i think I understand exactly what your confusion is all about.
1.What will happen to the old BDoc?
The old Bdoc will remain in error state until it is archived or set to processed state.
2. Do the initial or delta load processes the messages with new BDoc ID or through the old BDoc ID?
It will be a separate BDoc with a new BDocId. If you get an Error in SMW01 this is beyond the queueing, so later Messages will not get queued behind your faulty bdoc. They will also not "update" your BDoc in any way. Later BDocs will Bypass a bdoc in error state and update your object in CRM if the error in data has been solved in ERP before. If the data error is not corrected, you will get a second failed bdoc.
3. If the messages are processed through new BDoc id, can the old BDocs be deleted?
Best practise for the Bdoc with error would be to set it to processed state. That way there is no way that Bdoc can be processed afterwards. The BDoc will then be archived with the next run.
Best regards,
Lutz

Similar Messages

  • Bought a ten dollar unlimitied messaging card and its saying im already out of minutes on my phone. and it says 30 days and unlimited verizon to verizon

    bought a ten dollar unlimited messaging on may 4th, 2014 and messaged a few people equaling 11 texts in and out total. i go to try to message a friend today and i get a text saying my minutes are out already. and it even says unlimited to verizon to verizon. so im not understanding WHY im "out" of mins already....

    You seam to be focusing your anger at Verizon and not your sister. Verizon followed the rules and required IDs and passwords to access the wireless account. You and/or your mother are supposed to safeguard that information.  Your sister has committed the felony by stealing your mothers identity for personal gain.
    You say "I am very dissatisfied with how VZW is handling an illegal and fraudulent change on my account that has shafted me out of 500 dollars.'  My question to you is who made the illegal and fraudulent change to your account?  Verizon or your sister? Keeping in mind your sister had all the correct IDs and passwords,
    I'm sure if you went to Verizon and wanted to make some changes to your account, and you had the correct IDs and passwords, you would be upset and angry if they put you through the 3rd degree because they thought you were committing fraud.
    Good luck to you, (seriously) whatever happens,

  • Wht is Message system and XI Aapter?

    Hi Experts,
    I've came across a scenario /people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi which explains "message flow in XI".
    Q1. my question is under "RETURN JOURNEY" section in Point 1. the author is saying "So the XI Integration server will send the message to the messaging system of the Adapter Engine (AE)" i want to know what is message system and its purpose? will it store converted messages.
    Q2. wht does an XI Adapter do and wht is the purpose of using it?
    need explanations not any references to SAP Help
    thanks
    Faisal
    points will b rewarded for useful answers.....

    Hi,
    Q1. my question is under "RETURN JOURNEY" section in Point 1. the author is saying "So the XI Integration server will send the message to the messaging system of the Adapter Engine (AE)" i want to know what is message system and its purpose? will it store converted messages
    Here Messaging System means evevry Processed message Should get through into Messaging System of AE before Delivering to Target Application.
    In Messaging System we can see the delivered Messages and to be deliver messages.
    If the channel is inactive , it will error out in Integration Engine itself, so u can restart those messages manually.
    Also, lets say the receiver system is not reachable(example JDBC), then what happens? You can find those messages in
    http://host:port/MessagingSystem/monitor/monitor.jsp . In the window left frame choose Received Messages , in the right frame choose Status Not Delivered. Change the time frame and click tab(there is no enter) , u can find list of messages. Now for each message u can find two options Delete, Re-Deliver ,click on Re-Deliver the message, it will go thru.
    Q2. wht does an XI Adapter do and wht is the purpose of using it?
    Here if u observe first message pick up by Sender CC get through AE. Then the converted XML message will be delivered to IE for further process
    Here we use XI Adapter to Communicate IE with IS internally.
    Regards
    Seshagiri

  • Messaging system and XI Adapter

    Hi Experts,
    I've came across a scenario /people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi which explains "message flow in XI".
    Q1. my question is under "RETURN JOURNEY" section in Point 1. the author is saying "So the XI Integration server will send the message to the messaging system of the Adapter Engine (AE)" i want to know what is message system and its purpose? will it store converted messages.
    Q2. wht does an XI Adapter do and wht is the purpose of using it?
    thanks
    Faisal
    points will b rewarded for useful answers.....

    Hi Abdul,
    Q1. my question is under "RETURN JOURNEY" section in Point 1. the author is saying "So the XI Integration server will send the message to the messaging system of the Adapter Engine (AE)" i want to know what is message system and its purpose? will it store converted messages.
    http://help.sap.com/saphelp_nw04s/helpdata/en/8f/d906d01f77fa40a4c84683c3f8326f/frameset.htm
    Purpose
    You use the Adapter Engine to connect the Integration Engine to SAP systems (RFC adapter) and external systems. You use the various adapters in the Adapter Engine to convert XML- and HTTP-based messages to the specific protocol and format required by these systems, and the other way around. 
    Q2. wht does an XI Adapter do and wht is the purpose of using it?
    Purpose
    You configure the XI adapter to exchange messages with an Integration Engine. Both XI 3.0 and XI 2.0 message protocols are supported. You also use the XI adapter to exchange messages between SAP Exchange Infrastructure and the Partner Connectivity Kit (PCK).
    You can use security settings to sign messages and check the signature. You can encrypt and decrypt message payloads.
    Features
    ·        To receive XML messages from a sender system, configure the sender XI adapter.
    If messages are sent from the Integration Server to the PCK, you must create a sender XI adapter in the PCK.
    ·        To send XML messages to a receiver system, configure the receiver XI adapter.
    If messages are sent from the PCK to the Integration Server, you must create a receiver XI adapter in the PCK.
    XI Adapter in the Integration Server
    A communication channel with a receiver XI adapter can be created automatically for business systems that are defined in the System Landscape Directory. See also: Creating Communication Channels Automatically
    regarding security setting,, check below
    http://help.sap.com/saphelp_nw04/helpdata/en/86/0222417c22f323e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/06/e92041c877f623e10000000a155106/frameset.htm
       XI adapter sends the data through XI protocol which works on HTTP and XML.
    So, security for XI adapter means
    1) HTTPS(Communication channel security)
    2) Message Level Security( You can send messages further in encrypted form)
    The communication via web service may have advantages, if you want communicate with non XI systems.
    In your scenario, there is direct communication between XI engines, so you can go for XI adapter. The XI adapter which is normally used to configure the exchange of messages with in an Integration Server, canbe extended to exchange messages between the two Integration Servers in the scenario.
    Please verify if if you have the common SLD for both XI systems. its preferable to go for seperate SLDs
    Check out the similar threads, XI to XI scenarios:
    XI adapter there is one option "Security Settings"..
    You can do client authentication, 128-bit encryption etc
    btw,we can do kind of data encryption in the mapping with java classes and you can pass the value.. but it is just a data level or message level
    But generally use cerfticates in the adapters for the secuity purpose. these will help you to give more inputs
    /people/rahul.nawale2/blog/2006/05/31/how-to-use-client-authentication-with-soap-adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0650f56-7587-2910-7c99-e1b6ffbe4d50
    Thanks,
    Satya Kumar

  • Function to extract characteristics and its value from PI sheet

    Hi experts,
      I am working on a report to generate Avg. deckle for the month form the PI sheet. In the PI sheet the data that is displayed is basically the message characteristcs and its value.
    Please tell me ne function that will give me the related data to be displayed.
    Thanks in advance..

    reading the characteristics: CAVC_DB_READ_CFG_IN_CBASE.
    reading the values according to the characteristics: CARD_CHARACTERISTIC_READ.
    Note: the second FM is obsolete according to SAP. but it still works in opposition to the new ones.

  • IDOC question on Message type and Basic Type - Partner Profile

    Hi all,
    I am wonder if I can post any IDoc question in this right forum/module. If not please direct me to the right forum/module. I am a newbie in IDOC setup.
    My question is about the setup of Partner Profile creation (WE20).
    When creating a new partner, for example with partner type LI, I notice there is outbound parameter and inbound parameter.
    Questions:
    1 u2013 It makes sense to have only one message type record appear in EITHER one of these two tables.  I notice that some partner in my system has message type record exist on both the inbound and outbound parameters table, why system allows? What is the business rational?
    2 u2013 May I have a list of standard SAPu2019s Message Type object of its usage description, and its allowable Basic Type (ie. IDOC TYPE). Basically a website to describe their (i.e. Message type and its Basic Type) business usage.
    Thanks.
    tuff

    Tuff,
    Below are my thoughts,
    There is a partner sing partner type LI. This partner in the WE20, has one record (i.e. with Message Type ORDERS) exist in the Outbound Parameter table. This partner also has 4 records (i.w. with Message Type DESADV, INVOIC, MBGMCR, and ORDRSP) exist in the Inbound Parameter table. So my question is what is the business rational behind this kind of setup. Because I am confuse when come to create a partner profile, whether I need to create a message type in Inbound Parameter table or Outbound Parameter table, or I need both.
    OK, so looking at the above example, you have an orders message type(This is for creating an order) in the outbound, this means that you are sending out an IDOC(purchase order for ex) to this partner, so that this partner can create an SO in his system and fulfill your order.
    Now you also, mention that you have other four Message types for the same partner on the inbound, now let us look at the above scenario, you have asked your partner to fulfill the order, i guess you would like to get a confirmation from him/her if the order was created or not in his/her system and how and when is he/she going to fulfill your order requirement. This he/she does by sending an response to your order -  ORDRSP.
    And when the partner is ready to ship your order to you, he/she sends out a Advance Shipping Notice - ASN via the IDOC of message type DESADV.
    Finally and most importantly , he/she will send you the invoice - INVOIC for the order.
    In general, you interact with your partner via Business Docs - Order, Delivery, ASN, Invoice etc, so whatever document come from your partner - ORDRSP, INVOIC etc will be on the inbound profile of the partner. Whatever docs that you send ORDERS, ORDCHG etc etc will be on the outbound profile of the partner.
    2 - Bascially I would like a reference in any website that allow me to choose which message type is best use for my partner profile, so that I don't have to reinvent.
    Well, there is no choice of choosing/best message type for a given requirement - So for sending an Invoice the message type is INVOIC, ORDERS - For order creation, ORDCHG for order change etc. However the IDOC type, is some thing that you can choose, for Ex: ORDERS01 - ORDERS05, these are the IDOC types that are available, so if you are interacting with a partner who are running an old version of SAP and their system has only upto ORDERS02 in their version of SAP then you would use ORDERS02.
    Regards,
    Chen

  • DIFFERENCE BETWEEN iDOC MESSAGING AND bDOC MESSAGING

    hI
    gurus what is the diffrence between idoc messaging and bdoc messaging?
    K. Mangalum

    Hi Kumara,
    BDOC:
    Container of business data that belongs together, for example customer, contact person, order or activity. This means that it contains all required information for a business process. The technical representation of a BDoc type is completely independent. There are many possible representations for a BDoc type.
    For example, a BDoc type can be represented as follows:
    as a collection of internal ABAP table structures (on the CRM Server),
    by ADO record sets (on mobile clients),
    as an XML form (for non-SAP systems), or,
    as an IDoc.
    Therefore a BDoc type is a semantic collection of business data and not a syntactical description.
    There are three classes of BDoc types:
    BDoc types exclusively used for mobile applications
    They consist of a hierarchical data segment structure with assignment to database tables.
    BDoc types for synchronization between the consolidated database in the CRM Server and mobile applications
    They consist of a hierarchical segment structure with assignment to database tables.
    BDoc types exclusively used for non-mobile applications
    They consist of:
    a hierarchical segment structure with no assignment to database tables,
    additional data (complex data type modeled in the ABAP Dictionary)
    Standard BDoc types are provided by SAP. Additional BDoc types can be modeled by customers.
    Idoc:
    IDOC: An intermediate document, container for exchanging data between R/3 and other SAP and non-SAP applications. Structured collection of segments. Segments are structured collection of data elements.
    General Structure
    IDocs contain administration information for technical processing, as well as the actual application data, which is stored in segments. A segment comprises segment fields as the smallest unit of the IDoc - comparable with the data elements from the EDIFACT standard.
    In the SAP System, the processing status ("what has happened to the IDoc before now?") is stored in the IDoc status information. The status information also contains details about errors and indicates the data in which the error occurred. This status information is not forwarded as part of the IDoc but separately using "status processing".
    IDoc types (special structure)
    An IDoc type is defined through its permitted segments. Segments can be dependent on each other (parent and child segments). For example, segment E1EDPT1 (document item text identification) is a child segment of segment E1EDP01 (document item data, general) in IDoc type EXPINV01 (export billing) and a child segment of E1EDP07 (order data shipping notification) in IDoc type DESADV01 (shipping notification). The segment, therefore, is used in several contexts and is the "child" of several "parents".
    CRM Bdoc and IDoc are both persisted data structures.
    Idoc works on a particular technology called ALE and is used for data exchange between two R/3 systems
    Regards,
    Satish Mathala

  • TS1814 I had to restore my Ipod Touch and now I can't connect to anything on it. When it asks for my Apple ID it comes up with an error message and says that it can't connect to the server. I have checked my WiFi connection and its connected.

    I have had to restore my Ipod Touch and now I can't connect to anything on it. When it asks for my Apple ID it comes up with an error message and says that it can't connect to the server. I have checked my WiFi connection and its connected.

    Hi there,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    -Griff W.

  • Cant put pdfs or music on.the message i get when itunes comes up is "iTunes was unable to load data class information from sync services.reconnect or try again later." and its just my itouch i tried another one and was able to put songs and pdfs on it...

    I cant put pdfs or music on my itouch,it wont sync.the message i get when itunes comes up is "iTunes was unable to load data class information from sync services.reconnect or try again later." and its just my itouch i tried another one and was able to put songs and pdfs on it...please help!

    Try here:
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert
    If not successful see the previous discussion on the right side of this page with the green checkmark.

  • Hello, i just downloaded itunes on my acer laptop and its been giving me problems everytime i try to get on to the itunes store.. it gives me a message saying "itunes could not connect to the itunes store. an unknown error occurred. (310).plz help me out.

    hello, i just downloaded itunes on my acer laptop and its been giving me problems everytime i try to get on to the itunes store.. it gives me a message saying "itunes could not connect to the itunes store. an unknown error occurred. (310).plz help me out. i do have the internet on but it keeps giving me the same problems .. thanks..

    Hi Young Prada,
    If you are having issues connecting to the iTunes Store, you may find the following article helpful:
    Apple Support: Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Regards,
    - Brenden

  • I have just upgraded to the iphone 5 and now when I send a text message it says its from astrogirl36@*** instead of my name, that is my name for icloud how do I change this

    I have just upgraded to the iphone 5 and now when I send a text message it says its from astrogirl36@*** instead of my name, that is my name for icloud how do I change this
    <Email Edited By Host>

    You are only as young as you feel......
    This is an example of how you can select the exact content that you want to sync to your device. You do not have to sync the entire iTunes library. You can pick and choose the music, apps, books and so on that you want to sync. This is using music as an example.
    Connect the iPad to the PC and launch iTunes.
    Click on the iPad name on the left side under devices.
    Click on the Music Tab on the right.
    Click on only the albums or playlists that you want to sync.
    Click on the Sync Music Heading.
    Click on Apply in the lower right corner of iTunes
    You can do this with apps, books, movies .... Whatever .... You have the freedom to sync whatever you want.

  • Goods Receipt in PO AND Message Flow Update in Inb. Delivery using WMMBXY

    Dear All
    This question is related to a previous one posted in:
    Post Goods Receipt for Inbound Delivery using WHSCON IDoc
    We have a stock transport order (PO) for which we create an inbound delivery. The despatch advice (EANCOM D96A DESADV) is sent to our logistics partner who returns the same EDI message with the received quantities (goods receipt).
    Using the inbound IDoc WMMBID02.WMMBXY I have successfully posted the goods receipt for the original PO. However, the message flow in the delivery is not updated. When we post the goods receipt (transaction MIGO) in dialog for the delivery we see the GR in the message flow.
    I have used the following values with the segments of WMMBID02.WMMBXY (SAP release = 4.6c):
    E1MBXYH:
    Reference = <number of delivery>
    Transaction code = 'MIGO'
    E1MBXYI:
    Movement type = '101'
    Purchasing doc. = <number of PO>
    Item = <Item no. in PO>
    Movement ind. = 'B'
    I am not sure about the correct movement indicator but failed when using a value different from 'B':
    The movement indicator is derived from the transaction code.
    Permitted values:
    '' Goods movement w/o reference
    'B' Goods movement for purchase order
    'F' Goods movement for production order
    'L' Goods movement for delivery note
    'K' Goods movement for kanban requirement (WM - internal only)
    'O' Subsequent adjustment of "material-provided" consumption
    'W' Subsequent adjustment of proportion/product unit material
    QUESTION: Does anybody know if and how inbound WMMBID02.WMMBXY can be used for both the goods receipt in the purchase order AND the message flow in the inbound delivery?
    Regards
       Uwe

    Hello Everybody
    My initial mapping of the WMMBXY IDoc proved to be correct.
    For more details please refer to:
    [Note 833603 - EDI: Goods receipt for stock transport order|https://service.sap.com/sap/support/notes/833603]
    Regards
      Uwe

  • I just got the iPhone 5 and noticed that the message alerts will only alert once . I have it set up as 3 times and its not working . Please help. I'm running 6.0.2 and I really starting to get ****** off with apple products

    I just got the iPhone 5 and noticed that the message alerts will only alert once . I have it set up as 3 times and its not working . Please help. I'm running 6.0.2 and I really starting to get ****** off with apple products

    Instead of getting annoyed, read the User's Guide and try basic troubleshooting.

  • From where i can understand the control flow and architecture of JVM?

    i want to know control flow and architecture of JVM?
    Where i can know from?
    if some one wish to explain you can here also.

    makpandian wrote:
    No it s not broken.
    As per your experience,tell me some links.Per my experience I don't need links. I could build the VM both from the general level and the specific levels by referring only to the VM spec.
    And I read the book I suggested, first edition, years ago. Although with many other books.
    Conversely if I wanted to find a link now then I would use google.

  • In my email all the messages from one person bunch together and I would like to separate them. I have done this before on my iPhone but just recently got an iPad and its doing it on this, so does anyone have any ideas how to fix this issue?

    In my email all the messages from one person bunch together and I would like to separate them. I have done this before on my iPhone but just recently got an iPad and its doing it on this, so does anyone have any ideas how to fix this issue?

    Settings >> Mail, Contacts. Calendars >> Organise by Thread. Switch to OFF to see every individual email in the Inbox.

Maybe you are looking for

  • Error: An integer constant expression is required within the array subscrip

    hello all, here is a small piece of code which compile well with g++: #include <iostream> using namespace std; int main () { int i= 0, j=4 ; cout <<" i=" ; cin >> i ; cout  << "i="<<i<< endl; if ( i > 1) {    double xx [i+5];    int n= i+5;    for (i

  • Send an error instead on malformed data

    I am wondering if I am able to dequeue an incoming message and verify the data, before i insert it into a table, then send an error message back if the data is not valid. Right now my B2B just sends an acknowledgment back, but doesn't insert the data

  • How to move iTune library and iPod from old XP PC to new Vista PC

    I am upgrading from an XP PC to a new Vista PC and would like to know where I can find instructions on what I should do to transfer my iTunes library and my iPod to the new computer. Thanks for any help.

  • [SOLVED]Ralink RT73 mistaken for IPW 5100 *

    Hi! i'm trying to get my intel pro wireless 5100 card working. i already did some search in the forum, but nothing mentioned there did help. i'm running arch64 with the latest kernel (2.6.27.4-1) on a packard-bell easynote mh45 notebook. i installed

  • Problem with java web app

    Hi... I have mounted my java application on a server. I use tomcat/mysql... Initially it seems all things good, ...but if i try to enter my application the day after (for example), she seems not to query the db. I'm new to java programming. Please he