2 questions on variables in BEx
Hi,
I have 3 variables popping up on my Selection criteria (when I open a query) which I do not want. I verified all the characteristics in the query and none of these variables show as a restriction on any of the characteristics. Any ideas on where to find and remove them
Also, why would a restriction on 0Plant (a row in a query) have & in its technical name, i.e. at both ends when it was created and on the next day it disappears?
Thanks
Followup to your posts:
For the rows, columns, etc in the structure, I could easily see those key figures and characteristics with Variable restrictions. It is not so obvious when it comes to the RKF, calculated key figure, etc. Is there an easier way locating such an object other than going through all the restricted key figure, calculated key figures (looking through the various formulas), etc? This will take forever.
Also, under the rows, char, etc, I could also see variables based on the icons but now, searching through formulas, etc in RKF, calculated key figures, it is becoming tough. Any way to identify a variable in a formula other than knowing the variable complete name?
The variables are: Plant to, Business Area hierarchy, Valuation class hierarchy and movement Type
Thanks
Similar Messages
-
Hi!
I have a question.
May I use BPS variable in BeX?Hi,
You dont have that functionality in BPS. You can find this functionality in Integrated Planning.
Regards,
Ravi Kishore -
Connection between 2 variables in bex variables screen
Hi all,
Can anyone help me please with the following scenario?
I need to create a connection between 2 variables in BEx variables screen.
Example:
2 variables in the selection screen:
Prod Hier. 1
Prod Hier. 2
When a user make a selection in the first var. (Prod Hier. 1) in the var screen, i need that the F4 help in the second variable will show only the Prod Hier. 2 that is under Prod Hier. 1.
Any help will be gratitude,
Y.BHi,
your question:
When creating a replacementpath variable you don't have the option to make it depends on other variable entry (i didn't find the option) I'm using BEx 7
Answer:
In BI7.0 Query designer, replacement path with other variable entry is possbile.
your requirement:
When a user make a selection in the first var. (Prod Hier. 1) in the var screen, i need that the F4 help in the second variable will show only the Prod Hier. 2 that is under Prod Hier. 1.
my answer:
replacement path with variable will not suit your requirement as far as i know.. any way let us wait for other experts reply...might be someonw knowing.
if it is useful assign points.
Regards,
Senthil -
How to create Text Variables in BEx Query Designer
How can i create Text Variables in Bex Q.D.
I am able to create characteristic variables
but i can't find option to create text variables.
What's the requirement to create Text variables in Bex Q.D.
When i try to create Text variable for 0calDay.. the variable type is characteristic by Default and disabled.
How can i create text variables related to 0CalDay with which i need to work in Customer Exit.Hi,
You have to create characteristic variable processing by Customer Exit by considering 0CalDay as a Reference Characteristic
After creation of the above variable, you restrict your KF with the above created variable.
Now you can create a Text variable for the description of your KF. This way it works...........
Regards,
Suman -
How to create a variable in BEx 7.0
Hi,
Can anyone please tell me how to create a variable in BEx 7.0
In 3.5, when we right click on a characteristic, we used to get an option for restrict.
I cant find any such option in 7.0Hi,
Right click on the characteristic 0CALMONTH in the default values or drag it to char. restriction section and say restrict.Pull the drop down menu in that to select variables. There u will get a create icon.Click on that...then in details tab u can specify whether mandatory,interval and all..
Regards,
Rathy -
Calendar prompt for Date variable from bex
Hi All,
I have a Bex query where I have a variable on 0CALDAY
- Customer exit (i_step = 1 to populate with current date)
- Single value
- Mandatory
I created universe on this query and in webI selection screen i do see the variable prompt.
I am not able to see the current date populated automatically since exit values are not populated to WebI at runtime.
My problem is that in WebI selection screen we get list of date values from the info provider instead of Calendar prompt
where user can enter the values directly.
I am currently on BO XI 3.1 SP3.
Is there any specific setting in Universe or bex query which is required to get this Calendar prompt instead of list of values for dates?
Note: When we were on SP1 the universe created then had same variable from bex and it still shows us Calendar prompt but ever since we upgraded to SP3 for the query splitter functionality we not able to get the calendar prompt for date variable in new universe we create
Thanks
RiteshYep.
Now tell me how you want to show that Prompt @ WebI report level.
My problem is that in WebI selection screen we get list of date values from the info provider instead of Calendar prompt
where user can enter the values directly. Exactly, i didn't get this??
@Prompt:
You have flexibility to show options like:
Mono/Multi: User can select Single value or Multiple.
BW Variable: Same we have (Single/Multiple)
Free/Constrained: User can Enter his/her value directly or No change option.
BW Variable: By defalut you will get this, once you made it to Optional input.
Persistent/Not_Persistent: Refreshed report has to show last selected value means use Persistent otherwise Not_P.
By seeing the Prompt syntax , I can say your Variable is after Customer Exit, Correct??
Workaround for your Problem is:
<FILTER KEY="ZV_DATE"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date (Previous Day)','A','Date\LovDate (Previous Day)Base',mono,primary_key)"/></CONDITION></FILTER>
You have to remove that Date class and objects from prompt syntax. Because of that it showing up LOV's not calendar.
Like:
<FILTER KEY="ZV_DATE"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Date (Previous Day)','A',',mono,primary_key)"/></CONDITION></FILTER>
Why, It should be blank??
Because Date needs no class\object to show up, by default you will get Calendar on the fly.
Hope you got my point.
Thank You!! -
'Text' of a variable in Bex selection screen
Hello,
We have a customer exit variable in Bex Query selection.it is mandatory,ready for input,interval which is on 0CALMONTH2.
In Bex selection screen i am not getting text of default/entered months.
for example: if default value is 2 to 4,then text would be FEB to APR.
what could be the reason?how to get teaxts of entered values?
(we have one more customer exit variable on 0CALMONTH2 which is single value and it shows text of enterd values in bex selection)
In web it is working fine.
RakeshHi,
Try to create an another customer exit variable for 0CALMONTH2 with mandatory,ready for input,interval. refer the abap code of the another customer exit variable(single value variable) of 0CALMONTH2 which you have mentioned in the bracket and modify the abap code based on the selection - interval. hope it helps.
Regs,
Vachan -
How to create variables in Bex query
Hi all,
can anyone please explain how to create the variables and how many types of variables in Bex Query.
Thanks in advance
JamesHi James,
You can create variables in the BEx Query by right clicking on your characteristic and then selecting Restrict. A pop up window will appear. On the left side of the pop-up window, right click on a white space and then select New Variable. The Variable Wizard will then appear - you can now create your variable acording to your specifications. For more info on variables, please click on the link below:
http://help.sap.com/saphelp_nw04/helpdata/en/f1/0a56a7e09411d2acb90000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/61/579b3c494d8e15e10000000a114084/content.htm
Hope this helps,
Juice -
Is it possible to create a variable in bex with the last work day?
Hi Gurus
Is it possible to create a variable in bex with the last work day?
Actually end-user every day open queries,
- Put in selection date day - 1 or
- put last Friday if the day is Monday or
- put last Thursday if the day is Monday and Friday is holiday (in a calendar for example 25 the December).
Please do the needful. It is urgent
Thanks in advance
RajTry this logic in a customer exit:
DATA: l_s_range TYPE rsr_s_rangesid.
DATA: X_PERIOD LIKE T009B-POPER,
X_YEAR LIKE T009B-BDATJ.
CASE I_VNAM.
WHEN 'ZPREVWORKDAY'.
DATA: l_DayOfWeek(1) TYPE C,
l_act_date TYPE d,
l_prev_date TYPE d.
l_act_date = sy-datum.
CALL FUNCTION 'DATE_COMPUTE_DAY'
EXPORTING DATE = l_act_date
IMPORTING DAY = l_DayOfWeek.
CASE l_DayOfWeek.
WHEN '1'.
l_prev_date = l_act_date - 3.
WHEN '2'.
l_prev_date = l_act_date - 1.
WHEN '3'.
l_prev_date = l_act_date - 1.
WHEN '4'.
l_prev_date = l_act_date - 1.
WHEN '5'.
l_prev_date = l_act_date - 1.
WHEN '6'.
l_prev_date = l_act_date - 1.
WHEN '7'.
l_prev_date = l_act_date - 2.
ENDCASE.
l_s_range-low = l_prev_date.
APPEND l_s_range TO e_t_range.
ENDCASE.
Edited by: Tyler Blouse on Feb 13, 2008 8:28 PM -
Not able to access the Date variable in Bex report after SP upgrade
Hell Experts,
We have upgraded the support pack to 27 and after that we are not able to access date variable in Bex report.
We are not able to restrict the Posting date on variable, we are getting the message "Operation failed! No detailed error information from backend available".
Thanks
ChetanHi,
carry out basic checks like RSRV for the field,query ,Infoprovider on which this query is based..
Check whether there is any in consistent value in the posting date..
check whether objects are active correctly..
else serach for SAP note or raise OSS to SAP..
Thanks and regards
Kiran -
Dear fellow developers,
I'm trying to edit an existing variable using BEX query, so that it can allow multiple input selections.
As you can see in the screenshot attached, the option is selectable during creation.
However, during editing of an existing field, this field (Details -> Basic Settings -> Variable Represents) is not selectable.
Does anyone knows why, and how to remedy this?Yes you can do it at the table level.
Go to SE11 enter table name as RSZGLOBV.
Enter the technical name of variable in VNAM field..You need to change the value in VPARSEL column.
Please make sure to get the where used list of this variable so that you can know the impact,if something goes wrong.
Also change it in DEV and then transport across the landscape.
PS:Same thing has been described in this blog as well
Changing BI variable parameters
Regards,
AL
Message was edited by: Anshu Lilhori -
How to Write a CUstomer Exit for a variable in BEx
Hi,
How to write a customer exit variable in bex Query designer
Do i need developers key for this (If so what type of key do i need so that i can ask basis tean to generate)
Info Object: ZEXP_DTE (Expiry Date)
Variable on ZEXP_DTE :
ZEDTE
Type: Customer Exit
Can any one please tell me how to write a code in CMOD from this (Step-by Step)
Expiry Date > Current Cal Day
As arun said
'l_s_range-low = SY-DATUM.
l_s_range-opt = 'I'.
l_s_range-sign = 'GT'.
APPEND l_s_range TO e_t_range.'
I want to insert the above code for the above customer exit but as i am new to BW as ABAP please explain me what are the steps involved in CMOD
ThanksHi,
To write customer exit for a variable, you require Access key.
Contact your BASIS to get that.
Access Key,BASIS?
To write Customer exit,
User Exits
User Exit for Variable
/thread/809285 [original link is broken]
Hope these helps u...
Regards,
KK. -
Question on Variables in OBIEE
Hi,
I am prasanna.I have a question on variables.
Is it necessary to create a different connection pool for session variables? I am unable to use the same connection pool for both repository and session variables.
can anyone help me.
Regards,
prasanna.Hi Prasanna,
You can use the same connection pool by checking out “Allow First Connection for init block” to true
For setting *“Allow First Connection for init block”* follow below steps :
1. In the Administration Tool, select Tools, then select Options to display the Options dialog.
2. On the General tab, select ”Allow First Connection for init block.
But this option is not a best practice and might cause performance issues.
Better think is to use Different connection pool for variables.
Try this... -
Rectrict list of possible values for variable in Bex
Hello folks!
I need to give a user possibility to choose only few value for variable in Bex report. Number of entries in master data is huge. I need to show only 7 possible values in the window with variables.Amy,
You have a tricky requirement but I can only think of one thing but it would require user training. Try the following.
You can setup a new variable with default values and define it as type multiple single values.
The user could in the variable screen would then need to take out the ones that are not needed.
Hope this helps.
-Sid -
HOW TO DO VARIABLE IN BEX ANALYSER IN BI-7 GIVE SCREENSHOTS DETAIL
HOW TO DO VARIABLE IN BEX ANALYSER IN BI-7 GIVE SCREENSHOTS DETAIL
Hi
I hope these links helps you,
Defining Variables:[http://help.sap.com/saphelp_nw70/helpdata/EN/ac/789b3c4d4d8d15e10000000a114084/content.htm]
Maybe you are looking for
-
Manual loading of 2lis_11_vaitm
HI all, I have downloaded the base tables of 2lis_11_vaitm data source namely VBAK, VBAP, VBUP, VBKD into 4 excel files (small size tables data...). Now I have to upload into BW manually to 2lis_11_vaitm business content datasource. what is the best
-
Incomplete DataMarts in non-cumulative InfoCubes during extraction proccess
We want to transfer the stock's information from one infocube to other, we followed the OSS 375098 but we are still having some problems, we have 2 registries by plant,date,material as the result of the reference point in the source cube, now we're t
-
DVD tray keeps ejecting DVD disc
Hi! Recently my eMac has stopped playing DVDs or any music CDs. When I close the tray with a DVD or a CD, it keeps closed for about 10 seconds and ejects. I have done basic troubleshooting like restarting and using the eject/close button on the keybo
-
Why do some letters/words not print exactly as typed
my converted letters are showing misspellings. Why does this happen and can it be fixed?
-
Best practice for mutable global variables
I have read around a couple of posts regarding the topic and still haven't come to any with just the right answer for the best way to work with a variable which everybody other object needs to read and/or write? I have read about multiple ways for im