Error BDoc's in CRM

Dear Experts,
I have created a BP in CRM 4.0 successfully but when I verified Outbound BDoc's Using SMW01 I Found Few Error BDoc's Saying :
Messages for business partner 0000111023:
Make an entry in all required fields
But As per my Knowledge I filled all the required fields but i'm wondering how come this Error Occured.
I request you that, What are the Steps I need to proceed to Resolve these Issues.
Points will be awarded for at least helpful answer.
Srujan

Hi,
Also the another way to find what the R/3 is looking for is:
-> Create the customer with the same data as you entered in CRM, if R/3 is looking for anything different then it will prompt you in R/3. this way you can find ouot what is it looking for exactly.
Hope this helps,
Karuna.

Similar Messages

  • How to clear Mapping Error Bdocs

    Hi,
    We are getting Mapping error bdcos in SMW01 if there is an error while data is downloading from ECC to CRM. We are fixing the issue by looking at the BDOC error description. We are unable to re-process these error bdocs after fixing the issue as it is not allowing. To fix the issue we are re-processing the corresponding queue in SMQ2 and queues are processing successfully. the problem is these error bdocs are sitting in data base and we want to clear them.
    Can any one please let me know how we can re-process these kind of mapping error bdocs?
    Thanks,
    Rajinikanth

    Hi ,
    Below logic may be useful.
    SELECT bdoc_id
                 bdoc_type
                 bdoc_state
                 snd_date
                 snd_time
                 qname
             INTO TABLE lt_inque
                  FROM smw3_bdoc
                  WHERE bdoc_type IN s_bdoc
                  AND qname IN s_qname
                  AND bdoc_state IN r_err.(r_err = E01,E02.....E09)
    LOOP AT lt_inque INTO ls_inque.
      DATA:lv_bdoc_id TYPE smog_tid.
      CLEAR lv_bdoc_id.
      lv_bdoc_id = ls_inque-bdoc_id.
      CALL METHOD cl_smw_flow=>restart_processing
          EXPORTING
            bdoc_id            = lv_bdoc_id
          EXCEPTIONS
            bdoc_not_found     = 1
            bdoc_locked        = 2
            bdoc_was_processed = 3
            internal_error     = 4
            OTHERS             = 5.   
    ENDLOOP.
    Thank you,
    Gangadhar.S

  • Mass Delete of BDocs in SAP CRM system

    Dear SDC team,
    We like to hard delete some BDocs which are hanging in the txn SMW01 in CRM 5.2 system.
    As of now we do not see a option to delete these unnecessary BDocs,  as they are in Intermediate state (I04) .
    Please tell us if there any standard report which can be used to do Mass Delete of BDocs in SAP CRM system.
    Or Is there any Tables which need to be emptied .
    Please help ..Points would be rewarded .
    Regards
    Ritvij

    hi
    Concerning the BDOCs without error, there is a job that you can schedule to run daily that cleans the BDocs processed without errors from the database.
    The details of this job are:
    Job name: SMO6_REORG
    Job program: SMO6_REORG
    Variants: SAP_MW_REORG
    Trace data (days to hold): 7 (recomended by SAP)
    Trace log (days to hold): 7 (recomended by SAP)
    Period: daily.
    Besides i should tell you I looked through Help and there are no best practices that I could find.We went through this process at one of my clients. They had 40,000 pluserror'd BDOCs and thousands of processed ones. The Middleware guycreated a program to delete the BDOCs that were over 2 months old andhad completed successfully to prevent the further build up of theseBDOCs. SAP Help says they are marked for deletion after they areprocessed, but it doesn't look like they get removed as wanted..
    From SAP Help:
    Deleting Processed BDoc Messages
    1. Processed BDoc messages cannot be archived.
    2. BDoc messages that have been processed successfully are marked fordeletion.
    Procedure
    To delete processed BDoc messages choose Architecture and Technology >Middleware > Message Flow > Delete Processed BDoc Messages
    The messages you selected will be deleted.
    and regarding deletion of non errant Bdocs
    Usually there are two schools of thought on this issue:
    1) Make the hard decision to go back to the beginning and startcorrectly all the things that caused these to error out (bank codes, taxcodes, config on R/3 side but not on CRM side, etc.). Then these can bereprocessed and everything will be brought up to date in the system.This takes time and may neccesistate hiring a Middleware resource for ashort term to help go through the process. The big part of this isidentifying those config items that are out of synch between R/3 andCRM.
    2) The other way to handle these is to go through the errors quickly,gain an insight into the cause of the errors, and correct the bigthings. Delete all the old error'd BDOCs and then bring down all the bigitems again - BPs, Sales orders, products, and so forth. This is muchfaster process, but has it's own risks and problems vs Option 1 above.As these items come in, if you haven't fixed the config problems, theywill error out again. It's a fix and move - fix and move process. In theend you may have some missing data still, but the time commitment ismuch lower. You just need to get leadership's buy-in to this process.
    Those error'd BDOCs are a problem and point out all the datainconsistencies that exist in the system. They are also a drag onperformance and need to be processed one way or another. After that,keeping them under a "1000" number is imperative. If you don't, theproblem will get away from you again.
    finally Some Transaction Codes that people might find useful for working withBDOCs:
    SMW01 Display BDocs
    SMW02 Display BDoc Summary
    SMW02A BDoc Messages: Show Top N Errors
    SMW03 Show stats of unproc. BDoc messages
    SMW10 Bdoc structure chekker
    SMW19 Copy BDoc and process
    SMW20 Process BDocs
    SMW3EX1 Flow Carrier Example
    SMW3FDBDOC Maintain Bdoctype dep. Flows
    SMW3FDCUST Maintain Customer Flows
    SMW3FDIF Maintain Bdoctype dep. Attributes
    SMW3FDSTD Maintain Standard Flows
    SMW3RBM Convert BDoc Messages to XML
    SMW3RC BDoc Message Error Recovery
    SMW3RCW BDoc Message Error Processor
    SMW3STOP1 General Stop Configuration
    SMW3STOP2 BDoc Type Stop Configuration
    SMW3WD Watchdog for failed BDoc Messages
    SMW3_00 BDoc Type Settings
    SMW3_GSB Generic Bridge Activation
    SMW3_GSB2 Generic Synch. Bridge Configuration
    SMW3_GSB_SHOW Display Generic Synch Bridge Config
    SMWMBSTATDISP BDoc statistics
    hope info will help your cause,i told all this coz before deleting the Bdocs complete understanding of the errant and non errant Bdocs is necessary,
    best regards
    ashish

  • ICI - How to display custom error messages in SAP CRM

    Hello,
    we are working on a custom Contact Center which interfaces with SAP CRM Version 7 with Enhancement Package over ICI.
    The basic call functions like accepting, hanging up, holding and retrieving are fully implemented and are working already.
    Our goal is to display error messages in the CRM so that clients know there is something wrong, for example why he can't be log in successfully (e.g. the telephony server isn't reachable).
    We already found the ICI Documentation file which provides us the CRM SOAP error codes and tried to send SOAP Fault messages, but never got
    them to screen.
    Please find an attached example screenshot what we mean exactly, reproduced by trying to make a call with CRM user while BCM CDT isn't
    running in the background.
    Regarding to this topic we've the following questions:
    - Is it possible to display custom error messages on the CRM or is this functionality limited to SAP?
    - Could you provide us some further information on how to use this feature exactly (implementation details?) and how the SOAP XML should look like to get it work?
    Thank you in advance!
    Best regards
    René Holy

    NewUser7 wrote:
    Please correct me if I am wrong
    I need to create an entity adapter and attach an error handler with the adapter? or can i handle that in the event handler itself. I coulnt find any api for handling errorsYou can do it both ways but since we are talking about event handler now, then in 9.x you need to extend com.thortech.xl.client.events.tcBaseEvent class for creating a event handler. In tcBaseEvent class there are various flavors of handleError method. So use that as per my note earlier and you should be good.
    HTH

  • Run Time Error in e-commerce crm 5.0 when creating new order

    Hi all,
    I am getting Run Time Error in e-commerce crm 5.0 when creating new order, shopping basket is comming , but while creating order , getting run time error.
    Thanks,
    Nagesh

    Hi nagesh,
    Are you able to resolve the issue. Please let me know the solution.
    I had started a thread with a same problem but in ERP E-commerce.  Points will be rewarded if you provide the solution in the thread below
    Re: Run Time Error in e-commerce crm 5.0 when creating new order
    Thank You
    Ram

  • Error in Workflow in CRM 2011

    A Workflow has been failing with the following error
    Workflow paused due to error: Unhandled Exception: Microsoft.Crm.CrmException: Cannot create the given type without the required parameters.
       at Microsoft.Crm.Workflow.Services.ExpressionServiceBase.CreateCrmType(WorkflowPropertyType type, Object[] values)
       at Microsoft.Crm.Workflow.Services.ExpressionServiceBase.EvaluateExpression(ExpressionOperator expressionOperator, Object[] parameters, Type targetType)
       at Microsoft.Crm.Workflow.Activities.EvaluateExpression.Execute(CodeActivityContext context)
       at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
       at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
    I am unable to open a step and it also gives the same message.  Does that mean I will have to recreate the workflow? 
    Thanks.
    JR

    Thanks ...This is a standard workflow and it happens in the step to send an email. In the body of the email,  a value of lookup field has to be displayed. That's where the error is occuring.  CRM does not give an error when the lookup
    field is added and the work flow is activated.  But once the worklow is activated and if I click on view properties in the step, I get an error.  Can a look up field be added?
    Microsoft CRM Error Report:
    Error Description:
    An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Error Details:
    Exception of type 'System.Web.HttpUnhandledException' was thrown.
    Full Stack:
    [IndexOutOfRangeException: Index was outside the bounds of the array.]
       at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapter.GetEntityProperty(ExpressionBase propertyExpression)
       at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapter.GetEntityPropertyForProperty(PropertySpecification property, String uiXmlName, String& slugInfo)
       at Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapter.PopulateEntityProperties(EntitySpecification entitySpec, EntityBase entity, String uiXmlName)
       at Microsoft.Crm.Web.Sfa.EntityForm.get_FormEntity()
       at Microsoft.Crm.Web.Sfa.EntityForm.ConfigurePage()
       at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    [HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    Other Message:
    Error Number:
    Source File:
    Not available
    Line Number:
    Not available
    Error Trace:
    Microsoft CRM Unhandled Error Details:
    Server Error in '/' Application.
    Index was outside the bounds of the array.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [IndexOutOfRangeException: Index was outside the bounds of the array.]
       Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapter.GetEntityProperty(ExpressionBase propertyExpression) +1496
       Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapter.GetEntityPropertyForProperty(PropertySpecification property, String uiXmlName, String& slugInfo) +34
       Microsoft.Crm.Application.Platform.WorkflowLibrary.WorkflowAdapter.PopulateEntityProperties(EntitySpecification entitySpec, EntityBase entity, String uiXmlName) +380
       Microsoft.Crm.Web.Sfa.EntityForm.get_FormEntity() +1101
       Microsoft.Crm.Web.Sfa.EntityForm.ConfigurePage() +994
       Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e) +106
       System.Web.UI.Control.PreRenderRecursiveInternal() +113
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4201

  • Internal error during pricing in CRM sales order

    Hi,
      While creating sales order i am getting following error in sales order
      Internal error during pricing.
      i am not understading what will be the cause of error
      currently working on CRM 7.0
    we have replicated all pricing condition types from ECC
    Thanks & Regards
    kishore kumar

    Hello kishore kumar,
    Tell basis Team to restart Java Instances.
    After that check in Sales Order. If you still get that error then download below objects in a Sequence.
    1. DNL_CUST_CNDALL
    2. DNL_CUST_CND
    3.DNL_CUST_PRC
    Regards,
    Rajendra

  • Error in BP for CRM

    Hello Community,
    After importing BP 6.0 for CRM 4.0, the Java iViews (e.g. Today's Activities or My Tasks) don't work. Instead we get an error like this:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sap/pct/crm/generics/context/CRMContextException.
    Exception id: 08:52_11/10/04_0004
    See the details for the exception ID in the log file
    The WAS and ITS iViews of the BP are running fine and the import log of the BP says the iViews are correctly installed.
    Thanks.
    Kind Regards,
    OR

    Hi Olaf,
    please see Java-iViews-Errors in BP for CRM and CRMContextException (here especially Michael Healey's reply).
    Hope it helps,
    Detlev

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

  • Error in Action when CRM Order is updated as Error from R/3 update

    Hi,
    Currently we are in CRM 6.0 SP04 and R/3 4.7 SP14
    Process:
    1) B2B user places order through ISA
    2) Order gets replicated R/3 from CRM through middleware (Scenario A setting)
    3) If there are any changes in order on either side, changes gets replicated.
    Requirement:
    We have a requirement from business to trigger workflow in CRM if order is in error. Following are the possible scenarios
    1) Error while saving order in CRM
    2) No errors in CRM. However, Order will get error in R/3 because of inconsistent configuration or master data between CRM and R/3. The BDOC will be green while replicating to R/3 and acknowledgement to CRM.
    3) BDOC status is in error
    Solution approach:
    We created an action to trigger event when order status set to "Contains error". The condition for Action trigger are Order have error free flag NE X(BUS 2000115 )  OR Status = I1030 OR status = I1056.
    Issues:
    1)     Scenario : Order is successfully create in CRM without any error. Order gets replicated to R/3 u2013 BDOC is green. However, the order gets error status in R/3 because of inconsistent configuration or master data. The acknowledgement BDOC updates the error status in CRM. However, Action does not get trigger when the order is updated as Error from R/3.
    Pls advise possible solution and also suggest any other way to achieve the required functionality to generate workflow for CRM order updated as Error from R/3.
    Regards,
    Anil Rithe

    Hi Anil,
    Try this, implement ORDER_SAVE BAdI.  This BAdI is triggered every time an order is saved, you could put in your logic to see if the order has errors, if yes trigger your workflow.
    I haven't tested but this should work for your case when the crm order is set to error status after the replication to R/3(the BDOC scenario).
    This may not be the most efficient method of doing, but this would definitely work.
    Make sure you use proper checks at the beginning  of your order_save BAdI implementation as this badi would get executed on save of every 1-order object.
    ~Kiran

  • Error in replication from CRM to ISU

    Hi..
    I am trying to replicate the Business Partner (BP) from CRM to ISU or R/3 but it does neither replicated nor comming in RFC Queque. When I checked in BDOC message , SMW01 it shows an error like
    <b>Could not determine module name: BUPA_MAIN GENKEY: REP_GET_RECIPIENT F MSG 46BA50CFA0AA318AE10000000AD5920D SAPLSMOH_SERVICE_WRAPPER </b>
    I would appreciate for your quick input with the reward points.
    Regards
    Shashi

    Hi Shashi,
    Check SAP note 455591. Incomplete middleware generation would cause such problems during replication. hope this helps.
    regards,
    Sudeer.

  • Bank Key giving error for ECC to CRM replication

    While replicating BPs from ECC to CRM, the following error shows in the BDoc:
    "Bank XXXX-YYY for Country ZZ does not exist"
    To the best of our understanding, the Bank (branch: XXXX-YYY) detail is not available in the CRM, but where to make in CRM or why should it not be replicated from ECC when the same is created in ECC in the first instance itself.
    Seek your guidance please.
    Regards,
    Tariq

    Dear Leon,
    Thank you for your advise and after going through the same I have the following to share with you:
    Make sure that the Bank Key,Bank Key - FI01 Bank master creation is maintained .....
    >>>>>>>> Yes maintained.
    After maintaining it,try to replicate using PFAL.
    >>>>>>>> For replicating what "object type" should I choose from the list, though i couldn't find any of the drop down entries having "Bank" or likewise. hence what object type to select for replication?
    And check in BD64 whether the distribution model is maintained correctly.
    >>>>>>>> I checked but couldn't find the mention of any bank in the  model views available there related to HR / CRM:: "HRALECRM" or "ZHRCRMWFM"...........hence kindly advise where and what for should I look for?
    "................., it is possible that bank data is not distributed, because the system to which the bank data is to be sent is not available or the settings in Customizing are incomplete or incorrect. Check SPRO
    >>>>>>>> Checked, system is maintained.
    Thanks!
    Tariq

  • Equipment Replication Error from ECC to CRM

    Hi,
    We are trying to replicate the Equipments form ECC 5.0 to CRM 2007 facing some error in CRM like inbound queue is not generated and our queue generated with status SYSFAIL error massage is u201CBAPISTRUCTURE_NAME_UNDEFINIEDu201D. I checked in ECC out queue status is STOP. We are done the Material Master and Customer Master Data Replication form ECC to CRM successfully. Activated the Equipment related objectives and done the Initial Load we are facing the problem for Equipment.
    Please advise me
    Thanks in advance.

    Hi,
    In the SAP Help of Equipment Replication from SAP ECC to SAP CRM following are prerequisites:
    Integration
    The initial download of data is triggered in SAP CRM and is executed by middleware. Uploads and delta downloads take place automatically when data is changed in SAP CRM and SAP ERP respectively.
    To use this function you require the following releases, or higher:
    ■SAP CRM 7.0 (with active middleware)
    ■SAP enhancement package 4 for SAP ERP 6.0
    You can have a look at the full help link @
    http://help.sap.com/saphelp_crm70/helpdata/en/46/cc79505ec61525e10000000a114a6b/frameset.htm
    Can you check the Bdoc Messages and mention the Error and the Status of the Queues of the Equipment Adapter Object EQUIPMENT.
    Hope this will help.
    Thanks,
    Samantak.

  • How to change the task type of bdoc in sap crm

    Dear CRM Experts,
    I am new to CRM. Want to know how to change the task type  of Bdoc from update to insert. I am gettind B doc error due to the reason that under object_task the entry is U , whereas i have to change it to I (insert).
    Pls provide deatil answer. Points will be given.
    Regards
    Rajat
    Edited by: Gurinder Pal Singh on Jul 21, 2011 10:17 AM

    Hello Rajat,
    Please provide us more information about the error you have and it's description so that we can help here arounfd here.
    thanks
    Willie

  • Sharepoint 2013 Online - error while setting up CRM integration

    Hi,
    we use Dynamics CRM 2011 on-premise and Sharepoint 2013 online and since last week CRM integration with Sharepoint stopped working. When I want to set up "Document Management Settings" in CRM administration I got an error
    "An error occured while loading the page. The url may not have been mapped in the Sharepoint server. Ask your system administrator to check the Configure alternate access mappings settings in Sharepoint central administration."
    But we use Sharepoint online, so I can't configure it.
    I think it is common issue after some Sharepoint update in last month, because I tested 2 instances of Sharepoint online with 4 instances of CRM on-premise (3 different versions of CRM 2011 and one last updated CRM 2013).

    Hi  ,
    According to your description, my understanding is that you encountered the error "An error occurred while loading the page. The URL may not have been mapped in the SharePoint server. Ask your system administrator
    to check the Configure alternate access mappings settings in SharePoint central administration" when you want to set up "Document Management Settings" in CRM administration.
    For your issue, please re-install the Microsoft Dynamics CRM 2011 List Component for Microsoft SharePoint Server 2010 and Microsoft SharePoint Server 2013:
    http://www.microsoft.com/en-us/download/details.aspx?id=5283
    Also you can follow the thread:
    http://social.microsoft.com/Forums/en-US/2430e529-1eaa-43c6-8958-f109abe86270/crm-2011-documents-on-sharepoint-online-an-error-occurred-while-loading-the-page?forum=crm
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

Maybe you are looking for