Conversion of BDOC's to IDOC's

Hi,
I am new to BDOC's in CRM.
I need to convert BDOC's to IDOC's in CRM.How to do it?
"Points will not be awarded"
Regards,
Jayasimha Jangam
Edited by: Julius Bussche on Aug 14, 2008 6:40 AM

Please read [the rules|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting.

Similar Messages

  • Diff ...between  Bdoc's  and  Idoc's  in XI  integration !

    Hi All
        In XI integration what is the difference between Bdoc's and Idoc's ?
        Both or same ? different ? how the integration will be done ?
    Adv...thanx and regards
    kiran LVS

    Hi
    An IDoc transfer is quicker in comparison to SOAP/XML because the IDoc document contains no metadata information (tags)unlike an XML document, and therefore, the size of document sent down the line is substantially smaller in comparison.
    IDocs can be used to send messages to the SAP Exchange Infrastructure where an IDoc XML document will be established and mapped into other XML Schemata. The XML messages can be routed to other Business Systems. IDocs can be used to send messages to the Business Connector where an IDoc XML document will beestablished and mapped into other XML Schemata such as Rosetta Net, xCBL or customer‘s ownschemata.IDocs can be used to send messages to a flat file.IDocs can be used to send messages to an ALE converter, where IDocs are mapped into standardizedmessage formats (EDI communication).IDocs can be used to send messages to an ALE Messaging System. In contrast to an ALE converter, the message handler will not perform any conversion or mapping but instead receives IDocs and sends
    them to applications for processing. IDocs can be used to send messages to an EDI Sub-System. In contrast to an ALE converter, the EDISub-System does not use direct program-to-program communication for transferring IDocs.
    A messaging BDoc consists of up to two parts:
    Part 1: classical part
    This part is mandatory.
    The classical part consists of a BDoc header and segments, which may be arranged in a hierarchical fashion. The segments of the classical part are not mapped to database tables.
    This part is to be modeled with the (CRM Server based) BDoc Modeler. Only the classical part is used to determine the receivers of mBDoc messages. Since there is no mapping to database tables (that is, no CDB), this part always needs to be filled completely by the application at runtime.
    Part 2: Extension part
    This part is optional.
    The complex data type is modeled with the Data Repository Tools (SE11).
    The extension does only exist for messaging BDocs.
    The extension part is used to hold delta or extract data intended to pass into the CRM Server application (inbound case) or to send to remote systems (outbound case). The extension part cannot be used for receiver determination.
    Bdocs are specific to CRM. They do not leave the CRM system, but perform their updates from it. They are much bigger because they contain the entire data-model of the object they are supposed to update. They can contain delta or creation information and can be processed by flow processes.
    So they are data-containers that are used to update CRM & CRM dependent systems.
    Idocs are data-containers as well, but they are structured for their purpose (not for the object they contain) and they can be transfered between systems.

  • SAP CRM 7.0 -- How tro make Conversion from Bdoc to IDoc

    Hi All,
    I have extended BUS_TRANS_MSG Bdoc with custom Fileds ( as per requirement) and am looking to Convert the BDoc to IDoc.
    So Can any one know how to convert Bdoc to Idoc in SAP CRM 7.0.
    Kindly help me on this.
    Thanks,
    Raja

    Hi Raja,
    Is there any reason that you want to convert this Bdoc to Idoc. let me know, will take from there.
    thanks

  • Bdoc Structure  X Idoc structure

    Hi All,
    We are trying to map the Order data in CRM to an IDoc structure. The Bdoc BUS_TRANS_MSG has the related Data Type BAD_BUS_TRANSN_MESSAGE. In this Data type there is a component SHIPPING where there is a field TRANS_MOT wherein the MOde of Transport is stored.
    But when I am saving this order, the Bdoc has the field but the corresponding Idoc generated has the Idoc Type CRMXIF_ORDER_SAVE_M02 where I am not able to find this field.
    Do any one of you have any idea as to where this field is mapped?
    Regards
    Priyanka

    Hi ,
    I have a question .Maybe it is stupid for you.
    If we send out a IDOC CRMXIF_ORDER_SAVE_M02:How can we treat it in the ERP site ? because in ERP there is not such a IDOC type .

  • Middleware/BDOC or ALE/IDOC?

    Hello,
    Considering an integration scenario that must be entirely developed, is there any advantage chosing a BDOC using CRM middleware over IDOC/ALE once both technologies are available?
    Thanks in advance.

    I don't understand why you ask this question
    There are 2 different technology.
    Choose technology is depend of business process that you wish to implement.
    You can use IDOC and BDOC together.
    Usually, IDOC use for intergate with HR system.
    BDOC use for intergate with ERP system for implement mostly business processes.
    I think you understand
    Denis.

  • CRMXIF_ORDER_SAVE IDOC not getting generated for BUS_TRANS_MSG BDOC

    Hello Experts,
    In our project, we have a requirement to send custom fields in the BUS_TRANS_MSG to external system through XIF. The model of BDOC BUS_TRANS_MSG triggering IDOC CRMXIF_ORDER_SAVE_M02 perfectly worked in the development system. We wanted to try the custom field extension in the Sandbox. So as per OSS note 916093, we have extended E101_CRMXIF_CUSTOMER_H segments with custom fields and tried generating the interfaces in BDFG transaction. While generation with IDOC CRMXIF_ORDER_SAVE_M we got an error message "Incompatible change to complex data type
    type E101CRMXIF_ISU_PRA1_X". So went about creating a custom IDOC ZZ_CRMXIF_ORDER_SAVE_M02 for message CRMXIF_ORDER_SAVE. Even for this config, the IDOC is not getting generated for the BDOCs. Lastly, configured the IDOC ZZ_CRMXIF_ORDER_SAVE_M02 to a custom function module ZZ_BDFG_IDOC_TEST_FM. The FM got generated and activated, even then the IDOC is not generated for the BDOC.
    SMOEAC config in Sandbox looks the same as the Development system. We do not the reason why IDOC is not getting generated and also the reason for error in BDFG while generating the interfaces after adding custom fields to CUSTOMER_H segment.
    Any help would be appreciated.
    Thanks,
    Partha

    Hi Partha,
    Kindly check the following thread.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/406efa7e-388a-2910-f9b8-81913b0ca57f?QuickLink=index&overridelayout=true
    XIF adapter
    Hope it answers your Query
    Regards,
    Srikanth.Naga

  • IDOC reprocessing including conversion rules

    with BD87 you can reprocess a IDOC, which was not properly processed because of any reasons.
    For me it looks like that using BD87 conversion rules maintained for the IDOC message type are not reprocessed again. Is there any way to force the system to include the processing of conversion rules in the reprocess step.
    Thanks for any help
    Marita

    Hi Marita,
    Have you tried with the application RBDMANI2
    Shylesh

  • Conversion of EDI File format to IDOC format

    We have a file in u201C.ediu201D format. We could not process this file with RSEINB00 ( IDoc inbound processing using file ) program.
    1-) Could we directly do our process with this u201C.ediu201D file ? Or do we have to convert this u201C.ediu201D file to IDOC format?

    If it's EDI format file (Ex: EDIFACT, X12 ...etc), we should convert the file to IDOc file by using mapping in subsystems like Gentran or TLe..etc. Conversion from edi format to idoc format will not be done in SAP.
    Reddy

  • To write data as an IDOC for EDI 858 (bill of lading) through reports.

    Hey everybody,
    I need serious help about this. I am back to my question that I asked before. I don't understand still how to write out the data as an IDOC when we are not doing EDI through a VAN but dumping the file onto both application and presentation server and then taking the file from there and manually uploading the file to the website. So it is basically a flat file created where the data is written out in the same way as it would be done when an IDOC is generated. In this there is no XML data conversion involved or anything but writing out data as an IDOC for an EDI 858.
    Please somebody explain and if possible give me some bit of code or link to where I can find something similar that would help.
    Thanks,
    Minal

    Hey thanks for all ur help..
    Now see lemme jot down the scenario and the solution that I have thought of (with ur help)...
    See we have only CRM and no R/3 here...right
    Now using CRM transaction CRMD_BUS2000115(Maintain sales Transaction) I create an order. Ok..the transaction type attached to it is a Z transaction type ZSAM...ok ...and I have a Z action profile ZST_ORDER_MESSAGES where I have scheduled the automatic method call to send Bdocs...ok...
    Now this will send Bdocs to the site which I will define using transaction SMOEAC and assign here. Now the Bdocs structure is complex as it flows as per GUIDS in this case (i.e. CRM ) right.....
    So I need to map these Bdocs to Idocs throgh some selection programs (e.g RBDMIDOC) but I don’t know if this is right or will it at all help?
    Then my plan is that once I get the Idocs I can have all the normal config as in R/3 wherein I will
    1. define the RFC
    2. define the Logical system
    3. define the receiver port
    4. define the partner profile
    5. create the site and assign it to the interface type.
    But how will I map the Bdocs to the idoc ...can u please help me with this?
    Priyanka

  • CRM sales order data to be sent as an IDoc

    Hello,
    Can someone help me on this? I have created a sales order in CRM and now i need to send this data to an external EDI subsystem through an Idoc.
    In R/3 we have the option of message control in output determination where i can handle this but I am not able to figure out a way to this on CRM side. I checked quite a lotta previous mails on this forum but could not reach anything concrete.
    Also please note that we dont have a R/3 system here and are trying to create orders directly on CRm, send them through an IDOC to an external EDI system and further.
    Please respond if you have any insight into this.
    Regards
    Priyanka

    Hey thanks for all ur help..
    Now see lemme jot down the scenario and the solution that I have thought of (with ur help)...
    See we have only CRM and no R/3 here...right
    Now using CRM transaction CRMD_BUS2000115(Maintain sales Transaction) I create an order. Ok..the transaction type attached to it is a Z transaction type ZSAM...ok ...and I have a Z action profile ZST_ORDER_MESSAGES where I have scheduled the automatic method call to send Bdocs...ok...
    Now this will send Bdocs to the site which I will define using transaction SMOEAC and assign here. Now the Bdocs structure is complex as it flows as per GUIDS in this case (i.e. CRM ) right.....
    So I need to map these Bdocs to Idocs throgh some selection programs (e.g RBDMIDOC) but I don’t know if this is right or will it at all help?
    Then my plan is that once I get the Idocs I can have all the normal config as in R/3 wherein I will
    1. define the RFC
    2. define the Logical system
    3. define the receiver port
    4. define the partner profile
    5. create the site and assign it to the interface type.
    But how will I map the Bdocs to the idoc ...can u please help me with this?
    Priyanka

  • A warning message in the Inbound part of the IDOC

    Hi all,
    A warning message is being displayed for the Inbound part of the IDOC.
    Here is the message.
    No filters , No conversion , No version change .
    IDoc successfully processed in the ALE layer
        The IDoc has passed through the ALE layer successfully and can now be
        passed to the application. This transfer is either done online or as a
        background job, depending on the settings in the partner profile.
        If there are no further status records, the IDoc waits for the next run
        of the transfer report to the application.
        Success or failure when passing the IDoc to the application is
        documented in the subsequent status records.
    Actions in the ALE layer
        The parameter 'No filters' indicates whether the processing in the ALE
        layer led to segments of the inbound IDoc being omitted. The important
        criteria here are the settings in the segment filter and in the
        distribution model for this sender.
        The parameter 'No conversion' indicates whether field values were
        converted in the ALE layer. This is the case if the IDoc contains
        organizational units to be converted, or if the ALE conversion tool for
        this sender is activated.
        The parameter 'No version change' indicates whether the IDoc was
        converted into an earlier version of the IDoc type. This happens if the
        IDoc type of the sender is different from its own IDoc type.
    I have checked all the necessary Config settings and all of them are in place.
    Your help on this will be highly appreciated.
    - Surya.

    Hi,
    The IDOC  may have successfully passed through the application, but check whether the status of the IDOC is changed to 53.
    No filters, No conversions, No version change
    occurs when the IDOC is not processed fully.
    It may have stopped the processing without raising any error...
    Check the program, whether there is any piece of code which stops the processing of the IDOC without changing its status to 51.
    Sharin.

  • IDOC - XI -  ANSI X12

    Hi
    I am working on a scenario iDOC - XI -  ANSI X12.I am following the best practices guide provided by SAP .I am using conversion agent to convert the idoc to Ansi X12 format .For that I have created a serializer and deployed that on DBservice folder of the XI server .But after configuring the file adapter with module parameter I am getting runtime errors ." Could not parse Channel " and " Could not parse Outbinding with Objectid:".I found this errors in RWB cache monitoring .Can any one provide me some document for this scenario specific to the setting for conversion agent service in file adapter?
    Thanks
    -Alok

    Hi
    Have a look
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/da1e7c16-0c01-0010-278a-eaed5eae5a5f
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/135b0b94-0701-0010-f6a9-86a14057544a
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1e545914-0b01-0010-5a9d-c52a4bffdbab
    http://help.sap.com/saphelp_nw04/helpdata/en/de/a4415b8634ba49b0f62a75dc415adc/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/5c/895738d1884d50e10000009b38f842/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/43/6f1f39a08e6fcae10000000a1553f6/CMSUserGd.pdf
    Replacing EDI subsystem with SAP XI
    /people/lionel.biennier/blog/2006/07/21/sap-xi-supports-edi-x12
    XI with EDI Format
    Thanks

  • Conversion Agent - Help for scenario.

    Hi Experts,
    We are working on Conversion Agent for EDI - XI - IDOC, creating Parser in Conversion Agent, when we are using the same in Communication Channel, the file is not picked up from EDI Folder.
    It is giving us one error "Error: java.lang.NullPointerException".
    May be we are not creating the complete scenario and making some mistake in the scenario.
    We have read many blogs and threads on SDN, but it is not making any help in our condition.
    If anybody have complete scenario with screen shot, please give us that as it is urgent.
    Please help,
    Regards,
    Study SAP

    Hi Lawrence,
    Thanks for your reply,
    There is only one project and at CMD when we are trying to run it is running fine,
    in the result is creating XML Message.
    we have these errors in our Communication Channel Monitoring :
    Transformation failed; CMException: Failure while trying to create engine log C:/Documents and Settings/Administrator/Application Data/SAP/ConversionAgent/CMReports/Init/Events.cme- for more information see file://internal
    Attempt to process file failed with com.itemfield.contentmaster.CMException
    Is the problem related to our project or with our deployment ?
    Please help,
    Regards,
    Study SAP

  • Conversion of book dimension from decimal to fraction

    Hi,
    I am a crystal report developer and new to SAP R3 environment.  I am creating reports with SAP BW queries as source.  I am working for a publishing client.  They are storing the material (Book) details in the SAP system (Material table).   SAP has a provision to capture physical properties of the book like width, height and thickness.  They are entering details upto 3 decimal places precision in inches or in specified unit of measure. 
    When some extracts are generated from SAP System the values like 10.380 is converted as 10-3/8.  But the actual 10-3/8 value is 10.375.  The rounding is not uniform when I checked with few other values.  I came to know from SAP experts these conversion are happened in an IDOC.  I don't know much about this.
    Can anyone help me in this conversion logic.  Since I have to implement the same in my Crystal report.  My BW query is just giving it in the decimals, my users are interested in seeing it as fraction since the other exports from SAP is showing it in fraction.
    Thanks and Regards,
    Subbu S.

    In the user exit of Outbound Idoc, they might have used some custom logic to implement the given logic.
    It may vary on other factors as well. In your case, that should be verified or cross checked in your system only.
    For converting the decimal to fraction in SAP, you can refer the below function module.
    'CONVERT_TO_FRACTION'

  • How to send local e-Invoicing format as Idoc

    Dear sirs,
    I would like to ask you about a translation of a local e-inv format into the Idoc.
    What are the problems:
    - this standard was published by a local government and probably is not compatible in any other format used by "ordinary" (adn sane) SAP people
    - this standard appears in two version: I can get the invoice as XML file or as a ZIP archive which consist of the XML file and the attachments
    - the processing should be asynchronous and we´re expected to use IDocs
    I wonder:
    - how can I send the Idoc with attachments? I am not aware of anything like this
    - if that is not possible (most likely) how would you solve the requirement with as little effort as possible? Would you send the ZIP into ABAP and process it in the ERP system? Some proxies? Or can you come up with some way how to achieve the same? Because I don´t understand how can I send&attach the attachments to the backend where the Idoc didn´t have to be processed yet and I don´t have a document number to associate the files with.
    Hope I don´t ask a crazy question:))
    thank you for your time and effort, regards Otto

    Otto Gold wrote:
    > The attachments are like pictures, PDF files etc. (invoice originals before converting into this local e-inv standard). How can I convert the file into an Idoc? I didn´t know that is possible. Thank you, Otto
    in case your landscape has PI then go for an ABAP proxy
    some inputs can be found here - /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    also regarding conversion of a file to IDoc etc, specific tools (middleware, ESBs) are used to do such transformations and routing

Maybe you are looking for