Enhancement of 2LIS_02_ITM Datasource

<Moderator Message: Please search before posting. This question has been discussed tons of times. Addtionally you will find blogs related to this issue>
Hi Experts,
   Could you please update me with the procedure (detail) that I have to followu2026
Currently I am loading (LO COCKPIT) Purchase Order information using the Data source 2LIS_02_ITM (Delta) to BW.
The Load is deltau2026
Now as per my requirement the 2LIS_02_ITM data source is enhanced in R/3 to include custom fields..
Now my requirement is to include this new enhanced data source with out intrepeting daily Deltasu2026
Please update me with the details procedure that I need to follow
Thanks in advance
Edited by: Siegfried Szameitat on Dec 9, 2008 2:24 PM

Hi
The procedure would be:
Firstly the datasource enhancement should be done in your development system then transported throughout the BW system landscape
1.Know the table name as well as the technical name of those fields(se16 or se16n)
2.Add those fields as ZZ... on the datasource then write relevent code in trans CMOD to populate those fields and the transaction for enhancement is RSA6,replicate and make sure that the timestamp of source and target are the same.Include those newly added fields on the BW dataflow all the way until your reporting object either cube or ODS
3.Test thoroughly in RSA3 making sure that your fields are populated correctly
4.As for data volume,if the business requires history possibly you will have to initialise the deltas and if not then the fields will get populated from the date of transportation to prod system
Take congnisance because with the above mentioned datasource,if messed up you will have to run setup tables which will require source system locking or blocking
Thanks
Herbert Naape

