Generic Data source based on Infoset

Hi,
I have a Generic data source based on Infoset. i need hostorical data from this data source, when i extract it is given me only current data. Infoset based on PNPCE logical database, in the Infoset query (ECC6) when i select "All" it gives all data, but when i extract with RSA3 with perticular personal number it just give me 1 record,
Please help me to fix this problem.
Thanks

i think you mean to get data relevant to a date. have you setup the begda/enda as selection parameters in the generic datasource? that would be the only aside from a custom  program to first fetch the data and then send it to bi.
with the dates, you can pull it with the relevant date range setup in the infopackage

Similar Messages

  • Generic Data source Issue with Infoset

    Hi Experts,
    I have created generic data source with Infoset.As per customer requirement, I have to modify join condition between tables from equal to left outer join in infoset.I have tested scenario successfully using infoset query. I have done below steps in generic data source to check the same result.
    1.Modified Join condition in infoset and generated the infoset again.
    2. Generated generic datasource in RSO2.
    When I check same scenario in RSA3, I am getting 0 records.Please help me out.
    Thanks in Advance.
    Regards,
    Raju

    Thanks Sriram for your reply.
    I am using same user id for both SQ02 and RSA3.
    I have Two infosets with same join conditions.I have created SQVI report with First infoset and Generic data source with second infoset.
    I have changed join condition second infoset which is used for generic data source.I am still getting same number of records in both SQVI report and in RSA3.I have validated records by considering few records to cross check again.
    The change in join condition doesnt show any impact in changing the number of recrods.
    I  have activated extraction structure in RSA6 but still getting same records.
    Thanks,
    Raju

  • Generic Data Source Based On Function Module (Delta capable)

    Hi,
    My requirement is to develop a Generic Extractor based on Function Module (Delta capable). As I already found many threads explaining this concept, but most of them discussing FM RSAX_BIW_GET_DATA_SIMPLE with Extraction Method F2. There is another FM RSAX_BIW_GET_DATA which, one can use to build delta enabled extractor.
    Although I do have some doubts:
    what is the E_T_SOURCE_STRUCTURE_NAME ?
    read table i_t_select into l_s_select with key fieldnm = 'PGMID'. Use of this code ?
    Templet only showing
    case i_updmode.
          when 'F'.
          when others.
            if 1 = 2. message e011(r3). endif.
            log_write 'E'                  "message type
                      'R3'                 "message class
                      '011'                "message number
                      i_updmode            "message variable 1
                      ' '.                 "message variable 2
            raise error_passed_to_mess_handler.
        endcase.
    i.upmode as F, D(delta) is not included, do i need to include this?
    Can someone help to solve this. Appropriate points will be allotted to helpful suggestions.
    Edited by: Debjit_Singha_86 on Jul 23, 2011 8:35 AM

    Try using following piece of code;
    READ TABLE g_t_select INTO l_s_select
                                 WITH KEY fieldnm = 'Date Field for Delta'.
          IF sy-subrc EQ 0.
    SELECT SINGLE *
                           FROM ROOSGENDLM
                           WHERE oltpsource EQ 'DataSource Nameu2019
                           AND slogsys      EQ lw_slogsys.
              IF sy-subrc EQ 0.                                            
                lw_date = roosgendlm-deltaid+0(8).
                lw_time = roosgendlm-deltaid+8(6).
                                                                                    ENDIF.                       " IF SY-SUBRC EQ 0.
    ENDIF.
    OPEN CURSOR WITH HOLD S_CURSOR FOR
    SELECT * FROM TABLE
                                   WHERE  CPUDT     GE   lw_date   AND
                                               CPUTIME  GE   lw_time.
        ENDIF.                            
    Table R00SGEMDLM stores the date and time data was last extracted from a data source.
    Alternatively, you can also try using the i_updmode.
    When 'F'.
    SELECT * FROM TABLE (without any where clause on last change date)
    When 'D'
    SELECT * FROM TABLE
                                   WHERE  CPUDT     GE   lw_date   AND
                                               CPUTIME  GE   lw_time.
    These are just suggestions. Try these out, I hope it helps.
    Regards,
    Gaurav

  • Data Source based on Infoset.

    Hi Experts,
    I have a datasource based on Infoset.This infoset is the join of two tables.
    There is one additional field in this infoset(Timestamp)
    Now, due to change in the requirement I have to delete this timestamp.I am unable to delete as it is saying it is used in the Query.But I am not getting how to remove this from Query.
    Query Name is coming as :
    SY000000000095 Generated Query SY000000000095
    SY000000000096 Generated Query SY000000000096
    SY000000000097 Generated Query SY000000000097
    SY000000000098 Generated Query SY000000000098
    SY000000000100 Generated Query SY000000000100
    Please help

    Hi,
    The infoset may have been created using the query infoset.
    Go into SQ01, identify the queries and delete them.
    Cheers
    Neeraj

  • Delta field for generic data source based on view EKBE

    Hello,
    I am creating a generic datasource based on table EKBE. Can anyone please tell me what field should I use for delta. Is it BUDAT(Posting Date in the Document) or CPUDT(Day On Which Accounting Document Was Entered).
    Thanks for the help.
    Praveen

    Hello Ajeet Singh,
    Thank you very much for the reply.
    I will go ahead with CPUDT.
    BUDAT is the date which can be changed. I can change the date in system and chances are it will not pick in delta.
    CPUDT is the date on which document was created/changed.
    Thanks,
    Praveen

  • 3 generic data sources or only one function module

    Hi all,
    I have 3 custom tables
    1. ZCOUNTRY (giving the link between code entity and country)
    1. ZCURR (giving the link between code entity and currency)
    1. ZYTPE (giving the link between code entity and type entity)
    I shall  fill an info object which has as fields code entity, country,currency and type entity.
    I have 2 solutions i suppose:
    1. Create 3 generic data sources based on the 3 tables.
    2. Create a generic data source by using the function module.The function module will populate an extract extracture from data from these 3 tables.
    What is the best solution?What is the advantage of the chosen solution?
    Thks a lot.

    Hi,
    Generic Extractors are based on View/Table or Fn Module or Infoset Query i.e all the extractors created via RSO2. The extractors you create for the customers would generally be generic extractors only. SAP has some other extractors like your LIS, LO Cockpit which are based on different extraction method.
    Generic extractors are of 3 types:
    1. Based on table/view
    2. Based on Infoset Query
    3. Based on Function module
    The first 2 are straight forward extraction where you would either use a standard SAP or custom table/view or Infoset query to extract data.
    However if you have to get data from more than 1 table and also incorporate some logic then you would use a fn module extractor. It is like a program where you would code using ABAP and have all your logic incorporated.
    Check this blog for more info on fn module extractor:
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    Raj

  • Time Stamp Delta field for Generic Data Source

    Hi Experts,
    I have a requirement to create a Generic Data Source based on view. This view on PA0006 and PA0105 tables.
    Will you please suggest me which field i have to take as delta field.
    Thanks In Advance.

    Also, make sure that whenever a new record is created in those tables, field AEDTM is getting updated with system date else you will miss new records in delta unless there is a change in those newly created records.
    Regards,
    Gaurav

  • Problem with native SQL cursor in generic data source

    Hi, All!
    I am implementing generic data source based on FM.
    Because of complicated SQL I canu2019t use Open SQL and RSAX_BIW_GET_DATA_SIMPLE-example u201Cas isu201D.
    So, I have to use Native SQL. But Iu2019ve got a problem with a cursor. When I test my data source in RSA3, everything is Ok. But, if I start appropriate info-package, I get error u201CABAP/4 processor: DBIF_DSQL2_INVALID_CURSORu201D. It happens after selecting of 1st data package in line u201CFETCH NEXT S1 INTOu2026u201D. It seems to me that when system performs the second call of my FM the opened cursor has already been disappeared.
    Did anyone do things like this and what is incorrect?
    Is it real to make generic data source based on FM with using Native SQL open, fetch, closeu2026

    Hi Jason,
    I don't think this SQL is very valuable It is just an aggregation with some custom rules. This aggregation is performing on info-provider which consists of two info-cubes. Here we have about 2 billion records in info-provider and about 30 million records in custom db-table Z_TMP (certainly, it has indexes). I have to do this operation on 21 info-providers like this and I have to do this 20 times for each info-provider (with different values of host-variable p_GROUP)
    SELECT T.T1, SUM( T.T2 ), SUM( T.T3 ), SUM( T.T4 )
            FROM (
                    SELECT F."KEY_EVENT06088" AS T1,
                            F."/BIC/EV_COST" + F."/BIC/EV_A_COST" AS T2,
                            DECODE( D.SID_EVENTTYPE, 23147, 0,
                                                          23148, 0,
                                                          23151, 0,
                                                          23153, 0,
                                                          23157, 0,
                                                          23159, 0,
                                                          24896734, 0,
                                                          695032768, 0,
                                                          695029006, 0,
                                                          695029007, 0,
                                                          695036746, 0, F."/BIC/EV_COST") +
                              DECODE( D.SID_EVENTTYPE, 23147, 0,
                                                          23148, 0,
                                                          23151, 0,
                                                          23153, 0,
                                                          23157, 0,
                                                          23159, 0,
                                                          24896734, 0,
                                                          695032768, 0,
                                                          695029006, 0,
                                                          695029007, 0,
                                                          695036746, 0, F."/BIC/EV_A_COST") AS T3,
                            DECODE( D.SID_EVENTTYPE, 23147, F."/BIC/EV_DURAT",
                                                          23148, F."/BIC/EV_DURAT",
                                                          23151, F."/BIC/EV_DURAT",
                                                          23153, F."/BIC/EV_DURAT",
                                                          23157, F."/BIC/EV_DURAT",
                                                          23159, F."/BIC/EV_DURAT",
                                                          24896734, F."/BIC/EV_DURAT",
                                                          695032768, F."/BIC/EV_DURAT",
                                                          695029006, F."/BIC/EV_DURAT",
                                                          695029007, F."/BIC/EV_DURAT",
                                                          695036746, F."/BIC/EV_DURAT", 0) AS T4
                      FROM "/BIC/VEVENT0608F" F,
                           Z_TMP G,
                           "/BIC/DEVENT06085" D
                      WHERE F."KEY_EVENT06088" = G.ID
                            AND F."KEY_EVENT06085" = D.DIMID
                            AND G.GROUP_NO = :p_GROUP
                            AND ( F."/BIC/EV_COST" < 0 OR F."/BIC/EV_A_COST" < 0 )
                            AND D.SID_EVENTTYPE <> 695030676 AND D.SID_EVENTTYPE <> 695030678
                    UNION
                    SELECT F."KEY_EVNA06088" AS T1,
                            F."/BIC/EV_COST" + F."/BIC/EV_A_COST" AS T2,
                            DECODE( D.SID_EVENTTYPE, 23147, 0,
                                                          23148, 0,
                                                          23151, 0,
                                                          23153, 0,
                                                          23157, 0,
                                                          23159, 0,
                                                          24896734, 0,
                                                          695032768, 0,
                                                          695029006, 0,
                                                          695029007, 0,
                                                          695036746, 0, F."/BIC/EV_COST") +
                              DECODE( D.SID_EVENTTYPE, 23147, 0,
                                                          23148, 0,
                                                          23151, 0,
                                                          23153, 0,
                                                          23157, 0,
                                                          23159, 0,
                                                          24896734, 0,
                                                          695032768, 0,
                                                          695029006, 0,
                                                          695029007, 0,
                                                          695036746, 0, F."/BIC/EV_A_COST") AS T3,
                            DECODE( D.SID_EVENTTYPE, 23147, F."/BIC/EV_DURAT",
                                                          23148, F."/BIC/EV_DURAT",
                                                          23151, F."/BIC/EV_DURAT",
                                                          23153, F."/BIC/EV_DURAT",
                                                          23157, F."/BIC/EV_DURAT",
                                                          23159, F."/BIC/EV_DURAT",
                                                          24896734, F."/BIC/EV_DURAT",
                                                          695032768, F."/BIC/EV_DURAT",
                                                          695029006, F."/BIC/EV_DURAT",
                                                          695029007, F."/BIC/EV_DURAT",
                                                          695036746, F."/BIC/EV_DURAT", 0) AS T4
                    FROM "/BIC/VEVNA0608F" F,
                         Z_TMP G,
                         "/BIC/DEVNA06085" D
                    WHERE F."KEY_EVNA06088" = G.ID
                          AND F."KEY_EVNA06085" = D.DIMID
                          AND G.GROUP_NO = :p_GROUP
                          AND ( F."/BIC/EV_COST" < 0 OR F."/BIC/EV_A_COST" < 0 )
                          AND D.SID_EVENTTYPE <> 695030676 AND D.SID_EVENTTYPE <> 695030678
                 ) T
            GROUP BY T.T1

  • Simulation Vs Real in Generic Data Source

    Hi ,
    I have got a generic data source based on Function Module. In the FM it is actually updating some mapping tables. I would like to update those tables only when extractor is actually executed using Infopackage or using DTP(Direct access). But don't want to update other tables when data source is executed using RSA3 simulation mode.
    Is there a way to find whether data source is run in simulation or real in the Function Module?
    I found 0REQUID is getting value as TEST when executing data source in simulation (RSA3), but I can't hard code just this in my function module as this can be changed to any thing in future.
    Regards,
    Ramesh

    Thanks Vikram for your promt reply.
    Lets wait for other experts comments on this and will see if there is any work around.

  • Generic Data Source Enahncement

    Hi All,
    I have to add two field from a Z*table in source system into an existing Generic Data Source based on a functional module.
    What should be the approach ?
    Kind regards,
    Tapish

    Hello Tapish,
    You would have to change the extract structure to include the new fields.  Also, you have to change the coding in the funtion module to extract the fields.  Then replicate the datasource to the BW system.
    Best Regards,
    Vincent

  • Generic data source on Ztable

    Hi
    I wanted to create a Generic Data source based on a Ztable which is having Quantity fields, and not having Unit fields.
    Thanks
    Teja

    You may be able to do this. But while updating into the cube /ODS, you may have a problem with UOM. How do you propose to update the key figure with unit in the data target?  If you dont want this to laod into a data target, but to an info object, then can you create a info object of type NUMC and load it.
    Ravi Thothadri

  • Generic Data source on Function module

    Hi All,
    We are working on generic data source based on a function module for the first time and we do not know how to start with.
    Our requirement is to fetch mode of communication field from SRM. We have identified a function module in SRM which does this job. But when we try to create a generic data source on this function module it is throwing an error.
    Are the import parameters for a general function module and function module for a BI generic data source different?
    If so could someone please guide us in creating the function module so that we can create a generic data source on top of it.
    The function module should serve the same purpose as the function module BAPI_BUPA_ADDRESS_GETDETAIL.
    Thanks,
    Shravani

    Shivani,
    My suggestion would be creating Z-program to store the values in a custom table and use this for extraction.
    Further if still want to use the FM itself, post the error details you are getting.. or try to analyse the FM and find the base table so that you can directly use in extraction.
    Hope this helps,
    anil

  • Generic data source delta settings

    HI
    i have to create delta for Generic data source based on 2 fields like "created on" and "changed on" fields.
    how to set this
    try avoid numeric point & Whit out using function module
    and what is the safety interwell (Please use simple words)

    Hai Sudha,
                Safety inteval is nothing but for ex you have updated your data from R/3 to bw at 11 am If client want the data in between 11.1min to 11.4min the records which are going to present in between the 1 min to 4 min that records only can updated if and ony if your data source is going to make as an generic delta.
                                                                   bye.

  • Generic Data source with Infoset Query

    Hi All,
    Please provide me the links or PPT's or Information or PDF's for the creation of the Generic Data source with Infoset Query or
    Please explain in clear steps how to create Generic Data source with Infoset Query.
    Thanks & Regards,
    Ravi

    Oopps...being a BI guy, always think of BW
    I have never created, though I will suggest to follow this:
    A query can be created to extract information from master records i.e Infotypes. For example, by creating a query , the data relating to an employee contained in various Infotypes can be extracted.
    Proceedure :
    Decide on the various Infotypes we want to make the query. Decide on the area where we want to query i.e Global area or Standard area. Standard area is client specific and globel area will include all clients.
    Menu : HR u2013 PM u2013 Admn - Information System - Adhoc Query
    Select area standard and select the user group already created
    Creation of new query :
    TC SQ03 - Select Environment u2013 Select Standard Area - Enter -- If new user group is to be created, enter name of the user group, click on create and enter necessary information and exit after saving
    TC SQ02 - Enter name of the Infoset u2013 Create u2013 enter name of Infoset - Data source -- > Table join by basis table u2013 give name of table e.g pa0000 - Enter - Click on insert table if we want to include more tables u2013 give name of table one by one and after finishing, place cursor on the joining lines and right click to delete unwanted relationships - check - and go back - field groups - include all table fields - click on generate button - go out
    TC SQ03 - Select user group - eg. Payroll
    Infoset - Enter name of newly created Infoset
    Assign users and Infosets - Assign infosets - put tick on payroll - save and go back
    TC PAAH - Expand the nodes and put tick on relevant fields depending upon necessity
    Save the query by giving the same name as infoset for easyness..
    Thanks...
    Shambhu

  • Generic data source. Delta based on the changes in the CDHDR & CDPOS

    Hello all,
    I need to create a generic data source using fun module. This fun module has to execute delta based on changes in table CDHDR & CDPOS for purchase order info records.
    can I use RSAX_BIW_GET_DTA_SIMPLE?
    Is there any other way to implement this requirement?
    waiting for ur suggestions ...........
    Thanks,
    zak.

    hi
    check the below extractor... it will extract status from both table.. u may not be required to build a generic one..
    0TE_OBJ_STATUS_HIST

Maybe you are looking for

  • I did upgrade to 8 and no confirmation, still says I need upgrade, so now what?

    Instructions for upgrade says at end of process, when prompted, place safari icon in applications. Never got prompt. When I go online still get prompt to upgrade. All 9 downloads are on desktop screen. Now no longer able to get security seal, says to

  • Dual screen with 2 lcd monitors?

    Hi I think i will buy myself a Macbook Pro, but i like to work on two lcd monitors(Not including the mac) but can i do this and does Parralels and Bootcamp support this settings? because i have a program on work that only support windows. Thank you

  • Ports for Firewall rules

    Hi, can anybody point out which ports are to be opened on firewalls ? Im am using a SunMC 4.0 server/console/agent on a v240 and need to monitor systems located behind firewalls. Also NATing is involved. I would like to know which ports I have to ope

  • How to make two portals share the same UME?

    Hi all, Can anybody share some information about how to make two portals share same UME? Is it possible? Thanks. B.R.

  • Computer Speed

    Does leaving a single file on the desktop with all my documents and files inside (21.0 GB in size) slow down a MAC?