Classification DataSource Enhancement.

Hi,
I am enhancing a Classification DataSource to populate the multiple values by BADI. While doing so I am getting an error as c_t_data is unknown. Is the internal table for classification data source enhancements different from c_t_data ?  How can I find out the internal table details ?
Regards,
Hitesh

Hi,
You can add the classification data in Classification datasource....In case you need more Classification data....the just identifiy the Object from AUSP and enhance accordingly.....no need to write any code for this.......
Also if you need any data other then Classification data......then enhance the base attribute datasource not the classification datasource.
Regards
Mayank

Similar Messages

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

  • No key field found for creation of DataSource - Classification Datasource

    Hello,
    While trying to create a clasiffication datasource based on 0PLANT_ATTR, when i assign a characteristic and push the DataSource button, i get the following message:
    No key field found for creation of DataSource
    Diagnosis
    During generation of a classification or configuration DataSource, only those key fields for the object table (field "Obj.Tabelle") that are already present in the basis DataSource transferred to the extract structure.  This is the case when none of the key fields of the object table were found in the structure of the basis DataSource.
    System response
    A DataSource cannot be created without key fields. The action was cancelled.
    Procedure
    Check whether you have selected the correct basis DataSource and object table. For more information, please see SAP Note 569849.
    Do you know what can be the problem?
    Thank you and regards

    Hi Alberto,
    plants are a special case. The key which is used for the classification 
    of plants (object type BETR) is not the same as the key which is used in
    datasource 0PLANT_ATTR.
    BETR has key LOCNR (Site). That's a customer related to a plant. The    
    customer number will be extracted in field LOCNR.
    0PLANT_ATTR extracts the plant in its key field WERKS.
    Transaction CTBW and the generic extraction program for classifications 
    don't know the relationship between LOCNR and WERKS. So they cannot map     
    them.
    I do recommend a solution which would add the mapping between
    LOCNR and WERKS:
    1. Create please the classification datasource as intended, but use     
    datasource 0RT_LOC_MGR_ATTR as basis datasource. It's the only          
    datasource of the content where LOCNR is a key field. So                
    0RT_LOC_MGR_ATTR is used as a dummy here, to allow transaction CTBW to  
    create the classification datasource. It's not necessary to extract     
    data with datasource 0RT_LOC_MGR_ATTR.
    2. Extend please the extract structure of the created classification    
    datasource. Add please field WERKS using component type WERKS_D. Make   
    this field visible.
    3. Fill field WERKS in the extractor user exit EXIT_SAPLRSAP_002. WERKS 
    can be read from table KNA1 by using the customer number extracted to   
    LOCNR to select on field KNA1-KUNNR.
    4. Transaction CTBW_META on the BW system isn't able to append the      
    characteristics from the classification datasource to infosource        
    0PLANT, because the keys are different. So create please a new info     
    source with CTBW_META. This allows CTBW_META to create the info objects 
    for the characteristics used in the classification datasource.
    5. Add please the characteristics used in the classification datasource 
    to infosource 0PLANT manually. You will find the info object names of   
    the characteristics by looking up the characteristic datasources which  
    are assigned to the classification datasource in transaction CTBW. From 
    these names you can derive the info object names:                       
    1CL_A... -> C_A...
    6. Disconnect the infosource which has been created with CTBW_META from 
    the classification datasource.
    7. Connect please the classification datasource to infosource 0PLANT    
    Use following info object:
    info object   field
    0PLANT       WERKS
    The info object names for the characteristics are explained in step 5.
    8. Add an infopackage to infosource 0PLANT for the classification       
    datasource.
    Now the extraction of classifications of sites should work.
    Best regards,
    Rolf
    P.S. I saw the system messed it up and doesn't display any new and empty lines. Sorry, I hope you still can read it.
    Edited by: Rolf Doersam on Mar 26, 2010 6:56 PM

  • Field in Classification Datasource not getting populated

    Hi all,
    I created a classifiacation datasource 1CL_ODS_001 from the MCH1 Table. when checking this in RSA3, Data is not populating in classification datasource  in the field LOBM_HSDAT, LOBM_LFDAT, LOBM_VFDAT etc.
    How does data get populated in LOBM fields.
    Do i have to make some changes for data to get populated in this field.
    Help needed please.
    Regards,
    Mariadas

    Hi Vishnu,
    Thanks for your response.
    I followed the procedure described in this article.
    "Step by Step Guide to Extract Batch Master Data via Generic and Classification Datasource to BW" http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0a8b9c1-dee5-2d10-feb5-9b0d54126782?quicklink=index&overridelayout=true
    I created a datasource from the View and fromt that datasource i created a classification datasource.
    I checked in RSA6, the hide field is not checked. Is there anything else that i can do to update the fields.

  • How to include key field in classification datasource?

    Hello,
    How can I include key fields in a new classification datasource?
    When i try to generate my classification datasource i get this error:
    No key field found for creation of DataSource
    Diagnosis
    During generation of a classification or configuration DataSource, only those key fields for the object table (field "Obj.Tabelle") that are already present in the basis DataSource transferred to the extract structure. This is the case when none of the key fields of the object table were found in the structure of the basis DataSource.
    Hence the datasource does not get generated.
    Thank you very much and regards.

    Hello Prem,
    Yes, the characteristisc are in the system. I also saved these charateristics, they are in N status at the moment.
    The problem is when i click on Datasouce buttom to generate the datasource, this is when I get the error message i mention above.
    I tried to do an example with 0MATERIAL_ATTR with obj. table MARA and class cat 001 and i had no problem.
    Then i try to do it with 0PLANT_ATTR obj table BETR and class cat 030 and i get this key problem.
    Can this be related to the fact that MARA table has got a key and BETR does not have one?
    Thank you and Regards.

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

  • Different ways to Datasource Enhancement

    I know DS enhancement can be done through ABAP Statement CASE,ENDCASE,WHEN. I came to know that this is old technique to enhance the datasource as it makes the code quite messy if several developers work on the same code.
    I came across one document on SDN where we create a new program for each datasource which is independent from other enhancement.
    I just want to know how this program works and the difference between this technique and old technique as i have limited ABAP knowledge.
    What are the exact challenges that we come across when we use CASE,ENDCASE,WHEN statements.
    Edited by: Murali K on Jun 1, 2010 6:31 AM

    Hi Murli,
    1) Datasource enhancement previously was done using CMOD Still many organizatins continue with this approach.
    Here you can get option to write code for your appended field in ur Standard datsource where you can write select statements etc.
    2) Now SAP is recommending to Write Codes using BADI .this approach helps to maintain individual implementations for each data source enhancement
    This methods advantage over previous CMOD method is that ,in CMOD a single include will contain all the ABAP coding (this will create problem in marinating the versions for developers).specially while you are transporting the CMOD code to test and prod systems.
    With the new BADI method you can avoid this problem as individual implementations can be transported independently without creating conflicts.
    Thanks and Regards
    Arun

  • CTBW in R/3 for DataSource Enhancement

    Hi,
    I have a requirement. I need to add Batch class Characteristics details (in TC- CL02) in the datasource in CTBW.
    Could you please help me out for the Step by Step solution.
    Thanks & Regards,
    Pankaj

    Hi Pankaj:
    Please refer to the article by Devesh Laad.
    "Step by Step Guide to Extract Batch Master Data via Generic and Classification Datasource to BW"
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0a8b9c1-dee5-2d10-feb5-9b0d54126782?quicklink=index&overridelayout=true
    Regards,
    Francisco Milán.

  • Problems with classification datasource

    Dear experts,
    I need to assign a new char to a classification datasource. I have created de char in CT04 transaction, and then I have assigned this new char to the class in CL02 transaction.
    At CTBW transaction I have assigned the new char, and then I push DataSource button to generate de datasource, but then a error messagge appears that indicate a char does not exist, but not the new char other. If I a review the class all chars are ok.
    I have tried to save without the char of the error messagge and then the error indicate other char.
    what can i do?
    Thanks in advance.
    yeberri

    Hi,
    check in the following link
    http://affine.co.uk/files/How%20to%20Extract%20Classification%20Data%20into%20BW.pdf
    Thanks
    reddy

  • Transactional datasource enhancement

    Need documentation for transactional datasource enhancement
    Please search SDN
    Edited by: Pravender on May 25, 2010 12:28 PM

    hi,
    chk the links
    Master data enhancement
    CMOD Enhancements
    Enhancing master data extractor
    Lo Enhancement- Transactional data
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46
    Ramesh

  • Class selection in Material Classification Datasource

    I need to extract material classification from R/3 to BW. For this I generated a 1CL* datasource in transaction CTBW. As part of the datasource configuration I selected the Class type (001 in this case) and the characteristic objects to be extracted (for example, COLOR, SIZE, etc.). I have an additional requirement that is to select the Class from which the characteristic value is to be read (R/3 configuration is so that the same characteristic can be part of several different classes. For example, SIZE can be part of 'Ingrediends materials' and 'Packaging materials' classes).
    As far as I know, this is not possible because BW doesn't have the 'Class' level value for selection in the materia classification datasource, only the object level value. Is there a standard way to have the 'Class' filtered in the datasource generated with CTBW transaction?. Thank you.

    We came to the conclussion that it is not necessary to worry about the Class when extracting data to BW. Although it is possible to have one characteristic included in several classes in R/3, when a value is assigned to a material, the value is unique. Check the assignment of those values is saved in table AUSP in R/3 where the class is not part of the key, only the Class Type. This means that one material code is going to have always only one value for the characteristic despite of the class/classes it is included in. So, don't have to worry about the class when extracting data to BW. Hope this helps.

  • Problem in datasource enhancement

    Hi All,
    Facing a problem in datasource enhancement.
    In R/3 SAP ABAP release = 640 and
    BW release = 350.
    Datasource: 0WBS_ELEMT_ATTR
    I enhanced the datasource by adding an append structure with 'ZZ' fields.The data elements for these fields are SAP standard (like KUNNR,VKORG etc...)
    Everything's active and there are no inconsistencies.
    However these added fields are not visible either in the RSA6 maintenance or in RSA3 checker.
    Hence I am unable to replicate these fields and pull them over to BW.
    Please advise.

    Guys,
    The problem is not with hiding/unhiding these fields.
    The appended fields themselves are not coming up through the RSA6 maintenance. They are not available for unhiding.
    Please advise.

  • How to do Datasource Enhancement ?

    hi experts,
    i have requirement in datasource enhancement,
    data source is 2lis_12_vcitm, my requirement is, i wnat to add one more field that is LIFEX ( External Identification of Delivery Note) from the LIKP ( SD document Delivery Header data) table.
    anybody please tell me the step by step procedure.
    please help me to do this.
    good answer will be appriciated with highest points,
    thanks in advance,
    venkat

    Hi,
    Pls chk this links;
    http://help.sap.com/saphelp_nw70/helpdata/en/6e/fe6e420f00d242e10000000a1550b0/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46
    /people/pradip.patil/blog/2006/06/07/how-to-retain-deltas-when-you-change-lo-extractor-in-production-system
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    http://www.bridgeport.edu/sed/projects/cs597/Fall_2003/vijaykse/step_by_step.htm
    COPA datasource enhancement
    Re: copa
    Profitability Analysis Without COPA
    Hope this helps.
    Regards
    CSM Reddy

  • Classification Datasources

    Hello Gurus.
    Can you explain me step by step how to create a classification datasource in transaction CTBW. I need to extract some material characteristics from R/3, the characteristics I need came from a function module named VC_I_GET_CONFIGURATION_IBASE.  I don't know how to extract this characteristics into BW.  Is it any standard datasoure that make this?
    Which is the best solution to do it ???.
    Please help me.
    THANKS.

    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.

Maybe you are looking for