CMOD Vs BADI....!!!!!!!!!

Dear all Gurus,
I have a doubt on cmod & badi. In CRM when do we use cmod & when do we go for badi. Please let me know the clear information on this anyone. Is there  any adv. using BADI than CMOD. etc.......and also if anyone having documents on BADI, please send to my maile id. now i am working on CRM BW Integration part.
[email protected]
Awaiting for your valuable help here.
Regards
Swetha

Hi Swetha,
         Go through this document.  It will be helpful.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/a-c/customer enhancements and userexits in bw - sap netweaver  know-how network webinar.pdf
         Assigning Points is the way of saying Thanks in SDN
Cheers,
Aravindhan

Similar Messages

  • Convert Includes in CMOD to BADI Implementation

    Hi BW Experts,
    The way we used to enhance datasource was to write includes in CMOD.  Now we are working on technical design to convert all these includes to BADI implementations. The question that we have is that is data reload required in BW after the conversion?
    Thank you!
    Anh

    Anh,
    I do not think that ther should be any reload needed. CMOD and BADI can even act in-dependently. You can have even couple of e.g. datasource enhancements done in CMOD way and some other datasource enhancements in BADI way.
    cheers
    m./

  • Function module in BADI

    hi,
    have anyone worked with function module in BADI.if so plz
    let me know how how to do
    my current requirment is on that
    poits will be rewarded
    regards
    raj

    Hi Raj,
    check out these links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0456c54-0901-0010-f0b3-cd765fb99702
    Differences between BADI and User Exits
    BADI's
    BADI
    CMOD Vs BADI....!!!!!!!!!
    http://help.sap.com/saphelp_erp2005/helpdata/en/a3/1d40425c459923e10000000a155106/frameset.htm
    BAdI(Business Addins) are enhancement techniques using Object Oriented Technique.
    Users of BAdI can customize the logic according to the specific requirements (User-defined) or use the standard logic available.
    Each Business Add-In has
    At least one BAdI definition
    A BAdI interface
    A BAdI class that implements the interface
    For User-defined BAdI,
    developer creates an interface for the add-in.
    Enhancement management creates an adapter class that implements the interface
    Developer creates an instance of the class in the application program and calls the corresponding methods.
    For standard BAdI, interface and class will be predefined by SAP.
    Adapter class performs these tasks
    Control ( the class calls all active implementations)
    Filtering (If the Add-in has to be executed under certain conditions, the class ensures that only certain implementations are executed)

  • Want User Exist or BADI when PO created and saved in database

    Hello Experts,
        I want User Exists or BADI, when PO saved in database table. That is, after Successfully Created message, want user exist or BADI in 4.7 server.
    Thanks & Regards,
    Poonam.

    Hi Friend ,
    Here is the  User Exit & BADI for Purchase Order  on save .I hope it will solve your Query
    User exit  create project  in CMOD : MM06E005
    BADI in SE18 :  ME_PROCESS_PO_CUST
    For more Information please see this SDN LINK : [ME21N /  ME22N SAVE Userexit;
    Regards,
    Edited by: Loganathan girishkumar on Nov 5, 2009 4:31 AM

  • Data source enhancement using BADI

    Hi,
    We had a 2LIS_* extractor which is enhanced with ZZ fields.
    I look for the sode in CMOD which i couldn't able to find any
    My assumption is the data source is enhanced using BADI.....As i am not familiar with BADI's how can i create for my data source enhancement code in BADI
    Thanks

    Hi ,
    Not sure on your question.
    Is the Enhancement already done and you want  to check whether it is done in BADI/CMOD.
    Or
    You want to populate the Data using BADI/CMOD.
    In any case you can use CMOD or BADI to populate the data ,the recomendded is BADI which can be created in SE24..you can google for some Docs on its creation and steps to be followed.
    And if tis CMOD you have to create a project and then write the code and for that also there are DOcs avaliable.
    Rgds
    SVU

  • Assign fixed values through CMOD

    Hello all,
    I have been asked to make an enhancemet to assing fixed values to a field, so there would be a drop down after wards. Is this posible through CMOD? I know i can do it through se11 and fix the domain, but not sure if it is the correct process.
    Thanks.

    Hi,
    Enhancement(SMOD,CMOD) or BADI (SE18,SE19) are just predefined user exit for customer to implement their specific logic in the specific application/component .
    So your question is depending on whether there is a prefined user exit for that field. In my opinion, enhancement for assigning fiexed values to field mostly don't have predefined user exit.
    But you can achieve it with it's search help exit instead, do as below:
    1. If  a search help already been attached to that field, just implement search help exit via se11(choose search help and change)
    Hope helps,
    Chen Jian

  • [Request] Special user-exit we need during creating purchase order

    Hi, Gurus!
    We need to make specific User-Exit during creating Purchase order.
    When user creates/change a PO document (ME21N/22N), SAP has to check the u2018CUSTOMERu2019 filed whether it is BLANK or NOT in Delivery Address tab at ITEM LEVEL.
    If there is no value in that field, system will automatically input right value with useru2019s business logic.
    Thatu2019s what we want to implement in the future.
    If you have any solution or recommendation for this, Please help us.
    I really appreciate your help in advance.
    Best Rgds;
    Ian

    For checking user exit - SMOD, you need to activate this exit via CMOD
    For Badi - SE18 to check & SE19 to implement
    Take the help of your abaper, give him / her your logic.
    Hope the above answers your query.
    Regards,
    Vivek

  • Problem In Enhacing field EKPO - BRTWR and EKPO-MWSKZ

    Hello SAP Experts ,
                                       I want to enhace two fields ekpo-brtwr and ekpo-mwskz  for Purchasing data source 2lis_02_itm .BUt Datasource dosnt contain field value not even as hidden filed.
    I tried to direct entry by structure maintain for that two fields but its not allowing me ...
    give any solution to Enhace these fields .

    Hi
    It will not allow to enter this fields directly
    Do following steps
    double click the data source in Rsa6
    double click the extractstructure name
    this will open Extractstructure in Data Dictionary
    Click on append structure button
    Give a name to append structure
    This will create a new struture
    Enter the New fields u want to Append
    like ZZBRTWR  give reference of  ZZWAERS in currency/quantity   fields tab
    ZZWAERS
    ZZMWSKZ
    Now you need to Code in exit to populate fields  using CMOD or BADI
    Hope this helps.. ask if you have further query
    Sonal...

  • Settings for invoice block

    Dear Experts,
    Whenever i post invoice w.r.to purchase order, that invoice is getting blocked for payment for all the invoices. I have checked in OMR6, but i don't know where i should correct it. Kindly guide me.
    Regards,
    Prasath

    Hi,
    Check if you have enhancements (tcode CMOD) or BADI's (tcode SE19) that lock the payment.
    Check MRM_PAYMENT_TERMS for the field ZLSPR.
    I hope this helps you
    Regards,
    Eduardo

  • How to add Z fields from VBPA in datasource 2LIS_11_VAITM in delta mode

    Hi All,
    I'm looking for a method to add Z fields from VBPA (ie order reponsible , account manager , ..) in the datasource 2LIS_11_VAITM
    Of course these fields should be filled in delta process
    Thanks for your help
    Regards
    Sebastien

    Hi,
    You would have to enhance the extract structure and write code to populate this:
    1.1 First alwas Check if fields can't be added using the standard method - Logistics Cockpit (LBWE)
    1.1. Don't think you would be able to fields from table VBPA though which means you have to enhance the extract structure:
    2.1 RSA6 - Enhance Datasource
    2.2 Double Click on Datasource
    2.3 Double Click on Extract Structure
    2.4. Click Append Structure & give a name for the append strcture
    2.5. Add Z-Fields prefixed with "ZZ"
    2.6. Save & Activate
    3. Enhance Datasource (RSA6)
    3.1 New fields are hidden automatically and you must un-tick "hide" check box
    3.2 Save the datasource
    3. Write Code in Transaction CMOD or BADI (SE19) to popoule the Z-Fields.
    If you search for "enhance 2LIS_11_VAITM" in forum you should get a lot of example on how to do this.
    4. Test in RSA3 that your Z-Fields are populated.
    5. Replicate Datsource on BW side to ensure that new fields are transfered from the Source System.
    6. Maintain Infosource, Transfer Rules, Infocube and Update Rules for the new fields.
    Hope it helps.

  • Changing Vendor on PO (created and saved)

    HI All
    Can i amend existing po Vendor code A to B  without deleting (its not GR'd ) it . not via SE16N is it possible normal standard sap transaction (dont want to amend tables or etc...)
    eg: changing invoicing party at partner
    Please advise

    Hi Friend ,
    Here is the  User Exit & BADI for Purchase Order  on save .I hope it will solve your Query
    User exit  create project  in CMOD : MM06E005
    BADI in SE18 :  ME_PROCESS_PO_CUST
    For more Information please see this SDN LINK : [ME21N /  ME22N SAVE Userexit;
    Regards,
    Edited by: Loganathan girishkumar on Nov 5, 2009 4:31 AM

  • 0BP_RELATIONS_ATTR

    Requirement :
    We want to fetch Customer Master Partner Functions data w.r.t. to a Customer and store it into a DSO.
    Currently we are doing it with a custom datasource created on KNVP.
    We want to use 0BP_RELATIONS_ATTR datasource for this requirement as we want this datasource to use a delta enabled datasource
    Problem :
    Base tables of 0BP_RELATIONS_ATTR datasource are BUT000, BUT050, BUT051, ADRC, etc.
    When we compare Partner records of KNVP and 0BP_RELATIONS_ATTR, no partner record matches.
    Query :
    1. How to use 0BP_RELATIONS_ATTR datasource for Customer Master Partner Functions data?
    2. How to identify different Partner Functions in above datasource?
    3. Is there any other delta enabled datasource which i can use for Customer Master Partner Functions data?

    Use datasource 0CUST_SALES_ATTR which takes data from KNVV and enahance it with PARVW(fill it with cmod or badi from knvp table).
    On BI side, if you are planning to use 0cust_sales io , then you have to compound it with partner function object( which is very difficult).
    Create a new Infoobject as template to 0cust_sales and then compound it with partner function object.
    I hope this will help you.
    Regards,
    San!

  • Business Transaction Event

    Hi All,
    I want to create the custom BTE for warehouse management transactions to capture the changes. Can you please help me on how can we create custom BTE?
    Any help is appreciated.
    Regards,
    Amit

    Hi Amit. There are no BTE's for Warehouse Module. BTE's are primarily for the FI module. In WM you have customer enhancements(SMOD/CMOD) and BADI's(SE24). User exits(form routines) are also not present in WM(only in SD module).
    What is it exactly you are trying to do? Have a look at transaction SMOD(customer enhancements) and transaction SE18(BADI's) if any fit your need.
    As with BTE's, BADI's or customer enhancements, they have to be pre-programmed by the SAP programmers. Meaning SAP standard programs must have a provision for these objects. If they do not then the only option that you are left with is a modification. A modification involves an access key from SAP for you to be able to modify the standard programs. Be careful though as modifications can get quite messy during upgrade time. But don't worry the modification assistant can help you track the modifications you have done to SAP standard programs.

  • Hi, IDOC Material Master upload

    Hi
    I am working on LSMW IDOC Method for MAterial Master
    when i process the idocs.. the idocs are generated and are not getting processed showing 51 - Idocs are not processesd as the idoc packets has errors..
    i am not able to debug it.. can anyone help me how to find the error and locate the particular segment..
    if any one had faced such error previously can you help me out in solving this..
    Thanks in advance
    Guhapriyan

    Hi Guhapriyan,
    I think you might be in the wrong forum, but since I am reading here goes. One or more of the idocs in the packet fails, so all will fail. You can eliminate this by setting the packet size to 1 when processing the idocs in LSMW. Alternately, use BD87 to view the idocs and reprocessthe failed ones. They will process individually so you can locate the error messages. MATMAS idocs will generate an success/failure log which you can drill to directly from the idoc in BD87 by double clicking the idoc status record or via trans SLG1. You can also capture the idoc number and process/debug from WE19 but should not need to unless you have implemented CMODs or BADIs on the MATMAS idoc.
    Hope that is of some help,
    -Lew

  • Spool request creation user exit

    Hi Experts,
    I need to do some action every time, when spool request is created. Is there any standard user exit or badi, or do I need to modify standard program?
    Best regards,
    Jirka F.

    For checking user exit - SMOD, you need to activate this exit via CMOD
    For Badi - SE18 to check & SE19 to implement
    Take the help of your abaper, give him / her your logic.
    Hope the above answers your query.
    Regards,
    Vivek

Maybe you are looking for

  • Problem with Binary search statement

    Hi, I have problem with reading the internal with Binary search. I have two internal tables BSAS and BSIS. In BSAS I have 1,200,000 line items and BSIS 500,000 line items. I need to delete the line items if BSIS-BELNR NE BSAS-AUGBL. I am using the fo

  • What is the relation between G/L account and Chart of Accounts

    Hello Guru's,                    Can you please tell me what is the relation between chart of accounts and G/L accounts. I know there was a list or range of account numbers in chart of accounts.   Assets 100000 - 149999                 current assets

  • Problem with Unbinding Dashboard Key

    For some reason from time to time, my keys for Dashboard and Expose keep getting unbinded. I will hit the key and nothing happens then I go to Dashboard/Expose settings to find that Dashboard and Expose and Show Desktop have all been reset to nothing

  • Retrieve Portal Service from EJB

    Hi All, I am trying to use a custom Portal Service from an EJB application. I assume that I have to do the  JNDI lookup for the service since I can not use the usual "PortalRuntime" to get the service instance. Looking at the JNDI browser in the Visu

  • DOES ANYONE KNOW IF THE EU CAP IS ON 5.5 GEN IPODS IN THE UK ?

    Thanks in advance