Flushing out old values from dimensions

Hi BEX Gurus,
I'm using transactional data in the cube level. Now I restrict majority of the dimensions using structures using the data.
Like say, you have Male/Female ratio. I had loaded M & F during 1st load. Now, when I load the 2nd time as MALE & FEMALE; in the BEx level, the dimension 'Gender' is displaying all the 4 values 'M','F','MALE','FEMALE'; even though the older values M & F are not listed on the info provider.
So, I just need a method to flush off the older values.
I had checked this out. But RSRV isn't helping much. [Dimension Table Larger than Fact Table|Dimension Table Larger than Fact Table]
Any ideas.
Thanks,
Arun Bala

hi Arun
seemingly you will have to empty your cube when doing this step the pop up comes to ask if you also want to delete values in dimension tables, here is your issue.
If you have no possibilty to empty the cube because you do not have the psa for past values you could proceed in several steps.
Option A
1 create user exit variable not ready for input on these char if F then Female and so on for male.
2 copy the cube push data in it , empty as mentionned above the 1st cube with emptying dimension tables once done
3 full from the copy cube to the first one
4 continue with delta loads.
Test before applying to prod. this should work.
Option B
1 remain on the option of creating user exit variable not ready for input on the characteristic and hard code if F then Female and so on for male.
hope this could help you out good luck
Boujema

