Enhancing the CRM datasource

Hi experts,
i have to enhance the CRM datasource with some additional fields and fill them.
so far i am succesfull in doing the below.
1. i have appended the fields to the extractstructure and also regenerated the datasource
2. and when to the BADI for Messaging Flow for writing the code.
the problem here is its giving a small popup screen in which it has few implementations given by SAP in which do i need to put the code (i am assuming that its the same as our old exit concept where we use the same exit for all transaction datasoruces just by using the case statement) so in that four which one should i use for putting the code and what others are used for.
The below are the implementations available when i execute the badi for messaging flow.
CRM_BTX_EEW_BWA
CRM_BWA_ENHANCE_EX
CRM_BWA_ORDER_1
CRM_CSDR_BWA_MFLOW
If not a big trouble i will be greatfull if somebody can give me the code sample for getting a field filled from someother table with simple logic.
thanks and regards
sreedhar

Pls chk this link for Crm enhancement
Enhance standard data sources in CRM
BWA1 is for all standard crm datsource maintaince
rsa2 for generic datasource
BWA5 i think we use this Tcode after RSA5 activation additionally.
yes(incase of delta)
BWA7 do we have to use this tcode along with BWA1 for standard datasources also or else only for generic datasource.
irrespective of the type of dtasource,use it if you want to load delta(you need to delta enable the datasource here)
So we don't need to put the code as we traditionally do it for R/3 , if we just mapp the fields that would bring the data for these fields.
as i told in CRM we willwrite code in BADI in case you have done enhancement
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/a-c/customer%20enhancements%20and%20userexits%20in%20bw%20-%20sap%20netweaver%20%20know-how%20network%20webinar.pdf
also chk this(credit goes to the writer)
CRm enhancement:
1. Enhance Extract Structure with the required fields. (Create & include an append structure to the extract structure via transaction RSA6).
2.a) Release the fields of the append for usage. ( To do this, double click on the Datasource and remove the flags in the column 'Hide Field' for all fields of Append).
2.b) If the new fields cannot be seen in the extract structure of the transaction BWA1 then change and save the datasource, and then activate it in RSA6.
3. Define your mappings in BADI (CRM_BWA_MFLOW) to fill these fields.
Goto SPRO . Follow the path ->SAP Implementation guide ->Implementation with other mySAP components ->Data transfer to the Business Information Warehouse-> Settings for the application specific datasources (CRM)->Settings for BW adapter-> Badi :BW adapter :Enhancement of datasources in messaging flow.
4. Replicate the new Datasource to BW.
5. Expand the Communication Structure in BW.
6. Maintain transfer Rules for the new Datasource.
7. Activate the trasfer rules and perform the upload.
Refer to the SAP Note 692195 for more info ......
send ur mailid, mail u some good step by step- doc abt this.
*pls assign points,if link is useful*
Regards
CSM Reddy

