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.

Similar Messages

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

  • How to write the ABAP code for Datasource Enhancment

    Hi Team,
                  Can you please help me how to write the code for the enhancement i have made to the standard datasource
    i have added the fields ZZPayer and ZZPayer_access.
    I just wanted to know how to write the ABAP code to populate the data for these fields.
    Regards,
    Pradeep P.

    Hi
    From a performance point of view would like to suggest a few changes :
    WHEN '<DS name>'.
      select zzfields from <table> into itab
      for all entries in c_t_data where <condition>.
      If sy_subrc = 0.
    loop at c_t_data assiging f_c_t_data.
    read itab into wa_itab where key = f_c_t_data-key.
    f_c_t_data-zzfield = wa-itab-zzfield.
    endloop.
    refresh itab.
    regards,
    aparna
    endif.

  • High level estimation for datasource enhancement

    hi,
    I have been assigned in supporting project recenlttly.  Now we are going to data source enhancement(we need one more field i.e juridiction code for tax calculation, Datasource is 0FI_GL_4), we need to high level esstimation for  the procedure and time duration for each process (Devolepment  to Prod).
    Can any one help me in this concern......
    Thanks,
    Shaliny

    Shaliny,
    If the field is ready available to add with no hicups, everything can be done in 3 days.
    Well, if you need to go for an customer exit during enhancement, you need at least 15 days which includes testing also.
    It generally depends on how complex it is expected to be. But have a buffer of atleast 2 days after completion from your side.

  • Need ABAP code for Datasource Enhancement

    Hi All,
    I need no Enhance the WBS Element(PS_PSP_PNR) to2 LIS_02_ITM Datasource
    the table EKKN Having WBS element
    From EKKN Table We have to take the filed Append to the2LIS_02_ITM datasource
    Please any one give me ABAP code which is write in CMOD
    Thanks........
    Regards!
    Malli

    Hi,
    See SAP Help
    http://help.sap.com/saphelp_nw04s/helpdata/en/6e/fe6e420f00d242e10000000a1550b0/content.htm
    See the simple example code, so follow the same.Take ABAPer help, don't use select and end select.
    CASE i_datasource.
      Data: l_s_data1 LIKE mc13vd0itm,
            l_tabix   LIKE sy-tabix,
      WHEN '2LIS_13_VDITM'.
        LOOP AT c_t_data INTO l_s_data1.
          l_tabix = sy-tabix.
          SELECT SINGLE auart INTO l_s_data1-zzprdtyp FROM vbak
                 WHERE  vbeln  = l_s_data1-aubel.
          IF sy-subrc = 0.
            MODIFY c_t_data FROM l_s_data1 INDEX l_tabix.
          ENDIF.
        ENDLOOP.
    ENDCASE.
    Data: l_s_data18 LIKE mc12vc0itm ,
          l_tabix   LIKE sy-tabix.
      WHEN '2LIS_12_VCITM' .
        LOOP AT c_t_data INTO l_s_data18.
          l_tabix = sy-tabix.
          SELECT SINGLE ernam FROM ekko
           INTO (l_s_data18-ernam)
           WHERE ebeln = l_s_data18-vgbel .
          IF sy-subrc = 0.
            MODIFY c_t_data FROM l_s_data18 INDEX l_tabix.
          ENDIF.
        ENDLOOP.
    See article on Step by Step Guide to Enhance a Data Source:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00c1f726-1dc2-2c10-f891-ddfbffdb1a46?quicklink=index&overridelayout=true
    Thanks
    Reddy

  • BAdI- Call for DataSource Enhancement! - Where?

    Hi,
    i have a question ... i have implemented a filterbased BAdI to enhance DataSources.  I have implemented BADI Definitions, Implentations etc ...
    But, where is the Position where i should call this BAdI? Should i call it, in the Customerexit RSAP0001?
    I thought, the new BAdI technology replaced the Customerexit RSAP0001.
    I appreciate your help
    regards
    ergin

    check the below paper:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3001894b-b1fb-2910-77ba-e80b6f2053b7?quicklink=index&overridelayout=true
    M.

  • 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

  • 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

  • Data Extraction.Init & Delta for datasource 0CRM_CONF_COSTS ControllingData

    Dear Experts,
    We are facing problem with Data Extraction for BW.  Prerequisites all checked and done.
    No data for Initial & Delta upload for datasource 0CRM_CONF_COSTS,
    0CRM_SRV_CO_PLAN and 0CRM_C_ITEM
    Other related data source 0CRM_SRV_COSTS and 0CRM_SERVICE_COSTS we are getting data.
    Request your help on this issue.
    Regards,
    Dilip W

    Hi krishna,
                       yes we did enhancement to this data source. In PRDOCTION its taking 27 hours time  to load data.
              For extraction from source system (CRM) its taking  nearly 24 hours time  as per JOb LOG .
    08/05/2010 11:53:08 Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 10,849 records
    08/05/2010 12:02:02 Result of customer enhancement: 10,849 records
    08/05/2010 12:02:03 PSA=0 USING & STARTING SAPI SCHEDULER
    08/05/2010 12:02:03 Asynchronous send of data package 1 in task 0002 (1 parallel tasks)
    08/05/2010 12:02:06 IDOC: Info IDoc 2, IDoc No. 1576298, Duration 00:00:01
    08/05/2010 12:02:06 IDoc: Start = 08/05/2010 10:26:37, End = 08/05/2010 10:26:38
    08/05/2010 13:02:38 Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 10,958 records
    08/05/2010 13:11:48 Result of customer enhancement: 10,958 records
    08/05/2010 13:11:52 Asynchronous send of data package 2 in task 0003 (1 parallel tasks)
    08/05/2010 13:11:53 tRFC: Data Package = 1, TID = 0AA00D0301984C5AEE8E44DB, Duration = 00:16:
    08/05/2010 13:11:53 tRFC: Start = 08/05/2010 12:02:19, End = 08/05/2010 12:18:27
    08/05/2010 14:30:13 Call customer enhancement EXIT_SAPLRSAP_001 (CMOD) with 11,296 records
    08/05/2010 14:39:53 Result of customer enhancement: 11,296 records
    like this its taking 24 hours in extraction its self.
    Edited by: kotha123 on Aug 10, 2010 12:08 PM
    Edited by: kotha123 on Aug 10, 2010 12:09 PM

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

  • 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

  • Reg: Loading historic data for the enhanced field

    Hello All,
    We need to add a new field 0VENDOR to our datasource 0FI_GL_4. This field is available in our BSEG table. Hence, we are planning to go ahead with datasource enhancement.
    Now, please advice on how to update the historical data to this newly added field.I have heard there is a BW functionality/program to do so without deleting the entire data. Kindly advice on the possible solutions.
    Thanks & Regards
    Sneha Santhanakrishnan

    HI Sneha,
    Using remodeling option you will be able to do that, ie.. loading historical data for new attributes without deleting existing data. But the problem is in remodeling either you can assign constant or some other attribute value or values determined using EXIT.
    Now when you are loading data from source system and if you need historical data as well the best practise is delete existing data and reload it from source sytsem.
    But if you don't want to do that then I can give you one trick but not sure whether it will work or not. The idea is to populate the historical values for 0Vendor using customer exit option of remodeling. Now to get the historical values in customer exit you will need all that data in some BW table, here you can think of creating some generic extractor which will store the values of all the documents and the respective vendor, as you will load data form source system you will get historical values as well.
    Now read that table in customer exit and populate vendor value. This will be one time process to populate the historical values.
    Regards,
    Durgesh.

  • Unable to change Extract structure MC03BF0 for DataSource 2LIS_03_BF

    Hi all
    In LBWE in R/3, I need the change the extract structure MC03BF0 for DataSource 2LIS_03_BF, by including some fields from MCMSEG pool. On including these fields from MCMSEG pool on the right side table to the left side table, and on confirming these entries, I get the following error message,
    ' Struct. from appl. 03 due to open V3 proc. not changed '.
    The long text for this message is :
    'Diagnosis
    Changing the extract structure MC03BF0 of application 03 is not allowed as there are no V3 update entries for the update module MCEX_UPDATE_03.
    If an extract structure is changed for which there are still open V3 updates, these can no longer be updated and the V3 collective update is terminated.
    Procedure
    Start the V3 update using the "Job Control" function in the customizing cockpit (transaction yDS:TRAN.LBWE>LBWE) or delete those update entries that are already incorrect. You will find these in the update overview.'
    Please guide me with what is to be done so that I can maintain the extract structure.
    Thanks
    Urmi

    Jelina,
    I think still some records available at SM13 clear it aswell.
    Clear records at LBWQ, SM13, RSA7, Setuptables in all CLIENTS of R/3 and check.
    Still a problem, then instead of enhancing datasource from RSA6, take extract structure name and enhance from SE11.
    P.S: Its better to create a new post by referencing same thread, so you can close call by assigning poings.
    Srini

  • Sample Code for CRM enhancement in BADI

    hi,
      can anybody please give me sample code for BADI for CRM enhancement.
    i have added couple of z field in a extract structure. now i have to write code in BADI to populate those fields.
    please do not send code for user exit.
    Regards
    Subrata

    Hi Aviral,
    Please consider below thread :
    http://scn.sap.com/thread/2069370
    Best regards - Christophe

Maybe you are looking for

  • Bug in bc4j?, view links at runtime, multi table relationships, accessor name

    The following seems like a bug in the business components framework to me: To make things simple, I will use view objects aV, bV, cV, corresponding rows aR, bR, cR and row iterators aI (not used though), bI, cI. I create two view links from aV to bV

  • IDVD 5 will not burn - Query

    I have a LaCie DVD burner which I successfully use with iDVD and have had no problems. Today I have added a 250GB LaCie 250GB hard disk for extra video editing space. I have edited and successfully saved a trial project on to the new disc. When I fir

  • Moving from one server to another.

    This may be a little long winded but I am at my wits end and hopefully someone can steer me in the right direction. I am in the process of updating the server at my job. Currently the server is on an old G3 running OS X Server 10.2.8, and everything

  • AUC distribution and settlement

    Hello gurus can anybody give me the answer When we are during AUC  what is happening in distribution and settlement when settle the assets what is the with line item and without line item Regards Sri

  • Replacing material while keeping old cuts and effects

    I went through the entire process of capturing, editing, and authoring video with Premiere Pro CS4 only to realize that the first half of my hour-long project was captured with the wrong aspect ratio. The aspect ratio of the footage is 16:9, whereas