How to restrict Overwritten records of Info-Cube  in Query

Hi ,
In query i am able to see the overwritten/replaced records with Zero values as well the same records with new values i.e. same record with in 2 lines one with zero value and other with replaced value.How i can restrict that only new record should be shown in Query.
With regards,
Abhishek Kumar

As in InfoCube if a new record is inserted with same key fields it add the previous record with -ve values and new record with new values having same key fields.Now i can see these records in Info-Cube but when it comes to query it shows all the records ,one with the zero value and the same with the new values.Question is how i can restrict the record with zero value.
Abhishek Kumar

Similar Messages

  • How the data is stored in Info cube...in the back end what will happen???

    Hi Experts,
    How the data is stored in Info cube and DSO...in the back end what will happen???
    I mean  Cube contain Fact table and Dimension tables How the data will store and what will happen in the backend???
    Regards,
    Swetha.

    Hi,
    Please check :
    How is data stored in DSO and Infocube
    InfoCubes are made up of a number of InfoObjects. All InfoObjects (characteristics and key figures) are available independent of the InfoCube. Characteristics refer to master data with their attributes and text descriptions.
    An InfoCube consists of several InfoObjects and is structured according to the star schema. This means there is a (large) fact table that contains the key figures for the InfoCube, as well as several (smaller) dimension tables which surround it. The characteristics of the InfoCube are stored in these dimensions.
    An InfoCube fact table only contains key figures, in contrast to a DataStore object, whose data part can also contain characteristics. The characteristics of an InfoCube are stored in its dimensions.
    The dimensions and the fact table are linked to one another using abstract identification numbers (dimension IDs) which are contained in the key part of the particular database table. As a result, the key figures of the InfoCube relate to the characteristics of the dimension. The characteristics determine the granularity (the degree of detail) at which the key figures are stored in the InfoCube.
    Characteristics that logically belong together (for example, district and area belong to the regional dimension) are grouped together in a dimension. By adhering to this design criterion, dimensions are to a large extent independent of each other, and dimension tables remain small with regards to data volume. This is beneficial in terms of performance. This InfoCube structure is optimized for data analysis.
    The fact table and dimension tables are both relational database tables.
    Characteristics refer to the master data with their attributes and text descriptions. All InfoObjects (characteristics with their master data as well as key figures) are available for all InfoCubes, unlike dimensions, which represent the specific organizational form of characteristics in one InfoCube.
    http://help.sap.com/saphelp_nw04s/helpdata/en/4c/89dc37c7f2d67ae10000009b38f889/frameset.htm
    Check the threads below:
    Re: about Star Schema
    Differences between Star Schema and extended Star Schem
    What is the difference between Fact tables F & E?
    Invalid characters erros
    -Vikram

  • How to check No of Records in INfo Cube

    Hi Experts
    My Infocube consists of records in Millions...and i performed selective Deletion.
    Now can i check the No of records in the Info Cube
    Please update

    To fully estimate the volume of data in a cube, I'd also suggest that you check the number of records in each dimension table of the cube.
    go t-code listschema
    enter cube name
    all relevant tables will be displayed. right click on a dim table -> call se16
    on this page hit button "number of entries"
    hope this helps...

  • How to restrict number of rows returned in a query

    Hi frnds,
    I'd like to restrict number of rows returned by my query to some 10 rows. how to do that.When I try doing with the rownum<10 its giving results for a particular dept and that too some 6 rows only...btw I'm grouping my table and includes joins from many a table and am ordering the table results by a column.. How to do this..

    776317 wrote:
    Hi frnds,
    I'd like to restrict number of rows returned by my query to some 10 rows. how to do that.When I try doing with the rownum<10 its giving results for a particular dept and that too some 6 rows only...btw I'm grouping my table and includes joins from many a table and am ordering the table results by a column.. How to do this..
    TELL ME HOW MANY ROWS YOU HAVE IN TABLE?
    Because you have only *6 rows* in you column, if you less than 10 rows then it displays only containied/exist rows. nothing much
    select ename,empno from emp where rownum < 10;Thanks

  • How to differentiate the records in the cube

    Hi experts,
    I get data from 3 dso's to a cube through 3 DTP's.
    In the cube how to recognize that a particular record came from a particular dso.
    I thought of identifying it with request ids but for delta loads daily different req ids will be coming.
    Can we populate the dtp name into the cube ?
    If so, how ?
    Regards,
    Bhadri M.

    Yes Bhadri,
    this can be done by adding another char in the cube and populating this char with diff values, lets say 'A' for DSO1, B for DSO2 and similar for third.
    This char would help us identify at a later point the records source.
    Naveen.A

  • How to restrict customer records being displayed using 'sales_channel_type' criteria in customer search form at 11g?

    OS: Linux
    DB: 11.2.0.3
    ERP: 11g
    Hi There,
         I would like to create a new custom responsibility, which the responsibility is having access to Standard Customer Form (ARXCUDCI.fmb) , but I would like to make a restriction in the customer search form is that, everytime the responsibility user search by customer number, customer name, party name or what ever search field, I would like to limit to restrict further of searching criteria where SALES_CHANNEL_TYPE = 'RTL' is allowed to populate the customer records, there rest of customer records are not allowed to search out.
        This SALES_CHANNEL_TYPE column is from HZ_CUST_ACCOUNTS table.
        I have tried the Form Personalization already, but the customer searching form has too many fields for user to search, therefore form personalization will be putting all over the places in the form. Therefore I saw others recommended of doing "Custom DLL"...may I know for my scenario, how to I go about Customer DLL? or any other more effective solution?
       Appreciate if anyone can share your experience related to matter above.
    Regards,
    Lygine

    Hi Lygine,
    The personalization i sent you works in this way:
    -It does not matter which field you choose to enter the query.
    -If a record is found, when the form opens and the cursor hits the Customer Name field, the personalization looks for the content of the Sales Channel field.
    -If the content of this field is different from the 'RTL' string, the form Customers form (ARXCUDCI) is cleared.
    Independently from the field you fill to perform the query, is a record is found, the Customer Name field is the first the cursor hits when the form is opened.
    Octavio

  • How to restrict Invalid record in 0Material_Text Master Data

    Hi,
    In R/3 ,during legacy data loading through Excel file , invalid Material code ( with Balnk spaces ) gives error BW data .It comes upto PSA & gives error Invalid material code. Because there is no field in for deletion Flag in Material_ text . How we can stop the material in BW.
    Thanks with Regards,
    Anand Mehrotra.

    Hi Anand,
    First identify the list of invalid materials. If the list is small, say less than 10 or so, you can correct the data is PSA and then load the master data. This will save you from doing any change to the data model.
    If there are huge number of records, follow any one of the below steps.
    1) Try to edit the data in the Source file (Excel file)
    2) Write a code in the Start Routine in the Material transformation, to eliminate the invalid materials.
    Regards,
    Balaji V

  • How to restrict the records in source qualifier?

    What is your source system?If it's Oracle, you could use the following trick:Wrap your original SQL query (which retrieves all the columns which you need plus "ROWNUM AS row_num") into a "common table expression" which returns records based on this "row_num", like this: SELECT a1, a2, a3,... an FROM(select *, rownum as row_num FROM tab1, tab2 WHERE...)WHERE row_num between 11 and 15 Other than that I would recommend you insert an Expression transformation into your mapping right after the Source Qualifier. Within this EXP, define a variable port "v_rownum" of type BigInt with this expression:  v_rownum + 1Then define an output port ROWNUM of type BigInt and set it to this expression:  v_rownumForward all the data from the SQ plus "ROWNUM" from the EXP into a Filter.Define two mapping parameters $$FIRST_ROW and $$LAST_ROW of type BigInt (if possible, I can't try myself at this moment).Set the Filter expression like this:  ROWNUM >= $$FIRST_ROW AND ROWNUM <= $$LAST_ROW This works for all sorts of source systems. Regards,Nico

    I Have loading 10 record on first run , inserted in DB,and again load 5 records in second run in this restrict the first 10 records in source qualifier and took only 5 records to the target?

  • How to populate the Zfield in info cube

    Dear All,
    This the data in the infocube 0sd_c03
    0material          0sold_to          Truck No          Zfield Need to update
    3000          TESTING          2199          1
    HSD BS II          OMC          2198          1
    HSD BS II          TESTING          2201          3
    3000          TESTING          2201          3
    HSD BS II          OMC          2200          2
    3000          TESTING          2200          2
    I need the logic to be build is
    For one Truck no, if sold to and material are unique then i need to update a flag (Zfield) as 1
    For one Truck no, if sold to is one and for 2 different materials then i need to update the flag (Zfield) as 2
    For one Truck no, if sold to are 2 and for 2 different materials then i need to update the flag (Zfield) as 3
    is it possible to do if so please let me know how to populate the same. please give me some idea about the coding
    if you have any doubts please ask
    regards
    venu

    Hi Venu,
    You can use Virtual Characteristics are characteristics whose values will be derived during query time.
    0INFOPROV will be found in data package dimension.
    Check below link:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e051fda8-71a9-2a10-ac9e-8d17414a8c8c&overridelayout=true
    Virtual characteristic
    Regards
    Chandra

  • How to restrict the record selection for PLPO table .

    Hi,
    Am selecting 'plnnr' and 'vornr' from PLPO table . For one Plnnr their are multiple Vornr including 0001 & 9999.
    I want to select only those entries which have only Vornr 0001 & 9999.
    Ex : 1) Plnnr - 5689
               Vornr - 0001,2536,8989,9999
           2) Plnnr - 8787
               vornr -  0001
           3) Plnnr - 5936
               vornr -  9999
           4) Plnnr - 2345
               vornr -  0001,9999
    Here for this example i want to select only the entry with Plnnr = 2345 as it only contains 0001 & 9999.
    Can any one let me know how to get this in a select query.
    Your help is much appreciated.
    Thanks in advance.   
    Ravi Kasnale.

    Hi
    Try with below code
    RANGES:r_vornr FOR plpo-vornr.
    TYPES:BEGIN OF ty_plpo,
    plnnr TYPE plpo-plnnr,
    vornr TYPE plpo-vornr,
    END OF ty_plpo.
    DATA:it_plpo_temp TYPE STANDARD TABLE OF ty_plpo.
    DATA:it_plpo TYPE STANDARD TABLE OF ty_plpo.
    DATA:it_plpo_temp1 TYPE STANDARD TABLE OF ty_plpo.
    DATA:wa_plpo_temp1 TYPE ty_plpo.
    DATA:v_line TYPE sy-tabix.
    START-OF-SELECTION.
      r_vornr-sign = 'I'.
      r_vornr-option = 'EQ'.
      r_vornr-low = '0000'.
      CLEAR:r_vornr-high.
      APPEND r_vornr.
      r_vornr-sign = 'I'.
      r_vornr-option = 'EQ'.
      r_vornr-low = '9999'.
      CLEAR:r_vornr-high.
      APPEND r_vornr.
      SELECT plnnr vornr FROM plpo INTO TABLE it_plpo_temp1 WHERE vornr IN r_vornr.
      CLEAR:it_plpo[].
      LOOP AT it_plpo_temp1 INTO wa_plpo_temp1.
        CLEAR:it_plpo_temp[].
        it_plpo_temp[] = it_plpo_temp1[].
        DELETE it_plpo_temp WHERE plnnr <> wa_plpo_temp1-plnnr.
        DESCRIBE TABLE it_plpo_temp LINES v_line.
        IF v_line EQ '2'.
          APPEND LINES OF it_plpo_temp TO it_plpo.
        ENDIF.
      ENDLOOP.
      SORT it_plpo BY plnnr.
      DELETE ADJACENT DUPLICATES FROM it_plpo COMPARING plnnr.
    Regards
    Srilaxmi

  • How to restrict data that is displayed  in adf query

    Hi all,
    i have a VO with query criteria, which i have added to the jsf page as adf query panel with table. There may be particular queires that return large number of records. Suppose i want to restrict the number of records being displayed to 10,000. Is this possible with jdeveloper 11g? How can it be done? pls advice.
    Thnx,
    Nad

    Hi Nad
    You can do this, open the VO Editor go to sql statement option add this code inside the where clause:
    and rownum <= 10000 -- limit your query.
    Good Luck

  • How to access Previous Records' Data from within a Query?

    Hi All,
    I am making a report in which I need to compare my "Registration Start Date" with "Registration End Date" of previous registration of same customer. This is to check if there are gaps between any customer's registrations.
    In scenario shown below, I want to filter out RegID '1' as it comes after a gap from previous registration(RegID '3') of the same customer.
    RegID CustID Registration Start Registration End
    1 1 01/04/2005 07/04/2005
    2 2 01/03/2005 29/05/2005
    3 1 21/03/2005 29/03/2005
    4 1 01/03/2005 21/04/2005
    I created the join of this table with itself to pick previous records. it is something like:
    Current_Rec.Cust ID = Prev_Rec.CustID AND
    Current_Rec.RegStart > Prev_Rec.RegEnd
    But this gives wrong data if customer has 3 back-to-back registrations. i.e. Shows last registration in query results as their is a gap between 3rd and 1st registration. But ofcourse there was another record between these two(which was 2nd registration).
    It would be so nice of you guys if you can suggest a solution to this. Any oracle function?
    Thanks & Regards,
    Ahsan

    I Assume the following is your sample data
    Table Name: Tab1
    RegID CustID Registration_Start      Registration_End
    1      1      01/04/2005           07/04/2005
    2      2      01/03/2005           29/05/2005
    3      1      21/03/2005           29/03/2005
    4      1      01/03/2005           21/03/2005
    Note : For the Regid "4" I have changed the Registration_End to 21/03/2005. It was earlier 21/04/2005.
    Coming to the query, you need to generate the list of regid that have gaps.
    Try the following query:
    SELECT c.*
    FROM tab1 c
    WHERE c.reg_id NOT IN (
    SELECT a.reg_id
    FROM tab1 a, tab1 b
    WHERE a.cust_id = b.cust_id
    AND a.registration_end = b.registration_start
    Note: I am sorry I didn't have access to the data base to execute my query. Correct me if I am wrong.
    Regards,
    Somu

  • How to restrict a list of available attributes in query navigation?

    Hi Experts,
    is there any possibility to restrict the list of characteristic's display attributes in query navigation?
    I need to secure Annual Salary from displaying in query navigation...
    Regards,
    Dorota

    Hi Dorota,
    You can provide the authorization for the object.if you do that only authorized user will be able to see that. See the below document :
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b7acf2-6121-2e10-5591-eaec182d9315?QuickLink=index&overridelayout=true&50452981137364
    Regards,
    Neha.

  • Need help on Info Cube.

    Hi All,
      I have a query on designing the Cube.
    My Requirement :
    I have Standard ODS and the keyfigures in ODS are
    1. Service Order Number.
    2. User Status.
    3. User Date.
    4. User Time
    Data field in ODS is
    1. Active Flag.
    Active flag gives the information of the current status for each service Order.
    User Status is the status of each service Order.
    User Date and User time gives the information about at what time date and time, the
    status is set.Right now the history of data is available in ODS.
    Sample data in ODS.
    Service Order No___User Status____User date___User Time___Active Flag
    80001____________Open________13-feb-2009___12.20_______X________
    80001____________In Process____13-feb-2009___12.40______X________
    80001____________Pending______14-feb-2009___12.50______X________
    80001___________ Closed________15-feb-2009___12.55_____A________
    In my report i want to show only the service Order which is in Closed Status and also Active Flag =A only. Due to Overwrite option, i am getting only one Active Status.If i create a report on ODS, i am getting the right data and it is working fine.I have filter with ACTIVE FLAG =A and in report it is showing only the Active Status of the service Order.
    Suppose if i load the same data to the Cube, I cant get the expected one.
    Sample data in Info Cube.
    Service Order No___User Status____User date___User Time___Active Flag
    80001____________Open________13-feb-2009___12.20_________X______
    80001____________In Process____13-feb-2009___12.40_________X_____
    80001____________Pending______14-feb-2009___12.50_________X_____
    80001____________Closed_______15-feb-2009___12.55_________A_____
    80001____________Repoen_______17-feb-2009___10.00_________A_____
    In Cube there will be multiple data with the Active Flag = A. As the propert of the Cube is additive, for one service order there are multiple Active Status. As Client has suggested to develop the report only on Cube.How can i achieve this in Info Cube.
    Please suggest..
    Thanks,
    Siva.

    Hi
    Your Data
    Service Order No___User Status____User date___User Time___Active Flag
    80001____________Open________13-feb-2009___12.20_________X______
    80001____________In Process____13-feb-2009___12.40_________X_____
    80001____________Pending______14-feb-2009___12.50_________X_____
    80001____________Closed_______15-feb-2009___12.55_________A_____
    80001____________Repoen_______17-feb-2009___10.00_________A_____
    As per my design
    Service Order No___User Status____User date___User Time______Flag A____Flag X
    80001____________Open________13-feb-2009___12.20_________                 X
    80001____________In Process____13-feb-2009___12.40_________                X
    80001____________Pending______14-feb-2009___12.50_________                X
    80001____________Closed_______15-feb-2009___12.55_________A
    80001____________Repoen_______17-feb-2009___10.00________ A
    If you do like ,  drag FLAG field into colums and ten restric it then you can see the difference, I show in the above eg.
    Thanks
    Reddy

  • Init Data Upload from ODS to Info cube

    Hi,
    When i am trying to upload the date from ODS to info cube using initial upload option in info package, i am not able to see the selection option fields.
    Whereas using the same ODS & info cube, if i am trying to change the option to full upload in info package, i am getting all the selection fields.
    what could be the reason for the same.
    please help
    Rajiv

    Somnath,
    Let me explain u the complete scenario
    1) we have an existing ODS which populates an info cube on daily basis (delta upload)
    2) we have created a new info cube, which fetch the data from the same ODS. that means 2 info cubes which are getting populated from one ODS.
    3) now when we have tried to initialize the new info cube from the existing ODS, it asked us to delete the initialize upload options "scheduler - initialize option for the system". & we have done the same. but by doing this, ODS has removed the option of delta upload from old info cube upload info package &&  new info cube initial upload is not dislaying any of selection fields..
    4) now, i have a query
    - how can i activate delta on old info cube (without losing any data)
    - how to upload data in new info cube with selection fields and start delta
    Regards
    Rajiv

Maybe you are looking for

  • HP Officejet Pro 8500a software stalls after printing one document,

    Hi, HP Officejet Pro 8500a, Product No CM755A. It used to work well, but now I can't rely on it to print more than one document.  If there is a delay of several minutes before I try to use it again, then no print occurs: the screen on the printer say

  • Adding VLAN to Po-Group and OSPF routing what is the correct way?

    Hi Community, I recently had an issue that brought down the links between a couple of switches...luckily this was done after hours and I did not save the config so was able to revert back. The basic scope of my project is: We are running out of IP's

  • Time out connection in the classes12.zip

    Hello, How can I change the time out connection to my database in Java ? I use the JDBC thin driver (classes12.zip) to connect to an 8.1.6 standard Oracle edition on an NT Server. I tested a network problem connection removing the network cable and t

  • Puzzled by "negative files" in v1.1 "Export as Catalog"

    I've been exploring the new features in v.1.1, and have found something I'm puzzled by. When I go to File/Export as Catalog, there is an option called "Export negative files", which will include duplicates of the original image files in the exported

  • HT4623 I can't active the IP after update

    My IP is 3GS. After i update it to IOS 6.1.2, I can't active if although I have connected to Internet.