ABAP to set "Switched on/off BIA indexes for queries" flag?

Hi everyone,
Does anyone know if the "Switch on/off BIA Indexes for Queries" can be set for a specific cube by a delivered ABAP?
Here's my scenario. We go live with BIA next Monday 9/22. I've indexed our cubes in production BIA this past weekend and they're rolled up nightly. Until the go-live, I've manually set the "Switched Off for Queries" flag via RSDDBIAMON > BI Accelerator > Index Settings > Switch on/off BIA Indexes for Queries".
However, one indexed cube is deleted fully every night by the flag in the full load infopackage. In testing, I saw that the BIA fact table index was fully deleted when the E and F tables of the cube were truncated, and then reindexed when the full package is loaded and rolled up. This is all ok.
The issue is that after the delete, load and rollup, the "Switched Off for Queries" flag is not set. I have had to manually reset to off in the morning. This won't be an issue (hopefully) once we go live, but it does seem like a bug and I'll likely submit a customer message. I would think the delete, index and rollup process should not change the status of this flag.
Does anyone know if that flag can be programatically set?
Thanks for any advice,
Doug

Thanks, Vitaliy!
I think you're exactly right. Its seems to be a bug in processing of just this specific type of index reprocessing, e.g. dropping and reindexing. The indexing process properly retains INA status on the other delta indexed cubes.
I'm barely ABAP OO literate, but do understand enough to find, review and test the class and method code. Thanks for finding it!
Also, I reviewed table RSDDTREXDIR and it is correct/current. It does spawn another question, though. The field ITYPE (Type of BIA Index) is consistently ICB exept for 2 cubes/indexes, which are typed as PA2 and PA9. When I check possible values on the domain, RSDDTREX_TAGGR_TYPE, it only lists ICB and ICF (Infocube - flat).
Any idea what types PA2 and PA9 are, and why these 2 cubes would be different? From my perspective, they're basic infocubes, same as all the others.
Thanks again,
Doug