Similar Messages

  • Enhancement to 0MAT_PLANT_ATTR datasource

    I need to enhance 0MAT_PLANT_ATTR datasource with additional fields STPRS, PEINH from MBEW table and WAERS (currency for STPRS) from T001 table. Table T001 and MBEW table have no fields in common. So I took an indirect approach to this.I have a program for enhancing a BW DataSource in R/3. Here is the code:
    types: begin of zty_waers,
    bukrs type bukrs,
    waers type waers,
    bwkey type bwkey,
    end of zty_waers.
    data: zit_waers type standard table of zty_waers,
    wa_waers like line of zit_waers.
    DATA : it_temp type standard table of biw_marc_s,
    wa_temp like line of it_temp,
    S_INDEX TYPE SY-TABIX,
    z_index type sy-tabix.
    DATA : BEGIN OF ITAB_MBEW OCCURS 0,
    MATNR TYPE MATNR,
    BWKEY TYPE BWKEY,
    STPRS TYPE STPRS,
    PEINH type PEINH,
    WAERS type WAERS,
    END OF ITAB_MBEW.
    data: wa_mbew like line of itab_mbew.
    DATA: BEGIN OF ITAB_CEPC OCCURS 0,
    PRCTR LIKE CEPC-PRCTR,
    KOKRS LIKE CEPC-KOKRS,
    DATBI LIKE CEPC-DATBI,
    SEGMENT LIKE CEPC-SEGMENT,
    END OF ITAB_CEPC.
    select abukrs awaers b~bwkey into table zit_waers
    from t001 as a inner join t001k as b on
    abukrs = bbukrs.
    IF NOT I_T_DATA[] IS INITIAL.
    IT_TEMP[] = I_T_DATA[].
    SELECT MATNR BWKEY STPRS PEINH FROM MBEW INTO TABLE ITAB_MBEW FOR ALL ENTRIES IN IT_TEMP
    WHERE MATNR = IT_TEMP-MATNR and BWKEY = IT_TEMP-WERKS.
    SELECT PRCTR KOKRS DATBI SEGMENT FROM CEPC INTO TABLE ITAB_CEPC FOR ALL ENTRIES IN IT_TEMP
    WHERE PRCTR = IT_TEMP-PRCTR AND KOKRS = IT_TEMP-KOKRS AND DATBI = '99991231'.
    ELSE.
    EXIT.
    ENDIF.
    loop at itab_mbew into wa_mbew.
    z_index = sy-tabix.
    read table zit_waers into wa_waers with key bwkey = wa_mbew-bwkey.
    if sy-subrc = 0.
    wa_mbew-waers = wa_waers-waers.
    endif.
    modify itab_mbew from wa_mbew transporting waers.
    endloop.
    sort itab_mbew by matnr.
    loop at i_t_data into wa_temp.
    s_index = sy-tabix.
    Read Table itab_mbew with key matnr = wa_temp-matnr
    into wa_mbew.
    if sy-subrc = 0.
    wa_temp-zzstprs = wa_mbew-stprs.
    wa_temp-zzwaers = wa_mbew-waers.
    wa_temp-zzpeinh = wa_mbew-peinh.
    endif.
    Sort itab_cepc.
    Read Table itab_CEPC
    with key PRCTR = wa_temp-PRCTR
    KOKRS = wa_temp-KOKRS
    binary search.
    if sy-subrc = 0.
    wa_temp-ZZSEGMENT = itab_CEPC-SEGMENT.
    endif.
    modify i_t_data from wa_temp.
    clear wa_temp.
    endloop.
    But when I am testing the datasource for the new fields the data is coming out wrong. For example if I run the extractor checker RSA3 for material number 10000306 and plants 1017 - 1021 i extract 2 entries and the stprs values are same for both plants
    But if I run RSA3 for 1021 alone then i get another value for 1021 plant. This means the STPRS value is getting overwritten for some reason. Debugging of this code is very difficult since there is a form embedded in this program.
    Can anyone tell me wht is wrong with the logic?
    Thanks
    Deepthi

    Hi Deepthi,
    As I see and understand your code,
    the problem area could be :
    sort itab_mbew by matnr.  ***
    Here you are sorting the table by MATNR alone, where as when actuall see that
    the remaining data  would be corresponding to the material only, so when sort
    the table alone with MATNR probably your Plant data would get jumble..
    so, try sorting the table with all the keys you are having in this table..
    and read the table with the max. comibations available or possible..
    you should be able to locate the record right get right data..
    Hope it helps..
    Cheers,
    Pattan.

  • 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

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

  • Enhancing a Standard DataSource

    Hi Everyone,
                  Is there any Resrtiction for enahncing a DataSource? I am enhancing my Standard DataSource 2LIS_11_VAITM with around 12-15 fields.Does the affect the Performance of the Syste. What is the Disadvantages if I do SO. I need to enhance because I need to add Fields from ZTables.
    Thanks and Regards,
    Samir

    Hi Surender,
               What will be the Text DataSource for Remarks field (VBBP-Z006) . I could not identify the Text Datasource for this field.Currently, I am loading, Customer, Plant, Material, Customer Text, Vendor, country, Region Text DataSources.
    But I am not able to identify whether Remarks Field will be getting the Text or Not.Also , I think i need to have Remarks as a Field in DataSource with some Key Value then only it gets theTexts from Master Data. I mean, For Example, For Material, We have to Add 0Material in the Cube and then it gets theTexts from MAterial Text DataSource when we execute the Reports.
    So , In this case, What should be my Approach. Do I need to maintain Remarks as afield in my Cube. Or how should be my approach so that VBBP-Z006(REMARKS- Text ID) is loaded into BI.
    If I need to maintain Remarks as a field with Key Value , then how do I map it.I hope I am clear
    Regards,
    Samir

  • 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

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

  • 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

  • Transfer Checkbox for 2LIS_02_ITM datasource

    Hi Experts,
    On enhancing 2LIS_02_ITM with 2 Z-fields and replicating to BI side, the transfer checkbox (5th column on fields tab of datasource display) in datasource is not enabled for these 2 fields and hence these fields are not available to be mapped to infosource.
    Any ideas as to how to enable the checkbox.?
    rgds
    Deepak

    Hi.
      Please use RSA6 to edit the datasource 2lis_02_scl and uncheck those 2 fileds you added in.
    Best Regards
    Martin Xie

  • Selection Criteria in Infopackge for enhanced  field of DATASOURCE in R/3

    Hi All,
    My client requirement is Data has to be loaded on company wise .. means the respective responsible person only carryon loading person as per his profile(Authorisation)load has to be happen...this is one requirement,
    one more is (whether in this scenario can we go for Delta)
    we enhanced the Datasource with new field in R/3 and when we are trying to make it selction condition in infopackage we are not getting filtering as per that ..
    could u or anyone who knows through a light on this..
    Thanks in advance
    BRB

    Hi BRB,
    regarding your question about selection field I gave you an answer in one of yours previous post !
    Just some considerations about your authorizations requirements.
    If I right understood, you want to build a scenario in which there are different persons that, manually, have to access on the system to perform a data loading restricted to a particular company code (so, person A could load only data from company A, person B from company B and so on...)
    I think you can obtain this (also with a dedicated infopackages per person), but if you want to manage a delta (your second question) just remember that you can perform different init (with different selections), but the delta channel will be only one and only one will be your delta request management..so, your previous profiling will no longer make sense...
    Hope it helps.
    Bye,
    Roberto

  • Enhance FI_AR_4  BI datasource

    Dear Friends
    i have a doubts on  0fi_AR_4 is only avilable for the ODS it is not there for Cube . do we need to generate the datasource seprately for Cube.
    I would like to enhance the datasourcce 0FI_AR_4 . these  are all the feilds i want to add to the datsource . as below. can you all help  me how to Enhance.  please send me step by step so does not .extraction adding the feilds .look forward
    to your reply.ASAP.forward
    Order no                     VBRP      AUFNR                   
    Profit center      VBRP     PRCTR
    FNR
    Sales document      VBRP     AUBEL
    Local currency      BKPF     HWAER
    Exchnage rate      BKPF     KURSF
    Document no     BKPF     BELNR
    Refernce key      BKPF     AWKEY
    Billing Type     VBRK     FKART
    Payment key      VBRK     ZTERM
    Cancelled     VBRK     FKSTO
    DR/CR factor     TCURF     TFACT
    Refernce no.      PRPS     POSID
    WBS Element     PRPS     PSPNR
    Salesman no.      VBPA     PERNR
    Debit credit indicator      BSEG     SHKZG
    Due days      BSEG     DMBTR
    Gross margin      BSEG     DMBTR

    The procedure for customer exits is described in OSS note 410799

  • Can we enhance 0HE_SLC_MBK_1 - BW datasource to have module as selection

    Hello All,
    Is there any way you can
    have the selection screen enhanced for the Module Booking extractor (0HE_SLC_MBK_1). Currently it has Student number and Busines Partner as options which are not suficient, there are time when we want to do a full load for just particular academic period or particular module so it would be great to have atleast these two options.
    Having Module, Event Package and Academic Period as selection option would work great.
    I tried modifying the extractor in our sandbox by going to RSA6 in change mode and selecting these boxes in the screen but that does not work and I get short dump. Do you have any ideas about this?
    Thanks in advance,
    Kiran.

    Hi Kiran,
    You can enhance it, but you need to modify the coding of the extractor as well. Currently the Extractor is designed in such a way that it reads all the modules for all or a set of students.
    It does this via an OPEN CURSOR statement on the table cmacbpst. You would have to build in the new selection criteria via the RSA6 and then enhance the coding.
    It is a bit odd that you get a short dump when trying to change the extractor. What exactly are you running into? Maybe you should try to activate the extractor again in the RSA6 (mark it and use the pull down menu DataSource --> Activate).
    By the way...you probably cannot have this functionality via the usual customer exit but you would have to make a modification for this to work properly. The customer exit is only accessed AFTER reading all the data specified in the selection criteria.
    Jeroen

  • Enhancement of Controlling Datasource

    Hi all,.
    i have a datasource 0CO_PC_01
    from product costing which is pulling data from AUFK AUFK, AFPO, COSS, COSP, COSB, COSL, COKEY, TKA09, TKV09
    but its not having a date field (technical completed date of production order) but the field is in AUFK, so i have added that field to the append structure. and activated the extract structrue and generated the datasource , but the field is not getting populated.
    as it is in the application table like in Logistics & FI i assumed that it is not necessary to write the user exit, but the extractor will automatically fill the field, but its not happening here.
    any suggestions please.
    thanks and regards
    neelu

    Hello Neel,
    As your extractor is getting data from so many tables is it based on a function module?Or on a view..I believe it must be a SAP std function module.
    If yes..then u need to code a user exit(as suggested by Dinesh) to populate this appended field.
    The case u have given..where appended field direcly gets populated is true only when..
    -datasource is based on table/view.
    -appended field in extract structure as exact same field name as the field in existing table/view.
    Even if u add 'ZZ' to table field name,while appending in ext structure,system will not extract data for that field as its unable to match field names.
    Ex. table field is APPLK and u used ext structure appended field name as ZZAPPLK or ZZ_APPLK.It will not work.It will work only when u use same field name i.e. APPLK.
    see below thread for CMOD user exits..might help..
    Re: enhancements
    cheers,
    Vishvesh

  • Enhancement of Utilities datasources

    Hi All,
    Am a SAP BI guy and wanna know about the process of dataflow frm Utilities datasources to BI. Plz let me know HOW TO ENHANCE THE EXTRACT STUCTURE/SPECIFIC FIELD AT R/3 FOR UTILITIES DATASOURCES/FIELDS.
    Thanks,
    Jack

    Hi Neelesh,
    Thanks for the info!
    Could you please provide me the information to fill the necessary parameters? Im a little confused when it comes to using more than one datasources.
    Thanks!

  • Enhancing a transaction datasource!

    Hi all,
    Can anyone please tell me where I can find documentation on writing User exits/enhancing transaction datasources.  Is the procedure for enhancing transaction datasource same for all extraction methods like LO-Cockpit, LIS, COPA, Generic Datasource and FISL or are they dependent on the extraction method.
    I need to enhance LIS datasource and write code to populate value for couple of new fields.
    I appreciate your help.
    thanks.

    Your question has been already answered !
    https://websmp205.sap-ag.de/bi -> BI InfoIndex -> Exits
    Bye,
    Roberto
    Anyway, try to do a search inside these forums...you will try a lot of very useful material and sample...

