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

Similar Messages

  • CRM datasource enhancement - best practice

    Hi everyone,
    For our reporting reqs, I checked CRM extractors and found that 0CRM_SRV_REQ_INCI_H would deliver us max. fields.
    CRM Service Request Incident Header Data - Analytics - SAP Library
    I need to enhance this with Z Date Types, Partner Functions fields.
    Date Types (see screenshot) are configured in CRM customizing.
    SAP delivered Date field SRV_RREADY-To doby is sending data to extractor's DUE_DATE field.
    But Source table-field for DUE_DATE are not mentioned in above help.sap datasource link??
    How to best enhance this extractor i.e. through BWA1 or typical way of RSA6-function enhancement??
    If I use BWA1 then how to fill up Segment-Segment field under mapping tab?
    Do I need to use CRM_BWA_FLOW BadI and write code or Is there SAP delivered FM which can fetch data for these Z Date types.
    Thanks
    Ahmad

    Hi,
    In general, we add enhanced field to extract structure by appending method.
    later we  can implement logic at COMD or by using BADI to fill the data for added field.
    do test run at RSA3 and replicate into bw side.
    About CMOD Logic, WIth help abap epxert you need to find relation between data source base tables and added field base table. then only we can fill data to into it.
    Can we know what is your data source?
    Which field you want add from which table?
    Thanks

  • CRM DataSource Enhancements

    Hello,
    I've inherited an SAP BI system in my new company with no documentation.
    The BI is on CRM in which the standard CRM extractors like '0CRM_SRV_CONTRACT_H' are enhanced to fetch additional fields. However, I'm unable where the code to extract these new fields are written. I've checked in:
    1. CMOD -> EXIT_SAPLRSAP_001
    2. SPRO -> SAP Implementation Guide -> Integration with Other mySAP Components -> Data Transfer to the SAP Business Information Warehouse -> Settings for Application-Specific DataSources (CRM) -> Settings for BW Adapter -> BAdI: BW Adapter: Enhancement of DataSources in the Messaging Flow
    but couldn't find the code. Is there anywhere else that the code to fetch appended fields can be written?
    Many thanks.
    Best Regards,
    Sri.

    Hi Sri,
    Try this ,
    TCODE : SE18 --> BAdi name --> provide CRM_BWA_MFLOW and try the where used list
    OR
    SE18 --> BAdi name --> provide RSU5_SAPI_BADI and try the where used list
    Any one of the above should show the Z - Classes/Interfaces implemented --> double click to navigatye and you can find the relevant coding there
    Regards,
    Sathya

  • 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 BADI

    Hi All,
    I have newly joined in my project. Here for CRM datasource enhancement, they have used BADI instead of customer exit function modules.
    Although I could find the respective BADI implemented class in CRM system, I am not able to debug any code. I put external break-ponts in all over the method, but its not going to debug mode in any of them when I execute the datasource in RSA3.
    Can you pls guide me how to debug the BADI for CRM datasources?
    Regards,
    Bhavya.

    hi,
    you can  follow the below steps regardding debuging:
    Goto SE24 -> give the class name as CL_EXITHANDLER -> then give method as GET_INSTANCE ->Set a break-point at command line CASE sy-subrc -> Execute;
    so by this setiing of the breakpoint can be done and It will stop where you have just set class CL_EXITHANDLER i.e. a exit call , in debug screen, you can give the field name EXIT_NAME which has BADI method/Exit name at runtime
    likewise you can proceed with next calls.
    regards
    laksh

  • 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.

  • 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

  • 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

  • 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

  • CRM Datasource Problem After Transport

    Hi,
    I am using CRM datasource 0CRM_SRV_PROCESS_H in CRM 5.0. The datasouce is installed through RSA5 and enhanced successfully in CRM Development System. Its BWA metadata is also activated automatically(as i am on CRM 5.0). I have transported it successfully to CRM Quality system without any warnings/errors. But when i check it in T-Code BWA5, its "Active" flag is not checked. And  when i check in RSA3, sytem is throwing error message " Errors Occurred During Extraction".  I can see the datasouce in RSA6 in Quality system with its enhanced fields.
    How can i make the "Active" flag checked in CRM Quality system? Or How can i activate BWA metadata in CRM Quality system?
    Urgent response would be appreciated.
    Regards,
    Prasad

    Definitely this is not related to replication. Some times this error 'Error in extraction" is related to SMOXHEAD table entry.
    Try following steps..
    Copy Smoxhead entry CRD> se16 > SMOXHEAD > DataSource > select the resulting line, copy
    se16 > SMOXHEAD_S > DataSource > paste
    Table Entry > Transport Entries of SMOXHEAD_S
    After transport try running RSA3. It shall be fine.
    Regards,
    Assgn pts if helpful.

  • Loading Error from CRM datasource  - Info Idoc recieved with status 8

    Hello All,
    NEED YOUR HELP
    We have a CRM datasource 0CRM_SALES_ACT_1 which works well from source in RSA3. The dataload is a full and fetches 19,000 records from CRM
    However when we load it from an infopackage from BW it gives us the following  "No data in source sysetm" Info Idoc with status 8. We have tried the following to eleminate some doubts
    1) Checked the connection in SM59 using aleremote .Connection and authorization successful. Also loaded data in the BW system  for other datasources from same CRM system it works well, so no authorization/ connections issues.
    2) In the source system CRM  tried transaction RSA3--> extract data get 19000 records
    3) In the source system CRM Triied transaction RSA3--> Import Request from BW --> successful.
    4) Checked the TRFC queue in SM58 the TRFC queue is empty
    5) When we check the logs in CRM for ALEREMOTE we get the following message
    synchronous transmission of info IDoc 2 in task 0001 (0 parallel tas
    DATASOURCE = 0CRM_SALES_ACT_1
             Current Values for Selected Profile Parameters
    abap/heap_area_nondia......... 0
    abap/heap_area_total.......... 9437184000
    abap/heaplimit................ 40000000
    zcsa/installed_languages...... ED
    zcsa/system_language.......... E
    ztta/max_memreq_MB............ 256
    ztta/roll_area................ 3000000
    ztta/roll_extension........... 2000000000
    Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 0 records
    Result of customer enhancement: 0 records
    IDOC: Info IDoc 2, IDoc No. 266228, Duration 00:00:00
    IDoc: Start = 2008.10.22 14:18:38, End = 2008.10.22 14:18:38
    Synchronized transmission of info IDoc 3 (0 parallel tasks)
    IDOC: Info IDoc 3, IDoc No. 266229, Duration 00:00:00
    IDoc: Start = 2008.10.22 14:18:39, End = 2008.10.22 14:18:39
    Job finished
    *What is the issue ? Data is present and confirmed available in source system , yet we get 0 records in BW system ? WE NEED YOUR HELP *

    Hi
    May be you need to provide full authorizations to the user 'ALEREMOTE'.Ask your basis team to check the authorizations.
    Regards,
    Chandu.

  • Extraction of CRM datasource

    Hi
    Steps involved in  extraction of CRM DataSource through R/3
    thanks in advance
    kalyan

    I solved the problem. At least it disappeared.
    It seemed to be an authorization issue.
    Enhancing the authorizations did help after one day, i.e. positive result occured after one day, because buffering of authorizations seems to be erroneous (see note 615670).

  • 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

  • Populating standard field in to crm datasource

    HI Gurus
    In my crm datasource 0CRM_LEAD_H.  I want to include the field " Lead status " which is a part of the
    datasource. Earlier it was not a part of the requirement. Now its a new requirement. Please guide me
    how to deal with it.  What I have to do it in the BW Adapter and related badi(if any).
    Please let me know  Step by Step.
    Thanks in advance
    LLOYD

    Have to managed to do this,
    I am stuck up here
    Regards
    lalan

Maybe you are looking for

  • IPOD Nano won't sync because of missing files!

    When I try to sync my ipod nano an error code pops up saying "Songs on the Ipod nano cannot be updated because all of the playlists selected for syncing no longer exist. How can this be corrected??

  • IPhoto 08 with Capture NX as the external editor

    Can some one explain how to most easily access the photos in the iphoto library in Capture NX. When I shoot in NEF raw files I know the files are buried in the iPhoto library but don't understand how to most easily access them with NX. Sure if I doub

  • Sound does not match video

    I have imported an HD video from a Canon HV30 camcorder into iMovie HD 6.0.3. The picture looks great but the sound does not match the video. I have never encountered this problem before when importing from other video camcorders (non HD). Does anyon

  • Help please - moving tracks within iTunes

    I've imported some audio books into my iTunes library but it's gone into the Music folder instead of Audio Books folder. Why can't I drag them from one folder to the other? Thanks

  • Check list field values using LINQ

    I have to check if the CURRENT USER is already in the list USERS by comparing his AccountName to the list field ACCOUNTNAME. If the USER is on the list I have to check if the field IsFollower is YES or NO and change it according to some conditions. I