Does MV45AFZZ trigger when CRM sales order is replicated into ECC

Hi All,
When a Sales order is created in CRM, it is replicated automatically using BDOCS from CRM into ECC.
I have requirement to code the logic during the process, when sales order is replicated into ECC.
So I need to know the BAPI which is actually triggered to create sales order in ECC, while replication takes place.
If I could atleast know, if USEREXITS in MV45AFZZ would trigger or not, when CRM order is replicated into ECC, then I could determine, If I could code my logic in those user exits.
Please help me on this.

Hi,
I guess it should. Just put external break point (RFC userid with debuger rights) and see.
Thanks,
Nilesh P.

Similar Messages

  • Does MV45AFZZ user exit trigger when CRM sales order is replicated into ECC

    Hi All,
    When a Sales order is created in CRM, it is replicated automatically using BDOCS from CRM into ECC.
    I have requirement to code the logic during the process, when sales order is replicated into ECC.
    So I need to know the BAPI which is actually triggered to create sales order in ECC, while replication takes place.
    If I could atleast know, if USEREXITS in MV45AFZZ would trigger or not, when CRM order is replicated into ECC, then I could determine, If I could code my logic in those user exits.
    Please help me on this.

    please check this link
    keremgomi=wordpress=com
    Rgds
    Raj

  • Partner Function "Vendor" missing when the sales order is replicated to ECC

    Hi Gurus,
    We are facing a problem on replication of functions partners between
    sales order of CRM and ECC.
    We have downloaded vendors (partners of table LFA1) from ECC to CRM
    following note 883162 and this replication was ok!
    We have mapped all partner functions from ECC to CRM and from  CRM to
    ECC for distribution of partners between systems.
    We must include a vendor using partner function '0000092 - Carrier' on
    our sales order, which is transferred to ECC. However, when the sales
    order is transfered to ECC, the vendor (which was included on CRM) is
    missing.
    When the sales order is created on ECC and the partner (type carrier)
    is included in,  the order arrives on CRM missing only the partner
    number, because the partner function is there.
    How to fix this problem?
    Best Regards,
    Nivea Faria

    Hi,
    See this Note : 975195
    Hope this helps.
    Best Regards
    Shiven

  • 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

  • CRM Sales Order Item Status Does Not match R/3 Item Status

    The status of the CRM sales order item is being set to 'In Process' when the related R/3 sales order line item status is set to 'Complete' - when, the delivery quantity is zero for the sales order item.  This happens when the warehouse can't find the stock to pick - the delivery quantity is set to zero.  Thus, the CRM order item status does not agree with the R/3 order item status.  We need for the line item status to be set to 'Complete' in CRM.  Anyone have an idea as to how to make this happen?
    Thanks you.

    Hi Peter and Suresh,
      From the information provided I understand that the sales order created in CRM after replication to R/3 has some status change.
    1.  What are the fields which are updated in R/3 for the sales order created in CRM ?
    2. If sales order fields are updated in R/3 are these updates reflected back to CRM?
    3. If they are reflected back in CRM? Is there still flexibility for sales order to be changed in CRM and replicated back to R/3?
    Can you please share you experiences.. Any help is highly appreciated.
    Thanks
    Jothi

  • Trigger an Idoc when a sale order is been opened in VA02 & saved

    Hi Experts
         I have a requirement to trigger an Idoc when a sale order is been opened in VA02 transaction and saved.
    Now that I have attained the same through Message Control Settings and Nace out put type settings with Multiple Issuing.
    Here in the Idoc will be triggered when the user makes any changes in the order based on the NAST table entry.
    Now my requirement is that the Idoc has to be processed even if there is no changes made to the document when the user opens the sale order and clicks save.
    This is the process been carried out to re-process the Idoc.
    Now that the Idoc is triggered using the path ---> menu - extras -output - header- edit & save.
    Now that the user need to process the Idoc by just opening the order  in VA02 and  click save.
    How can this be attained ? is there any configuration for it ?
    Or is it possible to handle the same in any of the user exit ?
    the problem is the user exit save gets triggered only when there is any change in the document else it throws a msg " No changes made"

    Hi Niraj
       Thanks for your Response.
    Now that the output control works fine when there is any change made to the document.
    Now that i need to configure such a way that the output control triggers even if there is no change to the document and save   button is clicked.
    Can U please elaborate how do i make settings in VOFM-> Output Control ?
    Thanks
    Sathish

  • How to add a table layout in CRM Sales order?

    dear all ,
    anyone know how to add a table layout in CRM sales order customer tab that using the EEWB added?
    can EEWB do this?   i didn't find the appropriate business object......

    Hi , Swapna
    is you mail address right? can not send out.
    first , you should have added one field using EEWB ,  then to EEWB , find the extension , double click on the task, there  you will find a  "object list"  on the right, the list will give you many many very important  information , you should look through .
    then double click on the "screen:  ..........EEW......." ,  layout , there you will find the field you have added in .  and you can draw anything you want there , then back to the screen flow , write you flow logic in PBO and PAI .
    about the global  data definition,  again to the "object list", you will find a "Report source code:  ......................TOP". in there ,you can define all you data .
    another thing  if you want to save your input field to database tables that you draw (not by EEWB added)
    two ways:
    1. write update table directly  in  PAI module .
    2.  you can use this BADI :  ORDER_SAVE , this is when you save the order to trigger the save action.

  • BDOC's to update the custom fields in R/3 from the CRM sales order

    Dear All,
    I need a small help.
    My requirement is as follows.
    When ever a sales order is created in CRM, an outbound delivery will be automatically created in the R/3 system.
    There are some fields in the CRM sales order which are not there in the R/3 system.So I have to create these fields in the LIKP and LIPS tables in R/3 which is not a problem.
    But I have to copy these fields from CRM to the LIKP and LIPS tables in R/3 when ever a sales order is created and saved in CRM. (This should happen automatically)
    So could anyone tell me whether there are any BDOC’s available to update the sales order info in the LIKP and LIPS tables and also any BADI which can be trigger for this purpose.
    Thanks in advance.
    Regards
    Shafath

    Hi,
    Thanks a lot. You have given a good solution.
    But a small correction.
    Sales Order is not transferred from CRM to R/3. The system is creating (automatically) a delivery in the r/3 system for the sales order created in CRM (Here we will not have the sales order in R/3), so we don’t have an entry in VBAK and VBAP tables.
    When we create a sales order in CRM and save , the delivery in R/3 is created and the sales order is not transferred to R/3.
    So while saving the sales order itself in CRM, I need to trigger a badi to update the LIKP and LIPS tables by calling a RFC (which needs to be developed in R/3).
    So I need a badi which triggers when the sales order is saved and which tells whether the sales order is saved without errors or not (because delivery in R/3 is created for only those orders which are created and saved without errors in CRM)  and returns the sales order number.
    It will be helpful if you can send some info on this.
    Any how thanks a lot for your quick response.
    Regards
    Shafath

  • How to make a sales order item deleted in ECC while in CRM just status changed?

    Hi expert,
    I have a requirment, that is:
    1. the user will change the USER STATUS in a line item of sales order to "CANCEL".
    2. When the order was replicated to ECC,the item should be deleted totally and the ITEM in CRM should not be affected.
    How can I implement this? Is there any resolution by just make some configuration?
    Thanks in advance.
    Jerry

    Hi Jerry,
    As per standard SAP, the line item is not deleted (in ECC) based on the status changes at the line item (in CRM)
    You need to do the development to achieve this.  Following points to be considered if you are doing any custom enhancement.
    1. What triggers the sales order replication ? Is it status change at header level ?  If yes, then you need to define a program which will first check the line item status in CRM Sales Order.
    2. Wherever a line item status is CANCEL, it may store in some internal table and then it will call an RFC to delete these line items in the replicated ECC Sales Order.  (without deleting the line items in CRM Sales Order)
    3. Mind you that, this will be a complex enhancement and may give lot of challenges in the sales order replication to ECC.
    Drawback of this requirement -
    1. If your client prefer to have this scenario, then it is fine, but I could see the data inconsistency in all such sales orders.  There will be a mismatch between the sales order in ECC and CRM
    Hope this will be useful
    Thanks and Regards
    DJ

  • PO Creation after CRM Sales Order Creation

    I am creating a CRM Sales Order and the moment I save the CRM Sales Order,
    it creates a PO in ECC. I need to find out how PO is getting triggered?
    When I open the CRM Sales Order it shows a PO already created for this Sales Order.
    Has anyone face this or same kind of scenerio ever? If yes please let me know how can fnd the triggering point of PO creation.
    Thanks in advance!!
    Sachin

    Hi Mathivana,
    I had faced these issue several time. As per SAP standard logic whenever you saved order in CRM it replicate immediatly in ERP till that time the order will be locked for any further change in CRM to save transaction data intigrity. The lock gets removed once the CSA queue(notification) from ERP update in CRM than unlocked.
    You check the in SMW01 transaction and perform search with order number you will find Bdocs are in Intermediate stage(I can't tell reason as it can be so many reason why Bdocs get stuck) -Select and activate the Bdocs once again if you are lucky and it activated your order till be unlocked.
    Or else user report most common for this issue "CRM_CHECK_DISTRIBUTION_STATUS" pass order number number and document type to unlock distribution than you will be able to change order.
    100 % sure shot answer. Appriciate if points alloted
    Thanks,
    prem

  • How to re-trigger BA00 after sales order has been rescheduled

    Dear Gurus,
    Could you please kindly advise how I could re-trigger BA00 after sales order has been rescheduled?
    The scenario is following:
    When the sales order was completed, the order confirmation output has been sent to the customer. But later, when the ATP confirmed quantity was changed or order was rescheduled, the committed delivery date has been changed. It caused confusion, because in the order confirmation letter we sent to customer, there is a different date.
    I'd like to also trigger BA00 to resend the order confirmation, but I checked the output routine, it only checks if the order is completed or not. Shall I ask ABAPer to add additional logic in the routine or there is other easier way to re-trigger BA00?
    Many thanks in advance!

    Have you allowed multiple issue for BA00 output type? In that case, you can manually trigger it from VA02. If you are trying to have it sent automatically, then add the logic into the routine.

  • Create complaint with reference to CRM sales order

    Hi,
    We have the requirement to create a complaint as a follow-up to a CRM sales order.
    We don't want to reference the invoice, but only the sales order. The sales order is available in CRM,
    so I would expect that we can reference the CRM sales order when creating a complaint.
    However, what I find is that we need to implement BAdI "CRM_COPY_BADI_EXTERN". Is that true? Do we need
    to implement this BAdI?
    Is there a sample coding available?
    regards,
    Wim Olieman

    Perhaps I should create a new thread, appears the standard complaint return CRMR allows me to create the return mulitple times against the same sales order number in CRM 7.0.
    Our pricing flunctuates a bit, so we don't want the same order to be used over and over again in creating the return.
    Is this the same behaivor you see?

  • User Exit/Badi to change the billing plan date when create sale order

    Experts,
    Please advise which user exit/badi can be used to change the billing plan date wen create sale order.
    My requriement is based on some rules to dynamically change the line item billing plan start date and end date when create sales order.
    I tried some user eixt in MV45AFZZ, but the date got revert to the orginal date from billing plan.

    Hi,
      check the include MV45AFZB.
    Thanks & Regards,
    Sateesh.

  • Multiple events created in R3 when creating sales order

    Hi all,
    We are having a problem when creating and changing a sales order in CRM.
    When a sales order is created and rapidly changed (or changed more than one time) from CRM, backend is receiving 2 events (from BO BUS2032, CREATED and CHANGED) but at the same time (not even a second of difference between them).
    So the WF that is linked to that event is triggered twice (we are checking if another WF instance is running, but as this 2 events are generated at the same time, the WF instances didn't notice the other instance).
    Do you know if there is a way to solve this problem?
    Thanks!

    Hello
    In everyworkflow there is a tab where you define if you want certain event to be triggered. I think it would be enough to de activate this triggering event.
    Go to transaction PFTC, enter your workflow ID and choose tab "triggering events". You should have a green light for both BUS2032 -CREATED and CHANGED. Click on the event you want to de activate.
    Regards
    Joaquin

  • Customer Credit Limit on CRM Sales Order

    Dear All,
    Can the customer credit limit be displayed on CRM Sales order(Customer from ECC, we use simple credit check on SAP ECC)
    Regards,
    Ahmed

    Hi,
    The standard credit check in SAP CRM calls up the automatic credit check in SAP R/3. You must define an RFC destination, and specify this destination for the credit check.
    ·        To define RFC destinations in CRM Customizing, choose Customer Relationship Management ® CRM Middleware and Related Components ® Communication Setup ® Define RFC Destinations.
    ·        To specify destinations for the credit check, choose Customer Relationship Management ® CRM Middleware and Related Components ® Communication Setup ® Middleware Parameters ® Define Middleware Parameters. Then choose the activity Credit Check and enter an RFC destination for the parameter CRMCREDCHE.
    You can also carry out an initial data transfer for credit data.For transactions that are still open for which you are reactivating update of credit data, you can initially transfer the credit data for a reorganization of data in SAP R/3. To do this, start the initial data transfer for object CMDOC_NOTIFY using transaction R3AS.
    When setting up credit limit check, refer to SAP Note 568157, 570155 and 619500.
    With Regards
    Selvam T

Maybe you are looking for

  • Dell L501x Screen Brightness

    I've gotten most things working on my new laptop but I can't seem to figure out how to adjust my screen brightness. The first thing I noticed was that there was no /proc/acpi/video directory.  So I searched for where it might be: ~ $ find / -iname *b

  • Use of MEASURES dimension in a RUNALLOCATION in a script logic

    Hi everybody, We are trying to use MEASURES dimension inside a RUNALLOCATION in a script logic, because we need to work with the information at a YTD element Example: It works: *XDIM_MEMBERSET C_CATEGORY=%C_CATEGORY_SET% *XDIM_MEMBERSET TIEMPO=%TIEMP

  • Need a brief explanation on abap/stack

    Can someone please give me a brief explanation of abap/stack Thanks Joe

  • Adobe CS3 - last call?

    I bought Adobe Creative Suite 3 Web Premium (Windows,English, professional version, full price) several years ago and was very happy with it.  I've owned used Photoshop since version 4 and now I can' really live without it.  After one of the autoupda

  • Time Capsule stopped broadcasting ssid

    All of a sudden my ssid is no longer broadcasting from my time capsule. I rechecked the setting to make sure that the ssid was not selected to be hidden and it was not. Ive tried to change the wireless transmitting channel and still nothing. Any sugg