Similar Messages

  • Error when creating BIA INDEX FOR CUBE

    Hi
    I am trying to create BIA index for a cube and I am getting error
    "An error occurred. Choose "Continue" to start again from the beginning"  in the second step. Could any body explain what this error mean and How to correct it.
    and when I press BIA Moniter tab  I am getting following message.
    An error occurred. Choose "Continue" to start again from the beginning
    "BIA Monitor Is Called for First Time
    The RFC destination for the BI accelerator is not yet specified in the
    system. Without the relevant entry in RSADMINA, the BIA monitor cannot
    be executed. Do you want to enter the RFC destination now?"
    Thanks in Advance
    Sarath
    Edited by: sarath kumar on Aug 21, 2008 9:42 AM

    Hi,
    Is there any way i can check bi accelerator installed or not for our bi server.I contacted basis team but they do not have any idea regarding this. but I heard from my ex colleage it is installed. and Reports from one cube is running very fast compared to recently created cube.
    Thanks
    Sarath

  • HT1476 Dear all, I have a problem with charging. When i intend to charge my phone while its on, it does not charge. However, If i were to switch it off and put for charge, it charges. How do i fix this?Help.

    Dear all, I have a problem with charging. When i intend to charge my phone while its on, it does not charge. However, If i were to switch it off and put for charge, it charges. How do i fix this?Help.

    First, update iTunes, then connect the phone to the computer and do a restore. This will also get your iOS up to date. Your phone should operate correctly after doing this, if not, you will most likely need to have the phone serviced or replaced.

  • BIA indexes for Multiprovider

    Hello All,
    Can we create BIA indexes for a multiprovider.
    My current data flow is that, i have a Infocube and based on that i have multiprovider not a big flow.
    what does it make difference in creating on Infocubes and multiprovider?
    I know that multiprovider does not holds the data physically, but just to understand can we implement this.?
    I am currently working on SAP BI 7.3  version.
    Regards,
    Siva

    hey Siva,
    You cannot create BIA Indexes on a multiprovider.
         - a multiprovider does not contain any physical data (like you stated).
         - a multiprovider can have all kinds of underllying infoproviders to it, this means DSOs as well. We do not create indexes on a multiprovider.
         - even if your multiprovider consist only of cubes, it never holds the data physically. Everytime you run a query, it fetches from the underlying cubes. Thus, no sense of making indexes on a multiprovider when the reading has to be done from the cube itself.
    Thanks,
    Sheen

  • ABAP program to switch On/Off a cube from BIA

    We have some repost jobs on a transactional cube that fail because of BIA.(insufficient memory)
    these jobs run fine when BIA is turned off for this cube. And once they have finished successfully we turn BIA back on. But turning on/off is a manual process.
    As far as I know, there is no ABAP available to do this.
    Has anyone else come across where you need to automate turning on/off BIA for a cube?
    any workarounds??
    I know i can create a new user id to run these jobs and then switch off BIA for this user id.
    But this is not an option given the security policies in our organization.

    Hi Saurabh,
    it should not be necessary to switch off BIA for planning functions unless you read very high data volumes.
    Did you turn on package-wise read (see SAP Note <a href="http://service.sap.com/sap/support/notes/1157582">1157582</a>)? Are you on a recent revision (see SAP Note <a href="http://service.sap.com/sap/support/notes/1308131">1308131</a>)?
    Regards,
    Marc
    SAP NetWeaver RIG

  • Need to set switch on & off in runtime analysis

    hi friends,
          when ever i execute the object ,does it need to  switch on &off regularly, plz anybody tell me how to set the switch on & off before executing the runtime analysis.  when i tried this , i got a problem like ' plz set the particular field. i have not understand .  plz help me.
                                     regards,
                                      ibrahim

    Hi,
    See this Link [switch on & off in runtime analysis|http://software.feedfury.com/content/22726194-sap_abap_run_time_analasis.html]  It is Helpful for you..
    Regards
    Ranga

  • Log for switch on /off BIA

    Experts,
    I guess, there is no log maintained for BIA upon the switch on / off .
    Can any one help me.
    Rgds,
    Sin

    Hello Sin,
    there's a sapstart.log file on each blade.
    Regards,
    Marc
    SAP NetWeaver RIG

  • Turning off BIA for an individual query

    Hi,
      Can anybody where I can go to turn off BIA for a specific query?
    Thanks

    Hi BW Novice,
    I think there is a little bit of confusion within this thread regarding your problem. There are also wrong answers, I am afraid. If I understood you right you want to turn off a BIA index for a specific query, i.e., all other queries that touch the respective cube will still be processed by BIA.
    If you follow thoroughly the below steps you will probably get what you need:
    1) Goto to transaction SE16 and enter RSRREPDIR as the table name and click the Table Contents button (upper left.)
    2) In the resulting selection screen, enter the name for the INFOCUBE that you would like to switch off for the query and press execute (the tick symbol.) Before, in order to help yourself in finding the correct query name later more easily, you might want to choose Settings  -> Fields for Selection from the menu and then check the COMPID field in the resulting window.
    3) In the resulting RSRREPDIR screen, the queries are listed by name in the column COMPID. Select the respective query and then press the Change button (the little pencil symbol.)
    4) There will be a list of fields displayed. Goto NOHPA (you might have to scroll a little bit further down) and check it, i.e., set it to true.
    That's it. Do not forget to set the flag back after your tests have been done.
    Best regards,
    Sascha.

  • Transport error failure with return code 12 for BIA indexed Cube

    Hello,
    I was trying to transport few cubes from the Dev to the QA system. However, the transport failed repeatedly with return code 12. I noticed that the version of Cubes in the target system had BIA indexes loaded on it.   So, I deleted those indexes and re-transported the cubes.To my surprise, the transport went fine without the BIA indexes. This now opens up a new avenue for discussion of dropping and recreating BIA indexes for those cubes that needs to be transported.
    Any thoughts on this new aspect before. Has anyone faced similar problems. I want to know your experiences before we can take this issue to SAP.
    Thanks,
    Rishi

    Rishi/Vitaly/Marc,
    How do you transport cubes with BIA indexes.
    Do you drop/recreate the BIA index before the transport.
    In my case, the transport kicked off adjustment job exactly as described in [Note 1012008|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1012008]
    Indexes looks fine once this jobs completes successfully. The transport does not fail.
    Is this approach fine.
    I see that most of the customers drop/recreate indexes before transporting cubes.
    Can I run into data consistency issues with this approach?
    Input required.
    Thanks,
    Saurabh

  • How to temporarily turn OFF Spotlight Indexing?

    It was suggested to me that it is best to turn off spotlight indexing for the duration of an initial clone backup of your system drive. How can this be done? Thanks.

    The advice you have been given is incorrect. There is no need whatsoever to turn Spotlight off even temporarily. Just prior to the cloning you should check that indexing of your boot volume is not occurring - simply because the competition for CPU will slow the cloning down. Just click on the Spotlight symbol at the right hand end of your menubar to see that you only have the text entry box.
    Also, there is usually no need to have a clone indexed, and so you should put the target volume into the Privacy tab of System Preference / Spotlight -- that will ensure that your target does not start to be indexed during the cloning and that the target volume does not become indexed later. Should you ever need to work on the clone and want it to be indexed, just remove that volume from 'Privacy'.
    Ignoring any references to Carbon Copy Cloner, see http://forums.bombich.com/viewtopic.php?t=14531.
    Andreas

  • Error in creating BIA index after SPS upgrade

    Hi BIA experts,
    we got issues in BIA after our BI SPS upgrade (current level SPS18):
    when wir try to create new BIA index for a cube (normal basic cube), we got error RSD_TREX121 (index type ICB). This issue occurs since we completed SPS18 upgrade.
    Any help and feedback are highly appreciated!!!
    Regards,
    Sally

    Hi Sally,
    "BIA index has type ICB" is not an error message. It just indicates that the index type has been initialized or changed. Can you describe the symptoms more clearly or provide more details of the job and/or application log?
    Regards,
    Marc
    SAP NetWeaver RIG

  • BIA INdexes : URGENT

    Hello
    I am maintaining the BIA Indexes for my cubes and when i say continue i am getting this error message
    Restart master index server
    I got this error message yesterday as well and I did restart the mater index server through the BIA Index Monitor tab...but today when creating for the other cubes it is giving this error.
    Is it like when we are creating BIA Indexes we have to start the master index server for each cube..
    Please can someone suggest
    thanks

    Hello,
    Are you executing multiple BIA Indexes in parallel, if so there may be a lock created which may cause this error.
    From the below OSS
    Two or more InfoCubes are indexed simultaneously in the BI accelerator (BIA). One of the processes terminates because the indexing of a master data table by one of the other processes has not been completed yet.
    You can restart the process without problems.
    See these
    SAP Note 981054 BIA indexing: Termination due to locked master data
    Thanks
    Chandran

  • Deleting the BIA Indexes

    <Moderator Message: Search before posting>
    Hi,
    Can you explain how to delete BIA Indexes for a particular infocube?
    Thanks,
    Manohar
    Edited by: Siegfried Szameitat on May 5, 2009 1:13 PM

    Hi,
    See if these notes are of help.
    SAP Note 926609 - BIA index and metadata changes
    SAP Note 917803 - Estimating the memory consumption of a BIA index
    1012008 - BI accelerator index after activating the InfoCube
    There may be few related notes attached to these notes.
    check them also.
    Hope this helps.
    Thanks,
    JituK

  • TREX index for Records management in CRM

    Hi All,
    Hopefully this is the correct forum to post this question, if not please let me know the correct one.
    Does anyone have any information on linking TREX to RMPS?
    This is to resolve an issue where the case search on business partner first and last name fields are case sensitive in the electronic desk.  In the DMWB we have ticked the Index-Relevant option but have been advised that we also need the link to TREX.
    I have set up a TREX search index for the Solutions database in the past but setting this up for Records management doesn't seem to be as easy.
    Many thanks in advance.
    Gary Hawkins

    Hi Vishnu,
    Try this BAPI: BAPI_BUSPROCESSND_CREATEMULTI
    BAPI_BUSPROCESSND_SAVE
    Regards
    Arun Kumar
    Rewards Points if it helps.

  • Attribute Change Run aborted with an error :Not all data indexed for index

    Hi,
    I have an issue where the master data Attribute Change Run  aborted with an error pointing to the BWA:
    Attribute Change Run aborted with an error :Not all data indexed for index
    we tried to load only 0 data into it,the error still occured.

    Detail message is following:
    not all data was indexed for index 'GBP_BIC:XYCH_098('0' for '114')
    creation of The BIA INDEX for infocube 'YBC_SD015' terminated while filling

Maybe you are looking for

  • Accounts Payable - Supplier Setup - Supplir Type issue

    Hi There is an entry made into Purchasing Lookups for a new supplier type that is created and it is enabled But while creating a new supplier in the classification region the new type is not appearing in the list of values Why it is so? Require a qui

  • Extracting a Deleted Item

    This is with regarding to a deleted item. I had created a PO with ten line items. The sequence of the PO line items also plays an important role in our org. Due to some sequential internal assebling parts. Unfortunately i deleated the  firstline item

  • Auto Running Things

    Ok so i have like this lottery program that i am working on. More or less i have a random number generator that uses System.currenttime as the seed value. But i want the number generator to actually run at a precise time and then generate the numbers

  • Faces in Photos showed up blank after the upgrades

    Faces in Photos showed up blank after the upgrades (no labeled faces at all) with the suggested faces mostly full of 100's of blank white circles. I used to have about 50 faces labeled with about 2500 photos. Now I have no labeled faces on top of pag

  • How to enable Further Entry Information from Entries Screen

    How to enable Further Entry Information field from Entries Screen. My requirement is to add a new input value in an existing element but system is not allowing me to enter a new input value , so I have decided to use Further Entry Information if it i