Maybe you are looking for

  • Lightroom 5.0 and 5.2 - incorrect colors in Adobe Flash galeries

    For unknown reason Lightroom 5 is not able to create the Adobe Flash Galerie type in correct quality. The pictures created are dull and dark and there is typicaly only narow properly colored band on top of the picture. The same JPG set of pictures ca

  • Add UDF Category through DI

    Hi all, How can  I add a Category of UDF in a system form ? (eg Business Partner) The functionality is in Tools-->Customization Tools --> Settings Thanks in Advance, Vangelis

  • Problems download/finding distributable versions.

    On 07/05/2013 my request to distribute Adobe Flash Player, Adobe Reader, and Adobe Shockwave Player was approved. I received an email with the ENU-DistributionAgreement.pdf and links for downloading the software.  Up until recently, the links worked

  • Microphone output sound delay

    Hello, I'm a musician. Often, I plug my headphones into my laptop and listen to music. Then I plug my guitar in the microphone jack and enable the microphone sound output so I can play along with the music on my laptop. In other words, I use the lapt

  • Mobo IDE 3 problem

    Hello, I am hopnig someone here can help.  2 weeks ago  I installed a Maxtor DiamondMax 200 GB HDD (7200 RPM) on the MOTHERBOARD IDE3.  The bios is configured as follows: Integrated Peripherals – USB controller =ENABLED