CRM Middleware - BDoc Errors

Hi,
We are using SAP CRM 3.0 and we have many Bdocs with error state for a quite long time. i.e. 2006 with different Bdoc types.  If we want to clear all these Bdocs what are the necessary steps need to perform in this regard.
Can we reprocess these Bdocs or need to be deleted?  I both cases what is the right way to do?
Please guide in this issue.
Thanks,
Rao

Hello Rao,
Reprocessing the BDocs might cause inconsistencies sometimes.
If you do not need these BDocs,its better to delete these old ones.
For this you can schedule a job who's name is smo6_reorg2 in txn:SM36.
You can specify the date range of which Bdocs have to be deleted.
Hope this helps!
Regards,
Shanthala Kudva.

Similar Messages

  • Middleware BDOC Error- Parameter I_IBASE is not set

    Hi All,
    In our system, when a CRM Sales Order transaction is replicated from CRM to ECC6 and completely processed in ECC 6.0
    through Invoice, the CRM Middleware receives a BDoc that is in error with message Parameter I_IBASE is not set and the
    result is the Document flow is not replicated to CRM transaction. I could not find any relevant OSS note or solution for this
    problem. Could you let me know what is the solution for this problem. Please explain the steps to fix this error.
    Thanks in advance.
    --R D

    Hi,
    We have experienced the same error; however we have not found any solution.
    Has anyone experienced with this error found a solution?
    Brent

  • CRM Middleware - BDOC Class

    Hi All,
    I am creating a new BDOC from the transaction SBDM. By default the selected BDOC Class is 'Messaging'. I want this to be 'Synchronization ( Write )'. But this is disabled. In fact all the radiobuttons for the BDoc class is input disabled.
    Can anyone please let me know what could be the reason for this?
    Thanks,
    Shankar

    Hi Shankar,
    Can you please help me with the step by step procedure to create Bdoc. It would be great help from your side. you can also send in some document to [email protected] in case you have any.
    Thanking in Anticipation.
    Regards,
    Amit

  • CRM Middleware Generation Errors

    Hello Experts,
    There are few errors within transaction SMWP:
    1. One error on ATTACHMNT_WR object with description "Generation error REPL_TEMPLATE_DEPENDENCY"
    2. There are few other errors with message "Generation error REPL_TEMPLATE_SUBCHECK"
    3. There are few other errors with message "DDic error for dependent replication objects of publication Complaints and Returns (by Partner Function and Pa"
    4. One error with message "RO MSV_CMP_WRITE: Could not determine generated name of LOOKUP TABLE MCMRRL"
    Could you please let me know how to proceed to fix these errors?
    Thank you,
    Benoî

    Hi Benoit,
    Note 951826should help here. The first step must be to run
    the report in this note. If you still gets the issue with
    REPL_TEMPLATE_DEPENDENCY, then please confirm that we can run the
    report on the system. You will also need to tell what name you
    saved the report as.
    Afterwards, generate
    in the following order of generators for repl. object ATTACHMENT_WRITE
      a) REP_GET_RECEIPIENT
      b) REALIGN_CALC_RESP
      c) DEPENDENCY_REALIGN
    Then generate all the ATTACHMENT_WR repl.obect.
    This will usually eliminate some of the other generation errors also.
    Best regards,
    Brian

  • How to find the old BDoc errors in CRM Middleware

    Hi,
    Can we find the error BDocs in the past. Please do let me know the way to find out.
    e.g. I want to find 3 months prior to the current date.
    Thanks and Regards,
    Ramana Rao.

    Hi Denis,
    Thanks for the update and I have checked this for the older date.
    Is there any way to find out why a material is not replicated to the CRM from ECC.
    I am not able to find any BDoc error (any state of the BDoc) with ref to the PRODUCT_MAT.
    Our main issue is some of the materials are not replicated and some of them don't have the
    descriptons.  As a first step of action we pulled the data from ECC to CRM as a request download but want to investigate the reasons for this.
    Secondly there are some changes done at the product hierarchy or category levels (reorganize)
    in this case what kind of issues we might come across?  Is there any action list that we need to do at the time of hierarchy or category changes to the Material master in ECC or in CRM.
    Kindly share your inputs.
    Thanks and Regards,
    Ramana Rao.

  • Middleware Services - CRM Batch Program that will auto-reprocess Bdoc error

    Hi Experts,
    I would like to find out the SAP CRM batch program that can be use to auto-reprocess BDOCs errors. Any ideas?
    Thanks alot~!

    Look at the transactions
    SMW20 & transaction SMW3WD.
    You might be able to schedule those.
    Take care,
    Stephen

  • Initial Load of IS-U business partners to CRM - bdoc error

    Hi Gurus,
    i try to do an initial download from R/3 IS-U to CRM. Several objects from customizing have already been downloaded successfully. When downloading the business partners i get a bdoc error message for every single BP saying that
    'business partner role MKK is not available' Number R1206
    I figured out that the business partners in IS-U do have that role 'Contract partner' (which is technical 'MKK') and that data is maintained there. I also checked CRM and figured out that a business partner role 'contract partner' is not available there.
    Should i create it manually?? It is nowhere mentioned that a CRM role 'contract partner' should be created manually. Shouldn't the middleware do that? I found a document on service marketplace called 'IS-U specifics on the setup and load guide for the business partners' where i can read:
    'Sold-to-parties in CRM are replicated as contract partners in the OLTP system and vice versa'
    Does that mean that this mapping of roles is hardcoded? Is it customizeable? Does somenone know where to customize the mapping of business partner roles?
    Thank you
    Edited by: sapgipsy on Mar 19, 2010 4:21 PM
    Edited by: sapgipsy on Mar 19, 2010 4:22 PM

    Looks like as if you haven't activated the IS-U specific FM "COM_BUPA_MWX_BPS_FILL_ISU" in the BP middleware framework where the conversion between the IS-U role "MKK" and the CRM role "CRM000" takes place:
    Check via SM30 table com_bupa_call_fu in the IS-U system if the above FM is activated.
    Regards,
    Alexander

  • CRM middleware replication, Bdoc modelling ......

    Hello,
    I am currently on to CRM middleware, ........ I need to do some work related to replication of data from ECC to CRM, Bdoc modelling, error handling etc.
    I actually went thru the posts, but could not quite get the clarity.
    Can anyone pls let me know where to start..... to get a good underatanding of CRM middleware , any documentations on CRM middleware would be of great help.
    Thanks a lot !!
    Veena.

    Dear Veena,
    To get a good understanding of R/3 and CRM master data replication, the SAP best practices
    C71- Connectivity
    B01- Generation
    B09- Customising Replication
    C01- CRM OrgModel
    C03-Master and Transactional data replication
    will help you a lot in real time process. For basics & fundamentals, you need to go thru the CR500 and CR550 which can really help you.
    About error handling, better you search the SAP NOTES in CRM Middleware section.
    But for your client specific scenarios, you should again post threads on SDN with proper requirements.
    Thanks&regards,
    kalyan

  • Bdoc Error: PRODUCT_SRV while download Customizing Objects from ECC to CRM

    Hello,
    we have tried to download Customizing Objects from ERP to CRM we getting Bdoc error PRODUCT_SRV
    Please any help us in replicating customizing objects ECC6.0 to CRM7.0 Ehp1.
    Bdoc Type:PRODUCT_SRV
    Thanks,
    adi

    Adi,
    Where do you get the erorr? If you're downloding PRODUCT_SRV, then this is not a customizing object. Please check for related inbound and outbound queues in CRM and ECC for errors. Please also check SMW01 and see if you have any BDoc's in error. Give us the full error text of any errors found.
    If you get the problem with customzing objects, please let us the object name(s). Is it just one object or all customizing object?
    Best regards,
    Brian.

  • Bdoc error in SMW01 When Loading Materials into CRM

    Hi,
    We have recently done a system copy of our Production System to our Test System in R/3. We are now in the process of loading the Materials into our CRM 2007 Test System from the newly updated Test System in R/3.
    However, when loading the objects into CRM we are getting the following BDoc errors in smw01:
    Value X02 is not permitted for attribute Product Group 3 Value X02 - X09 is not permitted for attribute Product Group 3
    Area: COM_PRCAT
    Number: 20
    We have loaded the object DNL_CUST_PROD1 prior to the load of the MATERIALS object
    Does anyone know how this issue could be resolved?
    Thanks,
    Jonathan.

    Hi, this error refers to tax customizing so you should check what assingments you have in R/3 and then replicated on CRM.
    You can use transaction CRM_TAXCUST_VALIDATE to check the tax errors both in customers and materials.
    Then, according to the missing entries you will see on the transaction I told, you shoul check in R/3 tables TSKM and TSTL (used for materials).
    In table TSTL you have all the customizing made on R/3 transaction OVK1 and in table TSKM you´ll find the customizing made on transaction OVK4.
    The entries made there for your country should be the same ones made in CRM. The customizing path is the following:
    SPRO>CRM>Basic Functions>Taxes>Basic Settings>Tax Types and Tax Groups>Assing Tax Groups to SAP ECC Tax Classifications (Products)
    Here you have to enter the combination of:
    COUNTRYTAX TYPETAX GROUPTAX SEQTAx CL (which you should be able to fullfill after checking the R/3 tables I´ve told you..
    Please let me know if it helps,
    Regards,
    Lorena

  • Crm middleware concepts(BDoc,queueing,mapping)

    Hi getting trained in CRM ,  Can some one send me any documentation related to Middleware of CRM, How BDOcs work,how they are mapped...
    thanks in Advance

    Hi,
    depending which CRM release you want to ues please check these links:
    SAP CRM 5.0
    http://help.sap.com/saphelp_crm50/helpdata/en/c3/95fc381478ab6fe10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_crm50/helpdata/en/aa/ac8d420eb8173be10000000a155106/frameset.htm
    SAP CRM 4.0
    http://help.sap.com/saphelp_crm40sr1/helpdata/en/c7/95fc381478ab6fe10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_crm40sr1/helpdata/en/9e/ef6e59c0b7490c8358d7d75ed2b7fd/frameset.htm
    best regards
    Carsten

  • Processing BDocs Errors in the background

    Hi,
    I was wondering whether the following is possible.
    We currently have BDocs errors in SMW01 on a regular basis.  This is because our users are opening the BP record in CRM and R/3.  There the BDoc error will have a message saying that the business partner is currently being processed by XXXX.  We can reprocess these BDocs and they are processed successfully.  What we would like to do is process these BUPA_MAIN BDoc errors in the background so we don't need to go into them manually.  I understand the program for transaction SMW01 is RSMW_SHOW_BDOC.  Has anyone ever taken a copy of this program and modified it so that it can process the above BDoc errors automatically in the background?  We are looking into this as our business process allows the user to launch a record in both CRM and R/3.  (Don't ask)
    Anyway if anyone has done anything similar - any tips would be much appreciated. 
    Thanks in advance.
    Regards
    JoJo

    Hi Jojo,
    I have not done anything similar but can point you in right direction.
    You can refer to class cl_smw_mflow which handles the middleware for messaging bdoc's.  You can write a bespoek program from scratch with some selection parameters and process the messaging bdocs by looking at the status of bdoc's. There is a function module 'SMW3_MFLOW_QPROCESSMBDOC' which allows to process the bdoc's by passing the header information.
    You can read the status of bdoc's & other header infromation from table SMW3_BDOC.
    Hope this helps.
    Surendar

  • SAP CRM  Middleware flow from R/3 to CRM

    hi
    I am new to CRM middleware   I have some doubt about the replication from the R/3 to CRM.
    I have some 4 basic questions Kindly help me out
    1.in initial  down lode how to know which object for which requirement? There is any list like these objects for this one?
    2.when the initial download have to use and when the delta down lode have to use?
    3.object creating is preferable option or not if yes in which condition we have to create the objects?
    4.what is the difference between   customizing objects and business objects?  and when we have to use which object ?
    wiht Regards,
    prakesh..!

    Hi Prakesh
    Happy to hear that my answers were useful. Hope this new will solve your problem.
    So let's reply to your new questions.
    1)  Yes it is the delta download. This means that you have already triggered the initial download. Now all changes or new creations are replicated into the CRM system. I do not suggest this approach. This is usually used when you have no other chance because this process is complex and very time consuming. I would suggest checking the BDoc before proceding with degugging the queue. Go to transaction code SMW01. Filter on time (when you made the change). You will find bdocwith a red or yellow traffic light. This means that data have been not processed in CRM system. You usually have an error message (just select the BDoc from the list and click the red button in the toolbar) attached to the BDoc that is explainatory of the error. Correct the error and reprocess the BDoc (there is a proper button).
    2) To debug the queue go to transaction code SMQS and SMQR and deregistrate inbound and outbound queue in the CRM system. After you do this, apply the changes to the customer. You will find an inbound queue in transaction code SMQ2. Select the queue and click the last button in the header toolbar. You will process the flow in debug. Remember to register the queue when this is no more necessary otherwise you will have a mess in the system.
    3) if you create new customer in CRM system, this are automatically replicated in the backend system basing on the scenario set. No additional tables are created. All the changes applied in the CRM system will be replicated in the backend with the same process except the Bdoc that are really CRM specific.
    Hope this help you.
    Regards,
    Fabrizio

  • Using SAP PI instead of CRM Middleware

    Hi experts,
    Is it recommend to use SAP PI instead of SAP CRM Middleware.
    If yes how can I do that.
    I have read in forum requests that it can be implemented by using iDOC instead of BDocs.
    I need a technical guideline how data (eg. Business Partner Data) can be tranferred from CRM to other ERP System.
    Thank you for help.
    Greetings
    Mario
    Edited by: Mario Bauer on Jun 22, 2010 9:24 AM
    Edited by: Mario Bauer on Jun 22, 2010 9:28 AM

    Hi!
    SAP PI itself is a middleware Product but very roboust and capable enough to integrate any system to any other system, either it is SAP or Non-SAP. And there are two ways to integrate other ERP System to SAP CRM using SAP PI.
    1. SAP PI will receive the message from back end ERP system & convert it to the XML format. SAP CRM receives the message using the Middleware XIF adaptor and convert the incoming XML Messages in the BDocs and the BDocs upload the data in the SAP-CRM Data base.
    2. SAP PI will receive the message from back end ERP system & convert it to the XML format. SAP CRM receives the message and using the Functional Module convert the data into the  BDocs and the BDocs upload the data in the SAPCRM Data base. In thsi situation, you need an expert ABAP Consultant to write the accurate functional Module.
    The data inside the SAP_CRM System always transported in the BDocs not in Idocs. It is the BDocs data containers which transport the data from CRM Middleware to CRM Database and CRM Database upto CRM Middleware.

  • Bdoc error : Plant IT01 is not assigned to any location

    Hi Experts,
    I have downloaded the Plants from r/3 to CRM [7.0] using object DNL_PLANT through /nr3as. I have checked the entries in /nCRM_LOCMAP, all plants are downloaded to CRM except IT01 & MS01.
    While downloading MATERIAL from r/3 to CRM, i am getting the following bdoc errors
    Plant IT01 is not assigned to any location
    Plant MS01 is not assigned to any location
    Since these do not exists in /nCRM_LOCMAP, i can see that i am getting this error. I have re downloaded DNL_PLANT & checked the status of completion as green. Still these two particular plants are missing.
    Also, when i checked the material [for which i am getting the bdoc error] in r/3, i can see that plants have maintained for that material.
    Is there anyway, to fix the issue?
    Appreciate if someone can suggest a solution on this.
    Thanks & Regards,

    Hi Chandrakant,
    There are no filters set for this object. Also, i took your suggestion, & created a BP with role plant & maintained the details in  /nCRM_LOCMAP. Reprocessed the bdoc's, & i am done, worked finally.
    Thanks a lot for your valueable solution. I have another issue in bdoc error which says " Check-digit in GTIN 00001216000000 (unit of measure KG) is invalid"
    This is the only one i am getting in /nsmw01 & almost in all the bdocs erros. I did search online, but have not got any suitable solution on this.
    Can you help me resolving this issue also?
    Thanks & Regards,

Maybe you are looking for