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.
Similar Messages
-
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
NicHere 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 -
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 HsuHi 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 -
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 KBHi !
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 -
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] -
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,
NagHello 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 -
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,
PatrickPatrick,
Were you able to find a solution to this problem?
One of my colleagues is having the same issue.
Regards,
Srini -
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 -
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
BillyThanks 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 -
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
thanksIf 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 -
Hi,
I have a project in jdev 3.2 and i have migrated to jdev 9i.
Once i run the project,in some of the pages i am getting the below error..The application runs fine in jdev 3.2 without any errors..
Where can be the problem..
Any help will be appreciated..
500 Internal Server Error
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
java.lang.String java.lang.String.substring(int, int)
int oracle.jbo.html.jsp.datatags.ApplicationModuleTag.doStartTag()
void jspautomate_html._TkeyautomateView__Edit._jspService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
[JSPAutomate_html/TkeyautomateView_Edit.jsp]
void com.orionserver[Oracle9iAS (9.0.2.0.0) Containers for J2EE].http.OrionHttpJspPage.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void oracle.jsp.runtimev2.JspPageTable.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
void oracle.jsp.runtimev2.JspServlet.internalService(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void oracle.jsp.runtimev2.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(javax.servlet.ServletRequest, javax.servlet.http.HttpServletResponse)
boolean com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.ApplicationServerThread, com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletRequest, com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse, java.io.InputStream, java.io.OutputStream, boolean)
void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(java.lang.Thread)
void com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run()Sorry for the late reply.
It is problably a problem with the configname attribute of the ApplicationModule tag which is wrong.
Can you try to open the JSP file with the problem and look at the ApplicationModule tag setting.
If you create a new ApplicationModule tag under it using the Component Palette, it will give you a clue to what setting is espected for the configname. Make sure to keep the same value for the "id" property.
Charles. -
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 -
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,
MarkThe 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 -
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. -
Why is the statement "if (fn_vec.length == 0)" throwing error "RangeError: Error #1125: The index 0 is out of range 0."?
fn_vec is a Vector.<Function>, and it's not null. It's length is in fact zero.
This makes no sense.Hi yu.wei.qian.07,
the problem with the second block of code is that you are
enumerating through the children of the canvas using their index
number. The problem with this is that you are removing children
from the canvas. When you remove a child from a parent object the
index is recalculated and ultimately the number of children for
that parent object is reduced by 1. Since you are starting at zero
and going forward through the loop index you are reaching the last
child index about half way through the loop. A way that would
probably work to fix this would be to loop backwards through the
children (ie start at the last index and loop back to index 0).
I hope this helps.
Maybe you are looking for
-
TMU problem when running wow....
Just recently installed Arch (64) on my lapot and with the forum and the wiki i have managed to install the wine32 package and also installed world of warcraft without no major problems.. i also got the latest Nvidia drivers installed 169.09 The prob
-
Hello, because of company's merger my address is changing: old: [email protected] new: [email protected] Regards, Peter
-
Greetings: This may be a simple question with a simple obvious answer. When I playback podcasts on my iPod at the end of the Podcast it returns to the same podcast. Is there a way to get it to go on to the next podcast in that category? This is not s
-
Missing background image in firefox
Hi , I have a problem with firefox not showing a frame bg image when it is the exact same height as the frame , the same page displays properly in safari . The frame has a fixed height ( in pixels ) . I noticed that it displays the bg image when the
-
TS4147 Question on syncing between my iphone, Outlook and the Cloud
I can enter/revise contacts on Outlook on my PC (faster than doing it on cloud) and they go to my iphone under 'all from my PC' which is great, but how do I get those same contacts to copy to the cloud and, if I enter contacts on my iphone they go on