Enhance CRM extractor for BW

Hi all,
  To enhance CRM extractors we enhance the BDoc and then used the BADI CRM_BWA_MFLOW or CRM_BWA_SFLOW whichever is applicable to extract the data for the enhanced fields and fill the data source.
Also we go to transaction RSA6 enhance the datasource structure.
Now my basic question is why User exists are also enhanced. The procedure is
In transaction RSA6 select the datasource structure and choose the menu "Function enhancment". This goest to CMOD transaction and there the user exit "EXIT_SAPLRSAP_001" is enhanced
Could someone explain me why some coding is done in the user exit when the data which needs to be send from the BDoc is already filled in the badi implementation. When does this user exit actually used. In what scenarios do we use this user exit along with the badi implementation.
Any idea. Thanks for the continued support and I wish "Happy new year" to all of you.
Thanks in advance
Jothi

Hi all,
  To enhance CRM extractors we enhance the BDoc and then used the BADI CRM_BWA_MFLOW or CRM_BWA_SFLOW whichever is applicable to extract the data for the enhanced fields and fill the data source.
Also we go to transaction RSA6 enhance the datasource structure.
Now my basic question is why User exists are also enhanced. The procedure is
In transaction RSA6 select the datasource structure and choose the menu "Function enhancment". This goest to CMOD transaction and there the user exit "EXIT_SAPLRSAP_001" is enhanced
Could someone explain me why some coding is done in the user exit when the data which needs to be send from the BDoc is already filled in the badi implementation. When does this user exit actually used. In what scenarios do we use this user exit along with the badi implementation.
Any idea. Thanks for the continued support and I wish "Happy new year" to all of you.
Thanks in advance
Jothi

