Absent of Alpha routine : Query not running properly

Hi All,
We are facing below problem in execution of query,
Problem: We have forgot to set ALPHA routine property in some info object and loaded full data in the data target,
But when we run report without leading zero, the query is giving wrong output
Ex:
     Data in target: 0000201
     Data in Query: 201
For above selection report will give wrong result because absent of ALPHA routine lead 0000201 and 201 as different value.
Constrains: We have loaded millions of data in targets so we couldnu2019t delete and reload data
Please provide me some valuable input to overcome above problem.

If you are lucky you are still on BW3.5. In that case there is an ABAP that can do the correction for you.
In BW7.0 this ABAP is not working anymore and no support is available for alpha correction. The only solution that I see is indeed reload all data.
If you have an ODS before your cube and work with delta, you could:
- create another IOBJ with ALPHA.
- fill this IOBJ from the first IOBJ via transformation rules or analysis process
- add new IOBJ to ODS and CUBE and adapt transformation rules
- generate new (fresh) index on CUBE
- replace old IOBJ by new IOBJ in queries
Or, alternative:
- create a new cube with the new IOBJ and without the old IOBJ
- load the new CUBE
- rebuild queries on new cube
- discard old cube

Similar Messages

  • FOR ALL ENTRIES stmnt. in SELECT query is not running properly

    Hello experts,
              In my report program, I write one query on table BSIS.
             Internal table declaration -             
           DATA : BEGIN OF DLC_BSIS OCCURS 0,
                            BUKRS LIKE BSIS-BUKRS,
                            GJAHR LIKE BSIS-GJAHR,
                            BELNR LIKE BSIS-BELNR,  
                            SHKZG LIKE BSIS-SHKZG,
                            BSCHL LIKE BSIS-BSCHL,
                            AUFNR LIKE BSIS-AUFNR,
                            HKONT LIKE BSIS-HKONT,
                            QSSKZ LIKE BSIS-QSSKZ,
                            DMBTR LIKE BSIS-DMBTR,
                       END OF DLC_BSIS.                                                                               
    Query as follows --
             SELECT BUKRS
                           GJAHR
                           BELNR
                           AHKZG
                           BSCHL
                           AUFNR
                           HKONT
                           QSSKZ
                            DMBTR FROM BSIS
                                      INTO TABLE DLC_BSIS
                                     FOR ALL ENTRIES IN IT_BKPF2
                                     WHERE BELNR = IT_BKPF2-BELNR
                                                  AND BUKRS = IT_BKPF2-BUKRS
                                                  AND GJAHR = IT_BKPF2-GJAHR.
    IT_BKPF2 internal table having -- BUKRS - LT01
                                                         BELNR - 6400000061
                                                         GJAHR - 2009.
    And in BSIS database  table  -- 3 entries are there for the above documnet.
    But, in my internal only one entry has come for the same above document.
    I think For all entries stmnt. is not running properly. But Why it's not running properly.??
    What would be the reason..??
    Thanks in advance....!!
    Regards,
    Poonam.

    >
    Poonam Patil wrote:
    > Hello experts,
    >           In my report program, I write one query on table BSIS.
    >
    >          Internal table declaration -             
    >                                            
    >        DATA : BEGIN OF DLC_BSIS OCCURS 0,
    >                         BUKRS LIKE BSIS-BUKRS,
    >                         GJAHR LIKE BSIS-GJAHR,
    >                         BELNR LIKE BSIS-BELNR,  
    >                         SHKZG LIKE BSIS-SHKZG,
    >                         BSCHL LIKE BSIS-BSCHL,
    >                         AUFNR LIKE BSIS-AUFNR,
    >                         HKONT LIKE BSIS-HKONT,
    >                         QSSKZ LIKE BSIS-QSSKZ,
    >                         DMBTR LIKE BSIS-DMBTR,
    >                    END OF DLC_BSIS.                                                                               
    >                           
    >          Query as follows --
    >
    >          SELECT BUKRS
    >                        GJAHR
    >                        BELNR
    >                        AHKZG
    >                        BSCHL
    >                        AUFNR
    >                        HKONT
    >                        QSSKZ
    >                         DMBTR FROM BSIS
    >                                   INTO TABLE DLC_BSIS
    >                                  FOR ALL ENTRIES IN IT_BKPF2
    >                                  WHERE BELNR = IT_BKPF2-BELNR
    >                                               AND BUKRS = IT_BKPF2-BUKRS
    >                                               AND GJAHR = IT_BKPF2-GJAHR.
    >
    > IT_BKPF2 internal table having -- BUKRS - LT01
    >                                                      BELNR - 6400000061
    >                                                      GJAHR - 2009.
    >
    > And in BSIS database  table  -- 3 entries are there for the above documnet.
    >
    > But, in my internal only one entry has come for the same above document.
    >
    > I think For all entries stmnt. is not running properly. But Why it's not running properly.??
    > What would be the reason..??
    >
    >
    > Thanks in advance....!!
    >
    > Regards,
    > Poonam.
    include the buzei field in selection criteria i have faced the same situation earlier.
    always select all the key fields.
    varun

  • Query not ended properly..

    hi frenz
    I am running this program , taking data froom a file n passing it between th IN clause but when more that 100 values are passed to
    it gives thae error that "Query not ended properly.."
    plz help as soon as posible
    String query = "SELECT * FROM "+service+"."+fileName + " where " + fileName + "." + colNames[0] + " IN (";
    System.out.println("Curr Qry >>> "+query);
    try {
    String newFile = filePath+fileName+".CTL";
    bufWrite = new BufferedWriter(new FileWriter(newFile));
    bufWrite.write("LOAD DATA INFILE * APPEND INTO TABLE " + service + "." +
    fileName + "\n");
    bufWrite.write("FIELDS TERMINATED BY '" + delimiter +
    "' OPTIONALLY ENCLOSED BY '\"' (");
    for (int x = 0; x < fileDataFormat.length; x++) {
    bufWrite.write(fileDataFormat[x]);
    counter = 0;
    while (counter < dateFields.length) {
    System.out.println(" checking >> "+fileDataFormat[x]+" with >>> "+dateFields[counter]);
    if (fileDataFormat[x].equals(dateFields[counter])) {
    bufWrite.write(" DATE 'yyyymmdd' ");
    System.out.println("EQUALITY check >>> "+fileDataFormat[x]+".equals("+dateFields[counter]+")"+fileDataFormat[x].equals(dateFields[counter]));
    counter++;
    if ( (x+1) != fileDataFormat.length) {
    bufWrite.write(",");
    bufWrite.write("\n");
    bufWrite.write(") BEGINDATA \n");
    bufWrite.flush();
    con = SQLUploader.getConnectionObj(uName, uPass, driver, url);
    System.out.println("1111");
    //Check the code from here
    enumer = hash.keys();
    String personId = null;
    while (enumer.hasMoreElements()) {
    //Getting personid's in array
    personId = (String) enumer.nextElement();
    vector.add(personId);
    qryBuff.append(personId);
    ctr++;
    if (ctr != hash.size())
    qryBuff.append(",");
    query += qryBuff.toString() + ")";
    System.out.println("Query generated >>> " + query);
    stmt = con.createStatement();
    rs = stmt.executeQuery(query);

    Unreadable. Use code tags
    Awful code. Appears to be a muddled mess to me.
    That doesn't look like ANSI standard SQL to me. Which database uses "FIELDS TERMINATED BY"?
    Some databases have a max query length and a limit to the number of entries in the IN clause. Maybe you've hit that.
    Print out the SQL you've generated and see if it's correct. Hard to tell in code.
    You should use PreparedStatement if your query involved Dates.
    All that writing is confusing and messy. I'd prefer something like Log4J that I could turn off and on.
    %

  • Routine is not working properly?

    Expert's please tell me is there any problem with this routine?
    Because this routine is not working properly.It is not populating to all the fields the RESULT value.
    if
      COMM_STRUCTURE-/BIC/ZVEN_NAME = 'VENDOR1' or
    COMM_STRUCTURE-/BIC/ZVEN_NAME = 'VENDOR2'.
    result value of the routine
    RESULT = 'YEPSILON'.
    ELSE.
    RESULT = COMM_STRUCTURE-/BIC/ZVEN_NAME.
      ENDIF.
    Thanks in advance.
    vasu.

    Vasu,
    Here is the sample code which i have tried out in my system: its working properly, please find the same.
    $$ begin of routine - insert your code only below this line        -
    fill the internal table "MONITOR", to make monitor entries
    IF
    COMM_STRUCTURE-/BIC/YSLSTDP3 = '08.2007' or
    COMM_STRUCTURE-/BIC/YSLSTDP3 = '09.2007'.
    result value of the routine
      RESULT = 200000.
      ELSE.
      RESULT = COMM_STRUCTURE-/BIC/YSLSTDP3.
      ENDIF.
    if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 0.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    *****Assign Points*****
    Thanks,
    Gattu

  • Gimp will not run properly

    I just purchased a 24 inch Imac and Gimp will not run properly. I have the latest system updates and firmware. Gimp starts X11 and appears to load, but the only item visible is the Gimp menu, none of the tools. It shows as running in the dock.
    If I try to open a graphic with Gimp, it loads but the graphic is not visible and only the Gimp menu is visible in the menu bar. It shows up as running in the dock.
    It works fine on a G4 quicksilver. I have the latest version 2.2.11
    Thanks,
    Fran
    IMAG INTEL   Mac OS X (10.4)  

    Hello Francis,
    Did Gimp ever load properly? On first load, it should have gone through an installer within X11. Also, I've noticed that my image windows start up hidden. There also may be a bug in which clicking on the Gimp app icon in the dock itself won't bring the windows forward, so you have to use the X11 icon instead. Try using Expose to show all windows in all applications to see if they've opened but sort of "off-screen."
    It could be a bad installation, or it could be that somehow the toolbars and palettes, etc. in Gimp just never appeared. Check to make sure X11 is up to date as well. I'm currently running 1.1.3 with XFree86 4.4.0.

  • I have a copy of Web Premium CS3 which was installed on a Windows Vista PC.  I have a new Windows 7 PC and the installation disc will not run properly.  The installation begins and then asks for the CS3 disc to be inserted.  If I re-insert the CD I just g

    I have a copy of Web Premium CS3 which was installed on a Windows Vista PC.  I have a new Windows 7 PC and the installation disc will not run properly.  The installation begins and then asks for the CS3 disc to be inserted.  If I re-insert the CD I just get a message asking for the disc to be inserted.  any ideas anyone?

    Use the download version:
    Download CS3 products
    Mylenium

  • Captivate project not running properly on iPad

    Hello,
    I built a project using Captivate 7.0.  When I published the project, I checked both the SWF and HTML5 boxes so the tutorial would run on an iPad.  However, when I view the tutorial on the iPad, the tutorial does not run properly.  The pages do not advance (even though, in Captivate, I have the slides advancing automatically - not on mouse clicks), all of the bullets on a slide do not appear, and the narration stops in the middle of a slide and does not resume.
    Do you have any suggestions?
    Thank you,
    Sarah

    Hi Joel,
    I removed all bullet animations and re-published the project (I checked the "Force re-publish all the slides").  My tutorial runs on an iPad, without the slides hanging up.  It appears removing the bullet annimations solved that issue.  Thanks for the suggestion.
    However, neither my music introduction on the first slide nor my narration on subsequent slides comes in.  I confirmed I do not have "mute" on and that my volume is up.  Also, I confirmed the sound works by running the tutorial on my desktop. 
    Do you have any ideas?
    Thanks,
    Sarah

  • Vz protect not running properly

    I have the latest version, but it is not running properly (just keeps scanning).
    How can I fix this? Should I uninstall and then reinstall? Is there a charge to do that?

    hello lhill123, maybe that's an issue with hardware acceleration - first please try [[Upgrade your graphics drivers to use hardware acceleration and WebGL|updating your graphics driver]], or in case this doesn't solve the issue or there is no new version available at the moment, start firefox into safemode '''by pressing the shift key while the application is launching''' & disable hardware acceleration in the firefox ''menu ≡ > options > advanced > general'' (that setting will take a restart of the browser to take effect).
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • I have bought a iPhone 4 , yesterday . I heard that iOS 7 is not running properly on iPhone 4 , so I have decided to upgrade it to 6.1.2 . Please help to do this.

    I have bought a iPhone 4 , yesterday . I heard that iOS 7 is not running properly on iPhone 4 , so I have decided to upgrade it to 6.1.2 . Please help to do this.

    YOU CAN'T.
    If you upgrade your phone you can only upgrade to iOS 7 and that is it.  You can only ever update to the lastest available software, which in this case is iOS 7.  You either upgrade to this or not at all because you can't upgrade to anything else.

  • I defined custom action but it is not running properly.

    Hi,
    I defined custom action but it is not running properly.
    I deployed in MII (System Management --> Custom Actions)
    When i use it as an action in a transaction error below generated.
    Errors
    [ERROR]: STEP EXCEPTION (Custom_Action_0) : Item 'Custom_Action_0' is not an Action
    [ERROR]: STEP EXCEPTION (Custom_Action_0) : Item 'Custom_Action_0' is not an Action
    Custom action code is below.
    package com.wipro.action;
    import com.sap.xmii.xacute.actions.ActionReflectionBase;
    import com.sap.xmii.xacute.core.ILog;
    import com.sap.xmii.xacute.core.Transaction;
    @author cemil.bozlagan
    public class CustomAction extends ActionReflectionBase {
        private String strFirstInput;
        private String strSecondInput;
        private String strOutString;
        public CustomAction() {
            strFirstInput = "";
            strSecondInput = "";
            strOutString = "";
        @Override
        public String GetIconPath() {
            return "/com/wipro/action/resources/icons/CustomAction.png";
        @Override
        public void Invoke(Transaction trx, ILog ilog) {
            try {
                strOutString = strFirstInput + strSecondInput;
                // This varaible is defined in ActionReflectionBase class
                _success = true;
            } catch (Exception e) {
                _success = false;
        public String getFirstInput() {
            return strFirstInput;
        public void setFirstInput(String strFirstInput) {
            this.strFirstInput = strFirstInput;
        public String getSecondInput() {
            return strSecondInput;
        public void setSecondInput(String strSecondInput) {
            this.strSecondInput = strSecondInput;
        public String getOutString() {
            return strOutString;
        @Override
        public boolean isConfigurable() {
            return false;
    How can i solve this problem?
    Thanks.

    Hi Cemil,
    Pls check document, I hv sent to your mail.
    May be it helps.
    Regards
    Padma

  • Javascript does not run properly in Firefox

    Firefox does not run javascript properly.
    For example:
    http://vk.com/app2622342_40916334#NEW/comp1427
    Comment form does not run at all in Firefox ( the last version = 20.0.1)
    but runs OK in Opera.
    WHY?
    Mozilla still is HALF-DONE SOFTWARE!!!!!!!
    WHEN YOU DO IT IN A GOOD WAY?

    I have javazcript-enabled = TRUE in my about:config. So your comment did not solve my problem. I noticed that javascript does not run properly in some websites (forms in vk.com) but those forms run OK in OPERA - how can you explain this!?
    And I have no errors in the Web Console (Firefox/Tools > Web Developer).
    I wrote you a link to the page where javascript does not work.
    ( you need to login to vk.com to see that page
    http://vk.com/app2622342_40916334#NEW/comp1427
    )

  • 'Mail" not running properly

    After updating to Lion (10.7.2), "Mail" will not run properly. For each of my accounts, either the incoming or outgoing servers go offline, and while I can access incoming mail (sometimes), outgoing is impossible. I have deleted and reinstalled all of my accounts. Doesn't help.
    Anyone else having issues?

    WHOA!!!!! meant to say "After installing LION...."!!!
    Sorry.....

  • [svn:bz-trunk] 13744: Bug: BLZ-481 - AMFConnection JUnit test do not run properly as part of checkintests on Mac  (and Windows?)

    Revision: 13744
    Revision: 13744
    Author:   [email protected]
    Date:     2010-01-25 01:14:09 -0800 (Mon, 25 Jan 2010)
    Log Message:
    Bug: BLZ-481 - AMFConnection JUnit test do not run properly as part of checkintests on Mac (and Windows?)
    QA: No
    Doc: No
    Checkintests: Pass
    Details:
    -Don't start the server before unit task, unit task already checks if the server is not running and starts the server.
    -Don't stop the server after FlexUnit tests, JUnit tests need the server running, and they will stop the server after they are done.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/BLZ-481
    Modified Paths:
        blazeds/trunk/build.xml
        blazeds/trunk/qa/apps/qa-regress/testsuites/flexunit/build.xml

    Tony,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Query not running in report builder 3.0

    hi, i can run my query in mgmt studio (version 2008R2) and within the query designer of report builder 3.0 but it will not run from report builder. i get a generic error message of "an error has occurred during report processing. (rsProcessingAborted)".
    the query uses report parameters and is written with dynamic sql (using a pass-through to oracle). any ideas why the query doesn't execute in report builder ? thanks a bunch,

    Hi KanataPablo,
    According to your description, it seems that you are using linked server to pass value to oracle. Seeing that the query is worked well in Management Studio, you may have the permission to connect to oracle (In this scenario, make sure the users to run the
    query in SSMS and Report Builder are the same user). So this issue can be caused by the user’s permission to connect to report server, the credential of data source and the dynamic query.
    We can add the current user as a Login, then click Properties and navigate to User Mappings page, enable ReportServer and ReportServerTempDB options.
    We can try to type user name and password, and enable “Use as Windows credentials” as the credential used to connect to data source.
    Try with dynamic query:
    ="Select column1, column2 From tableName where ID IN (" + JOIN(Parameters!param1.value, ",") + ")"
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • SAP Query not running

    Hi,
    I am doing SAP query, If I select Company Code, i need to get the resule of
    GL a/c, Buss Area, Cost Center, Profit Center
    For this in table joints i taken KNA1, KNB1, SKB1, CSKS
    then also i could not run the report.
    Rgds
    sunfico

    Hello
    When you have chosen a query and a user group on the initial screen, you can execute the query online or in the background.
    Executing Queries Online
    Executing Queries in the Background
    Improving Response Times
    Interactive Functions for ABAP Lists
    Direct Interaction
    Check this link for further notes executing queries
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/b7/26ddebb1f311d295f40000e82de14a/frameset.htm
    regards

Maybe you are looking for

  • Web Gallery constantly duplicating photos...

    I've made a fully open web gallery and have had 1 person so far contribute photos to the gallery. This person has sent 1 e-mail to the web gallery mail and the photos were published imediately. Around 60 photos in total.So far so good. This morning I

  • Images stripped from Camera Data after Export from Lr

    Hi, I've just opened images in jpg format in Ps. The images were exported from Lr and for some reason all the Camera Data is gone... I went through all the settings in Ps and Lr and didn't find anything... I'm enclosing a screenshot.

  • Invalid SIM-Card

    My BB 7230 contains BB-Software Version 4.02.49. It was loaded from T-Mobile. I asked for an unlock-Code to work with Congstar SIM. T-Mobile looked in the IMEI-Database and found, this Phone isn't locked. It must run with the card. But is doesn't. Th

  • Clean Erase Of HD - Missing Mailboxes On Reinstall of SL - Help Please

    After Clean Erase, Missing Mailboxes created for my websites and others from the sidebar. 80% of notes also missing. Saved to a clone of HD prior to clean erase. Saw a post once on how to move address book and mail boxes from an ext. HD clone to new

  • HT201302 How to save a messenger photo

    How can I save a photo from an instant message?