Validating members:Subscript out of range

Hi there.
I have a logic that runs the validations but when i run it it says:
"ExecuteBaseLogic::
1 errors writing data
Validating members:Subscript out of range"
I looked at the logs and it is not really helpfull
Could someone guide me where to look for the problem please?
Thanks
Nic

Here is the logic i was talking about:
*Include System_Constants.lgl
//Send intercompany totals to Finance
*Xdim_memberset RptCurrency=LC
*Destination_App=Finance
*Skip_dim= Intco
*Rename_Dim ICAccount=Account
*Add_Dim AcctDetail=No_F
//*Add_Dim DataSrc=input
*When TIME
*IS %TIME_SET%
*WHEN ICaccount.ACCTYPE
*IS "LEQ"
*REC(Factor=-1)
*ENDWHEN
*WHEN ICaccount.ACCTYPE
*IS "AST"
*REC(Factor=1)
*ENDWHEN
*ENDWHEN
*Commit
As you see it it pretty simple, but i am missing smtg.
When I de-comment the "DataSrc=input" line, then i dont get any errors: neither at the validation nor when i send data.
But the totals are not sent. Just the last updated amount in my interco is sent to finance...
Nic

Similar Messages

  • Submit:Validating members::Subscript Out of Range  Error

    Hi,
       When I enter data in an Input Schedule and click "Send and Refresh Schedule" button, I receive an error message.
    Submitted Records : 4
    Accepted Records : 0
    Rejected Records : 0
    Submit:Validating members::Subscript out of Range Submit:Validating members::Subscript out of Range Submit:Validating members::Subscript out of Range Submit:Validating members::Subscript out of Range
    "Then the list of records not sent."
    No records are sent to the database.
    Why does this error occur?

    Hi Karthik, Just wondering if there are too many digits(i mean too many decimals in the numbers) in the sheet.
    regards
    shyam

  • Error in RunLogicAgainstSelection:Subscript out of range

    Dear experts,
    I'm writing a cross application *RUNALLOCATION from application InvCost.
    While validating the logic I ot this error saying
    "error in RunLogicAgainstSelection: Subscript out of range" and here's the code
    *RUNALLOCATION
    *FACTOR=1/TOTAL
    *APP               WHAT=FINANCE;          WHERE=INVCOST;          TOTAL=<<<
    *DIM TIME          WHAT=%TIME_SET%;     WHERE=<<<;          TOTAL=<<<
    *DIM DATASRC          WHAT=TEMP;          WHERE=INPUT;          TOTAL=INPUT
    *DIM LOB          WHAT=00000;          WHERE=;               TOTAL=
    *DIM COSTCENTER          WHAT=122;          WHERE=;               TOTAL=
    *DIM MACCT          WHAT=5601;          WHERE=;               TOTAL=
    *DIM FACTORY          WHAT=0000F;          WHERE=[L_f]="7";     TOTAL=EACH([L_f]="7")
    *DIM INTFAC          WHAT=;               WHERE=NONINTFAC;     TOTAL=EACH(BASE(ALLINTFAC))
    *DIM INVACCT          WHAT=;               WHERE=FUC_L;          TOTAL=FFACTOR
    *DIM PARNO          WHAT=;               WHERE=NONPARTNO;     TOTAL=EACH([INVTYPE]="L")
    *DIM SACCT          WHAT=00;          WHERE=;               TOTAL=
    *DIM CATEGORY          WHAT=ACTUAL;          WHERE=<<<;          TOTAL=<<<
    *DIM RPTCURRENCY     WHAT=LC;          WHERE=<<<;          TOTAL=<<<
    *ENDALLOCATION
    From WHAT there's only one value and devid by TOTAL then put into all base members of WHERE.
    Factory part is a little tricky cause I'm not sure if it'll give me only base members for the given condition.
    Any helpful comments are welcome. Thanks a million...
    ,Jim Hsu

    Hi Jim,
    I think you need to use the "USING" clause, as in this simple example. This is where you define the allocation driver.
    *RUN_ALLOCATION
    *FACTOR USING/TOTAL
    *DIM Product What=NoProduct; Where=[ProductLevel]="5"; USING=<<<; TOTAL=<<<
    *DIM Account What=MarketingExpense; Where=<<<; Using=Revenue; Total=<<<
    *ENDALLOCATION

  • BAT Import "Subscript out of range"

    I'm attempting to import phones and users with the BAT version 5.0(2) and CCM 4.0. The file is validated fine, but when I do the insert, the browser returns the error dialog:
    Error Number: -2146828279
    Description: Subscript out of range
    The users then appear to be imported, but not the devices. Looking up the error on google indicates that it's a VBA scripting problem. I tried firefox, but it doesn't seem to work at all.
    Thanks for any suggestions,
    Mark

    The core issue for me was that ANY data the Callmanager didn't like would result in that error - two problems I had were not putting leading zeros on the number of lines (it requires 2 digits), and trying to use commas in the description (even enclosed in quotes which the documentation says will work, it doesn't). I did have to load the new device pack for 7911 support when I did this install, but I only had 4 7911's so I did them manually, and no 7912's.
    Good Luck,
    Mark

  • BIP Desktop Install Problem:  Run-time error '9' Subscript out of range

    Hi All,
    I am trying to get my BIP Desktop to work. I have notice previous threads regarding the internet explorer security patches affecting BIP Desktop and my problem is similar. Here is my problem:
    1. I installed BIP Desktop 5.7.146.
    2. I start Template Builder for Word Language by selecting Start>Programs>Oracle BI Publisher Desktop.
    3. A dialog box prompts for UI Language and I select English
    In the midst of the Template Builder for Word Language attempting to initiate/change the user interface language to English, it throws the following error:
    Run-time error '9' Subscript out of range
    Here are some details regarding my PC:
    XP sp2, MSXML6, jre1.5.0_15
    Also, my CPU performance hits it maximum while I am doing this
    Any thoughts on how to correct this?
    Thanks,
    Patrick

    Patrick,
    Were you able to find a solution to this problem?
    One of my colleagues is having the same issue.
    Regards,
    Srini

  • Vector subscript out of range

    I read a file into a 2 dimensional vector named matrix  and I want  to check the frequency of the item inside the matrix, but when debugging it gives me the error message: vector subscript out of range. Can someone help? 
    #include <assert.h>
    #include <string>
    #include <map>
    #include <sstream>
    #include <vector>
    #include <fstream>
    #include <iostream>
    #include "main_loadDB.h"
    using namespace std; 
    typedef map<string, int> attri_value;
    void buildFirstItemset(matrix_file m){
    matrix_file temp=m;
    int lmc=temp[0].size();
    int lmr=temp.size();
    int msize=lmc*lmr;
    attri_value attri_map;
    for (int i=0;i<lmr;i++){
    cout<<"i:"<<i<<" ";
    for(int j=0;j<lmc;j++){
    string tm=temp[i][j];
    ++attri_map[tm];
    // here is the error
    cout<<endl;
    #endif
    Any help appreciated!

    Hi DBM_Q,
    Since this issue is related to the VC++, to help you resolve this issue as soon as possible, I suggest you post this issue to the VC++ Forum for dedicated support:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=vcgeneral
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Subscript out of range

    hi
    thisis the script i am using to allocate gross invoice percentage for month and total them
    to show in another row
    *SELECT (%ENTITY%, "[ID]", "ENTITY", "[ID]='%ENTITY_SET%'")
    *XDIM_MEMBERSET CATEGORY=ACT
    *XDIM_MEMBERSET RPTCURRENCY1=LC
    *XDIM_MEMBERSET DATASRC=TOTAL
    //*XDIM_MEMBERSET TIME=2010.INP
    *RUNALLOCATION
    *NAME=GISALESALLOCPLN%
    *FACTOR=USING/TOTAL
    *DIM APP WHAT=PLANNING;WHERE=PLANNING;USING=PLANNING;TOTAL=PLANNING
    *DIM ACCOUNTP WHAT=%GISALES%;WHERE=%GISALES%;USING=%GISALES%;TOTAL=%GISALES%
    *DIM ENTITY WHAT=%ENTITY%;WHERE=%ENTITY%;USING=%ENTITY%;TOTAL=%ENTITY%
    *DIM TIME WHAT=2010.INP;WHERE=2010.INP;USING=2010.INP;TOTAL=2010.INP
    *DIM CATEGORY WHAT=ACT;WHERE=ACT;USING=ACT;TOTAL=ACT
    *DIM RPTCURRENCY1 WHAT=LC;WHERE=LC;USING=LC;TOTAL=LC
    *ENDALLOCATION
    and it error outs saying
    "error in range selection: subscription out of range"
    while i debug
    please advice
    thanks

    If you are selecting multiple entities, please use
    *SELECT (%ENTITY%, "ID", "ENTITY", "ID in ('%ENTITY_SET%')")
    instead of the first line of the script.
    If you want to specify the application, please use
    *APP  WHAT=PLANNING;WHERE=PLANNING;USING=PLANNING;TOTAL=PLANNING
    The syntax you have used wont work.
    *APP is an optional parameter. Please use it only if its necessary.
    Karthik

  • Failed to Finish Transition(Subscript out of Range)

    We are receiving this error message during playback intermittently: Failed to Finish Transition(Subscript out of Range).
    Does anyone what causes this and how to resolve it?

    Can you give more details about what the script is doing when you get this error? Looks like an application generated message, the script is not inputting correct parameter values required on that page, maybe.
    Message was edited by: mpalivela

  • Error merging WHAT with WHERE:Subscript out of range

    I'm trying to run allocation script to post data from one App to another but get the error:
    error merging WHAT with WHERE:Subscript out of range.
    *RUNALLOCATION
    *FACTOR 1
    *DIM APP        WHAT=PNL;  WHERE=OPEX;               
    *DIM CATEGORY      WHAT=BUDGET;          WHERE=<<<;     
    *DIM ACCOUNT       WHAT=80855.0000.ECOMM;                     
    *DIM ACCT_OPEX                         WHERE=80855.0000;    
    *DIM ENTITY        WHAT=100.00001;                                  
    *DIM COSTCTR                          WHERE=00001;                               
    *DIM BRAND                            WHERE=100; 
    *DIM CHANNEL                          WHERE=ECOM; 
    *ENDALLOCATION

    Hi Agnes,
    Please try the below:
    *RUNALLOCATION
    *FACTOR 1
       *DIM APP WHAT=PNL; WHERE=OPEX;
       *DIM CATEGORY WHAT=BUDGET; WHERE=<<<;
       *DIM ACCOUNT WHAT=80855.0000.ECOMM; WHERE=<<<;
       *DIM ACCT_OPEX WHAT=>>>; WHERE=80855.0000;
       *DIM ENTITY WHAT=100.00001; WHERE=<<<;
       *DIM COSTCTR WHAT=>>>; WHERE=00001;
       *DIM BRAND WHAT=>>>; WHERE=100;
       *DIM CHANNEL WHAT=>>>; WHERE=ECOM;
    *ENDALLOCATION
    The idea is to have have both the keywords in the statement - WHAT and WHERE
    Hope this helps.

  • Run-time error '9': subscript out of range when starting Multisim/Utilboard v10

    Hi all!
    After having installed and registred NI Circuit Design Suite 10 (Single user licenses) on
    XP-SP2 and Windows2000-SP4 computer, I get the following error message when
    I try to start either Multisim10 or Utilboard10 (Full edition versions)
    "Run-time error '9':
    Subscript out of range
    The problem appears both with standard users as well as with the Administrator user.
    As I click on "OK", the program proceeds as usual and seems (?) to work fine.
    The problem does not appear if I do not register the copy of NI Circuit Design Suite 10
    and I run it as evaluation instead.
    Paolo Celani
    Attachments:
    error.jpg ‏29 KB

    Hi !
    We have german version of Window XP and 2000 (the folder where Multisim was installed is C:\Programme\ etc etc).
    The very same dialog box appears written in german (see attachment) in one of our computers, maybe because
    German was chosen as Standard language in Multisim during settings (I do not quite remember but I can find out).
    Thanks for helping me !
    Best regards
    Paolo Celani
    Attachments:
    error_de.JPG ‏33 KB

  • Run-time error 9   subscript out of range in WAD open

    Hi All,
    When i open the WAD, I am getting the following error msg
    Run-time error 9
    Subscript out of range
    and it is killing the logon and screen.
    It is not happening to all the WAD, only for few of them,
    please give me the tips.
    Thanks
    Billy

    Thanks for the answer.
    I resolved it by replacing librfc.dll. There is a sap note to explain this issue.
    the reason for the problem is..
    If the web template has a bigger one then this problem is occurs.
    Thanks
    Billy

  • Run tme Error 9: Subscript out of range

    Hi Folks,
    When ever i am trying to execute the report from favourites folder in BW 3.5 version it's giving the runtime error 9: Subscript out of range error.when i click on debug option it enters into Visual basic code.
    Please  help to me how to over come this situation.
    Thanks for your help
    Regards,
    Nag

    Hello Nag,
    We created a Wiki with all informations to troubleshoot this issue.
    Please, check the link below:
    > http://wiki.sdn.sap.com/wiki/display/BI/RRMX
    Also, I strongly recommend you to update your front end tools to latest patch available:
    http://service.sap.com/swdc
    > Support Packages and Patches
    > Browse our Download Catalog
      > SAP Frontend Components
    > SAP GUI FOR WINDOWS
    > SAP GUI FOR WINDOWS 7.20 CORE
    > Win32
    _ > * gui720_10_2-10007878.exe
       |  > BI ADDON FOR SAP GUI
       |  > BI 7.0 ADDON FOR SAP GUI 7.20
       |_ > * bi720sp06_600-20006596.exe
       |
       |  > BI ADDON FOR SAP GUI
       |  > BW 3.5 ADDON FOR SAP GUI 7.20
       |  > Win32
       |_ > * bw350gui720_8-20006857.exe
    Best Regards,
    Edward John
    SDN Moderator

  • ActiveWorkbook.Connections(Connection).OLEDBConnection - Subscript out of range error

    With ActiveWorkbook.Connections(Connection).OLEDBConnection  ' This statement is giving me a script out of range error                                      
                                                                        ' when used inside
    the function shown below.
    Sub getData(qArray() As String, Connection As String, ActSheet As String)
    'Updates the data from the Database. qArray is the SQL query in an array, connection defines which connection to use and ActSheet defines in which sheet to place the data
    Sheets(ActSheet).Select
        Range("A1").Select
            With ActiveWorkbook.Connections(Connection).OLEDBConnection
            .CommandText = qArray
            .BackgroundQuery = False ' Hvis true opdateres ikke før script er kørt færdig
            .CommandType = xlCmdSql
            .Connection = "OLEDB;Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=RDWEB;Data Source=dk0149sql.niladv.org;"
            .RefreshOnFileOpen = False
            .SavePassword = False
            .SourceConnectionFile = ""
            .SourceDataFile = ""
            .ServerCredentialsMethod = xlCredentialsMethodIntegrated
            .AlwaysUseConnectionFile = False
        End With
        ActiveWorkbook.Connections(Connection).Refresh
    End Sub
    I am getting a subscript out of range when I use the above statement inside the  getData function shown below.
    The data is getting into the qArray as seen the Locals Window after it errors
    How do I eliminate this error? 

    It seems that Connection has some bad value. Have you investigated what that may be?
    The code looks puzzling to me - it never seems to be running the query. Then again, this is a forum for SQL Server, and not for programming Excel. And it's probably in a forum of the latter type should have posted your question.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • FOR/NEXT loop produces Error in ProcessSQL: Subscript out of range

    Hi all,
    The 2nd FOR/NEXT loop in the following code produces Subscript ouf of Range error:
    *LOOKUP RATEAPP
    *DIM MODEL:RATEENTITYDIM= DRIVEDIM.DRIVER_ENTITY
    *DIM MODEL:RATEACCOUNTDIM= DRIVEDIM.DRIVER
    *DIM MODEL:INPUTCURRENCYDIM = "EUR"
    *ENDLOOKUP
    // Select lookup and normal members by group
    *SELECT(%DRIVERSA%, ID, DRIVEDIM, "[GROUP] = 'A' AND [DRIVER] <> ''")
    *SELECT(%MANUALSA%,ID,DRIVEDIM, "[GROUP] = 'A' AND [SOURCE] = 'MAN'")
    *XDIM_MEMBERSET DRIVEDIM= %MANUALSA%, "U_TEMP"
    *WHEN ACCOUNTDIM.ACCTYPE
    *IS *
         *REC(EXPRESSION=1, NOADD, DRIVEDIM="U_TEMP")
    *ENDWHEN
    *GO
    // this is ok
    *FOR %MANSET% = %MANUALSA%
         *WHEN DRIVEDIM
         *IS %MANSET%
         *WHEN %VALUE%
         *IS <> 0
                   *REC(FACTOR=GET(DRIVEDIM="AD.TEMP"),DRIVEDIM="AD.TEMP")
         *ENDWHEN
         *ENDWHEN
    *GO
    *NEXT
    *XDIM_MEMBERSET DRIVEDIM= %DRIVERSA%, "U_TEMP"
    // this is not OK
    *FOR %DRIVSET% = %DRIVERSA%
         *WHEN DRIVEDIM
         *IS %DRIVSET%
              *WHEN %VALUE%
              *IS <> 0
                   *REC(FACTOR= GET(DRIVEDIM="U_TEMP") * LOOKUP(MODEL),DRIVEDIM="U_TEMP") //  * LOOKUP(MODEL)
              *ENDWHEN
         *ENDWHEN
    *GO
    *NEXT
    If I remove the FOR/NEXT loop, this runs fine. The error occurs everywhere - in logic debugger, in DB, in ExecuteBaseLogic if included in Default logic. The REC statement inside the loop can be anything, even as simple REC(FACTOR=1,DRIVEDIM="U_TEMP"), so the problem is in the loop, not anything else. It validates nicely and the compiled logic looks just as expected.
    This error could occur sometimes if the membersets are too large. However, in this example, the number of members is rather limited. In the debugger is is possible to limit the data region to single specific intersection and the DRIVEDIM membersets combined is exacly 15.
    Could it be possible that the error is caused by member ID-s like AD.1.AVGWAGEGROWTH (length=18)? Is there anything else that can cause  trouble?
    Any ideas appreciated.
    Thanks
    Madis
    Edited by: Madis Udam on Mar 24, 2011 11:06 AM

    I don't think you should have"." dot's in you ID's.
    think about it, in your code you have ACCOUNTDIM.ACCTYPE, which represents the account type of the dimension.
    If you have an id "AD.1.AVGWAGEGROWTH"; wouldn't it think that you are trying the get a value of some member?
    That's just a guess, we established that we wouldn't use any special characters on our id's
    It's working so far
    Try changing the line
    *IS %DRIVSET%
    to
    *IS "%DRIVSET%"
    Edited by: Leandro Cardoso Feliciano on Mar 28, 2011 10:45 PM

  • SAP HANA Model validation error - Index out of range

    Hi,
    Creating a simple Attribute View using the SYSTEM user.
    1. Log on with SYSTEM
    2. CREATE SCHEMA EFASHION
    3. CREATE THE TABLES UNDER EFASHION
    4. LOAD DATA INTO TABLES
    5. GRANT SELECT ON SCHEMA EFASHION TO _SYS_REPO WITH GRANT OPTION
    Whilst activating/validating the Attribute View, face the following error:
    Repository: Activation failed for atleast one object; atleast one runtime reported an error during activation. Please see CheckResults for details
    Repository: Encountered an error in repository run time extension : Index $IDX$out of range  [$BEG$, $END$]
    Please help me to resolve this issue.
    Thanks & Regards,
    Ramana.

    Hi,
    I too have the exact same issue and error.
    The tables are created under the efashion schema using the SYSTEM user. The tables are created as "column" tables.
    Regards,
    Asif.

Maybe you are looking for