Similar Messages

  • CRM Extractors for Product & Customer

    Hi Experts,
                     Iam new to CRM, can any one provide me the extractors for Product and Customer. Here we are trying to extract Product and Customer data from CRM source to BW/BI target, so if i know the extractors for the above it will be really helpful. Also if there is any step by step guide for the same it would be a great help.
    Thanks in advance
    Shiv

    Hi all, this may be too late based on the posted dates, but this is a current issue for me that I have found solution for now and I will post up anyways same thing.  There is very little documentation so hopefully this is helpful for whoever else has unique requirements to use this delivered functionality.
    Finally I am able to find a solution to this problem and now my system is tracking all status changes and providing me detail conveniantely on duration and time between status changes.
    There are some table entries that need to be created plus a couple notes that will help.  This applies to people who are not getting any data whatsoever in their CRMD_TSS_DTRACK table or 0CRM_TSS_DTRACK extractor.
    Goto transaction --> SMW3FDCUST and make the following entries:
    BDoc Type BUS_TRANS_MSG
    Context mBDoc Notification (additional calls)
    Sequence 50
    Service Function CRM_UPLOAD_BW_TSS_DTRACK_SRV
    and
    BDoc Type BUS_TRANS_MSG
    Context mBDoc Notification Multiple (additional calls)
    Sequence 50
    Service Function CRM_UPLOAD_BW_TSS_DTRACK_SRV
    and
    BDoc Type BUS_TRANS_MSG
    Context mBDoc Initial Load (additional calls)
    Sequence 50
    Service Function CRM_UPLOAD_BW_TSS_DTRACK_SRV
    To also ensure your statuses are being captured after all your configurations have been made, be sure that for these 2 key notes you have the approriate corrections existing in your system:
    1024652 - This ensures your custom statuses groups are captured in table and extractor (once you have enhanced it of course)
    1239530 - Ensures that all status changes are captured according to your configurations
    Thanks.

  • How to enhance Standard Extractor for 0CUSTOMER_ATTR

    Hi,
    I need to enhance the standard extractor of 0CUSTOMER_ATTR in order to populate the newly added attributes.
    I have few questions:-
    1) Will there be any impact of manually adding attributes to 0CUSTOMER on the data flow/where used list of 0CUSTOMER.
    2) In order to get the master data for newly added attributes we will need to enhance the extractor. Could you let me know the entire process of enhancing the standard extractor.
    3) Will it be safe to make a copy of 0CUSTOMER as ZCUSTOMER, add the new attributes in ZCUSTOMER and use ZCUSTOMER for our requirement. In this case also we will need to enhance the extractor.
    Your inputs will be helpful.
    Thanks,
    Naveen Kr. Choudhary

    1) Will there be any impact of manually adding attributes to 0CUSTOMER on the data flow/where used list of 0CUSTOMER.
    No there will not be any impact for the where used list of 0CUSTOMER info object, there will be effect once the enhanced data source is replicated to BI side.
    2) In order to get the master data for newly added attributes we will need to enhance the extractor. Could you let me know the entire process of enhancing the standard extractor.
    SE11 --> create the Structure
    Tcode: RSA6 -> Double click on the Data source --> Now in the DS:customer version screen you can see the extract structure name --> double click on it -->Next you will find an option of Append Structure button --> click on it -->
    Add the necessary field's in the Append Structure with Component Type:. Before you exit, make sure that you activate the
    structure by clicking on the activate button.
    Next
    -->You need to confirm that the Added filed has been added to the DataSource and that it will be available to BW. When you go  back at the Postprocess Datasource and Hierarchy screen(RSA6), select the same DataSource again and press the Change DataSource button .
    Check for the filed that you had appended, it will be appeared at the bottom of the extract structure.
    Once this is done now the appended fileds are ready in DS, now we need to populate the data from the corresponding tables.
    For this Select the Data source 0customer_attr --> click on Function enhancement --> enter the project name and next enter the Enhancement RSAP0002 This enhancement has four components that are specific to each of the four types of R/3
    DataSources:
    Transaction data EXIT_SAPLRSAP_001
    Master data attributes EXIT_SAPLRSAP_002
    Master data texts EXIT_SAPLRSAP_003
    Master data hierarchies EXIT_SAPLRSAP_004
    With these four components , any R/3 DataSource can be enhanced suing the above 4 Function module. In this case, you are enhancing a Master data DataSource, so you only need EXIT_SAPLRSAP_002 .
    Next we need ABAP developer in order to enahance the DS and write the logic to populate the values to the filed from the source table.
    once this is done save the code and activate it.
    Next fill the set up tables and  Goto RSA3 tcode check the data source and check for the fileds that were appened are populated with the values or not.
    (for more detailed steps our friend Chowdary has send u the links go through them)
    3) Will it be safe to make a copy of 0CUSTOMER as ZCUSTOMER, add the new attributes in ZCUSTOMER and use ZCUSTOMER for our requirement. In this case also we will need to enhance the extractor.
    I dont think there is a need for creating a new ZCUSTOMER , you can use the standard one.
    Edited by: prashanthk on Aug 13, 2010 9:02 AM

  • Enhancing CRM Extractors

    Hello Gurus,
       I have done some enhancement for 0CRM_SRV_PROCESS_I data source using user exit program by calling CRM_ORDER_READ function module.
    With this we are experiencing some performance problem as CRM_ORDER_READ is bit slow.
    That was my concern till today......
    But today when I start debugging the DS, I came to know that standard extractor   itself calls CRM_ORDER_READ FM to fill some standard fields. So, I thought of enhancing the DDS at WA by adding segments and it's fields and thought that we dont need to write code for this (I mean no user exit program, but need minimum code in MAP FM). But, even I assigned segments to fields, data is not populating. The reason I found here that these enhanced filed's are not included into standard DS's ..MAP_I function module.
    Here my question is, do we have to generate any thing to include those fields into the FM? If Yes, from where? Or do we have to write user exit program to fill the fields?
    Or any other ways can we solve this problem?
    appreciate your help....
    Thanks
    RKR...

    Hi RKR,
    Yes if you're using the function crm_order_read, it take quite time,,, but it's very powerfull, since it will take a lot of information from there. You just use 1 function to get so many information about order.
    I suggest you 2 ways :
    1. Instead using that function, you can fetch the directly to the table according to your data's need. e.g. table crmd_orderadm_h, etc.
    Or.
    2. You make small program in BW to get data from CRM (using fm: crm_order_read), then you put the data to some table in BW.
    Then, you create generic datasource whose type is <b>view -> get data from that table in BW </b> ( not a function module).
    That small program can be scheduled periodically / you use process chain in order to run :
    1. the small program
    2. fetching those data from table using generic datasource whose type is view.
    Hopefully it can helps you a lot ...
    Best regards,
    Niel.
    (Many thanks for any points you choose to assign).

  • CRM Extractor for service management - date type

    Hi,
    I want to extract data for the service management from crm system. I find the data with crm_order_read in the table et_appointment. I need the field appt_type with the time stamps.
    Is there a business content extractor available? I can not find one for this issue.
    In which table is the data from et_appointment really stored?
    Thanks in advance.
    Best regards
    Nils

    Hi Sunita,
    I think you wanted to calculate the time duration of the service requests. you can refer to tables
    CRMD_ORDERADM_H,
    CRMD_SRVPLAN_I (Service Plan Item - Service Cycle Interval).
    Or you can refer to FM CRM_ORDER_READ and export parameter ET_APPOINTMENT.
    Regards,
    Karthik.

  • Enhance BW Extractor - Transactional data ABAP CODING ERROR

    i need to enhance CRM extractor with additional field.
    This is transactional data so i used Exit_rs_001
    Here is the extractor result -
    Guid...date...........objectid...item guid
    1122......1.1.10....901..........8811
    1122......2.1.10....901..........8812
    1123......1.1.10....902..........8813
    1123......2.1.10....902..........8814
    now i need field Product id in it which is called from DB Table CRMD_SRV_REFOBJ
    itemguid...referencekey...product
    8811............01.................110011
    8812............02.................110012
    8813............03.................110013
    now i want to extract data--
    Guid...date...........objectid...item guid...product
    1122......1.1.10....901..........8811.........110011
    1122......2.1.10....901..........8812.........110012
    1123......1.1.10....902..........8813.........110013
    so i appended the extractor...with field zproduct
    FOLLOWING Code doesnot work:::
    DATA: L_S_INFOSTRU LIKE ziw_orderma_i.
    CASE I_DATASOURCE.
    FIELD-SYMBOLS: <PRO_01> TYPE ziw_orderma_i.
    CASE i_datasource.
    WHEN 'ziw_orderma_i.'. " Upper case
    LOOP AT c_t_data ASSIGNING <PRO_01>.
    SELECT PRODUCT_ID INTO <PRO_01>-zZPRODUCT
    FROM CRMD_SRV_REFOBJ UP TO 1 ROWS
    WHERE ITEM_GUID = <PRO_01>-CRMD_SRV_REFOBJ.
    ENDSELECT. " not whole primary key
    ENDLOOP.
    ENDCASE.

    actually
    coding doesnt give any error
    but in output in rsa3 i dont see any data
    it worked fine wit the same code for master data datasource in exit...2
    now same code different parameters doesnt work in exit..1 for transactional data.

  • Standard extractors for pricing conditons in CRM

    HI Guys,
    I would like to extract pricing conditions from CRM and wondering if there is a standard extractor for that.
    thanks

    Hi Bhat,
    There is no standard CRM datasource to extract pricing information. I have attached a document to this message with a suggestion on how you might create your own extractor to load the pricing information, see the document pricingconditionssuggestion.DOC. Please note that this is only a suggestion and there is no guarantee that it will work
    or meet your requirements. If you implement the suggestion though please let us know the results.
    Best Regards,
    Des

  • Standard extractor for crm

    Hi everybody,
    What are the usually used standard extractor for CRM especially TPM and Chanel Management. Can somebody give me a idea about this submodule (TPM, CM).

    Chanel Management - 0CRM_CHM_CLASS_ATTR
    TPM - 0CP_UPLI_PARA
    More:
    http://help.sap.com/saphelp_nw70/helpdata/en/4a/6321849a710a4fa4a2759101ed4932/content.htm
    Regards,
    DL

  • Standard Extractor for appointment dates in CRM

    Hi guys, is there any standard extractor for the appointment dates in CRM !? Thanks you guys !

    Hi Robert, thanks for your reply but I was looking for a standard CRM-BW Extractor, I didn´t find anything so I implement CRM_BWA_MFLOW badi, set an append to the structure of the 0CRM_SRV_PROCESS_H extractor with all the date appt_types - date_from and that´s it. it works for me. Thanks !

  • Extractor for CRM service plan and product service letter

    Hello:
    Is there an extractor for CRM service plan (object type = BUS2000245) and CRM product service letter (object type = BUS2000210)?
    The delivered extractor 0CRM_SRV_PROCESS_H only extracts regular service order (object type = BUS2000116). The contract extractor (0CRM_SALES_CONTR_I) only extract contract (object type = BUS2000112).
    Any suggestion? Thanks!
    Jennifer

    Hi Jenifer,
          Can you please share me the solution you have implemented.
    Thanks in advance
    Regards,
    Tilak

  • Attribute Set in standar CRM extractor

    Hello all,
    I have to get reporting about Marketing attributes in CRM. I´m using business content extractors for this information:
    0CRM_MKTATTR_ATTR     
    0CRM_MKTATTR_TEXT     
    0CRM_MKTMETA_ATTR (metadata)
    0CRM_MKTMETA_TEXT (metadata)
    But the standard doesn´t retrieve attribute set field.
    Did anybody enhance this standard to retrieve this field? If so, could you give me some ideas about how to do it?
    Thanks,
    Carmen

    Hi Carmen,
    Can you please elaborate the problem a bit more. I cant see this attribute set field anywhere in the standards.
    regards,
    Parth.

  • Enhance 0FC_OP_01 datasource for Open Items (FI-CA).

    Hello All,
    I am trying to enhance the business content extractor for open items in R/3 . The data source is 0FC_OP_01. i know this is coming from the table DFKKOP.
    I need to add sub GL ffield rom another table from DFKKOPK .
    Please advise the step by step to enhance the existing structure and add the new field to the extractor.
    Points will be rewarded for any helpful answers.
    thanks in advance,
    AG..

    Hiiii,
    You  have to create project name in CMOD and then enter the name and click on create button and give short text for project name.
    Above u will see 'enhancement assignments' button.Click it and in the new screen add enhancement RSAP0001.
    Save and activate the project.
    Then if u click the components button u will see the 4 user exits..
    1)Transactional data,master data(attributes) ,master data(texts) and master data(hierarchies).
    please go thru this docu..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/302d4b15-5847-2a10-93bb-9c45d9f06b16
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    Regards,
    lae.

  • BW Extractor for FS10N Repot

    Hello all,
    I have seen few threads on BW extractors for FS10N report.
    I would like to know which is the best BW extractor to use for FS10N report.
    Is it 0FI_GL_4 or 0FI_GL_10 or 0FI_GL_1? Could anyone please suggest.
    Thanks,
    Praveen Tati

    Thank you Murali.
    The table FAGL_ACTIVEC has no entries in ECC. I assume it is not active.
    I will use 0FI_GL_4 extractor and enhance as per the requirement.
    Could you please tell me what setting I need to do to get latest delta's when I run data load from BW?
    I understand that I need to do some settings in tables BWOM_SETTINGS, BWOM2_TIMEST.
    Thank you very much.
    Praveen
    Edited by: Praveen Tati on Jun 17, 2011 11:12 PM

  • CRM Extractor Failure - DATA_LENGTH_0 CX_SY_RANGE_OUT_OF_BOUNDS

    Hello Experts,
    One of the CRM extractor fails during extraction with the below short dump. Every thing worked absolutely fine until now. Please advise on resolving this issue.
    Short Dump Details:
    Short text
        Invalid partial field access: Length 0
    Error analysis
    An exception occurred that is explained in detail below.
    The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was not caught in procedure "ZRSAX_BIW_GET_DATA_SIMPLE_2" "(FUNCTION)", nor was it propagated by a RAISING clause. Since the caller of the procedure could not have anticipated that the  exception would occur, the current program is terminated. The reason for the exception is: In the executed program "SAPLZRSAX", the system attempted to access the field "TEMP_TDLINE_T" using the length 0.  However, a partial field access with the length specification 0 is not allowed.
    This extractor is based on RSAX_BIW_GET_DATA_SIMPLE_2 FM and worked fine without any issues previously.
    Please advise.
    Thanks!

    Sorry, but then something has changed in the data.
    Perhaps a debug of the extractor using current data will help you to find the source.
    One possible reason which comes to mind is, that someone changed the Customizing in the source system and a field is no longer mandatory.
    But the reason is definitly in the source system, not in BI.
    Kind regards,
    Jürgen

  • Extractor for FLEET table

    I need to extract some fields from the table FLEET, does any of you know if there's already a standard extractor for that?
    Otherwise I may need to enhance an existing one or create my own. If so, can you suggest any ideas about how to link the data?
    If I have to enhance, I was thinking about using 2LIS_08TRFKZ and add the missing fields there. Is this the right approach?

    HI,
    Enter this table name in SE11 ->Display->Where-Used-List->Select Stuctures, Includes, Programs etc...
    Get into ROOSOURCE table, Select A in OBJVERS, Extraction details etc..You will come to know about any Standard Extractor.
    I have no idea about your second question.
    Regards,
    Suman

Maybe you are looking for