Exits / BTE on material modification - CRM Replication

Hi all.
Our R/3 system is linked with a CRM one.
When material are modified, data are replicated by a business transaction event :
00001250   BC-MID     CRD_MATERIAL_COLLECT_DATA.
We want to add custom code to extend modification of material (when material is sent) data but we want it to be replicated too...
1) We try to put our modifications in a FM called in update task in user exit ZXMG0U02 => It failed
2) We try to add a second, specific one BTE 1250. It failed because this second BTE is triggered after those standard  that makes replication
Do you have another idea ?
It is possible to modify the order of BTE executions ?
Thanks a lot in advance
J.C

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.

Similar Messages

  • Material Listing/Exclution replication from R/3 to CRM,

    hi,
    We are using SAP CRM 3.0 and R/3 4.6c
    In R/3 system we maintained an exclution for a material and the system is giving the message 'Material xxxx excluded.
    If we use the same customer and the same material in CRM, the Material xxxx accepting (there is no message saying material excluded)
    Please let me know if there is any downloading object for material listing/exclusion or how to over come this problem
    Thanks in advance.
    Regards,
    Ram.

    This is a recent blog http://weblogs.sdn.sap.com/pub/wlg/15445?page=last [original link is broken] [original link is broken] [original link is broken]
    I can't remember if 3.0 offers some or all of this.

  • BTE for material classification

    Hi,
    im searching for a BTE which trigger modification on material classifications. I found EVENT 4004 and 4005, but they not work. I change classification with mm02 under the classification tab. Have someone an idea if there is an EVENT for this? Or exists a BOR for this?
    thx
    Ralph

    Hi Shri ,
    BTE mainly for FI transactions .
    BADIs for MM
    BADI_MATERIAL_CHECK  Enhanced checks for material master table               
    BADI_MATERIAL_OD                                                             
    BADI_MATERIAL_REF    Addition of customer-defined default data for material  
    BADI_MATMAS_ALE_CR   Change Data in MATMAS IDoc When Generating an IDoc      
    BADI_MATMAS_ALE_IN   Change Data in MATMAS IDoc Before Posting               
    BADI_MATN1           BAdI for Conversion Exit MATN1                          
    BADI_MATRIX_SORT     Sorting of Matrix Axis Population                       
    BADI_MAT_F_SPEC_SEL  BAdI for Material Special Field Selection               
    Regards
    Prabhu

  • BTE for Material Master

    Is there a BTE for MM01 or MM02? I would like to capture the changes to data on these transactions when user has pressed the save button and also after the dB COMMIT is executed.
    So far in my search, I have found that there is no BTE for Material master data transactions. I want to confirm this with other users. Also, is there a BAdI that I could use?
    TIA.

    Hi Shri ,
    BTE mainly for FI transactions .
    BADIs for MM
    BADI_MATERIAL_CHECK  Enhanced checks for material master table               
    BADI_MATERIAL_OD                                                             
    BADI_MATERIAL_REF    Addition of customer-defined default data for material  
    BADI_MATMAS_ALE_CR   Change Data in MATMAS IDoc When Generating an IDoc      
    BADI_MATMAS_ALE_IN   Change Data in MATMAS IDoc Before Posting               
    BADI_MATN1           BAdI for Conversion Exit MATN1                          
    BADI_MATRIX_SORT     Sorting of Matrix Axis Population                       
    BADI_MAT_F_SPEC_SEL  BAdI for Material Special Field Selection               
    Regards
    Prabhu

  • Exit while changing Material in  MM01 or MM02

    Hi gurus,
    I’m having some doubts with implementing an exit concerning TR. MM01 and MM02
    I run TR. MM01 or MM02 , enter a Material Number, choose a view, then choose tab “ sales: sales org. 1”. Every time that I change the field “X-distr.chain status” and “DChain-spec. status” with “Z1” ( client specific restriction that allows blockING a material) I want to put the same “Z1” but in tab “Purchasing” in field “Plant-sp.matl status”.
    I’m using EXIT   MGA00001 Material Master (Industry): Checks and Enhancements
    I can put the “Z1” in tab “Purchasing” field “Plant-sp.matl status” for a specific material number (MATNR), but my question is how can I confirm that the user choose a “Z1” for a specific MATNR ? I’m asking this because my code is triggered when the user push the save button, and at this time I don’t have any modification in the table so I need to be sure that the user put the Z1 for a specific material?
    Can u help me with this ?
    TAB: sales: sales org.
    “X-distr.chain status” = MARA-MSTAV
      “DChain-spec. status” = MVKE-VMATA
    TAB: Purchasing
    “Plant-sp.matl status” = MARC – MMSTA
    Best regards,
    Full reward points if helpful.
    Mário.

    HI Miki
    Could you let us know for what purpose you want to use classification, ex: Define the charesteristic for material etc.
    As it has many functionalities.
    For creating the material with classification view, in the material type Classification view should be activated.
    Goto OMS2, Select the material type & click on details.
    Check for the material type Classification view is selected or not.
    Select it if not selected.
    Before creating the material master you need to maintain the Characteristics using CT04 & Class using CL02 with Class type 001 - Material class
    Assigning the Characteristics to the Class in CL02
    Goto MM01, create the material master selecting the Classification view & maintain the class maintained & the Characteristic Values.
    From the Classification screen in the material master:
    When you create classification data, the system asks you to choose a class type in a dialog box. If necessary, you can change the class type on the following screen, where you assign the material to one or more classes. Entries are made in the Description, Status, and Icon fields automatically on the basis of the classes you have chosen. If you have assigned the material to more than one class, you can flag one of the classes as the standard class. You can then assign values to the characteristics. For example, if the characteristic is color, you can assign it the value blue
    Save the material after maintaining all the views required.
    Also check the below link
    http://help.sap.com/saphelp_46c/helpdata/en/ff/515d5849d811d182b80000e829fbfe/content.htm
    Regards
    Mascot
    Edited by: Manish Kumar on Apr 11, 2011 5:44 AM

  • SAPF124 (F.13) exit / BTE / BADI to over rule the account number.

    Hello experts,
    I have a requirement like while doing the automatic clearing of the open items (TCode F.13), the target account from table T030 should be overruled by a customer defined account finding based on the given tolerance goups.
    I just want to know whether this is possible using any suitable exits / BTE / BADI. If yes, please provide me the exit details. I am working on SAP R/3 release 4.6 C.
    Thanks in advance.
    Regards,
    Selva K

    >
    Selvakumar Krishnan wrote:
    > Hello experts,
    >
    > I have a requirement like while doing the automatic clearing of the open items (TCode F.13), the target account from table T030 should be overruled by a customer defined account finding based on the given tolerance goups
    >
    > I just want to know whether this is possible using any suitable exits / BTE / BADI>.> i dont think so
    If yes, please provide me the exit details. I am working on SAP R/3 release 4.6 C.
    >
    > Thanks in advance.
    >
    > Regards,
    > Selva K

  • Any USER EXIT or BADI  for modification in ME21N Asset Creation

    Hi Guyz,
    We have a requiremnt where we need to put some validaion/check in Asset Creation of ME21N,
    Any possible BADIs or USER EXIT available for this modification.
    Pease help.
    Thanks
    Jaif

    Hi Jaif,
    For BADIs please go to SE24 put cl_exithandler diplay it and put the break-point execute the transaction for which you want to find out badi you will get the badi name in exit name parameter.
    Regards
    Sagar

  • User exit/BADI for material Po text

    HI,
    can any one suggest me User Exit/BAdi for material PO text in item level in PO
    Regards

    USE ME_PROCESS_PO_CUST
    METHOD : PROCESS_ITEM
    REGARDS
    KANISHAK

  • Middleware: extended Material to CRM Product, EEWB needed?

    Hi all,
      If Material in ECC contains custom fields extended by EEWB to the MARA table, and these information are needed in CRM during replication, do I need to use EEWB to extend in CRM as well? (if yes, which table to be extended for product)
    Or creating new attributes to the attribute set and assign it to CRM Product's set type will do?
    Kindly advise.
    cheers,
    ginnie

    Hi Ginnie,
    You can create a new attributes to the attribute set and assign it to CRM Product's set type. But if you want to have the information in these Zfields in ECC to pass into CRM product master fields then you need to perform the below steps.
    Configuration Tables TBE24 and TPS34 in ECC must be maintained for triggering the CRM Middleware download of data from ECC to CRM. In Table TPS34 the Process CRM0_200 contains the entry for CRM Middleware download of data.
    1. Activate Customer Product by maintaining table TBE24 using transaction SM30
    2. Maintain the Custom product e.g. ZPROD
    3. Add the function module that the OPEN_FI function module can find for a Business Transaction Event (BTE) as an alternative to a standard function module by maintaining table TPS34 using transaction SM30
    4. Create Function module for mapping in ECC. For e.g. Function Module ZSEND_PROD_TO_CRM handles mapping the custom fields to be transferred to the CRM system.
    5. After this you should implement the source code to do the BAPIMTCS mapping to send the data to CRM.
    6. Finally, you will need to implement a BADI PRODUCT_CUSTOMER2 in CRM, method MAP_R3_TO_CRM_MATERIAL which will map all of the custom fields from ECC into the Product Master in CRM.
    Hope this helps!!!
    Regards,
    Chandrakant

  • Download Material to CRM

    Hi,
      I would like to download the Material from ECC to CRM. I understand that ECC's product can be assigned to different plant. In this case, how middleware can take care of this?
      For example:
      Plant ABC has material 124
      Plant DEF also has material 124.
    Question 1: iIn this case, middleware will only download the basic data for that material?
    Question 2: if ECC material has extended fields which does not exist in CRM. Settype & Attributes for those extended fields have to be created in CRM and assign to the category. What will be the next step? As what I understand, BADI from CRM will be called and FM in ECC as well. But I do not have clear picture on this.
    Any input is welcome!
    cheers,
    ginnie

    Hello Ginnie,
    To answer your first question,
    In order to download the plant data of a material, you need to add MARC and MARC_KEY under 'Tables/Structures within Object'
    tab of txn:R3AC1 , for object MATERIAL. This would make sure that plant data of material gets downloaded to CRM.
    To answer your second question,
    If you have extended fields in ECC then you need to map them to BAPI structures in User Exit so that these data would flow to CRM.
    In CRM, you need to have settype/attributes and assign that settype to category.And then you need to implement the BADI
    PRODUCT_CUSTOMER2 ,method MAP_R3_TO_CRM_MATERIAL, which would take care of mapping the ECC extended fields to CRM fields( which were defined as attributes/settype).
    Attribute is a way to define datatypes.Settype is a means to group related attributes.If you want these attributes of a particaular settype to be available in a material , then you need to assign that settype to category to which your material belongs to.
    Now to map the ECC fields to CRM fileds you need to BADI.
    Hope the scenario is clear to you.
    Best Regards,
    Shanthala Kudva.

  • BTE for material master creation

    Hi All,
    I need to update material long text using the specific class and characterstic values of a material when it is created via MM01 transaction.
    I want to do this by using BTE. Can you please explain on how can do this i.e. what BTE to be used, any settings required.
    Regards,
    Shahu

    hi.
    BTE is same as User exit.
    Like user eict ,In BTE you can call the create event or directly workflow.
    If  you have confusion in BTE then go trough this docemnt:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/207835fb-0a01-0010-34b4-fef1240ba9b7
    let me know if you need more help.
    Reward point is also appricited.
    sunil

  • Create Material in CRM and also in ECC

    Hello,
    We have a non-SAP system (that is not being retired) where pre-production material numbers are generated for opportunity work.
    (They are not initially ECC)
    We are migrating our current opportunity system into CRM, and approach is the non-SAP system will start to send the pre-production materials into CRM (as products).  To support opportunity creation.
    However, when the materials do go into production, we then will set up the material numbers in ECC to support quotes/orders.
    The material numer will be the same as when it was just pre-production status.
    However, we are concerned with middleware replication...
    What happens if we directly create a product in CRM, and then xx months later create the same product in ECC.
    what happens when that material number tries to replicate to CRM and the number already exists?
    Thanks
    Chris

    Hi Chris,
    If you create the materials directly in CRM and then the materials with the same id in ECC, the products won't be in sync in the two systems and the transfers will start giving errors stating that the Product ID already exists and nothing will happen. Neither a new product will be created in CRM from ECC nor will it update the already existing once in CRM.
    The reason being that the product created in CRM will be of the logical system identifier : CRM but when they will flow from ECC, they will be of the logical system identifier : ECC, hence the two won't link up.
    /Hasan

  • User exit transfer SO changes from CRM to R3

    Dear All,
    I want to add enhancement by using user exit to do item changes check and to change order delivery block when Sales Order changes are transferred from CRM to R/3.
    According to SAP docs, the user exit is CRM_GENERIC_R3_IN , but there is no further documentation on how to insert the modification .
    Could anyone provide me a sample of this enhancement ? Or is there another way to do this ?
    Thank you before,
    TS Winedya

    Dear Friend,
    What type of exit is this?Is it a FM or BADI or any subroutine?

  • F110 - Automatic Payment (User Exit, BTE, BADI)

    I have requirement after generating payment document by F110 automatic payment. I need to send data to other system.
    How to get all payment documents? Can I use a BTE, User Exit or BADI? Kindly help me.

    Hi ,
    You can create a DMEE  or genrate Idoc  to another system .
    If you want to send excel file then you can create a dmee file in transaction DMEE with same formt provided by bank/ another system .
    many Thanks

  • Issue in Material Master data replication in SRM 7.13

    Hi All,
    We have implemented SRM 7.13 and facing an issue in material mater data delta replication.When we create a new material in ECC it does not get replicated to SRM and gives the ERROR 'Specify the relevant unit of length' and 'Validation error occurred: Module COM_PRODUCT_MAT_VALIDATE, BDoc type PRODUCT_MAT.'  in SMW01.
    But when changes are done to the same material in ECC it gets repicated without any issues.
    Please provide your help to reolve this issue.
    Thanks,
    Ankur

    Hi Ankur
    Check your settings in CUNI transaction which UOM is this happening for or for all ?
    You should go to that and check what are the conversion values maintained As seen below
    In CUNI transaction go to utlilties > Adjustment select your R/3 system and click on Check mark
    Also replicate the UOM from backend . By going to R3AS and fill DNL_CUST_BASIS3 and execute
    Lastly go to Table T006 and T006A and click on Check table ...
    Doing this would sync your UOM with that of ECC and ideally the error should vanish if not
    share the screenshots
    You can solve the errors mentioned above by implementing the following notes:
    Call transaction SE16, enter SMOFAPPL, and set entry EBP.
    Check the notes as below
    520227 - Set type CRMM_PR_TAX (implement manually!)
    720819 - Consumer entries
    428989 - Filtering irrelevant data (for example, Sales and Distribution) Example: see attachment mod.txt.
    675101 - Execute report: COM_CATEGORY_TRANSPORT
    Note 872533 - FAQ: Middleware
    Note 402591 - Download Customizing object DNL_CUST_BASIS3
    Note 1609476 - Error loading tables DNL_CUST_PRICE and DNL_CUST_BASIS3 from ERP.
    Note 393939 - Table TCURX is not downloaded from R/3 System
    Note 1038966 - Entries missing in TCURX after load of DNL_CUST_BASIS3
    Also refer to these who faced similar issue as yours
    http://scn.sap.com/thread/1769891
    http://scn.sap.com/thread/1355188

Maybe you are looking for

  • When I click on safari...

    I get a pop up "the application safari quit unexpectedly.".  It clicks out of the Internet...

  • [SOLVED] Gnome-won't start

    Dear archies, I using fluxbox right now but I wanted migrate to Gnome 3.2.1 but I have problem with start. I used lxdm as login manager (becase there I can chooose session - but I tried gdm also with the same result). Login was OK but then I got just

  • External monitor suddenly not recognised

    Hi everyone, Not sure if anyone can help me, but thought I'd try here before progressing any further. I have an 11-inch 2010 Macbook Air with an external monitor set up (Acer LCD, if it makes a difference) through a mini-display port to HDMI converte

  • Multipart request and modern browsers

    Hi! I want to write own parser of multipart http request for my http service. I have tried to find not-outdated (as, say, RFCs are) information about the ways modern browsers form the request with all their (browsers's) bugs (IE, am sure, has plenty

  • Inadvertently Deleted Administrator User, Please Help

    I have inadvertently deleted the Administrator User and the only account I have is a Standard User. The computer will not accept any former Administrator name. I know the password for the user account that was deleted and I know the password for the