Similar Messages

  • How to get old value from IWDCustomEvent

    Hello All,
    I have applied a Listener on a field value. I want to get old value from the IWDCustomEvent as well new value when event will get fire. Is it possible in Web Dynpro.

    Hi
    Probably you need to get the record from backend base on the date of insertion. and then store it into the WD context, and simple java to compare the old and new record based on date of insertion and again put back to WD Context then finally you can use  WDCustomEvent to get the data.
    Hope it will help you.
    Thanks

  • Take out multiple values from a db and handle them in an applet.

    I have a db with tables. I want to take out several values from them and make them visible in a JFrame (or applet).
    I dont know how to do. I have an app that connects to the db and selects the values and puts the Strings in a Vector. But now then?
    I have looked at examples that retrieve Strings but not vectors, isn't that possible?

    Hi,
    On initialization of your frame you can loop over your vector and display them.
    Now the problem is in what type of component do you want to put your data.
    I can give you an example.
    What you can do is create a String which will contain all the data from
    your vector and set that string to the component.
    Example:
    Vector data;
    String result;
    for(int i=0; i < data.size(); i++) {
    result += (String)data.elementAt(i) + "\n";
    Now you need to put the string into a component which is easy done.
    Let take a textarea component.
    JTextArea txaTest = new JTextArea();
    txtTest.setText(result);
    Now all the data will be shown in the textarea component on your frame.

  • Is there any way so that I Being able to clear out old data from the Order

    Hi Friends,
    Is there any way so that I Being able to clear out old data from the Order Gate forecast, tolerance, and confirmed order to date tables on a monthly basis?
    Means I want data in data table for particular time (I want that if suppose today is 13-11-2008 then my data table must contain data from 13-10-2008 to 13-11-2008.
    Is it possible thru ABAP development or thru any t codes ?
    Any pointers will be rewarded.
    Regards

    hi,
    Before archiving you have to put the Deletion flag for the object(May be for PO, MMR etc as per your req.)...
    After that the you use the archiving procedure to archive the docs which are already flagged for deletion...
    For MMR you use the transaction SARA...and its respective object for the archiving....
    You can use the SDN search to see the many threads on it...
    Or use this link as per your req. and make the search...
    http://help.sap.com/saphelp_erp2004/helpdata/EN/75/ee0fa855c811d189900000e8322d00/frameset.htm
    Regards
    Priyanka.P

  • [ASK] Get One Row of Property Value From Dimension in Script Logic

    Hello, i need help about how to get one row of property value from dimension in script logic.
    Let say there is CATEGORY dimension and the members are like this :
    ID                                                  YEAR   Status
    PLAN_2011                                   2011        A
    PLAN_2011_V1                            2011        I
    ACTUAL_2011                              2011        I
    FORECAST_2011                         2011        I
    FORECAST_2011_V1                  2011        A
    PLAN_2012                                  2012        A
    PLAN_2012_V1                           2012        I
    ACTUAL_2012                             2012        I
    FORECAST_2012                         2012        I
    FORECAST_2012_V1                  2012        A
    If i scope CATEGORY like this :
    *XDIM_MEMBERSET CATEGORY = [CATEGORY].PROPERTIES("YEAR") = "2011"
    Then i will get member scope like this :
    PLAN_2011                                   2011        A
    PLAN_2011_V1                            2011        I
    ACTUAL_2011                              2011        I
    FORECAST_2011                         2011        I
    FORECAST_2011_V1                  2011        A
    Question :
    In script logic, how can i read the second record of scope and move it to variable ?
    Ex. : I read second record, so i can get the data of second record (PLAN_2011_V1, 2011, A).
    Is there any function to read all record that had been scope ? So i can read all those 5 records.
    Is there any substring or offset function in script logic ? How to use it ?
    Thank you.

    Hi,
    Firstly, when we scope the logic, it doesnt fetch the entire record from the member sheet. It just fetches the ID.
    Secondly, we dont have the feasibility to read only the second ID and skip the others. However, one alternative is that you use the SELECT statement to store all the IDs in a variable, and then use a FOR loop. But this will loop through all the 5 IDs, as per your example. If you want to skip all the IDs except one, you should maintain some property, so that all the IDs are neglected which doesnt have a particular property value.
    Hope you got the idea.

  • How do I clear out old contacts from showing up on new contact searches

    How do I clear out old contacts from showing up on new contact searches

    Go to Settings > Mail, Contacts, Calendars > Show In App Switcher
    From there you can turn off Phone Favorites and/or Recents

  • How t print out selected values from a Jlist

    hi iam trying to get the selected values from a list to print out as a string but iam getting ,Invalid cast from java.lang.Object[] to java.lang.String.is there any way to get the selected values t print ut as a string?? import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class MultipleSelection2 extends JFrame {
    private JList colorList, copyList;
    private JButton copy;
    private String colorNames[] =
    { "Black", "Blue", "Cyan", "Dark Gray", "Gray",
    "Green", "Light Gray", "Magenta", "Orange", "Pink",
    "Red", "White", "Yellow" };
    public MultipleSelection2()
    super( "Multiple Selection Lists" );
    Container c = getContentPane();
    c.setLayout( new FlowLayout() );
    colorList = new JList( colorNames );
    colorList.setVisibleRowCount( 5 );
    colorList.setFixedCellHeight( 15 );
    colorList.setSelectionMode(
    ListSelectionModel.MULTIPLE_INTERVAL_SELECTION );
    c.add( new JScrollPane( colorList ) );
    // create copy button
    copy = new JButton( "Copy >>>" );
    copy.addActionListener(
    new ActionListener() {
    public void actionPerformed( ActionEvent e )
    // place selected values in copyList
    copyList.setListData(
    colorList.getSelectedValues());
    String s1 =(String)colorList.getSelectedValues();

    Since the JList method 'getSelectedValues' returns an object array you'll need to iterate through the array and cast each object in the array to a string as you access them.
    Object[] o = colorList.getSelectedValues();
    for(int count=0,end=o.length; count<end; count++) {
    String s = (String) o[count];
    Hope that helps
    Talden

  • How to prevent flushing out the value in Select one choice on page refresh

    Hi All,
    I am using Jdeveloper 11.1.1.4.0. In my page fragment I am using select one choice ADF component. I have a requirement that unless one fills all details on 1st fragment he/she cant move to next fragment.
    So validations are there to check that mandatory fields filled or not. If not than I am showing message to fill the mandatory fields when user press on "Review " Button.
    But the value in select one choice is getting cleared while other input values like date fields or input text are not(The input information stored in static variables)
    How can I prevent flushing out of select one choice value .
    Thanx
    kanika

    Kanika,
    You don't have value property set due to which the selected value doesn't get stored and looses its value on refresh.
    When you drop attribute as select one choice on page, the value property get bounded to some value, did you remove it intentionally?
    If so, can you try keeping the property and see if you see the intended behavior?
    Sireesha

  • How to clear old values from input date

    Hi Guys
    i am using <t:inputdate like this
    <t:inputDate id="dob" type="date" value="#{patientBean.dob}" />
    and scope of my backing bean is request
    it works fine , but problme is , when add a patient in database for first time it works fine , but when i try to add another patient , it remains old value selected at the time of first patient , other filds are blank for new record!!
    Please Help me out !!!
    thanx in advance

    Songs don't go into the source pane, only playlists.
    Salect them and delete them.

  • How to retrieving attributes old values from a OBJECT_CHANGED event

    Hi,
    I have installed Sun ONE Directory Server 5.2. I have registared Event Listener which implements both name space change and object change interfaces. After chaning some attribute value, i am able to get the new values of attributes using getNewBinging method. But when i call getOldBinding to get attributes, it is returning null. Can any one help me how to get the old values. This is very much urgent and we are trying to write custom connectors to synchronize the data in Sun ONE directory server with other directory servers like Oracle Internet Directory.
    I am new to Java and JNDI.
    It would be great help if any one can light me in this regard. Thanks in advance.
    Thanks & Regards
    Sreedhar

    I have been also working for the same issue. getOldBinding() does not return old attributes in case of ObjectChanged event. So far I did not find any solution. Does anyone know any solution?

  • APEX - accepting OUT variable values from PL/SQL Stored Procedure

    I have created a page (Form) which is accepting values text fields.
    In the Page Processing section under Processing, I am passing the values to a PL/SQL Stored Procedure, which acts like an API. The procedure contains code to validate the entered data and finally insert the data into the base tables. The procedure also contains OUT variables in the parameter that would return status of processing and any error messages.
    Now, my question is, how can I make the page accept these OUT variables from the procedure. What I wish to do is, to capture these messages/processing status from the procedure in the page. For example, if there is a error in the data and the procedure is sending this message in the OUT variable, I need this to be displayed on the page as an error message.
    Is this possible in APEX?
    Regards,
    Santhosh Jose

    Hi VC,
    I just tried putting the string directly instead of the variable. Its still not giving me the expected results.
    HOWEVER, I think the reason was because of the EXCEPTION block in my code. I have an EXCEPTION block to handle exceptions. I commented the WHEN OTHERS section and now the error message is coming on the page.
    So what I have done now is as follows: At the point at which the error is expected, I am raising a handled exception. And within the exception handling, I am giving RAISE_APPLICATION_ERROR.
    WHEN ex_main_error*
    THEN*
    p_status := 2;*
    p_msg := 'ERROR Stage: '||lc_err_stage||' ERROR Message: '||lc_err_msg;*
    RAISE_APPLICATION_ERROR (-20001, p_msg);*
    This is working now! Which is very good news. Thanks once again for your help!
    Regards,
    Santhosh Jose

  • Removing out old apps from the store

    How can I remove purchased apps from the store?

    Welcome to the Apple Support Communities
    If you want to hide purchased applications, see > http://support.apple.com/kb/HT4928
    That's for the Mac App Store. For the App Store, iTunes Store and iBookstore > http://support.apple.com/kb/HT4919

  • Trigger how to get new and old value for nested table column?

    Hi,
    I have created a nested table based on the following details:
    CREATE TYPE typ_item AS OBJECT --create object
    (prodid NUMBER(5),
    price NUMBER(7,2) )
    CREATE TYPE typ_item_nst -- define nested table type
    AS TABLE OF typ_item
    CREATE TABLE pOrder ( -- create database table
    ordid NUMBER(5),
    supplier NUMBER(5),
    requester NUMBER(4),
    ordered DATE,
    items typ_item_nst)
    NESTED TABLE items STORE AS item_stor_tab
    INSERT INTO pOrder
    VALUES (800, 80, 8000, sysdate,
    typ_item_nst (typ_item (88, 888)));
    Now I would like to create a trigger on table pOrder for after insert or update or delete
    and I would like to track the new and old value for the columns inside nested table.
    Can anybody direct me how to do it?
    I would like to know the sytax for it like:
    declare
    x number;
    begin
    x := :new.nestedtablecolumn;--how to get the new and old value from nested table columns
    end;
    Hope my question is clear.
    Thanks,
    Lavan

    Hi,
    Try like this:
    CREATE OR REPLACE TRIGGER PORDER_I
    BEFORE INSERT
    ON PORDER
    REFERENCING OLD AS old NEW AS new
    FOR EACH ROW
    DECLARE
      items_new typ_item_nst;
      ordid_NEW NUMBER;
    BEGIN
    FOR i IN :new.items.FIRST .. :new.items.LAST LOOP -- For first to last element
      DBMS_OUTPUT.PUT_LINE(':new.items(' || I || ').prodid: ' || :new.items(I).prodid );
      DBMS_OUTPUT.PUT_LINE(':new.items(' || I || ').price:  ' || :new.items(I).price );
    END LOOP;
    END;Regards,
    Peter

  • Seeing Old Values when trying to validate in Extended EO

    Hi,
    I have created an EO Extension (and substitution) to PoRequisitionLineEO, and am attempting to perform validation on several elements in the page (category ID, attribute2, attribute3). Basically, I analyze these elements in the ValidateEntity() method, and throw an error if they do not satisfy business requirements.
    As long as I keep entering good data into the NonCatalog Request Page, everything performs as expected...however, after I enter the first bad set of data, my exception is thrown properly, but I can no longer save the record, regardless of whether the data passes validation.
    After inserting some println statements, I've discovered that the values I'm looking for (i.e. getAttribute2() ) hold their old value from the error. In other words, the getters keep returning the value that caused the failure, and never reflect the new value that I put into the field.
    I suspect that I am doing something incorrectly while throwing the error. Here's the code I use to create the error. Is this an acceptable way to stop a record from saving using EO validation? Or is there something else I'm doing wrong.
    throw new OAAttrValException(OAException.TYP_ENTITY_OBJECT,
    getEntityDef().getFullName(), // EO name
    getPrimaryKey(), // EO PK
    null, // Attribute Name
    null, // Attribute value
    "XX", // Message product short name
    "XXI_PO_AFE_REQUIRED");
    Any help is greatly appreciated.
    thanx,
    bw

    Remove the EM database file as described here:
    https://forums.adobe.com/thread/1517855?q=guideguide
    It worked for me!

  • Calling RFC gives some retained old values as output!!!!

    The scenario is that a technician inputs submits part numbers in his PDA. along with other necessary details to create a Purchase Order in SAP. RFC is called through PDA.
    The problem is that with the desired output, some other part number's PO is also send back as output to the PDA. I believe this is some old value from previous calls which is coming again with new material details.
    I hve refreshed all internal tables, cleared header lines. But they were of no help. Kindly help me by providing possible solutions.
    Thanks.

    Hello,
    When you call your function module remotly, you have to write in your code:
    CALL FUNCTION 'ZZTEST' DESTINATION lv_destination
    EXPORTING...
    And lv_destination is your RFC connection (transaction sm59)
    You just have to call
    CALL FUNCTION 'RFC_CONNECTION_CLOSE'
      EXPORTING destination = lv_destination
    Hope this will help you.
    Regards,
    Walter

Maybe you are looking for

  • I cannot play AVI after upgrading to Lion

    After a seamless upgrade I now find that Quicktime no longer plays AVI files. I have Flip 4 Mac and Perian installed but now neither of them seems to do the trick as they did in Snow Leopard. Any thought would be appreciated.

  • Bootcamp 4, Windows 7, Time machine disk

    Hi, I'm currently having an weird issue with Windows 7 x64 on my Macbook Pro. I'm getting a bluescreen of death each time my USB Time Machine disk is connected. Any other HFS+ disk doesn't make Windows crash, it's only the Time Machine disk. I've try

  • Xsan clients error "afp connection status"    looking up "wildlife"

    Hi, I am facing a problem that in some of my clients after about every 2 to 3 sec. a massage pop up on finder that *"AFP CONNECTION STATUS"* LOOKING UP "WILDLIFE" and it keeps on coming . First it was coming on My Xserve (after i delete some footage

  • ODI 11g Logical Schema Error [Error Code: 1222]

    Hi, One of my ODI Jobs is failing with an error "ODI-1222: Session start failure on agent Internal: logical schema BIAPPS_11g_RA cannot be found in the master repository." BIAPPS_11g_RA = Logical Schema in our System. However, all the other Jobs of t

  • Bug: Selection Behavior

    It seems in some situations the select tools will "clear" instead of deselect.  Can anyone reproduce?  Is this a "feature"? To reproduce: 1.  Make a selection 2.  Free transform the selection 3.  Subtract from the selection CS6x64 windows 7.