Formula Variable error
Hi All
I have a requirement to calculate an aging bucket. ( CURRENT_DATE - EXPIRE_DATE). I have Expire_date as a characteristic InfoObject of DATS type.
I found a solution to create formula variable in BEX and use replacement path functionality.
When i do the same i can save the variable and the query. but on performing a query check i get the following error:
variable used incorrectly or does not exist.
Kindly suggest why this is happening. We are using Bex 7. I refered to the following link.
http://www.sd-solutions.com/SAP-HCM-BW-Replacement-Path-Variables.html
Hi,
check out tths pdf.It will give you whole insight on how to work on ageing report.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30f15839-0cf1-2b10-c6a7-ebe68cc87cdc?quicklink=index&overridelayout=true
Hope it helps.
Regards,
AL
Similar Messages
-
Formula Variable Error in BI7.0 Query Designer
Dear All,
I am getting the following error when using a formula variable with replacement path. Please help me on this.
we are using BI7.0 SP level 13
ABEND: Variable D30TEST0UIF40OXY0A5JZFO40 (D30TEST0UIF40OXY0A5JZFO40) does not exist or is incorrectly used 5OTGNQ295YVYORGW5NOBJ9NUP
ABEND: Program error in class SAPMSSY1 method : UNCAUGHT_EXCEPTION
ABEND: Query ZFIGL_O02_Q002_7 could not be opened.
Error when generating dataProvider
Best Regards,
SGKHi Vikram
It didn't seem relevant to my case but I downloaded it and it solved my issue.
Thank you very much
Shlomi -
hi friends,
We have upgrade system to BI7
Now we are facing problem when we copy the Formula key figure and paste in the Column row of the Query designer.
but when we create new formula key figure there is no such error for the same.
Cut/paste is to fasten the query desing ................!
can any one have the Solution to this Query
points will be rewarded...........................................!
Advance regards,
hari prasad G
9833088729.Hari,
what is the error you get and what is the SP Level for your BI7.0 instance ?
Arun -
Error in creating Formula Variable
Hi All:
I'm having problems in creating formula variable. Trying to create FV on a characteristic using replacement path with attribute value , but the wierd part is it's not giving me any attributes it's just blank. Any help would be appreciated....
Thanks,
Manasa.Right click on the FM, create -> Characteristic -> attribute value -> but the attribute are not showing up. This happens if the attribute is of key figure type. I was able to do this in another system (ASIA DEV) but now trying in Europe Dev.
-
Formula variable used in exception and condition - gives a check error
The same formula variable is used in a condition and exception within a query. When I click on "check", I get the message "Variable <myvar> Is Used By More Than One Infoobject". The variable is a formula variable, processed by User Entry/Default Value, with optional entry, ready for input, Dimension "number", default value -0.01. However, the query still saves, generates and executes without problem.
This is with BW 7.0, SP 14. And with query designer 3.5, version 3500.7.572
I'd be grateful if a few people could try to reproduce this, letting me know their version. To reproduce it:
Create a query. Create formula variable processed by User Entry/Default Value, with optional entry, ready for input, Dimension "number", default value -0.01. Create a condition using the variable. Create an exception using the variable. Click on Check. Save and execute the query.
Thanks
MattIt is a warning and you can ignore it , if in query execution you get correct result / output...(then it implies u r on safe side)
But if you are so much concerned about warning then as a workaround just create another Formulae variable and use it in Condition and use the previous formulae variable for Exception.
This way you will have 2 variables for 2 different purposes
and you will get rid of the warning message.
So far if you get the correct output of query then there is no need to worry.
Edited by: kartikey on Dec 20, 2007 1:45 PM -
Attributes dissappear from the formula variable after upgrade
Hi,
We have upgraded from 3.X to 7.X. When i run the reporrt, i get the error saying that attribute XXXX for characterstic 0object in variable ZFormula variable couldn't found.
When i went and checked in the formula variable, under replacement path
Replace variable with
Info Object
Replace With
Attribute value
Attribute
I couldnt find my XXXX attribute but with error mesage.
I tried to create a same formula variable,but could't find the XXXX variable under ATTRIBTE.
I coldnt find the proper solution or note. Did anyone had issue like this?
Thanks
AnnieHi,
Thanks for the replies. But my issue is not with variants. Attributes are missing when I try to assign attribute of char in replacement path and also in my exception aggregation in query designer, reference char isu201D-1u201D. I am not very sure how can it be u201C-1u201D. Is it upgrade issue?
Thanks
Annie -
Report Painter - Use of Constants / Local Formula Variable
Hi,
I am using constant and/or local formula variable in report painter in FSI.
I could use both the values for calculating percentages, ie. it can be used for multiplication or division. However, when I try to use it for addition or subtraction, I am getting the error message no. KH206.
In all cases, I am using different values in the formula, i.e. a absolute figure and a GL based figure.
I am not able to understand, why it even allows me for calculating percentage.
Can anyone help me in using a absolute figure for input and thereafter use it in addition / subtraction.
I would prefer an immediate solution to this as I am in the final stages of this report.
Full points guaranteed.....Hi Kash,
Thanks for your reply..
Can you elaborate bit further. You mean to say I should create a Constant with some value.
Thereafter how should I bring that in the form. But, How do I enter the Constant in the Formula... There is no key for entering any text in the formula.. there are only ID (the values which we bring in the form and which can be selected for the formula) and numbers which can be entered.
So how do I enter the name of the Constant?
I tried just keying in the name of the Constant, and I could check the formula also, However, while saving the form, I am getting an error,
Element WCaplimit Bis letztem ATag bis &$BISD is not defined correctly -> check definition
Message no. KH206
Diagnosis
In element WCaplimit Bis letztem ATag bis &$BISD the system adds quantities and values or different currencies.
Can you please revert back with step by step solution?
Appreciate your prompt reply.... Thanks -
Hi
my report is based on infoset(ISARGL) and need one field (No of days)
No of days = 0CALDAY - POSTING DATE.
BEFORE I WAS NOT HAVING 0CALDAY IN INFOSET(ISARGL) AND ODS, BUT I ADDED IN BOTH ODS THIS 0CALDAY.
POSTING DATE I HAVE IN INFOSET.
for No of Days i am creating CKF based on formula variable.
here i used replacement path, KEY, DATE.
Formula variable FISFV_CD IS MADE FOR 0CALDAY.
GETTING SYSTEM ERROR.
Formula variable FISFV_CD is used in formula element No of Days and is
to be replaced from characteristic 0CALDAY or from an attribute of
0CALDAY. However, 0CALDAY is not contained in InfoProvider ISARGL.
Neither does it reference any ISARGL characteristic to No of Days and
0CALDAY is not a basic characteristic.variable FISFV_CD having (current date)
processing by - replacement path
replace variable with - attribute value
attribute - charac. reference (constant 1)
dimension id - number
character. - calander day
variable FISFV_PD having (posting date)
processing by - replacement path
replace variable with - attribute value
attribute - charac. reference (constant 1)
dimension id - number
character. - posting date
My selection screen is coming for calender date .
now i am abele to see report but no of records coming 0.0000
plz provide me solution -
Formula variable not displayed in proper format
Hai,
I used a keyfigure formula variable, that gets current date, in a query (In columns, key figure structure to calculate no. of days). The no. of days are calculated peoperly and everything is just perfect.
But after executing the query, when I display text element=> variables, the system is displaying the variable as 20,060,803 as opposed to date format like 8/3/2006.
Question: Is it how the date formula variable is displayed or there is a system error?
I remember seeing it in date format.
Can somebody comment on this or suggest a solution.
I couldn't find notes on this too!In the restricted key figure formula definition, use the Data function "Process Value as Date DATE" and enclose your restricted key figure calculation inside the date parenthesis.
I have another related problem. I am trying to use dates to calculate 30 days before a (date formula variable), 60 days after, etc. Some of the dates are calculating correctly, but some are just returning an X. All appear to be extracting with the same format.
Anyone have a similar problem? -
Formula Variables and their use
I have a scenario where I have a date selection using a variable.
I get from and to date defaulted to 1st day of the month and current date
Next, I created a formula variable to calculate the difference between these 2 dates.
I can't uses replacement path variable to calculate the difference becaue the dates are not part of the transaction data.
When ever I bring formual variable into a formual it gives an error
Terminate: Variable D1QDQC684JU76RD3FQ10GECZ9 (D1QDQC684JU76RD3FQ10GECZ9) does not exist or is incorrectly used D1QUMP50BGW24SQ9PQMZDSMD1 [A418(BRAIN)]
This error is not in the customer exit. This error happens in the query designer design phase during syntax checks.
Thanks for your help
Kartikthere was a problem in defining the variables, while u r opening your query, and if its getting terminated means, definition of the variable and its usage is wrong somewhere else.
Here is the step by step procedure for Formula variables:
http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html -
Formula Variable decimal Places
Dear All,
Is there any way i can remove decimal places from Formula Variable / Type Number / Ready for Input ?
Plz help ASAP.
Regards,
SSIs that you don't want the user to enter any decimal values for this variable???
Then best way is to create a Formula Key Figure of type Customer Exit. then you can writ the code in I_STEP =3 whoich will do the validation and throw an error message in case of deciaml values. -
Formula Variable with User Exit....Problem
Hi
My requirment is to create a Formula Variable on User Exit that will give me Current Cal Year...so that i can use that vale in Formulas
Created Formula Variable with processing Type Customer Exit single Value,Mandator and Unchecked the Variable input ready
The below code in CMOD
WHEN 'XXXXXXX'.
Year = sy-datum(4).
CLEAR L_S_RANGE.
L_S_RANGE-LOW = Year.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND l_s_range TO e_t_range.
But when i execute the query i am getting the below error
No value could be determined for variable xxxxxxx.
Incorrect call of OLAP layer CL_RSR_OLAP; error in BW-BEX-ET
Diagnosis
This error diagnosis is specific only to the variables 0P_FVAEX or 0P_CTPCA !
Termination message BRAIN 632 appears:
Could not determine value for variable 0P_FVAEX (or 0P_CTPCA).
WHAT WRONG I AM DOING...please update meUse the code:
WHEN 'XXXXXXX'.
IF i_step = 2.
Year = sy-datum(4).
CLEAR L_S_RANGE.
L_S_RANGE-HIGH = Year.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'EQ'.
APPEND l_s_range TO e_t_range.
ENDIF.
Let me know, if it is work or not!
- Balajee Kannan -
Create a formula variable using replacement path for current date
Hi All,
I created a formula variable using replacement path for current date.
But when i used this variable am getting an error message saying .
" This Variable cannot be used in this query".
Could you please let me know the reason?
Thanks,
ZehraHi All,
Thanks for all your help...
I just found a solution via the below link
in Bex Formula variabel, Current calander day(sap exit) missing.
Here he is trying to use the existing formula variable.
My doubt here is, Even i could not find this varaible in BEX formula variable, But could see this in BI Content path as mentioned in the above link. DO i have to transport this varaible , or i simply can activate it in production?
I just could find this in BI Content but not in MetaData Repository.
Thanks,
Zehra -
Formula variable as reference value for condition
Hi,
I am trying to use a formula variable (user entry, Optional) for a condition. I use all characteristics in drill down independently while defining the condition. I have 2 issues here
1. If I give a default value for the variable to display as 500, the report displays only 5 and even in the variable I see default value changed to 5.
2. If I enter a two digit number for the variable even if there are records matching the condition, I am getting message "No data was found meeting the above conditions"
Would appreciate any help on why this is happening. We are on BW 3.0B Support pack 20.
ThanksUnni,
this sounds like a program error. Please check SAP notes. If you can't find a solution, open an OSS message.
Regards,
Marc
SAP NetWeaver RIG, US BI -
Query Designer: Formula Variable
Would like to check how to use the formula variable for key figures?
I have created a formula variable and attached in the formula. How this variable be filled? I have given the properites as manual input but system gives exception error when query is executed.
Error message..
Variable 46LD342EI7BQ4XB6P1GLYDAL9 (46LD342EI7BQ4XB6P1GLYDAL9) was found in the query but in the meantime it has been deleted, or it has been used incorrectly.
Formula variable- can be used in all cases. Note: Formula variables can have units or be without them. Incorrect use can also arise here since the system always calculates in accordance with the units. Formula variables can also be used to create the upper and lower limits in exceptions.Hi,
I think your definition of your formula veriable is wrong.
have you put the variable as input ready?
gr
Joke
Maybe you are looking for
-
Mac help not available in tiger
I have a new imac with tiger. I can open mac help window, can click on 'search all help' and do a search. The search results are displayed but then if I click on a topic in 'mac help' nothing comes up. Help is available in the helper windo for all ot
-
Hello Do we have any standard report which gives PO actual (Gross + Freight + any else....) price? This also should include statistical condition amount? Thanks
-
I have just downloaded Acrobat Pro V 11.0.0 and tried to edit an existing PDF file. When I try to do this I receive a message that Acrobat has encountered an unknown error - what am I doing wrong?.
-
Heirarchical Drill Down Reports
I went to a contract interview yesterday where the client asked if I could reproduce the heirarchical drill down features they currently have in MS SQL Reporting Services. The design they showed me was where there was a plus sign by each row and whe
-
Hello, We all know that we can't limit the access of some details in profile- they are seen by everyone on skpe. But I noticed this: Before adding someone, I see almost no info on their profiles, maybe just the city and country. After being friends,