Changing a generic datasource

Hi all,
I already have a datasource which is created through view which is already available in production.Now we want to just add a field  and we have for it in he view table itself.Can someone tell my the steps how to do it.I have done it  and i can see it in the view but not in the datasource.
Regards,
Harish

Hi kiran,
I cant see the field at all in RSO2
I entered my datasource in RSO2,Inside in cam find 2 options under extraction from DB view which is 1.View/Table , 2.Extract struc.
In option 1 when i click my view i can see the added field.
In option 2 i cant see my field in the extact struc.
Please guide me how to proceed.
Thanks
Harish

Similar Messages

  • Generic Datasource Delta Settings Change

    Hi Experts,
    Currently the delta field in generic datasource is set to timestamp (LOCAL) and Upper limit is blank.
    I need to change the delta settings to timestamp(UTC) or set the upper limit to 1000 seconds.
    Can anyone tell me how to change this in production. Do i need to change this in dev and transport this to production.
    If i do the changes to generic datasource, do i have to initialise the delta again?
    Pls provide me the step by step solution.
    Regards,
    Anand

    Ananda, What about the delta initialization? After transporting the datasource from R/3 dev to R/3 production, I have to replicate the datasource right.
    In that case what will happen to my delta?.
    One more thing incase i need to change only the upper limit value.  Even for this, do i have to change it in dev and transport to production?
    Regards,
    Anand

  • Generic Datasource on table IMRG in R/3- delta on timestamp is it ok ?

    Hi
    I am creating Generic datasource based on table IMRG in R/3, This has stoppages related data. which we need in BI report. There is a field for Time-stamp in the table, i have checked values in table IMRG, but in R/3 it shows no data for the time-stamp.
    Now i want to create delta basis for this generic datasource based on table, so shall i create delta based on time-stamp or date field.  
    If I create delta based on time-stamp will it create problem in delta extraction subsequently? Please share your experience in such a cases.

    There is a field for Time-stamp in the table, i have checked values in table IMRG, but in R/3 it shows no data for the time-stamp.
    Delta specific field should be something which defines changes in your table, not something which is blank always.Based on the change in this delta specific field only delta will be pulled.Having it blank will never pull you delta.
    Hope this helps.

  • How to create a generic datasource from function module?

    Dear experts,
    I have created a generic datasource from function module. For this extrator, I created a function module and a structure.
    I have now some difficulties to continue:
    In this function module, i get data from different transparent tables. Then i put these data into an internal table.
    I just don't know what is the relatioin between the structure i defined and this internal table.
    I should make "iTab structure AA" in the source code?
    Thanks

    Hi..
    check this
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Generic Extraction via Function Module
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    1. Create s structure with the fields that you need from the 4 tables . Activate.
    2. Goto SE 80 Select The Function Group , Copy , Select the Function module
    " RSAX_BIW_GET_DATA_SIMPLE " and Give a New name starting With
    Y or Z .
    3. SE37 ->Your Function module name -> Change , In table tab give your structure
    name by deleting the associated type given in " XXXX " .
    4. Now select source code and Do the coding . Give Data source name in Coding .
    In your case you have to take data from more that 1 table .
    5. Activate the Function Group .
    6. In RSO2 Create the Data source , Give the Function Module Name , And Save.
    7. RSA3 -> Give data source name and Check for the Records .
    Creation of custom datasource. (Using function module)
    .Create a function group .
    . Structure ZTXXXX
    Create function module (i.e. ZTESTXXX) .
    . Create the data source using transaction (RSO2).
    . If structure exists for the table parameter of your function module then ok else create a structure for the table parameter ‘        ’.
    Test the datasource in R/3 using transaction RSA3.
    Transfer the data source to BW –System and replicate it in the BW-System.
    Message was edited by:
            shiv

  • Horizontal Bar in the RSA3 is not showing up for Generic Datasource.

    Hi There,
    Created a Generic Extarctor based on a two tables PAYR and REGUH.
    Included 60 fields in the Generic datasource. Everything is fine and when i check the data in extract checker
    RSA3, the horizontal bar is not showing up and i could only see 15 fields. I couldn't able to see the rest of the fields.
    Can someone suggest what should i do to see all the fields in RSA3?  Why Horizontal bar is not showing up?
    Out of 60 fields only very few are hidden and it should show atleast 40 fields, but not happening..
    Thanks
    Vandana

    HI There,
    Thanks for all your responses.
    1 - Tried to change the layout by going into Menu Settings --> Layout ---> Current, but no option to change.
    2 - If I check the value of a particular field in the magnifier, then I could able to see all the fields
    3 - After executing the RSA3, tried to change to ALV Grid by going into LIST, but again no option available to change.
    4 - Checked the RSA2, and to my surprise all the fields are ticked as Key. Is that something why i'm able to see all fields in   
         the browser?
    5 - But when the check the datasource in RSA6, only 3 were ticked as Key and those three fields i can see before
         extracting  the data using extract checker RSA3.
    6 - Why all fields are ticked and showing and Key in RSA2 ?
    The above is the current status of this issue. Can anyone please suggest how i should go head?
    Thanks
    Vandana

  • How to deal with delete record in generic delta of generic datasource

    Hi,
       Anyone can give me suggestion about the delete record in generic delta  of generic data. I need extract data with a generic datasource and hope deleted record in datasource also can be "delete" in next delta extraction. I do a test with generic delta. It seem that the delete record can not be updated in ODS. but updated record can be updated in next delta extraction.
    How dose BW generic delta deal with the deleted record with generic delta mechanisim? Or how can I use generic delta mechanisim to realize that BW "delete" the deleted record of source system in ODS with delta extraction?
    Thanks in advance!
    Billy

    Delete is not supported in delta mechanism of generic delta extractor. You will need to add a workaround for that.
    - Capture the deleted records somewhere (maybe enhance the txn deleting the record so the key is written to a Z table). Take these records to BW and manipulate the recordmode to affect deletion of corresponding record from ODS.
    - If your generic delta is based on FM, and if the 'delete' is captured in change document tables, add the logic to check change document tables whether any records are deleted, and if yes, send those to BW with appropriate recordmode to achieve deletion.

  • How to set  Non Cumulative Init flag for Generic datasource

    Hi all,
       I need to create a generic datasource which can be used to initialize the Non Cumulative Cube. Eg. setting the opening balance.
       The STOCKUPD field in the ROOSOURCE should be set to X so that the infopackage will have the "Generate Initial Status" option. But there is no interface available in R/3 pluggin to do this.
    How can this be done? Or is it not allowed for generic datasources as it is only valid of 2LIS_03_BX datasource
    for stock updation.
      Will there be other issues if I change the table entry for STOCKUPD in roosource table for my datasource?
    regs
    Anoop

    Hello,
      any idea on this?
    regs
    Anoop

  • Field in Append Structure for Generic Datasource

    Hi:
    I created a Generic Datasource based on a view. After that, I created an Append to the Extraction Structure to include a field not originally on the view (and not related to any table in the view) to be calculated using customer exit in CMOD.
    At the moment of activating the Datasource, this new field doesn't appear in the selection window but in RSA6 it shows there with options "Hide Field" and "Field only Known in Customer Exit" checked.
    Again, I try to edit the Datasource but this field is not in the list to change those two checks.
    Any idea?
    Thanks.
    Luis Sales

    Dear Luis Sales,
    I was having the same requirement. I tried it hard for removing the tick mark on the HIDE option. But it was not working at all.
    I tried these steps.
    1. From RSO2 went to Extract structure. Edit Mode-> append structure.
    2. Appended required fields and activated both append structure and extract structure.
    3. Back to datasource and Save it.
    4. Came out of transaction RSO2. ( latter Logged of system )
    5. after re login - RSA6 selected given Datasource and change. there I could change the selection of HIDE field. ( Even earlier I was not able to do that)
    May be these steps help you out.

  • Can anybody explain me creating Generic Datasource using Function module?

    Hi,
    can anybody explain me creating Generic Datasource using Function module?
    Thax in advance,
    Ravi.

    Generic Extraction via Function Module
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    1. Create s structure with the fields that you need from the 4 tables . Activate.
    2. Goto SE 80 Select The Function Group , Copy , Select the Function module
    " RSAX_BIW_GET_DATA_SIMPLE " and Give a New name starting With
    Y or Z .
    3. SE37 ->Your Function module name -> Change , In table tab give your structure
    name by deleting the associated type given in " E_T_DATA " .
    4. Now select source code and Do the coding . Give Data source name in Coding .
    In your case you have to take data from more that 1 table .
    5. Activate the Function Group .
    6. In RSO2 Create the Data source , Give the Function Module Name , And Save.
    7. RSA3 -> Give data source name and Check for the Records .
    Creation of custom datasource. (Using function module)
    <b>is an example</b>
    1.Create a function group .
    2. Structure ZTEST123
    ZMATNR MATNR CHAR 18 0 Material Number
    ZMTART MTART CHAR 4 0 Material type
    ZMBRSH MBRSH CHAR 1 0 Industry sector
    ZMATKL MATKL CHAR 9 0 Material group
    ZBISMT BISMT CHAR 18 0 Old material number
    ZMAKTX MAKTX CHAR 40 0 Material description
    3. Create function module (i.e. ZTEST….) .
    FM - YMARA_DATA_TRNS
    FUNCTION YMARA_DATA_TRNS.
    ""Local Interface:
    *" IMPORTING
    *" VALUE(I_REQUNR) TYPE SRSC_S_IF_SIMPLE-REQUNR
    *" VALUE(I_DSOURCE) TYPE SRSC_S_IF_SIMPLE-DSOURCE OPTIONAL
    *" VALUE(I_MAXSIZE) TYPE SRSC_S_IF_SIMPLE-MAXSIZE OPTIONAL
    *" VALUE(I_INITFLAG) TYPE SRSC_S_IF_SIMPLE-INITFLAG OPTIONAL
    *" VALUE(I_READ_ONLY) TYPE SRSC_S_IF_SIMPLE-READONLY OPTIONAL
    *" TABLES
    *" I_T_SELECT TYPE SRSC_S_IF_SIMPLE-T_SELECT OPTIONAL
    *" I_T_FIELDS TYPE SRSC_S_IF_SIMPLE-T_FIELDS OPTIONAL
    *" E_T_DATA STRUCTURE ZTEST123 OPTIONAL
    *" EXCEPTIONS
    *" NO_MORE_DATA
    *" ERROR_PASSED_TO_MESS_HANDLER
    data : ZTEST123 type ZTEST123 occurs 0 with header line.
    Maximum number of lines for DB table
    STATICS: S_S_IF TYPE SRSC_S_IF_SIMPLE,
    S_COUNTER_DATAPAKID LIKE SY-TABIX.
    DATA: begin of t_mara occurs 0,
    ZMATNR type MATNR,
    ZMTART type MTART,
    ZMBRSH type MBRSH,
    ZMATKL type MATKL,
    ZBISMT type BISMT,
    end of t_mara.
    DATA: begin of t_makt occurs 0,
    ZMATNR type MATNR,
    ZMAKTX type MAKTX,
    end of t_makt.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
    IF I_INITFLAG = SBIWA_C_FLAG_ON.
    Check DataSource validity
    CASE I_DSOURCE.
    WHEN 'ZZMARA_DATA'.
    WHEN OTHERS.
    IF 1 = 2. MESSAGE E009(R3). ENDIF.
    this is a typical log call. Please write every error message like this
    LOG_WRITE 'E' "message type
    'R3' "message class
    '009' "message number
    I_DSOURCE "message variable 1
    ' '. "message variable 2
    RAISE ERROR_PASSED_TO_MESS_HANDLER.
    ENDCASE.
    Fill parameter buffer for data extraction calls
    S_S_IF-REQUNR = I_REQUNR.
    S_S_IF-DSOURCE = I_DSOURCE.
    S_S_IF-MAXSIZE = I_MAXSIZE.
    ELSE. "Initialization mode or data extraction ?
    Data transfer: First Call OPEN CURSOR + FETCH
    Following Calls FETCH only
    First data package -> OPEN CURSOR
    IF S_COUNTER_DATAPAKID = 0.
    Determine number of database records to be read per FETCH statement
    from input parameter I_MAXSIZE. If there is a one to one relation
    between DataSource table lines and database entries, this is trivial.
    In other cases, it may be impossible and some estimated value has to
    be determined.
    select MATNR
    MTART
    MBRSH
    MATKL
    BISMT
    from mara up to 10 rows
    into table t_mara.
    if not t_mara[] is initial.
    select MATNR
    maktx
    from makt
    into table t_makt
    for all entries in t_mara
    where matnr = t_mara-zmatnr.
    endif.
    loop at t_mara.
    read table t_makt with key zmatnr = t_mara-zmatnr.
    ZTEST123-zmatnr = t_mara-zmatnr.
    ZTEST123-ZMTART = t_mara-ZMTART.
    ZTEST123-ZBISMT = t_mara-ZBISMT.
    ZTEST123-ZMBRSH = t_mara-ZMBRSH.
    ZTEST123-ZMATKL = t_mara-ZMATKL.
    ZTEST123-zmaktx = t_makt-zmaktx.
    append ZTEST123.
    clear ZTEST123.
    endloop.
    clear E_T_DATA.
    refresh E_T_DATA.
    E_T_DATA[] = ZTEST123[].
    ENDIF.
    S_COUNTER_DATAPAKID = S_COUNTER_DATAPAKID + 1.
    ENDIF. "Initialization mode or data extractio
    ENDFUNCTION.
    3. Create the data source using transaction (RSO2).
    4. If structure exists for the table parameter of your function module then ok else create a structure for the table parameter ‘E_T_DATA’.
    5. Test the datasource in R/3 using transaction RSA3.
    6. Transfer the data source to BW –System and replicate it in the BW-System.

  • Generic DataSource on Function Module - Query

    Hi All,
    We have a requirement wherin we have to pull data from MARM  (Material UOM fields) table. This table has some 1,130,000 records.  Since this table doesn't have a Last Changed on or Created on field we are not able to create a Generic Delta on the table itself.
    We have come to know that in MM02, we can change the Unit of Measure fields for material. When we update in MM02, both MARA and MARM table gets changed. MARA will be updated with  the last changed date.
    So we are thinking of creating a Generic DataSource on Function module so that we can perform the delta on Last changed or Created on field of MARA.
    I have a doubt about creating the function module. How should we achieve the initial load (Getting all the material and it's UOM to BW) and then Delta loads through the function module?
    Does the first load needs to be or should be a full load?
    If someone can tell me the steps that should be followed, it would be very helpful
    Please let me know your suggesstion.
    Regards,
    Vivek Das Gupta

    Hi
    Could u try creating a view based Datasource.
    Also u can do a full load in parallel by creating 4-5 Infopackages. After which a Init without data transfer can be done.
    Hope this helps.
    Reg
    Aparna

  • Generic Datasource

    Hi
    I have a question regarding generic datasource based on function module... Is it possible to have 2 differents function modules based on the same extract structure (Z1)?
    I have one existing datasource (DS_A) based on a function module (FM_1) and extract structure (Z1)
    Since I have to change the functionality on the existing function module (creating FM_2) for another datasource (DS_B), I am wondering if the 2 datasources (DS_A and DS_B) could be based on the same extract structure(Z1) created previously for datasource (DS_A)
    Thanks!!

    hi,
    this can be done however this will always create a dependency, like if you have to change Z1 due to one FM1 (like addition of new field) then you need to enhance the code for FM2 as well as e_t_data inFM2 will have the structure same as Z1.
    its better to create a copy of the existing strucutre Z1 and use it in Fm2.
    regards,
    Arvind.

  • Creat generic datasource"customising undependent of mandant is inadmissibl"

    Hello,
    I am creating a generic datasource through for a SAP (MCSI) table:
    1. After entering the DS name and descriptions and table name, by saving i recieve the error message: "repository change: customising undependent of mandant is inadmissible". With this error, i cannot save the datasource.
    2. By clicking on the delta generic: How can i configure the fields (the table is for sales order):
      - Field: Which field can i choose: For example there are the fields "data analysis date, data analysis month, .. and ...
    - Do i have to choose "Stamp or kalender" radio button and for which reason
    - The intervalle (smaller and higher value)
    3. The datasource is to transfer data in BI.
    Thanks
    Ar.

    Hi
    I hope your first problem is solved ( because of server used QA not DEV)
    2. By clicking on the delta generic: How can i configure the fields (the table is for sales order):
    - Field: Which field can i choose: For example there are the fields "data analysis date, data analysis month, .. and ...
    Ans : Its depends upon which date you business want your delta shuld work, click the F4 help and choose from drop down table.
    - Do i have to choose "Stamp or kalender" radio button and for which reason
    Again for Transactional data we used TIMESTAMP and for Master data it should be CALENDERDAY.
    - The intervalle (smaller and higher value)
    For TIMESTAMP +/-30 mins and for CALENDERDAY +/- 2 Days.
    3. The datasource is to transfer data in BI.
    Yes, Many std. datasources are provided by SAP which also we can modify by doing enhancement.
    Also we can write our own DS as per need and requirement.
    Thank-You.
    Regards,
    Vinod.

  • Delta enable generic datasource

    hellow sir ..
    im workin on SAP BW 3.5
    i'm creating the generic datasource ,, so my confusion is how to make it Delta enabled because The check box for DElta is Greyed...
    so wat;s the diference between delta box checked and unchecked..
    how to make that grey area checked..
    thanks and regards

    u r talkin about Generic Delta Tab.. where 3 option s are there,..  - YES
    so wat options i shud go for.. so that it enables Delta upload at BW side.  - This will not enable delta loading at BI side it will extract delta records from R/3 only, for activation BW delta you have to create a delta infopackage that will extract the delta records from R/3 to BI.
    and there are 2 more options in Radio button
    -  Filed name : Here u specified based on which field ur delta records wil be picked up, like change date field (field name : ERDAT) then specify the name of field, as its a date field so choose the Radio button  CAled day. If it had been a time stamp filed u have choosen then Timestamp radio butoon.
    1) New status for change Records
    2)Additive Delta..
    For above read F1 help (that is very clearly explains this)
    and what is the DElta check box which is there in Selection and Hide field Tab,, which comes after Saving the First Screen of RS02 ( DATASOURCE : Customer Version Edit )  -  This box will become checked when u maitain any delta field in Generic delta tab. It indicates wether the datasource is delta enabled or not
    Hope this is clear now.

  • How to Add delta functionality to generic datasource

    Hello all,
    My requirement is to make a Generic Transactional Data source Extractor to Delta enabled.
    The datasource doesnt contain either of the following delta enabling functionality
    -> Date 
    ->time stamp
    ->Numeric pointer.
    Could anyone suggest idea how to add these in Generic Datasource so that it can be delta enabled
    regards
    Bala

    Hi Bala,
    Coding should be done checking th trasaction and the tables.
    but i can provide outline .
    add a field last changed on  and write a code saying last changed on is equal to sy-datum.
    i am not sure of the scenario where to write this code and after which line.you can take a decision.
    check the link below
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c062a3a8-f44c-2c10-ccb8-9b88fbdcb008&overridelayout=true
    Regards
    Joga

  • I am using generic datasource first time init sucessful, next time deltas

    Hai ALL,
    I am using Generic Datasource first time i run init next time i want to run the delta, delta is sucessful but 0 records. i am taken date field and new status fileds(DSO) for DSO. R/3 side table values chaging but not replicate to BI. Can any suggest how to run the delta for Generic Datasource.
    Thanks & Regards,
    Suresh

    Hi
    Have you set delta pointers in your Generic datasource? if yes then what it is ? try to see if its logically related with your changes in records or you need to use any other type of delta pointer.

Maybe you are looking for

  • Extraction from SAP R/3

    Hi Experts, I am currently working on a POC for a client that requires that we show them how to extract from SAPR3 using their own Structure. I have  a list of Entities that I need to enter into the Hierarchies tables: Setnode and Setleaf, CSKS/CSKT

  • WHERE DID THE PICTURES GO???

    My iphoto 5 is not showing me my pictures! I spoke to an apple representative and he directed me here. I really hope someone can help me! Apparently my pictures have become corrupt or unreadable. Is there a way for me to be able to find them again on

  • WLC not integrating with Radius Server

    Hello world, I have the following situation: One WLC 2000 Series (software version 7.0.230.0) with multiple SSID`s, one is with 802.1x integrated with a Radius Server. Everything worked fine until fiew days ago, when users were unable to logon via th

  • [Solved]Right size for /boot

    Which is, in your opinion, the right size for a /boot partition? Some guides suggest 50-100Mb, other 10Gb! Who's right? Last edited by frazar0 (2011-07-17 17:03:10)

  • Firefox not remembering last pages

    FF is set to open windows & tabs from last time but instead it opens my Home page set of tabs. This only happens on my iMac version of Firefox (I also use it on Windows at work & a Linux netbook; no problem on them). I think I found a response on thi