Sales order replication (missing partner information in modifications)

Hi,
I configured a sales order to be replicated from R/3 into CRM.
When the order is created in R/3, it gets replicated into CRM with all the information and without any error.
But when I change some information in the R/3 sales order, the new BDoc message is created but with strange information in the partners of the sales order.
When the BDoc is processed, it simply deletes all the partners from the replicated sales order in CRM.
Any ideas about what can be the problem?
Thanks,
Susana

Hi,
please implement note 1011465. it must solve the problem.
rewards point if its helps.
Denis.

Similar Messages

  • Sales order replication with reference a quotation

    Hi Experts,
    Iu2019m having problem with sales order replication when it is a quotation subsequent document.
    The quotation and sales order replication, CRM to R/3 and R/3 to CRM, its OK if I create the isolate document (without reference), if I create a sales order with reference a quotation, I have the problem:
    I can se the error in SMW01:
    Document <quotation number> doesn't have document category C but <blank>
    The document is note replicate to R/3.
    If I create the document in R/3 the replication to CRM it's OK.
    I'm working withCRM 4.0
    Thanks
    Alex

    HI Ramesh,
    Question:
    Could you please tell me which segment do i need to use fill the reference document number (quotation) at header level.
    Sol: use segment E1EDK02
    Segment type E1EDK02 IDoc: Document header reference data
    QUALF 011 : Referenced Document Number
    BELNR XXXXX IDOC document number
    DATUM 20100121 IDOC: Date'
    what i've used in my program
    I'm using the E1EDK02 segment as you mentioned above.
    le1edk02-qualf = '011'.
    e1edk02-belnr = Quotes-vbeln.
    Question:
    Here my problem is i'm able to create the sales order with the custom program, but if i made any changes to the quotation Header
    (Ship-to party address) before creating the sales order, it is not reflecting into the sales order header level (ship-to party address).
    Sol: Check you custom code .. whether you are bringing write address to segement or not
    (if you change any address in Quotation then Address master is added with new entry with new address no )
    In my program..
    I'm passing the partner numbers and partner types (WE & AG) to the segment "E1EDKA1". (Ship-to & Sold-to).
    What i was thinking is the above segment is causing the problems, because if we reference the Quotation, we should not pass the Ship-to and sold-to numbers, it should take all those from quotation.
    I've tried to comment the code which we have written for that segment "E1EDKA1", it is giving me the error saying that
    Customer numbers can't be determined for the document number..
    Please guide me how to solve this problem..
    Thanks,
    Adi.

  • Delta sales order replication, per change to billing block, how?

    Issue: We want a change to sales order billing block field to trigger creation of a sales order delta replication IDoc, but having trouble getting that to work.
    We added entry to table TBD62, for table VBAK, field FAKSK (billing block field), so change pointer would be created.
    We have variant for delta replication set up on program ODTF_REPL_CO_SALESORDER_ITM.
    A change to billing block field creates entry in table BDCP2, so change pointers are getting created successfully.
    But running program RBDMIDOC for message type ODTF_COBJ_SALES_ORDER_ITEM, which should create the delta IDoc via the delta variant on program ODTF_REPL_CO_SALESORDER_ITM, does not create an IDoc.
    If I change a partner on sales order, such as revenue manager or engagement manager, and then run RBDMIDOC for message type ODTF_COBJ_SALES_ORDER_ITEM, then the IDoc gets created.
    So need help on how to set up so a change to billing block field, field VBAK-FAKSK, will trigger creation of sales order delta replication IDoc.  There seems to be more to it than just having change pointers get created in table BDCP2.
    thanks,
    Mark

    I found out why IDoc not getting created for change to billing block on sales order.
    SAP program ODTF_COBJ_SALES_ORDER_ITEM needs a fix.
    Sales Order replication program ODTF_REPL_CO_SALESORDER_ITM has this piece of code:
        LOOP AT cp_so_it.
          ls_vbpos = cp_so_it-low.
          IF ls_vbpos-posnr IS INITIAL.
            APPEND ls_vbpos TO lt_vbeln.
          ELSE.
            APPEND ls_vbpos TO lt_vbpos.
          ENDIF.
        ENDLOOP.
    For changes to table vbpa, for example, since vbpa key has posnr, ls_vbpos-posnr will have a value, and this code works.
    But for changes to vbak, which doesn't have posnr in table key, ls_vbpos-posnr here is blank, not initial, and this code doesn't work.
    eg. CDPOS-TABKEY/BDCP2-TABKEY for vbpa change might be something like "1300040000560000000RM", but for vbak something like "1300040000560".
    This data feeds this IF statement above, which fails for changes to vbak data in triggering IDoc replication correctly.
    ODTF_REPL_CO_SALESORDER_ITM should be modified to handle vbak change pointer data without the posnr field.

  • Stop sales order replication from CRM to R/3

    Hi friends,
    How can we stop the sales order Replication from CRM to  R/3? Pls Guide me.
    Thanking u in advance.

    Hi Madhu,
    You can do by making distribution lock set in further statuses  of the CRM sales order.
    It will stop replication of CRM sales order to ECC.
    Regards,
    Madhu

  • Significance of Inboun and Outbound queue in sales order replication

    Hi CRM Leads,
    What is the significance of Inbound Queue and Outbound queue in saleas order replication from CRM to ECC.
    What exactly happens in Outbound Queue and Inbound Queue.
    Thanks,
    Sandeep
    What

    Inbound - Tcode: SMQ2 :  Inbound in the context of CRM and this queue shows the business transaction, master data and configuration data that are coming from ECC into CRM .
    Naming Convention for Queues
    The names of queues for data transfers from an ERP back end to the CRM server are made up as follows:
      R3A (from ERP back end to CRM)
        I for the initial data transfer / for Data Synchronization
        D for the delta data transfer
        U for loading to the ERP back end
        R for Defining Requests
        <Object> Name or part of object name, or the name of the higher-level independent object
        <Key> Only delta queues are subdivided by keys
    Outbound - Tcode SMQ1 - Outbound in the context of CRM and this queue shows the transactions and data that are going from CRM to ECC
    See more on [Using CRM Queues|http://help.sap.com/saphelp_crm70/helpdata/EN/49/2d9d9707361903e10000000a42189c/content.htm] following the link.
    Read the [CRM Adapter Framework|http://help.sap.com/saphelp_crm70/helpdata/EN/49/2e33a2a6c51d24e10000000a421937/content.htm] for advanced learning.

  • Sales order replication

    Hi,
    I have an issue related to Sales order replication. The replication is working for R3 to CRM, and the sales order created in R3 is getting replicated in CRM.
    In my case the customer wants to create the sales order from CRM and would like to send it to R3.
    The replication object that I have used in R3AC1 is Salesdocument, please let me know how do I replicate the sales order from CRM to R3
    When I create the sales order in CRM it gives a message: u201Cdocument is being distributedu201D and it does not give any errors, there is no trace of it in BDoc messages- SMW01, no trace of it in queue monitor SMQ1, SMQ2 in R3 and CRM.
    Regards,
    Amit

    Hi Amit,
    You need to goto site and subscribe there for business transaction for CRM. CRM to ECC.
    Reward points if helpful.
    Thanks,
    Srini.

  • Sales Order line item Partner Function issue.

    Dear Guru's
    I want to assign the (Employee response) partner function ER more than 5 times in Sales Order line partner function tab, but system is not accepting for that.
    Please suggest me how to over come this issue with out assigning the u201CERu201D partner function more than 5 times in sales order line item Partner determination procedure.
    Regards,
    Hari Krishna

    sent this to SD module (Sales and Distribution) Forum
    this is PS module and we do not deal with this object

  • CRM Sales Order Replication CRM to R3 (complaint) Pb

    Hi Guys,
    My problem is that when i create an CRM Complaint in CRM 4, and i change the plant on my delivery item, when the order is replicated in R3, the Shipping point doesn't get updated to use the new shipping point used for the new plant...
    I tried to debug but cannot hit User Exit in R3, then i read in there that the R3 user Exits such as: MV45AFZZ is not called at all...
    Can anyone could tell me how to find out how to get to the shipping point determination when the order is created from CRM...
    I succeeded to be in R3 in my debug session by:
    Stopping the BDOC with the following:
    Set a breakpoint in the FM on the save of the document in CRM:
    CRM_UPLOAD_BTMBDOC_START_FLOW then set ls_header-dbg_mode to X.
    Then i reprocessed the BDOC with /h and then set breakpoint in FM:
    SMOF_READ_SMOFERPSH to set my RFC-Dest to be valid for my debug session.
    Then put a breakpoint CRM_R3_SALESDOCUMENT_UPLOAD and set gv_synchronous_call to X ... Now after F5 i am in R/3...
    I tried to find out where my shipping point is set or determined but impossible (VBAK - VSTEL)?
    Please help...
    Thanks
    Aurelien

    Hi Aurelien,
    I believe there is no problem in replication of CRM Sales Order to ECC. Shipping point determination settings are properly maintained in ECC.
    In SD Sales Order (VA01 / 2)  Shipping points get determined by 3 factors for each line item.
    1. The shipping conditions from the customer master record (Shipping screen)
    2.The loading group from the material master record (Sales/Plant Data screen)
    3.The delivering plant
    Now in your case you are creating order in CRM. So download the plants from ECC to CRM with Transaction code R3AS (Initial D/L) DNL_PLANT. This plant you can assign in a Sales Order as a Business Partner for each line item.
    Plant is called as Vendor partner function in CRM.
    When CRM sales order with plant will replicate to ECC then automatically the shipping point will be determined.
    Regards,
    Rajendra Sonawane

  • Sales Order Replication / Mirrir Project

    Hi Gurus,
    <b>I need a expert advice.</b>
    Here is what is hapenning in our organization project.
    We are converting the reorganizing the Company code, wbs element etc in brief consolidation of COMPANY CODE.
    <b>how are we doing ?</b>
    we have taken a mirror copy of the prd.
    and going to run all the core conversions program in mirror.it takes 4 days to do all the consolidation.
    <b>Delta Issue FOR SALES ORDER</b>
    so while mirroring we are missing the delta which is happening on the original prd FOR SALES ORDER.
    WE WANT TO HAVE A REPLICATION STRATEGY TO REPLICATE SO in the mirror for the delta period.so that after 4 days we are in synch.

    What I am trying to point out is that your .NET program (as I read it here) will ONLY pick up sales order changes.  Are you using other modules of R/3 - MM/PP/FI/etc?  If so, this change is huge.
    We went thru a few years ago.  We used the assistance of SAP themselves.  And we actually coordinated the change with the entire company.  We had all of the Dist Ctrs stage all of their weekend shipments early that week, etc.  Then on Friday night we locked down the R/3 system... and converted THAT system.  That was our preference... and SAP's recommendation - at that time.
    SAP provided some shortcuts, etc.  The entire process took most of that weekend.  The business needed to "buy into" the project... but it worked out.
    Your current approach sounds riddled with many post=conversion problems.
    Have you contacted your SAP Acct Mgr with this project?

  • CRM sales Order Replication to R/3

    Hi ,
    Can anyone tell me what are the configuration that we need to do CRM to R/3 replication for sales orders apart from site and subscription creation(SMOEAC) and CRMCONSUM maintenance.
    I am mainly looking on what are middleware parameter that we need to set. How custom process type of CRM mapped with custom order type of R/3.
    It will be appreciated if you give me documentation of middleware parameter and their tables.
    Thanks in Advance

    Hi Pradeep,
    The Business transaction Replication from CRM to R3 is mainly based on the "Transaction Type" / "Process Type" (both are same) of the particular transaction - whether its a standard one or a custom one. It doesnt matter whether the mapping is Order to Order or Contract to Contract. Also, you need proper external-internal number ranges in order to make the mapping error free (even without the number ranges, the mapping will happen and the contract will flow).
    For documentation on Middleware settiing, check the following document.
    Best Practice C71 - connectivity.
    http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/Documentation/C71_BB_ConfigGuide_EN_US.doc
    For Business Transaction mapping Configuration, refer , "C03: CRM Master and Transaction Data Replication":
    http://help.sap.com/bp_crmv250/CRM_DE/BBLibrary/Documentation/C03_BB_ConfigGuide_EN_US.doc
    If you want full Middleware setup, in best practice, follow the documentation - B01, C71, B09, C03 in that order. You can get those from http://help.sap.com/bp_crmv250/CRM_DE .
    Regards,
    Alin

  • Sales Orders with credit card information

    Hi everybody
    I wanted to know if it is possible to find if the sales order has a credit card number on it?
    When i go to the Sales order screen, the table-field for credit card# is  CCDATA-CCNUM
    Now CCDATA is a structure, so if i have a Sales Order number and I want to check if there exists a credit card number on that Sales Order, how should it be found ?
    Basically I am trying to modify the billing due list program to list on those Sales Documents which dont have a credit card number on them.
    So from the Delivery document, I drill to the Sales Order number & now I dont know which parameter to check which would guarentee the presence of a credit card number for paying the amount on the Sales Order.
    Kindly if someone could guide me let me know ASAP
    Thanks
    Vinit

    Vinit,
    The field you are looking for is VBAK-RPLNR.  This is the Payment Card Billing Plan number.  This field will only ever have a value in it if there is credit card information on the Sales Order.
    Field VBAK-RPLNR links to fields FPLA-FPLNR, FPLT-FPLNR and FPLTC-FPLNR.  Table FPLTC contains the actual payment card details on the order (or Invoice).
    There is a similar field on the Invoice header - VBRK-RPLNR.
    Eric Bushman
    [Paymetric|https://www.paymetric.com]

  • Custom fields mapping issue of sales order replication from R/3 to CRM

    Hello Experts,
    I have to replicate sales orders from R/3 to CRM system (Initial and Delta)
    The issue is I have custome fields in R/3 which are maintained in custom table(Z table) in R/3.
    We added those custom fields in CRM customer_i table to synchronise with R/3 data.
    To MAP R/3 custom fields to CRM custom fields, i have the following customization.
    1. Added the custom function module in the event CRMO_200 and moved all the custom fields into interal table  IT_OTHER_INFO.
    2. The intrnal table IT_OTHER_INFO with data is passed into CRM standard function modules.
    3. But in CRM the BADI 'CRM_DATAEXCHG_BADI' implementation does not have the input parameter of internal table TI_OTHER_INFO.
    All my custom data is in internal table TI_OTHER_INFO.
    Please suggest where can i map this data to CRM enhanced fields.
    Regards,
    Umashankar.

    Hello Vanessa,
    Thank you so much for your reply.
    I went through the Note (1053817). It is good. I understand that the custom fields should enhance in the BAPE_VBAP in R/3.
    My Scenario:
    Goal: Orders replication from R/3 to CRM along with Custom fields.
    In R/3, all the custom fields are maintained in Z table (Not VBAK or VBAP).
    All these custom fields are belongs to Item level.
    In CRM, The custom fields are maintained in CRMD_CUSTOMER_I table though AET.
    I need to MAP these custom fields to CRM while order replication from R/3 to CRM.
    Regards,
    Umashankar.

  • Sales Order replication issue from SAP CRM  (7.0) to ECC

    Hi,
    I have issue in replicating the sales order from CRM to ECC below are the issue details ...
    Issue:
    Sales Order is created in CRM and Mbdoc is generated with status:001 (Yellow state),Order is not replicated to ECC system.
    I am trying to Replicate the sales Order1.Created Trnascation type: ZLS1 in CRM
    2.Number range assigned as Internal in CRM and External number range in ECC
    3.Item categories has been defined in Both the system.
    4.SMOEAC settings are completed successfully.
    5.Maintained table:SMOFPARSFAin both systems.
    Checked Couple of things:
    1.No items found in SMQ1 (Out bound queue ) in CRM
    2.Checked in SMQS,none of the entries found.
    Please let me know if i missed any of the settings to replicate the sales OrderPlease help us on this regards ASAP
    Thnaks.
    CRM Consultant.

    >
    Robert Kunstelj wrote:
    > Check in status shema of that order that it doesn't block distribution to R3.
    >
    > Also check that you don't have any fillters set in R3AC1.
    >
    > And also tell me, do you see in SMW01 CSA mbdoc for that orders? If yes, are they in red state and when you select one and click on button Show bdoc message extended data, do you get structure or not?
    >
    > Regards.
    Hello Robert,
    Here is the answers for the questions raised...
    1. I checked status schema ,understand distribution status is " To be distributed " in the sales order in CRM
    2.In R3ac1 ,standard document "SALESDOCUMENT " doesn't have the any filter setttings related to my transaction type.
    3.Mbdoc (Notification ) is generated in SMW01 with status " 001 " (Yello state),failed to reprocess the Bdocs.I coudn't able to find the Outbound queue in CRM for the corresponding order in CRM.
    4.I can see the Bdoc structure in the extended data in SMW01.
    Thanks.
    Sathya.

  • Sales order replication from crm to r3

    Hi All,
    User created the SO's in web, that SO are replicated to the CRM online, when we validate the SO it flow into R/3.
    There are specific three sales order which are not flowing into r3, in crm document flow it showing as document is replicated to r3, but when we check in r3 using the va02 transaction it showing the error msg as "Document in not exist in data base or archived" this msg.
    We changed the values and try to replicated to the r3 but issue will be the same, still we are gettting the same problem for only these three document. even ATP check is not happing for these three sales document.
    can any tel us report "SDRQCR21"  will help us to solve this error.
    Please help to solve this is issue on priority.
    Regards
    Sathihs

    Hello Rajendra,
    I checked the smw01, it showing error as Message no. V1302, "document is not in database or has been archived".
    this is issue occurring only for specific business partner.
    Is there any way to forcefully push the SO from crm to ecc. 
    standard report in ecc will help to resolve this issue "SDRQCR21" , even ATP check is not happening for this specific customer in production, we tried with same data in pre-prod system there is no issue.
    Please help us to resolve this issue.
    Regards
    Kumar
    Edited by: sat0708 on Mar 16, 2011 12:11 PM

  • Help on Indent Sales Order Creation - Missing Items in Purchase Requisition

    Hi Experts,
    We have Indent Sales setup where when we create Indent Sales Orders it will also create Purchase Requisitions. But we have encountered a lot of of missing items in the Purchase Requisition that are in Indent Sales. Have you encountered this kind of behavior? What are the usual suspects (configuration-wise) for this scenario?
    Thanks for your Help!

    hi,
    please check the SCHEDULE LINES for those PR is getting generated and also for not generating.
    PLEASE CHECK THE SCHEDULE LINE CATEGORY CONTROL FEATURES on the same
    hope this clears your issue
    balajia

Maybe you are looking for