BDoc extension

I have created new fields into the BP transaction using EEWB
My next step is ..I have to extend the BDoc.
Anyone please tell me in clear steps / code How should I do I them.
Also tell me what would be my next steps to move them to R/3.

Hi,
You can keep masters for ur custom fields in CRM and keep similar copies in R/3 as well.
These copies of the CRM Master tables should be periodically refreshed with CRM data via some rfc batches.
Rgds
Priyanka

Similar Messages

  • Reg: CRM Table Relationship diagram

    Hi All,
    Please send me the following docs,
    (1.) CRM - Table Relationship Diagram
    (2.) BDT Cookbook
    (3.) BDOC Extension guide
    Also send me any other docs related to CRM, which u guys feel useful !!
    My Email ID : <removed by SDN Forum Moderator>
    Thanks in advance !!
    regards
    Prembabu R

    Hi,
    I got few useful link while searching in forum, Please find the link below
    CRM Tables & Relationship Diagram docs
    Thanks
    Prembabu

  • Extension of Bdoc

    hi all
    I have included one field in segment fiels in CAPGEN_OBJECT_WRITE and CONGEN_OBJECT_WRITE.  We are not able to transport both Bdoc. While Transporting, the request getting locked and its shows the following error
      "<b>Active version of the BDoc type CONGEN_OBJ_WRT is not consistent in the table SEGM"</b>.
    Is any other way to transport the Z segment field to the quality system.

    Hi,
    did you use a new customer owned data element for this table/segment field which might not be transported yet?
    Did you already run a consistency check in BDoc modeler Tx sbdm for this sBDoc?
    If you remove this segment field from this sBDoc again is then a transport successful?
    Regards,
    Wolfhard

  • Error while sending Bdoc data frm CRM to R3

    Hi All,
    We have created a BDoc containing a Ztable which is send from CRM to R/3 where it will update another Z table create for this in R3.
    We have tried here the follwoing steps:-
    a. Created the Z table in both systems.
    b. Created a new messaging BDoc in CRM and linked it to the R/3 Site Type.
    c. Created a new mapping function module in CRM that takes the data from the BDoc and maps it to the BAPI structure.
    d. Created a new Adapter Object that links to my BDoc, contains the Z table as the source table in CRM and contains the mapping function module mentioned above.
    e. Created a new Replication Object based on my new BDoc.
    f. Created a new Publication and assigned it to the Replication Object.
    g. Created a new Subscription and assigned to the Publication and Replication Object. Also assigned it to my R/3 site.
    h. Created a mapping function module in R/3 to map the data from the BAPI structure into the equivalent R/3 table.
    i. Created entry in table CRMSUBTAB.
    Error:
    When try to insert an entry in the customer table in CRM a BDoc is being created but fails to transfer with error message "Error in outbound processing".
    Trace: "Query error for site type SMOF_ERPSITE".
    please advice.
    Thanks & Regards
    Deb

    Hi Deb,
    Any reason why you have extended the Z fields both in R/3 and CRM manually.? This should have been a lot of effort. Did you try to do this via EEWB. ?
    In case you would use EEW to extend rather than the manual extension, the following memo will be helpful:
    EEWB doesn't support changes in the connected ERP system. For example it is unclear which object is of interest in ERP, the SD customer master or the BP. However, we provide note 864222 that explains some features regarding data exchange of extensions.
    Also note 831536 explains how to exchange table like extensions. For the data exchange of 1:1 extensions at the CI inlude for the main table BUT000 you could check note 725671, should be available in your system already, so just for information. First please create two CI_INCLUDEs CI_CUST as described in note 736595. Then your data are transferred and processed via module COM_BUPA_MAIN_BP_INBOUND. For debugging purposes please have a look at note 398925.
    Since it is possible to have independenT extensions on CRM and ERP side we mustn't map the two CI-includes directly but only via this additional CI_CUST feature.
    Best Regards, Adil
    (Note : The above notes/memo may help in troubleshooting the manual extensions)

  • Search criteria for insert/update bdoc

    Hi All,
    In our set up we have ecc to crm replication of BP. If one goes and checks the extension data of a stuck bdoc it has an Object Task- Insert or Update.
    Can someone help me with search criteria so that i can pull out bdocs which have an Insert as the Object task ??
    We have search criteria for errored/intermediate state bdocs; for inbound vs outbound; bdoc type etc etc..
    Need one based on Insert/Update Task so that any new data replication if stuck with its very first bdoc( Insert type) can be immediately queried.
    Regards
    Abhinav

    Hello Abhinav,
    I do not think that we have such a search criteria to search for BDocs based on the Task Type, which comes under the
    data part of the BDoc.
    One alternative way is to find out in which table these data gets stored and write a program to fetch the revelent Bdocs.
    Hope thisl helps!
    Best Regards,
    Shanthala Kudva

  • How to create a BDoc in an ABAP report ?

    hello
    I need to develop a report to send customer specific data from CRM to R/3. This report will be executed as a batch every to update data in R/3 from specific data in CRM (created with EEWB).
    The question is : which FM do I have to use to create and process the BDoc ?
    I start to develop the report and I tried to use the FM BUPA_MWX_BDOC_CREATE_MAIN.
      CALL FUNCTION 'BUPA_MWX_BDOC_CREATE_MAIN'
        CHANGING
          CT_BP_EXTERN = t_partnerdata.
    I fill the table t_partner_data which typ eis BUS_EI_EXTERN_T and the report run seems to run fine as I see the BDoc created with the data in transaction SMW01 but th Bdoc remains in state intermediate state.
    When I click on button Show BDoc Msg receivers, the message "No receivers or error segments for BDoc message ..." appears.
    When I check the BDoc message classic data, I see the structure CRMW_BUPA_HEAD filled with one entry but the CRMW_BUPA_SITES is empty. With standard transaction, BDoc processing runs fine.
    Thanks for any help
    Edited by: Jerome Munier on Dec 8, 2008 2:31 PM

    hello
    I give you more details on the aim of the report.
    I have created an extension with EEWB which is time-dependent : this extension is a status with validity dates. Only one value of the status is accepted during a period.
    In the report, I get the value of the status for the current day. Then I get the list of status of the BP using API of the EEWB.
    Then I select the valid status based on the current date.
    The I fill the table t_partnerdata TYPE BUS_EI_EXTERN_T.
    Then I execute the FM BUPA_MWX_BDOC_CREATE_MAIN to generate and send the BDoc.
    Below the part of the code to fill the table t_partnerdata.
    Thansk
      s_partnerdata-header-object = 'BusinessPartner'.
    n° du BP
      s_partnerdata-header-object_instance-bpartner = w_partner-partner.
    guid du BP
      CALL FUNCTION 'BUPA_NUMBERS_GET'
       EXPORTING
         IV_PARTNER                = w_partner-partner
        IV_PARTNER_GUID           =
        IV_PARTNER_EXTERNAL       =
       IMPORTING
        EV_PARTNER                =
         EV_PARTNER_GUID           = v_partner_guid
        EV_PARTNER_EXTERNAL       =
         ES_BUT000                 = s_but000
      TABLES
        ET_RETURN                 =
        ET_PARTNER                =
      s_partnerdata-header-object_instance-bpartnerguid = v_partner_guid.
    type de tâche (mise à jour)
      s_partnerdata-header-object_task = 'U'.
      s_partnerdata-central_data-common-data-bp_control-category = s_but000-type.
      s_partnerdata-central_data-common-data-bp_control-grouping = s_but000-bu_group.
      s_partnerdata-central_data-common-data-bp_centraldata-searchterm1 = s_but000-bu_sort1.
      s_partnerdata-central_data-common-data-bp_centraldata-partnertype = s_but000-bpkind.
      s_partnerdata-central_data-common-data-BP_ORGANIZATION-name1 = s_but000-name_org1.
      s_partnerdata-ZZ1RO_DATA = t_data_statut.
      s_partnerdata-ZZ2RO_DATA = t_data_canal.
      APPEND s_partnerdata TO t_partnerdata.
    création d'un  BDoc de mise à jour dans R/3 du statut distributeur et canal de rémunération
      CALL FUNCTION 'BUPA_MWX_BDOC_CREATE_MAIN'
        CHANGING
          CT_BP_EXTERN = t_partnerdata.

  • 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

  • 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.

  • Error CHARVAL_MSG  Bdocs

    I am having some errors in smw01 on CHARVAL_MSG Bdocs ,
    the error states :
    SMW3  Technical error occured: Service , BDoc type OBJCHARACTERIS, Message Object already subscribed. Bulk
    SMO8 Service that caused the error: CRM_CHARVAL_MSG_MSA
    Error overview :
    BDoc State     E01
    BDoc State Description     Technical error (incomplete)
    BDoc Type (Generation Name)     CHARVAL_MSG
    Flow Context     MO1
    Flow Context Description     mBDoc Notification
    Send date     05.04.2007
    Queue name     CSACHARVAL457EE6B4DE
    DDIC type of classic part of BDoc     /1CRMG0/CHARVAL_MSG
    DDIC type of extension part of BDoc     CRMT_MKTPROF_MBDOC_CHARVAL_TAB
    BDoc Message Identifier     4614FE01FA40202C00000000A7690A0E
    Root ID     457EE6B4DE8E006800000000A7690B0B
    Can anybody help me on how to resolve this issue or can anybody explain where I should start in order to verify what caused the error ?

    Hi Wim,
    Currently I am facing the same issue, could you please let me know how you resolve the issue.
    Regards,
    Harish.

  • BUPA_REL bdocs are in E04 state

    Hi all,
    Bdocs are failed with error text "Function G1 does not exist". and information error is "No extension entered" .Details are as follows
    Bdoc type : BUPA_REL
    State : E04
    Queue name : R3AD_CUSTOME0004700005
    checked SMQ1/SMQ2 transactions, no queues are there.
    Help me how to clear those bdocs.
    Thanks & Regards,
    P.V

    Hi,
    Check if another Bdoc BUPA_MAIN is in green.
    If not, then request download the BUPA_MAIN for the customer first and then BUPA_REL.

  • CRM Middleware Object extensions

    Hi All -
    Can someone send me the "CRM Middleware Object extensions for custom Bdoc developments/Bdoc Modeling" book and any stuff on Business Transaction Events (BTE)?
    TIA,
    Aarthi.

    Hello Davy,
    please do not request documents to be sent via Mail. Have you read Links to CRM Documentation.
    Regards
    Gregor

  • Tutorial about how to extend the bdoc activity_object with own segments

    Hi!
    We had lots of problems with the things described in this subject here.
    Worse: We can't solve the problems and now we're going another way for our mobile-crm-solution...
    Are there any how-to-guides or tutorials anywhere online about how to extend standard bdocs with own segments?
    How-to-guides about mbdocs and sbdocs and how they are playing together?
    Thanks a lot in advance.
    Best regards,
    Ingo

    Hi lngo,
    I would suggest you use EEWB to enhance the Activity object. There is the provision of enhancing the Mobile sbdocs directly from EEWB.
    This way you don't have to spend lots of efforts in developments.
    When you create extension in EEWB, for input fields select the appropriate values mention below:
    EEW Bus. Obj: BUSINESS_ACTIVITY
    Extension Type: ACTIVITY_H
    On Next Screen enter screen title and press continue.
    On Next screen select 'Business Activity' and continue.
    Enter the fields required on next screen and continue.
    Further on next screen define if fields should be releavant for header, item or both.
    and on the next screen select 'Mobile' so that sbdocs are accordingly modified.
    Best Regards,
    Pratik Patel.
    Reward with points if it is of any help to you!

  • BDoc Structure

    Hai ,
    I have some queries related to BDocs.
    Can we Edit BDoc messages, If it is possible..please let me know the process?
    and What is the structure of BDoc.
    Regards,
    Raju Thatipally

    HI,
    Components of BDoc messages (or simply BDocs)
    To support this flow infrastructure the BDoc messages are composed of:
    Exactly one message header;
    A list of message receivers (Outbound processing);
    An error segment, e.g. a list of validation errors;
    A message body;
    A message extension (mBDocs only) - this extension is supposed to hold the transaction data, whereas the classic part (message body) shall only contain fields used in the receiver determination by the replication component;
    A list of root IDs for each receiver (may be empty);
    A list of receiver specific error information.
    CRM Business Document Modular ( Bdoc)
    The CRM Business Document Modeler (BDoc Modeler) is a tool used for modeling business document types (BDoc types). The BDoc Modeler allows you to model the following classes of BDoc types:
         Messaging (mBdoc)
         Synchronization (sBdoc)
         Mobile Application (maBdoc)
    u2022        Messaging BDoc types (mBDoc types)
    A Messaging BDoc type is used by CRM server applications. mBDoc type is mapped to a sBDoc type through adapters that are processed in the CRM server. The segment structure of a mBDoc type is not mapped to database tables. Therefore, a mBDoc type does not contain parameters, joins, and where clauses.
    u2022        Synchronization BDoc types (sBDoc types)
    A synchronization BDoc type is used to exchange data between the CRM server and mobile clients. Therefore, this BDoc type is processed both in the CRM Server and mobile client.
    u2022        Mobile Application BDoc types
    A Mobile Application BDoc type is used by CRM Mobile Applications and is processed in the mobile client. The segments of a Mobile Application BDoc type are mapped to table(s). There are two classes of Mobile Application BDoc types, Read only and Modifiable read.
    T-Code for creating the Bdoc--SBDM
    Regards
    Srinu

  • Adobe cloud tries to load addon which I have deleted in Extension manager

    when Adobe Cloud starts it tries to load an application (Edge FX lite) that I have deleted in Adobe Extension Manager cc. I get the error message ' unable to install the addon EdgeFX lite  error 603. How do I stop this?
    Also in Adobe Exchange in 'My Stuff'  there are showing addons which I have removed in Adobe extension Manager cc which I would like to be removed from this listing as I will never use them, but if I right click to uninstall I fail to get rid of them.

    Apologies, without making the assumption that you are signed in
    1) Go to https://creative.adobe.com/addons/
    2) In the top right hand corner select sign in and enter your Adobe ID and password
    3) Once logged in, on the center of the screen at the left hand side, select the link 'All your purchases and shared items'
    4) You will then be taken to a page that is the equivalent of your My Stuff panel.
    5) You can then install individual add-ons/extensions.
    Kind regards,
    Lea

  • Mini DVI to VGA Adapter w/ extension cable

    I would like to get a Mini DVI to VGA Adapter for my macbook. Does anyone know how it would would if I used it with a VGA extension cable. Any experience will be helpful

    Depends on how long the cable is, and if it was of sufficient quality for computer use. The higher resolutions require better quality and shorter cables. You may get some signal loss for long cables. A standard monitor cable that comes with a computer monitor should be fine, but what kind of length extension cable are you talking about?

Maybe you are looking for