BDoc problem

Hi guys
I have a problem whereby all newly created transactions and BP's are displaying queing in SMQ2
I had a look at SMQR - Queues R3A* and CSA* activated
Bdoc State shows I02 ( Intermediate State ) for all my Bdcos,
Bdoc type is bus_trans_msg
Queue Name csa_order*
Im able to re reprocess these Bdcos successfully, I need to know what is causing this?
Seems like this has been happining since support pack upgrade
Ravi

Dear Ravi,
IF the queues are in STOP status, it means that they have got an explicit lock in there. So you need to release the lock from the transaction SMQ2, and activate the queues and I am sure these will get processed.
You may also see a Generic queue, like MASS* which would also be in STOP status, so before you activate the queues individually first you need to release the lock from the generic queue.
Regards
Sidd

Similar Messages

  • BUPA creation - yellow BDoc problem

    Sincere,
    I'm creating Business partner and partner is succesfull created in CRM, and also in R3, but BDoc won't go green. Status of the BDoc is SENT, Creator: R3RFC, Queue name: CSABUPA0000xxxxxx, no errors, everything seems fine except BDocs.
    I'm also getting Outbound queue R3AD_CUSTOME - Update BDoc status FAILED. BDoc not found.
    Please advise.
    Matej

    Hello Rohit!
    In SMQ2 I have series (400) meerly equal entries like:
    400  R3RFC        BAPI_CRM_SAVE                   R3AD_CUSTOME              20.11.2010  07:32:24  Update BDoc status failed - BDoc not found
    This relates to newly entered BP in the CRM system. When new entry happens, BDoc is sent to ERP (R3) system and BDoc is stil status yellow, although in SMW01  state is SENT.
    Sent to receivers (not all have confirmed)     BUPA_MAIN     mBDoc Notification 16.11.2010 13:35:00     CSABUPA0000980404     R3RFC
    CRM - transaction BP and customer is shown as created, ERP - transaction BP and customer is also shown as existing. The data is the same in CRM and in ERP.
    Case 1: crmm_bupa_map looks like this:
    http://www.shrani.si/f/b/bS/46nOEGgO/untitled.jpg
    If I hit Enter tab or refresh Queue, statuses disapears (printscreen: 1 are transformed to 0). I believe this isn't problematical, just reprocess.
    Case 2: In crmm_bupa_map ERP number is missing although I customer exist in ERP. What to do?
    Regards,
    M.
    Will check notes, but for now I believe that there is smth with bupa_map. How to reautomate it for future?

  • BP Creation - Yellow Bdoc Problem

    Hi ,
    I am using CRM Middleware for replicating business partner(BP) from CRM to ECC
    and material from ECC to CRM.
    BP and Materials are replicating well.
    My Issue is,
    while checking queues in SMQ1 (Outbound Queue in ECC Side), i am getting queues are pending also
    status as "SYSFAIL". SYSFAIL status is "Update BDoc status failed - BDoc not found."
    QUEUE Names are R3AD_CUSTOME, inside that queues 1000 entries are there.
    I tried to unlock the queues and activated, afterthat also queue status is "SYSFAIL". Then i checked in CRM side
    Transaction Code SMW01,
    while checking smw01 transaction, all bupa_main b-doc's displaying as yellow colour.
    Thanks in Advance,
    Ravi A

    Check Dumps and update terminations.
    try reprocessing one Bdoc so that you could immedietly see the issue. eithe from dump St22 or update termination SM13.
    regards,
    Dinesh.

  • CRM Datasource 0SVY_DATA_1 not visuable in BWA1

    Dear all,
    After expending a data source we cannot load data to the ODS. We expended data source 0SVY_DATA_1 with a z-field transaction number.
    In RSA3 this extra field is filled correctly. When loading to BW an error occurred during activating the ODS, RFC-error. Probably due tot a BDOC problem, cause when checking the BWA7, for this data source there is no BDOC name, and the data source 0SVY_DATA_1 can not be displayed, edit etc in the transaction BWA1.
    Can anybody help out?
    Regards Petra

    Hello Petra,
    did you solve this?
    I am having same problem ...
    Thanks in advance
    Aitor

  • Problem with BDOCS Business Partner CRM - PSCD(R/3)

    I have a problem with BDOCS (Middleware, Data Exchange Synchronization).
    I configured only Synchronization for Business Partner Type “2” Organization and “3” Group”(In the Initial Load).  However, when PSCD add or modify “Identification Number” (table : BUT0ID) for other types of Business Partner, for example type “1” Person, the BDOCS generate a update in CRM (inbound queue) specifically produced a show processes in PSCD, because the table  TRFCOUT progressively grow, and also in the outbound queues table.
    Do you have any idea what happen ??
    or if i can use a kind of filter to the Bdocs online??
    Because i only can filter the BDOCS in the initial load but not in the bdocs online.
    thanks in advanced

    Hi,
    Configuring the business partner integration from R/3 is done in the PIDE-transaction on the R/3-side and in the customer_main object on CRM-side. Simply enter the filter settings in the object, sync it with R/3, check your filter settings in table CRMFILTAB on the R/3 side.
    Grtz,
    Michael.

  • Problem in creating BDoc

    Hi Experts,
    I am trying to create BDoc in CRM through transaction SBDM but iam not able to select the options BDoc Class and Mobile Application Processing Type because they are grayed not in edit mode.what will be the problem.
    reagrds
    kishore

    And what output you wanna get?
    Are you saying that the execution never ends?
    If that is the fact then try to see what you have in dba_queues. You might already have that queue there, or your problem is in something else.
    Regards,
    Mike

  • CRM BDoc Modeler - Problem while creating a new segment

    Hi all;
    I have created a new BDoc type and wanted to add a segment. I imported a structure with some QUAN fields and a UNIT type fields. While activating segment, I got an error. I saw that the structure was not activated since I used some QUAN type fields and they were not assigned a UNIT type field. But the assignment was already done in the structure I imported. Is there a solution to use QUAN fields in segment definitions or what data element should I use instead of them?
    Thanks for your answers in advance;
    Hakan

    Hi all;
    I have created a new BDoc type and wanted to add a segment. I imported a structure with some QUAN fields and a UNIT type fields. While activating segment, I got an error. I saw that the structure was not activated since I used some QUAN type fields and they were not assigned a UNIT type field. But the assignment was already done in the structure I imported. Is there a solution to use QUAN fields in segment definitions or what data element should I use instead of them?
    Thanks for your answers in advance;
    Hakan

  • Middleware problem -Outbound queue is stuck in SAP R/3 system with message

    Hi Middleware gurus ,
    We are stuck with a serious issue . We are trying to download Business partners from SAP R/3 4.6c system to SAP CRM 5.2 system using CRM Middleware
    Previously we did a successful Initial download of 2 Business partners from SAP R/3 to CRM . Their BP numbers in CRM are 001 and 002 . The Delta load is working fine for the both the BPs which are already downloaded
    Now , the real problem is when we are trying to download a new Business partner . When we set the Filter ( BP no 003 ) in MW adaptor object CUSTOMER_MAIN and start the Initial load again , we see that the Outbound queue is getting stuck with message “STOP” .
    There are two queues generated in SAP R/3 system with names “MASS_CRM_CUSTOME” and “R3AD_CUSTOME” . The status for both the queues is “STOP” and when go for details it mentions “sapsuck ..SAPMSSY1 “ -Message no. SR 053.
    Even we checked the txn SMW01, the Bdocs message is "Recived ( Intermediate state) " for Bdoc type BUPA_MAIN.
    We really don’t as to why the Initial load worked fine with 2 BPs  and later when want to do more BP Initial Load the Outbound queue is getting stuck
    Also , by unlocking the 2nd queue “R3AD_CUSTOME” we are able to release it , but the first queue “MASS_CRM_CUSTOME*” is stuck
    Please help us urgently
    Regards
    Dinesh and Ritvij
    Email : [email protected]
    Mobile -+91=9704933315

    Hi Praveen and other Middleware gurus,
    We checked on this . Actually the RFC is used for connecting to SAP R/3 system.
    We also raised an OSS message on this and found a reply that in transaction CRMM_BUPA_MAP, we can map the required BP . But the SAP support guy recived an error received the error:
    An RFC link is not maintained in the Middleware
    Message no. CRM_BUPA_MAPPING051
    We have set the RFC link , but still the problem continues!!!
    Please help further..
    Regards
    Dinesh and Ritvij

  • Inconsistency in Bdoc sequence

    Hello,
    we added some z-fields to smokna1 and hence to capgen_object_write. We face problems with the distribution of the contents of the z-filds. Data entered on one client gets saved in the CRM Server but is not saved on other clients altough the data is in the bdoc.
    We found that the sequencial position of the fields of the bdoc is not continous.In the BDoc, the fields are in order till positon 91. Then it starts from 104.
    We generated the Bdoc automatically. Does someone know a way to change the sequence to be in order?
    Thanks
    Wiliam C.
    Message was edited by:
            Wiliam C. Haltenhoff

    Hi Kaushal,
    what Anusha posted today in her answer is right. We found this solution by chance. After removing the 'use map' flag in sbdm the sequence was in order and the bdocs were processed fine.
    In our tests we also found out, that the meta data on the clients has not to be generated again. Only by transporting the flag deletion to our QA-System it worked there also.
    Best regards.

  • Bdoc received but data not updated

    Hello,
    I am using CRM4.0
    I changed the customizing in table CRMC_ACT_DECOM to change values of field KV_DEKO.
    Then, I transported the modification usign R3AS4 to CDB.
    I can see that the table CDBC_ACT_JOURN is updated correctly with the new values.
    My problem is that I don't see the modification on MSA. When I try a select on this table, i just see the old values.
    It tried to do an extract on replication object CRM_DNL_ADOCCH for my site, the bdoc is well sent and I can see the new data in it, but even after synchronisation, the data in MSA is not updated...
    What am I missing ?
    (the strange thing is that I didn't have this issue in dev environnement)
    Thanks in advance,
    EDIT : ok when I launch this query in query analyser :
    SELECT *
    FROM dbo.CDBC_ACT_JOURN
    WHERE FIELDNAME = 'KV_DEKO'
    I get all the data.
    But when I am using the query in SQL Server entrerprise management, I don't see them !!
    Edited by: Louis-Arnaud Bouquin on Nov 10, 2009 10:26 AM

    >
    sujith golla wrote:
    > Status of the IDOC is "53", so successfully posted
    > records that have the status can NOT be reprocessed using BD87
    There are some tricks: you can either create a copy of the IDoc in WE19 and then process it or use report RC1_IDOC_SET_STATUS (be careful though) to update the IDoc status.
    However, you might want to do some more research and use suggestions above before resorting to these measures.

  • Meet a problem of data exchange for sale order from CRM to R3.

    Dear Friends:
          I do the data exchange for sale oder from to R3 today , the problem's detail is as follows:
          When i save a sale order in CRM (Version is 5.0) . it can automatically generate a bdoc which bdoc type is BUS_TRANS_MSG. but the bdoc status alway is "Sent to receivers (not all have confirmed)". and the original order in CRM can not be change .it quote that "Document is being distributed - changes are not possible",  so i check the order status analysis in detail .it presents two error messages ," Event 'BEFORE_CHANGE', attribute '     FINI': Error code for function module 'CRM_STATUS_BEFORE_COMPLETED_EC' , "Item is not yet completed in OLTP system".  so i check  the order in R/3 ,it has already been create and without any error messages.
       Would like to tell me how to solve it . thanks your any idear..

    Hi Benjamin,
    When performing uploads to R/3 from CRM there is a response from the OTLP system that is sent back to the CRM Middleware to confirm that the data records were received and processed correctly. 
    Here is a checklist you can run through to verfiy that the connections, systems and objects that are needed are all in place:
    <b>On R/3 system:</b>
    - Check R/3 outbound queue (transaction SMQ1) for any entries that are not reaching CRM.
    - Check that all RFC destinations on R/3 are defined correctly and are pointing to CRM
    - Check the CRMCONSUM table in R/3 to ensure CRM is registered as a consumer
    - Check the CRMRFCPAR table in R/3 to ensure that order objects are valid for exchange between R/3 and CRM
    - Check for any short dumps in R/3 (ST22/ST21)
    <b>On CRM:</b>
    - Are there entries stuck in the inbound queue (SMQ2) with R3AU* names?
    - What does the CRM Middleware Trace show (SMWT)?  Sometimes this has more detail than the specific BDoc overview (SMW01)
    - Check for short dums in CRM (ST22)
    Let us know what else you uncover and we can work from there.
    Brad

  • Unique Problem: Returning SOAP+ Attachment using a class based webservice

    Hi everyone,
    Im trying to return a Soap+ attachment response back using the following:
    attachDoc(byte[] bdoc, String sTransactionNumber,
                   String sRequestedType)
    Where byte[] is the attachment and the 2 string parameters are soap message contents.
    The attachment is attached successfully to the message and i can send a response back to the clients console using :
    message.writeTo(System.out);
    My problem is that i dont know how to return this soapmessage+attachment back to the client.
    Ive tried using the return type of the method as :
    public SOAPMessage attachDoc(byte[] bdoc, String sTransactionNumber,
                   String sRequestedType)
    but i cant return a SOAPMessage return type in axis.
    Does anyone have any clues how i should sort this out so that the client gets the SOAPMessage and attachment when the method is called ?
    Please help :S
    Thanks,

    I dunno if this is what you asked for....
    Hope this helps a bit
    You may want to check this link out
    http://www-unix.globus.org/mail_archive/discuss/2007/02/msg00037.html
    MessageContext msgContext = MessageContext.getCurrentContext();
    File file = new File("filename.txt");
    org.apache.axis.attachments.AttachmentPart replyPart=
    new org.apache.axis.attachments.AttachmentPart(new DataHandler(new
    FileDataSource(file)));
    Message rspMsg= msgContext.getResponseMessage();
    rspMsg.addAttachmentPart(replyPart);
    so ur basically adding the file to the reply message.
    The link i gave has a better description, it has the entire process of sending file to server and downloading file from server codes.

  • CRM 5.0 to R/3 BP Initial & Delta load problems

    Hi Experts,
    I am having problems trying to replicate a BP to R/3 (ECC). The BDOC status is all green and it shows 'Processed'...but my BP is not created in the OLTP side!!I have followed all the steps from the best practice document - CRM is the lead system and i have created a dedicated account grp with ext. nos range in OLTP.
    I am using BUPA_MAIN in R3AC1 as the load object with a filter setting for a single BP..In the sender i am using CRM and the receiver as OLTP...Am i missing something?? There is no error and so i do not know what to debug in the outbound scheduler...please advice (FYI - OLTP to CRM BP replication works fine)

    Hi Paul,
    If you need to work with just 1 or say a handful of BP, why dont you use synchronisation load instead of initial load.
    Goto transation R3AR2. (Define request)
    create new entry
    Give request name - say Z_BUPA_TEST
    Adapter object - BUPA_MAIN
    Click on request detail:
    Again click on new entries:
    table name - BUT000
    fieldname - PARTNER
    Incl/Ex - I
    Option - EQ
    LOW - your BP number (with leading spaces)
    Save this request.
    goto R3AR4 to execute this request.
    Enter request name(Z_BUPA_TEST) and source and destination systems. execute.
    To monitor this data transfer, goto transaction R3AR3.
    PLease let me know if this helps.
    Regards
    Kaushal

  • No Un-ambiguous Selection of Mapping Module (above one) for BUPA_MAIN BDocs

    Hi All
    I seem to have hit a snag here. I am trying to replicate customers from CRM to ERP but am getting these two errors:
    Main error: Partially send, receivers have errors.
    No un-ambiguous selection of mapping module (above one) for BDoc type 3932399B34D6279BE10000000A11449E.
    Service that caused the error: SMW3OUTBOUNDADP_CALLADAPTERS._
    I have searched on Googleand SDN but have come up with nothing as far as these errors are concerned. We have managed to replicate Business Partners, Materials and Conditions from ERP to CRM without any problems but when it cam e to replicating back, these errors started popping up.
    I have used all the tools for analysis but have come up with nothing the really suggest to me what is wrong. I have monitored queues, traces and dumps. I have played around with the filter setting and all.
    With regards to the process itself, i followed the C03 best practices config guide and i believe that i have everything in place. Here are the steps i followed:
    1.Create an Internal number range for the CRM customer group.
    2. Assigned the number range to the Customer group
    3. Created a corresponding number range (External) in ERP and a corresponding CRM Customer account group as a copy of the standard 0001 Sold-to-party account group and assigned the number range to it.
    4. Defined Partner functions (SP, SH, BP, and PY) for the account group
    5. I mapped the CRM classification for customers (B) to the created account group (CRM Customer)
    6. I synchrponized the fields for the account group created and the BP roles in CRM including changes on a per client (BUPA) basis.
    7. I redowloaded all the cutomizing objects (though i only needed the DNL_CUST_KTOKD) for the sake of the mappings directly in CRM or R/3 Account group maintenance during the creation of the BP.
    8. I customized the filter settings in BUPA_MAIN and included the BUT100 table for the filetring of the customers who were created as SP, BP, PY, or SHand who belonged to the Customer group we had created. (BUT000->BU_GROUP & BUT100->RLTYP) for source site CRM.
    9. Activated the necessary function modules through transactions COM_BUPA_CALL_FU in ERP and CRMC_BUT_CALL_FU in CRM according to [http://help.sap.com/saphelp_crmscen70/helpdata/en/60/85b5d333f4174b8e982c1c15db35f3/frameset.htm]
    10. Using transaction R3AS i sought to replicate the BUPA_MAIN object.
    Because of the few customers created in CRM, it only executes within a single block so the queues would be empty by the time SMQ1 and SMQ2 are executed. R3AM1 shows it as running. SMW01 shows the above error.
    When creating a BP through the tx code BP, the main error would be Technical error(Incomplete) and the two other errors as mentionme above would also be there
    Is there anyone out there who has met this very same problem or knows the solution to this.
    Thanks in advance.

    We managed to get a solution to the problem. Here it goes:
    When a new adapter object (e.g a custom one) is created, the SMOFOBJECT table is populated with the entry and, in turn, the SMOFUPLMAP is populated with the object and the mapping module for uploading to R/3. During the upload process, a search for custom mapping modules is done and if not found the standard mapping modules are used. However, and it seems weird since it seems as if it applies to the BUPA_MAIN object or the corresponding mapping module (BUPA_MWX_BDOC_UPLOAD_MAIN_R3), there has  to be a one-to-one mapping between an mapping module and adapter object.
    I had created a custom adapter object (Z_BUPA_MAIN) to which I wanted to put some custom filters and did not want to test with the standard object. So two objects using the same mapping module ended up existing  in the SMOFUPLMAP table (one-to-many mapping). The function module in which this happens is the GET_UPL_FUNCTION_FOR_OBJ.
    So the solution would be to delete the object if it is not needed or to maintain the SMOFUPLMAP table to remove the entry. When you delete the object, it sometimes does not automatically/subsequently remove the entry in SMOFUPLMAP, so manual maintenance has to be done or the same object has to be recreated and have the mapping module allocated. After this, the problem would be solved. What is weird to me is that the only one-to-one mapping is allowed. I created a custom object for the download of conditions and I did not get that error. So it means that in this case you would have to copy the mapping module and create a custom one for the custom object.

  • Adding new field to sale order BDOC and replicate to R3

    Hi all,
    I'm trying to map the new customize field in CRM to field VBKD-VSART in R3.
    The reason behind this  was because my customer would like to have field shipping type appear in CRM order, but since this field is not provided by SAP, I've to create it. 
    What I did was:
    1) Create new field VSART via EEWB in CRM. This is done and working fine, the field appeared in 'customer fields' tab.
    2) Put this new field to BDOC in CRM.  I believe this is done when I created via EEWB. I think it use BADI CRM_BTX_EXTENSIONS , implementation CRM_GEN_OBJECTS for this part.
    3) Put BDOC into BAPI in CRM.  This is the part that I'm having a problem with.
    I found that I need to use BADI CRM_DATAEXCHG_BADI for that and I've checked example from implementation CRM_BTX_EEW_DATAEXCH. However, it only contain example to input field in VBAK, VBAP and VBEP.  Can anyone guide me on this part?
    4) Map BAPI to R3. I think that I need to use userexit MV45AFZZ form USEREXIT_MOVE_FIELD_TO_VBKD for that. But what is the incoming structure that I could use to map with VBKD.
    Any help would be appreciate, Thank you in advance.
    Gilbert

    Hello Gilbert,
    Please find if this helps,
    BDOC's to update the custom fields in R/3 from the CRM sales order
    Replication of new customer fields in order to R/3
    regards,
    Muralidhar Prasad Chatna.

Maybe you are looking for

  • Is it possible to "refresh" the INBOX from the Server?

    Using POP protocole. My Inbox is corrupted, in that the older emails are missing. I was thinking that if I could 1. Delete the INBOX Folder and INBOX.MSF folders, then somhow "force" a retrieval of all the emails retained on the server I could resolv

  • Web template not capturing in Transport

    Hi experts, I am Saving as an existing web template and inserting my query in the new template. When I try to transport that Web Report, the new web template is not getting captured. What can be the problem?

  • Error (1074724867:3) for Adobe Acrobat/Reader

    Any advice/help on this is truly appreciated.  This is becoming my private Hell because I am unable to fix this error and print important documents.  I have Adobe Acrobat Standard 8 installed on my computer as well.

  • Admin console does not open

    Hello everybody!! this is my first post.Please help me. I am new to JEE and i am having problem in starting it.I have installed JEE 5 update 3 on win XP and i am using Firefox mozilla as my browser. The installation of JEE goes fine and i get the con

  • File operations

    How to make files "read-only" or "non-deletable" while running a java application ?