Similar Messages

  • Enhancing 0CRM_SALES_ACT_1 crm Datasource

    guys i have read so many threads here to enhance 0CRM_SALES_ACT_1 crm datasource. i am adding 4 fields to this ds and would like to know how to enhance this. i would like this to delta capability.
    do we have to use4 badi..if so can us send me sample abap code? what is the best practice and procedure

    Hello,
    You can enhance th edatasource from RSA6. Append the fields to the datasource structure and write a abap code in CMOD  for those added fields.
    Also go through the below forum:
    [CRM Extractors - Mapping in BWA1;
    Regards,
    Pratap Sone

  • Enhance the BW datasource

    I will appreciate if you can help me to resolve the abap code below.
    I am trying to enhance the datasource  0refx_2with field RESPONSIBLE from Table VIBDPR
    Please help me asap, I am trying to enhance the BW datasource with only one field "Responsible" in 0refx_2 datasource . I am getting the error in code that case i_chabasnm is unknown and tables not defined by data statement
    please help me to correct the code I am just picking the field RESPONSIBLE from Table VIBDPR
    Abap Code below:
    Tables: VIBDPR. "Property master data table
    data: l_tabix like sy-tabix.
    case i_CHABASNM.
    *Enhancement of Property Master Record
    WHEN '0REFX_2'.
    case i_datasource.
    WHEN '0REFX_2'.
    data: l_s_REIS_MEASUREMENT_TRAN like REIS_MEASUREMENT_TRAN.
    loop at i_t_data into l_s_REIS_MEASUREMENT_TRAN.
    l_tabix = sy-tabix.
    select single * from VIBDPR where BUKRS = l_s_ REIS_MEASUREMENT_TRAN - BUKRS.
    if sy-subrc = 0.
    l_s_BIW_VIBDPR_s-ZZRESPONSIBLE = VIBDPR-RESPONSIBLE.
    modify i_t_data from l_s_ REIS_MEASUREMENT_TRAN index l_tabix.
    endif.
    endloop.
    endcase.
    endcase
    Thanks
    Regards
    Soniya

    Tables: VIBDPR. "Property master data table
    data: l_tabix like sy-tabix.
    data: l_s_REIS_MEASUREMENT_TRAN like REIS_MEASUREMENT_TRAN.
    case i_CHABASNM.
    *Enhancement of Property Master Record
    WHEN '0REFX_2'.
    case i_datasource.
    WHEN '0REFX_2'.
    loop at i_t_data into l_s_REIS_MEASUREMENT_TRAN.
    l_tabix = sy-tabix.
    select single * from VIBDPR where BUKRS = l_s_ REIS_MEASUREMENT_TRAN - BUKRS.
    if sy-subrc = 0.
    l_s_REIS_MEASUREMENT_TRAN-ZZRESPONSIBLE = VIBDPR-RESPONSIBLE.
    modify i_t_data from l_s_ REIS_MEASUREMENT_TRAN index l_tabix.
    endif.
    endloop.
    endcase.
    endcase
    Check this code... small change in your code.
    l_s_REIS_MEASUREMENT_TRAN-ZZRESPONSIBLE = VIBDPR-RESPONSIBLE.
    Regards, SB

  • Issue withe Info Package Selection for the CRM Datasource

    Hello,
    I have a custom CRM data-source which has the Selection option as CRM-GUID as the Selection option in the RSA3.
    I have replicated the Same Data-source in BI system and Created the Info Package ,but i could not see that GUID Selection in the Info Package.
    To Be Noted:
    I went to RSA6 enabled the selection option( check Box ) , there is no hide option in the datasource , only the Selection option check box is enabled in the RSA6 .
    Replicated again , and activated again , logged out and logged in again . But the Info Package does not show the CRM - GUID selection option.
    I found something not sure this might be the issue:
    1) The Data type is RAW with length 16.
    2) The Datasource in the BI side has SS conversion Routine Blank for this field and the Selection has X.
    But no Selection option in the Info Package.
    Any suggestion and inputs are welcome.
    Thanks in advance.
    Adhvi.

    similar issue is disussed in the below thread...
    Info package Selection were hidden
    Info Package Selection Language key is not diplaying while this is checked
    search for any SAP Note which explains about data type RAW ....

  • Enhancing the Classification Datasources . Tcode - CTBW

    Hi Guys,
    we need to use customer exit for populating certaing classification field values in the Classification datasources ( tcode - CTBW).
    could you please provide any document or info that whether it is possible to use the customer exit using CMOD  for deriving the value for the calssification field.
    Thanks
    lnv.

    Thank you for the document KJ, it was veryhelpful.
    I just have one more question ?? When I generate the datasource in transaction CTBW it is only generating the text datasource, for example
    1CL_AMIL010
    1CL_AMIL011
    1CL_AMIL012 and so on, but the datasource for attributes 1CL_OMAT001 is not being genereted, and i don't know why.
    I'm using 0MATERIAL_ATTR as base datasource, cat class = 01, Table MARA.
    do you know why this attr datasource 1CL_OMAT001 is not being generated ? The system ask me for a password of developer user, but i don't have one.

  • How to activate a CRM datasource and also to enhance

    Hi experts
    1. can somebody guide me how to activate a CRM datasource like in R/3 we do it in RSA5 and check it in RSA6
    do we have to do the same and also any additional steps need to be performed for adapters.
    2. How do we enhance the CRM datasources.
    can somebody guide me with steps for the both.
    thanks and regards
    Message was edited by:
            Neel Kamal

    Hi ,
    <i>BWA1 is for maintaince of Datasource in which scenario do we use this Tcode isit only when we do the Generic datasource</i>.
    BWA1 is for all standard crm datsource maintaince
    rsa2 for generic datasource
    <i>BWA5 i think we use this Tcode after RSA5 activation additionally.</i>
    yes(incase of delta)
    <i>BWA7 do we have to use this tcode along with BWA1 for standard datasources also or else only for generic datasource.</i>
    irrespective of the type of  dtasource,use it if you want to load delta(you need to delta enable the datasource here)
    <i>So we don't need to put the code as we traditionally do it for R/3 , if we just mapp the fields that would bring the data for these fields</i>.
    as i told in CRM we willwrite code in BADI in case you have done enhancement
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/a-c/customer%20enhancements%20and%20userexits%20in%20bw%20-%20sap%20netweaver%20%20know-how%20network%20webinar.pdf
    <i>also chk this(credit goes to the writer)
    CRm enhancement:
    1. Enhance Extract Structure with the required fields. (Create & include an append structure to the extract structure via transaction RSA6).
    2.a) Release the fields of the append for usage. ( To do this, double click on the Datasource and remove the flags in the column 'Hide Field' for all fields of Append).
    2.b) If the new fields cannot be seen in the extract structure of the transaction BWA1 then change and save the datasource, and then activate it in RSA6.
    3. Define your mappings in BADI (CRM_BWA_MFLOW) to fill these fields.
    Goto SPRO . Follow the path ->SAP Implementation guide ->Implementation with other mySAP components ->Data transfer to the Business Information Warehouse-> Settings for the application specific datasources (CRM)->Settings for BW adapter-> Badi :BW adapter :Enhancement of datasources in messaging flow.
    4. Replicate the new Datasource to BW.
    5. Expand the Communication Structure in BW.
    6. Maintain transfer Rules for the new Datasource.
    7. Activate the trasfer rules and perform the upload.
    Refer to the SAP Note 692195 for more info (Question 4 to be specific).</i>
    Cheers,
    Swapna.G
    Message was edited by:
            swapna gollakota
    Message was edited by:
            swapna gollakota

  • Enhancement of Standard Datasource in LBWE.

    Hi,
    I am enhancing the standard datasource for additional fields from the extract structure in LBWE. I have selected the fields in maintenance and pushed them into the selection criteria (first column), and saved the daatsource change in a request. but to my surprise the field contents in Selection criteria and pool(Second Column) column are same as of original in R/3 Development server itself.
    I have then redone the activity and then generated datasource followed by deactivation and activation of datasorce, this has collected a workbench and customization request . But when i again open the maintenance screen of the data source it is again same as of original before change.
    I don't understand why this is happen.
    can some one please guide me and guide how to enhance the datasource in the maintenance screen of the datasource.

    Hi,
    Its very simple.
    1. delete setup table and delta queue ( all the clients)
    2. If fields can be added through lbwe maintainance then add other wise create a append structure
       and exit for filling up the value for the fields..
    3. change mode in data source ---> uncheck hide buttuon --> if you want data to be extracted
        using newly added fields plz check selection checkbox..
    4.. Thats it...
    Regards,
    Viren.

  • Role of enhancements in CRM

    Hi all
    Can any one explain me the role of enhancements in CRM implementation?
    Also what kind of enhancements are used and where they are done?
    Thanks In advance
    Sonali

    hi sonali,
    I am not clear what is your question.
    we have some of the below tools for enhancing the CRM.
    Easy Enhancement Work Bench: which wizard based tool to add fields, tabs, additional screens to standard Transactions. Very less coding is required.
    Business Addinn's : this is the technology with object oriented framework for enhancing the transaction ( either the business process or adding fields, tabs, subscreends etc.
    these are the two things i know.
    hope this helps you.
    jaffer vali shaik

  • Master Data Datasource Enhancement or Custom Datasource

    HAI
    Im implementing the BI7.0 for procurement. We need to the data for VENDOR from XK03(T-code).
    In XK03 , we have some custom defined class and its charateristic values .
    So if i want to use 0vendor then i need to enhance the standard datasource of 0VENDOR.
    So cani enhance the standard datasource or can my abaper create a custome R/3 table and load the vendor details. Then i will create the custom datasource. And load the data into BW.
    Pls tell me how to do this one.
    kumar

    hi,
    why u want take abap helper, if u want u can create ur customet table ur self go to se 11 create table and enter field what u want , and  define lenth and chat type. got o rsa5 create ur data soure and replicate in be side and upload into ur data targets
    u need more than 1 table u can create view  got to se11 create view.
    Thanking u
    suneel.

  • Delta Field for CRM Datasources

    Dear All,
    I am using the CRM datasources such as
    0CRM_SRV_PROCESS_H
    0CRM_SRV_PROCESS_I
    0CRM_SRV_CONFIRM_H
    0CRM_SRV_CONFIRM_I.
    I just want to know the delta for this datasources.. Please suggest.
    Thanks,
    Siva.

    Hi,
    Thanks for the quick reply..
    I have checked the table and find the field called "Delta". It is specified as
    AIMD -After-Images with Deletion Flag Via Delta Queue (e.g. BtB)
    I just want to know what is the delta field for this datasource.
    Thanks in advance.
    Thanks,
    Siva.

  • Creating BADI for datasource enhancement in CRM system

    Hi,
    I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
    Thanks in advance
    Moumita

    Hi Kushal,
    You can find the BADI name by,
    Go to Transaction SE24
    Enter the Object Type CL_EXITHANDLER and click on Display.
    Double Click on method "GET_INSTANCE".
    Put a Break-point on Call method cl_exithandler=>get_class_name_by_interface
    Run RSA3 transaction and execute the DataSource.
    The execution will stop at the break point.
    Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    Thanks,
    Kokila

  • Creating BADI for datasource enhancement in CRM.

    Hi,
    I am working on SAP BI/BW. This is the first time I am working in CRM system with CRM datasources. Facing some problem for datasource enhancement as never done it before in the CRM system. Is there anyone who can help in in creating BADI for datasource enhancement in CRM.
    Thanks in advance
    Moumita

    Hi Prasad Reddy,
    This are the available badis and exits for this t.code:
    Enhancement/ Business Add-in            Description
    Enhancement
    MGA00001                                Material Master (Industry): Checks and Enhancements
    MGA00002                                Material Master (Industry): Number Assignment
    MGA00003                                Material Master (Industry and Retail): Number Display
    Business Add-in
    MG_MASS_NEWSEG                          User-Specific Fields & Segments in Mass Maintenance
    MATGRP_SKU_UPD
    CDT_CHECK_MATERIAL                      Checks for Existence of a Material in a CDT
    BADI_MM_MATNR
    BADI_MAT_F_SPEC_SEL                     BAdI for Material Special Field Selection
    BADI_MATNR_CHECK_PVS
    BADI_MATERIAL_REF                       Addition of customer-defined default data for material
    BADI_MATERIAL_OD
    BADI_MATERIAL_CHECK                     Enhanced checks for material master table
    BADI_GTIN_VARIANT
    BADI_EAN_SYSTEMATIC
    o.of Exits:          3
    o.of BADis:         11
    Find the Exact  exits and badis for ur requirement.
    How to fine the exact badi:
    1) Goto se24 (Display class cl_exithandler)
    2) Double click on the method GET_INSTANCE.
    3) Put a break point at Line no.25 (CASE sy-subrc).
    Now
    4) Execute SAP standard transaction
    5) Press the required button for which you need to write an exit logic, the execution will stop at the break point.
    6) Check the values of variable 'exit_name', it will give you the BADI name called at that time.
    7) This way you will find all the BADIs called on click of any button in any
    transaction
    Rgds,
    P.Naganjana Reddy
    if you follow this 7 steps, you will find a suitable BADI.

  • CRM Datasource enhancement using BADI

    Hi Guys,
    There is a lot of confusion among our BW community here about the implementation of the "CRM_BWA_MFLOW" BADI to enhance the datasources. It would be a great service is someone can clear the fog on this.
    The steps that I followed in doing this are
    1. Appended the standard datasource structure with the additional fields that need to be populated.
    2. Unhid the fields in the transaction RSA6.
    3. Created an implementation of the BADI "CRM_BWA_MFLOW" and tried to map the fields to the append structure.
    This is where I am stranded. How do we map the fields from the BDoc to the append structure fields. If someone can provide with a sample code with some documentation, that would be a great help for many of us here.
    I have earlier implemented the User exit to enahnce the datasource but it really is a big pain, especially when you know that using the BAdi can be easier.
    Really appreciate your contribtion.
    Doniv

    hi,
    sample code can be found in the BadI, somewhere go to or utility - sample code, it seems quite similar with old zxrsau01. sap gave us note 850817 when suggest using BadI for certain case, take a look :
    850817-CRM-BW: Using BDocs for the enhancements in BADi
    https://websmp103.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012006153200000232372005
    692195-FAQ: Sales Analytics and CRM-BW data Extraction
    https://websmp103.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=012003146900000332772003

  • CRM DataSource Enhancement

    Hi,
    I need to add a field to one CRM datasource(0CRM_SALES_ACT_1).I have done that using RSA6.Also written a code in 'EXIT_SAPLRSAP_001'.
    The delta queue for this DataSource is working properly on CRM side but when I pull the same data to BW side it is not populating the added field.Also the added field is not visible in PSA - it is visible on CRM side.
    Do I need to do something in SBIW?Please suggest.
    Thanks,
    Purbali

    Hi Purabali,
    To Populate the Enhanced Field of the data source...
    Use the BADI - CRM_BWA_MFLOW
    This Badi has a field C_T_DATA which you would use to populate the new field.
    Reason for the new field not showing up...
    There is a table ROOSFIELD which holds the properties of the fields of the Data Source.
    Make sure that your enhanced field has the following properties set in this table...
    Field SELECTION to be BLANK (make sure it is not 'A').
    Field NOTEXREL to be 'Y' and not 'N'.
    The above fields should be set for your data source field.
    There are many notes available for the same.
    Hope this helps.
    Thanks & Regards,
    Sh

  • How to find out the tables related to CRM datasources?

    How to find out the tables related to CRM datasources? For example, the table related to 0CRM_OPPT_H.
    Regards,
    R.Ravi

    Hi Ravi,
    To find out all tables used go into the CRM source system to transaction RSA3 and prepare the selections for extraction of your datasource.
    In a parallel session execute transaction ST05 and press the button 'Activate Trace'
    Go back to the extracor checker and execute the extraction.
    Switch sessions and subsequently 'Deactivate Trace' and 'Display Trace'.
    This will list all tables used.
    regards,
    Olav

Maybe you are looking for