Sales document upload to CRM

Hello All ,
We have one way replication ERP => CRM.
Now I am trying to upload quotation from CRM to ERP.
We defined same document types in ERP and CRM.
We defined subscription "All business transaction" in Smoec,
and take care of number ranges.
I am creating quotation in CRM and getting green" B-doc" ,but the document still do not exists in ERP.
How can I monitor the problem?
Thank you,
Rika

Hi Rika,
This message means that the recieving system is not sending you back any acknoledgement (message).
Check if your Bdoc state is O01. If yes, follow my response to the following thread.
Re: How to reprocess BDOCs state O01 Sent to receivers not all have confirmed,
But, this is the general steps. Not all Transaction Types can be send from CRM to R3. Which version of CRM are you using?
Regards,
Alin

Similar Messages

  • Sales document created from CRM 4.0 needs to be updated from ECC 6.0

    Hello experts,
    When I create one sales document from CRM 4.0 this document is moved to ECC 6.0. But updating sales document from ECC 6.0 I receive message
                 "Process the original document in the CRM system"
    and updates are not moved to CRM.
    How could I avoid this ?
    Usually I need update some fields from ECC 6.0 and move the information to CRM.
    Regards
    Juan

    Hi Juan,
    Please check the Note 541113 - Data exchange scenarios for orders (CRM-R/3) in which as per your requirement its the scenario Z i.e you want some data to flow from ECC to CRM for which below are the settings that needs to be done to make it effective.
    Activation of the scenario in table CRMPAROLTP of the R/3 plug-in:
    PARNAME:   CRM_SCENARIO
    PARNAME2:  UPLOAD_ORDER
    PARVAL1:   Z
    Go to SM30 and give the table name and put in the above values.
    And if you want to make amutual change situation then proceed as follows:
    Settings in the CRM Server: Table SMOFPARSFA
               Key: R3A_SALES
               Parameter Name 1: INT_CHANGE_ORDER
               Parameter Name 2: <sales document type> , for example TA
               Parameter Value 1: Z
    Settings in the R/3 system: table CRMPAROLTP
               Parameter Name: CRM_SCENARIO
               Parameter Name 2: INT_CHANGE_ORDER
               Parameter Name 3: <sales document type> , for example TA
               Parameter Value: Z
    Hope it helps.
    Regards
    Sidd

  • Sales Document Creation in CRM System

    Dear all,
    We are implementing CRM 5.0 and ECC 6.0 (IS-Retail) for our client. As per the Business Process Customer creation take's place in CRM, which uploads Customer Records into ECC system.
    Material Master (Article), Pricing Procedure and Condition Types are being maintained in ECC system only.
    Now the new requirement is to create Quotations in CRM system, in turn it has to upload into ECC system. We have to enable or maintain all article data, Pricing Data and Discounts in CRM system also.
    I don't know how could we exchange the Article Master Records (Material), Pricing Procedures and condition types between ECC system.
    I have expertise in CRM Marketing. by getting basic understanding of CRM and ECC data flow landscape, Middleware Settings and Object downloads, I have confidence to map the requirement into SAP successfully.
    I request you to educate me on this scenario, your help and suggestions will be highly appreciated.
    Thank you
    Raghu ram.

    Hi,
    i'm not quite sure about ECC retail, but for sure, as per CRM 5.0 and ECC 6, depending on your scenario, you may not need whole complete set of pricing, nor the condition tables to be maintained in CRM.
    you can use minimum pricing which is basic condition type PR00. once the quotation is saved in CRM, during the replication process, the pricing will be determined in the ERP and passed back to CRM. so when you look into CRM quotation document, you will be able to find all the condition types maintained in CRM.
    however, this scenario is not suitable if you require customer to review the pricing before saving the quotation, let say internet sales / e-commerce. then in that case you'll probably need to have complete set of pricing in CRM.
    hope this helps.

  • How can I get the sales document number in CRM??

    Hello,everybody
    I want to create a document flow report in CRM.
    But I donnot know how to get the documen id which is in ERP (for example: Sales, Billing)
    Is there anyone who can give me some advice?
    Thanks.

    Do you have ERP documents in CRM ? I mean does ERP documents are getting replicated in CRM? or you want transaction no from ERP only ? Which version are you working on?
    Thanks,
    Nitin

  • Problems in Sales Document Exchange between CRM 7.0 and ECC 6.0

    Hello,
    we updated our CRM system to CRM 7.0 and the ERP to ECC 6.0 .
    Now I am trying to fix the dataexchange again. However salesdocuments from the ERP are stopped in the inbound queue of the CRM system.
    The error from the SMW01 is :
    At least one entry could not be found in object buffer
    Message no. CRM_ORDER_MISC106
    I think that there is some configuration missing in the CRM or the ERP system. However I did not know where.
    Does someone knows the error or is able to give me a hint?
    I maintained the table CRMPAROLTP in ERP:
    CRM_MAX_QUEUE_NUMBER_INITIAL     MATERIAL                              CRM     5
    CRM_MAX_QUEUE_NUMBER_INITIAL     SALESDOCUMENT                              CRM     2
    CRM_NO_BEFORE_IMAGES     SALESDOCUMENT     CRM                                                                               
    CRM_RELEASE                                                                                  701
    CRM_SCENARIO     INT_CHANGE_ORDER     YJB4                    A
    CRM_SCENARIO     INT_CHANGE_ORDER     YJC4                    A
    CRM_SCENARIO     INT_CHANGE_ORDER     YXIA                    A
    CRM_SCENARIO     INT_CHANGE_ORDER     YXIG                    A
    and the table SMOFPARSFA in CRM:
    R3A_COMMON     CRM_AUTO_DELTA_EVENT_ACTIVATION                                                                        X
    R3A_COMMON     CRM_DEFAULT_DESTINATION     CRM_R3MATERIAL_AVAIL                                               K90CLNT001
    R3A_COMMON     CRM_R3OLTP_ACTIVE                                                                        X
    R3A_COMMON     MAX_PARALLEL_PROCESSES                                                                        5
    R3A_COMMON     WAIT FOR UPDATE     RESPONSE_DLV                                               X
    R3A_COMMON     WAIT FOR UPDATE     SALESCONTRACT                                               X
    R3A_COMMON     WAIT_FOR_UPDATE     SALESDOCUMENT                                               X
    R3A_SALES     BEHAVE_WHEN_ERROR                                                                        R
    R3A_SALES     INT_CHANGE_ORDER     YJB4                                               A
    R3A_SALES     INT_CHANGE_ORDER     YJC4                                               A
    R3A_SALES     INT_CHANGE_ORDER     YXIA                                               A
    R3A_SALES     INT_CHANGE_ORDER     YXIG                                               A
    R3A_SALES     INT_NUMBER_ASSIGNMENT
    R3A_SALES     PRICINGTYPE                                                                        G
    Best regards,
    Nils Kloth

    Can you bump up the trace level (to detailed) via SMWT transaction and then re-submit this bdoc ? check if you get additional details about the error.

  • Not display billing document in R3, only display Sales Document

    Hello,
    We need to make a change on CRM. On CRM environment we have the document flow in the sales document. If we replicate the document to R3, in R3 we can see the sales document replicated and the document flow, for example, the billing document. We need to stop to some users to display the billing document in R3(only display the sales document replicated from CRM).
    Is there anyway to apply this possibility on CRM, because the replication to R3 is only with one user RFCUSER, could be possible to create another user like RFCUSER2 for example, with less authorizations in R3.
    We have been answered on this forum to to this:
    This you can achieve by creating one more RFC destination.
    Logon & Secruity Details for this RFC Destination should be
    Trusted System : Yes
    Logon : Select the Current User
    After saving this check for the Remote Logon, it should navigate to your ECC system with your current user.
    Next go to BD97
    Assign this new RFC destination as "Standard BAPI Destination".
    After this, when ever you navigate to ECC from CRM document flow, it will logon to ECC system with Current User.
    But where we can custimize all this requirements??
    Any other help?
    Hope you can help us,
    Thanks in advance

    Hi Felix,
        You will perform this customization setting using two transaction codes BD97.
        Create RFC destination using SM59 transaction in CRM system.
        Assign this new RFC destination as "Standard BAPI Destination" in BD97 transaction. code Here assign this standard BADI destination to the ECCLogSystem. In BD97 you should see the logical destinations assigned to your CRM system.  If you wont see ECC Logical System in CRM, then maintain ECC logical system using ALE Configuration. This entry should exist in the table TBDLS of CRM System.
         I hope this answers your question.
    //Bhanu

  • Upload/Read Documents from SAP-CRM to/from SharePoint

    Hello ,
    We have a requirement to upload documents from SAP CRM to share point(select the document from the desktop and pass the data to sharepoint server) , the user should also be able to view the documents located in Sharepoint.
    There are web methods in SharePoint already developed which will allow the uploading of the documents and passing the location of the stored documents as URL back to CRM.
    Could any one please help me in the follwoing
    1. Configurations to do on SAP side for Calling the methods developed in Sharepoint.
    2. Configuration to pass the document from SAP CRM(Uploaded from desktop) to sharepoint.
    Thanks in advance

    Hi Ravi,
    We also have a similar requirement in which we need to read the document stored in an external server from SAP CRM. Can you please let me know know how you achieved this. I will know the exact path (URL) of the document. Using this is it possible to retrieve the content of the document.
    Regards,
    Sudha.

  • Delta changes in R/3 sales document are not coming into CRM

    Hi Middleware experts,
    We are on CRM 5.0 SP 005 with ECC 5.0 SP 007 and using the scenario X for sales documents replication.
    Now the order is created in CRM and successfully transfered to R/3. I can see 3 Bdocs in SMW01 with green lights. First Bdoc says 'R/3 adapter is called', second Bdoc says 'the order is successfully saved' and displays a warning 'The sales document is not yet complete: Edit data' and third Bdoc has no messages. Also I do not see any struck queues in CRM and in R/3
    I am able to edit the sales document in both the systems as per the scenario X. Now I have completed and saved the document in R/3. Surprisingly these changes are not coming into CRM and no new entries in SMW01. Also R/3 SMQ1 and CRM SmQ2 doesn't show any entries. I am also not able to debug, since I do not see any Bdocs in SMW01.
    Now, if I changes the document in CRM and these changes are coming into R/3.
    Also all documents created in R/3 are successfully going into CRM including delta changes in R/3.
    I do not have any clue on what is happening? Highly appreciated, if you can help me.
    Thanks,
    PK

    Hi PK,
    In R3AC1 only we put the filter. So if you do not have any other filter then make sure that you are changing the order which was created not before the date mentioned.
    I would recommend you to just deregister the CRM system in R/3 Transaction SMQS and do some changes in the orders and check any queues are getting created corresponding to that order, If yes that means filter is not an issue. Then debug the queue and find the exact problem. Also make sure that the order you are changing in R/3 is of the same order type what you have mentioned in the filter.
    Make sure to registor back the CRM other wise all the queues will get stuck in R/3 outbound.
    <b>Reward points if it helps!!</b>
    Best regards,
    Vikash.
    Message was edited by: Vikash Krishna

  • Error while changing CRM Sales Document in R/3

    Hi All,
    I have done the download of customizing, condition & business objects in CRM 4.0.
    Now when I create a sales order in CRM, it gets replicated in R/3. I can see the order in tcode VA03.
    But when I try changing the same sale order in R/3 using tcode VA02, I get the following error:
    "Sales document &1 (5001169) is currently being processed (by user RFCUSER)"
    Would appreciate help from the group.
    Many thanks !

    Hi Krishna,
    The middleware user is locking the order so the document has not distributed through the system properly. 
    Try looking at the inbound queue (transaction SMQ2) and outbound queue (SMQ1) for errors.  Also look at the BDocs in error (SMW01).
    When CRM sends an order to R/3 it waits for a confirmation to be returned, looks like the problem is here, maybe in your delta downloads not being set correctly.
    Cheers
    Andrew

  • CRM 7.0 Leading zeros on material in sales documents delta replication

    Hi
    During initial load of sales documents from ECC to CRM the item is replicated with leading zeros.
    The consequences is that CRM do not find the product and the crm order gets an error message that the product is not maintianed in product master.
    So my question is; how to replicate the order without leading zeros for items?
    BR
    Johan

    Hello Johan,
    You need to check txn:OMSL in ERP and you need to make sure that settings are in sync with CRM customizing path settings.
    SPRO>IMG>Cross-Applicaiton Component>SAP Product>Basic Settings-->Define O/P Format..
    Especially you need to check for the lexicographical flag.
    If this flag is set, then 0123 is different from 123.
    Hope this helps!
    Best Regards,
    Shanthala Kudva.

  • Replication of Business partner and the Sales document from CRM to R/3

    HI All ,
        I am completely new to this CRM technical , I need some technical document on how can I replicate BP and sales documents from CRM  to R/3 through CRM middleware .
    Please help me out in this regard .
    Regards
    Debasri Sarkar

    Hi Debasri
    It would be best if you try the Best Practices available on [CRM Best Practices|http://help.sap.com/content/bestpractices/crossindustry/bestp_crossindustry_crm.htm]
    Choose the CRM Version you are working on. On the next page that opens up, choose Technical Information-->Building blocks from LHS.
    And you can use the Best practice guide titled CRM Master and Transaction Data Replication there to know more about BP and transaction replication between CRM and ECC.
    Hope this would help You
    Regards
    Rekha Dadwal-Shet

  • Creating a sales document using BAPI in web dynpro by uploading a file

    Hi ALL,
    Can some one help me how to create a sales document using  BAPI by uploading a file as input...Can someone  provide me a sample program....
    Thanks n Regards,
    Praveenn.
    Edited by: praveenn on Aug 23, 2011 12:42 PM

    Hi Sri,
    Thx for the response...
    Here is the code that i followed for creating a BAPI_SALESORDER_CREATE1 by uploading a text file as input.
    Just create a Attribute  in the VIEW CONTEXT of type String.
    method ONACTIONCREATE_SO .
    types : Begin of ty_data,
             sales_org  type vkorg,
             doc_type   type AUART,
             DISTR_CHAN type VTWEG,
             DIVISION   type spart,
             material   type matnr,
             partn_role type PARVW,
             PARTN_NUMB type kunnr,
           end of ty_data.
      DATA  :it_table TYPE  TABLE OF ty_data,
             i_data   TYPE  TABLE OF string,
             l_string TYPE string,
             wa_table TYPE ty_Data,
             l_xstring TYPE xstring,
             fields TYPE string_table,
             lv_field TYPE string.
    DATA: wa_order_header_in TYPE BAPISDHD1,
          it_order_items_in  TYPE TABLE OF BAPISDITM,
          wa_order_items_in  TYPE BAPISDITM,
          it_order_partners  TYPE TABLE OF BAPIPARNR,
          wa_order_partners  TYPE BAPIPARNR,
          it_return TYPE TABLE OF BAPIRET2,
          wa_return TYPE BAPIRET2.
    DATA : sales_doc type bapivbeln-vbeln.
    DATA:
       node_zfinal_node  TYPE REF TO if_wd_context_node,
       elem_zfinal_node  TYPE REF TO if_wd_context_element,
       stru_zfinal_node  TYPE if_main_view=>element_zfinal_node .
    get single attribute
      wd_context->get_attribute(
      EXPORTING
      name =  'DATASOURCE'
      IMPORTING
      value = l_xstring ).
      CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
        EXPORTING
          in_xstring = l_xstring
        IMPORTING
          out_string = l_string.
    SPLIT l_string  AT cl_abap_char_utilities=>newline INTO TABLE i_data.
      LOOP AT i_data INTO l_string.
       SPLIT l_string AT cl_abap_char_utilities=>horizontal_tab INTO TABLE fields.
        READ TABLE fields INTO lv_field INDEX 1.
        wa_table-sales_org = lv_field.
        READ TABLE fields INTO lv_field INDEX 2.
        wa_table-doc_type = lv_field.
        READ TABLE fields INTO lv_field INDEX 3.
        wa_table-DISTR_CHAN = lv_field.
        READ TABLE fields INTO lv_field INDEX 4.
        wa_table-DIVISION = lv_field.
        READ TABLE fields INTO lv_field INDEX 5.
        wa_table-material  = lv_field.
        READ TABLE fields INTO lv_field INDEX 6.
        wa_table-partn_role  = lv_field.
        READ TABLE fields INTO lv_field INDEX 7.
        wa_table-partn_numb  = lv_field.
    APPEND wa_table TO it_table.
      ENDLOOP.
    loop at it_table into wa_table.
    clear : wa_order_header_in.
    wa_order_header_in-sales_org   = wa_table-sales_org.
    wa_order_header_in-doc_type    = wa_table-doc_type.
    wa_order_header_in-distr_chan  = wa_table-distr_chan.
    wa_order_header_in-division    = wa_table-division.
    clear : wa_order_items_in.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input         = wa_table-material
    IMPORTING
       OUTPUT        = wa_order_items_in-material.
    *wa_order_items_in-req_qty  = wa_table-req_qty.
    append wa_order_items_in to it_order_items_in.
    clear : wa_order_partners.
    wa_order_partners-partn_role = wa_table-partn_role.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input         = wa_table-partn_numb
    IMPORTING
       OUTPUT        = wa_order_partners-partn_numb
    *wa_order_partners-partn_numb = wa_table-partn_numb.
    append wa_order_partners to it_order_partners.
    endloop.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
      EXPORTING
      SALESDOCUMENTIN               =
        order_header_in               = wa_order_header_in
      ORDER_HEADER_INX              =
      SENDER                        =
      BINARY_RELATIONSHIPTYPE       =
      INT_NUMBER_ASSIGNMENT         =
      BEHAVE_WHEN_ERROR             =
      LOGIC_SWITCH                  =
      TESTRUN                       =
      CONVERT                       = ' '
    IMPORTING
       SALESDOCUMENT                 = sales_doc
      tables
       RETURN                        = it_return
       ORDER_ITEMS_IN                = it_order_items_in
      ORDER_ITEMS_INX               =
        order_partners                = it_order_partners.
      ORDER_SCHEDULES_IN            =
    get message manager
    DATA: l_current_controller TYPE REF TO if_wd_controller,
           l_message_manager    TYPE REF TO if_wd_message_manager.
           l_current_controller ?= wd_this->wd_get_api( ).
    DATA:  v_message_text TYPE string.
    When Sales Order is created commit the data
    IF NOT sales_doc IS INITIAL.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
       EXPORTING wait = 'X'.
      CONCATENATE 'Sales Document' sales_doc 'has been created.' INTO v_message_text SEPARATED BY space.
    Report Success message
      CALL METHOD l_message_manager->report_success
      EXPORTING
      message_text = v_message_text.
      ELSE.
      v_message_text = 'Error Creating Sales Order'.
    Report Error message
    CALL METHOD l_message_manager->report_error_message
    EXPORTING
    message_text = v_message_text.
    ENDIF.
    endmethod.
    Edited by: praveenn on Aug 30, 2011 2:41 PM

  • Does materials download from R/3 into CRM trigger Sales Documents?

    CRM GURUS -
    Can anyone tell me if this statement is true?   When we do and synchronized request of specific materials from R/3 into CRM, does this trigger the cooresponding sales transactions to download into CRM that have this material? 
    What we noticed is that when do a sync request or an intial download of materials from R/3 into CRM, we start getting lots of sales documents in our queues.  We also see a lock on any deltas in the outbound queue of R/3 until the material is fully processed in CRM.
    It would seem that if a materials changes, you would want to reprocess any sales documents to reflect the material changes - is this statement correct?
    Any insight would be helpful.
    Pat

    1) When we do request download for a material sales transactions will not get downlaoded.
    2) When you do request download, CRM will put a stop on all R3AD* queues in SMQ1 of R/3.
        That is why you see stop on all delta queueus.
    3) Those stopped delta queus may be the changes done orders at that time.

  • How to upload a CRM sales order to R/3 after modifying some values in CRM

    Hi All
    How to upload a CRM sales order to R/3 after modifying  some values in CRM ?
    In other words
      You have a Sales Order in CRM. While sending this Sales Order to R/3, we would like to modify certain values in the Order before it is replicated to R/3 . How do u do that?
    Thanks
    Jaman
    Message was edited by: Sap_Crm_Guy
    Message was edited by: Sap_Crm_Guy

    Hi Jaman,
    Try to have a look at the function group CRM_ORDER_API. In there you will find several useful functions. CRM_MAINTAIN_ORDER can most probably do what you want to do, but it is not simple to figure out how to use it as it is not very well documented.
    There is a BADI called ORDER_SAVE with three methods that you can implement. This BADI allows you to manipulate the order before it is saved and before it is replicated to R/3.
    Very best regards,
    Anders Mørk

  • Sales Order Issue From CRM to R/3

    Hi Gurus,
    We have an issue where all Bulk ISS orders are showing up in the OTD BW reports as unreported even though they have been reported shipped. The issue appears to be, that for ISS orders only, the schedule line item number for the base bulk line, shows up as "4001" and not "1" as it typically does.  The manual orders and all EDI orders do flow through with a schedule line number of "1", but not the ISS orders.  Please investigate why this is occuring for ISS orders. . 
    Further to this issue ...
    Order XXXXXX is a CRM order for sales BOM material and this order in R/3 has the schedule line item number for item XX as XXXX. It appears that all Sales BOM orders from CRM are getting the schedule line item number of 4001. Please debug and investigate as to where this is coming from.
    It is basically abt Schedule line number instead of
    1 it is 4001 ...
    Please guide me
    How I do I go abt this .. is there a bapi call that I need to refer to
    Please help points guaranteed...

    Middleware are a set of transactions. For replication some tx are:
    R3AC1     Objetos de Datos (Business and Condition Objetcs)
    R3AC3     Objetos de Customizing
    R3AC4     Activation of Delta Download
    R3AC5     Adapter Object Overview (Customizing Download) - Initial Upload of Condition MD
    R3AM1     
    R3AS     Initial Load
    SMQ1     qRFC Monitor (Outbound Queue)
    SMQ2     qRFC Monitor (Inbound Queue)
    You need to create a Site (r3) and suscription for replication in tx SMOEAC . The suscriptions area standard: product, business partner, sales document, etc.
    Also you need defined filter for customizing replication and data replication in tx R3AS and  R3AC1.
    You can use best practice for replication. You can access on: http://help.sap.com/bp_crmv250/CRM_DE/index.htm. Access to "C03: CRM Master and Transaction Data Replication".
    Some points...
    Regards

Maybe you are looking for