BEx variable input value
Hi,
I have created a BEx Query, now based on selection screen inputs.
Selection Screen Inputs:
MATNR -
PLANT-
SLEVEL-(User Input Value) Mandatory
Now when i select inputs at the time of running query eg;
MATNR - 'ABC'
PLANT-'A123'
SLEVEL-'0.55' (User Input Value)
Now my report should look like this.
MATNR | PLANT | SLEVEL
ABC A123 0.55
ABC A123 0.55
Here SLEVEL value shld be user input value. How to achive this?
Hi,
Using Formula varible and Boolean expression concept you can get it.
1) Define a formula varible with user entry.
2) USe the varaible in the expression ,for ex:
FV2 = (fORMULAVARIABLE == SLEVEL ) * SLEVEL
3) PUT CONDITION on FV2 not equal to 0.
OR
Simply use Condition Varaible.
With rgds,
Anil Kumar Sharma .P
Message was edited by: Anil Kumar Sharma
Similar Messages
-
F4 help-only posted values-Bex variable input
Hi
I have one hierarchy node variable on an infoobject.This infoobject is authorisation-relevent.The infoobjects hierarchy is activated in query designer.We have many hierarchies for this infoobject,one for every year.Recently,we chose new hierarchy for this infoobject as we moved into year 2011.
When I execute the query,in the variable input help F4 of the hierarchy node variable on this infoobject,I could see only some nodes(I couldnot see the required one).My user is unable to see anything.Please suggest how I can fix this problem.
I have two problem:
1.I want to see the present nodes it is showing together with some more nodes that came with new hierarchy
2.As of now,my business USER is unable to see anything in F4 help for this variable...I want him to see the nodes which I would like to see also.
How can I fix these problems?All suggestions are welcome.
My investigation:
I checked infoobject settings..'Query Execution Filter Val.Selectn' is set to 'Only Posted values for navigation'....Does that mean infoobject will show only those values in F4 help that the query can find data for,in infocube in current navigation state..??
And there are two other options which can be choosen at infoobject level for 'Query Execution Filter Val.Selectn':
1.'Only Values in Infoprovider'--It will show only those values in F4 help for which there are values in dimension tables of cube/ods(does it mean in other way ,that master data for which we have transaction data in cube/ods???)
2.Values in Master Data tables:all values from master data tables.
Let me know if have wrong idea.........................
Regards.Hi,
at the infoobject level always you need to select "all master data values".
please check the version of the hierarchy what ever you are using till 2010 you might be using one version in 2011.
load the info-object with the new version at the infopackage level.
hope this helps
Thanks & Regards
krishna.y -
Variable input values in the query are displayed wrong
Hi experts,
I executed a report and in the variable input screen it asks for a key date and company code.
We entered key date and company code and executed the report.
We want to take a print out of the output. But the variables which we entered in the variable screens are
dispalying wrong. i.e if we have entered company code as gsml and key date as 01.01.2008.
In the report output I am getting as:
Company code: gsml
Keydate: #..27-11-4745
But keydate should be displayed as 01.01.2008
How to solve this ?
Regards,
Nishuv.Nishuv,
Please follow below steps:
1. Open query through Bex - Query Designer
2. Beneath the Rows Area( where you actually drag in charactertistics), you'll be finding two tabs Filter and Rows/Columns
3. Click on Filter Tab
4.You'll be navigated to a window, there you can trace two Workareas
a. Characteristic Restrictions: Where drag in the relevant Prompts/Input Variables
b. Default Vaules
5.First, Drag the required promts/Input Variables in Characteristics Restrictions.
6.Click on the varible which was dragged in Characteristic Restriction area and drop it into default values area.
7.Now you'll have visibility of variable in two regions, Characteristics and Default Values.
8. Save and Execute the Query
Regards,
Yaseen -
Hi everyone,
I have an issue with Input Parameters in BEx Variable Screen. For Example, I have included Customer Name in the Variable Screen. Then , the user says, he does not remember the complete customer name. There will be thousands of names. Instead he remembers only a few Initial Characters. For example, if the customer Name is ZSAMSUNG. He only remembers ZS out of the whole name.
In that case, he wants to enter ZS* in the Variable Selection Screen for Customer Name. But this is not working in BEx. It says invalid Parameters. I have created a Characteristic variable with Manual Entry.
Currently, I am working on BI7.0, Support Package 11.
Please provide your valuable inputs.
1) Is it possible create a Customer Exit Variable for the same with some logic.
Regards,
SamiirHi Samir
Sry, but I think that this functionallity is allredy usable in Bex.
When the variable-screen appears, the customer has to press F4 for help.
Another screen pos up.
-> in that screen, in the FIRST ROW, the customer can seach by therms:
in the first column: KEYS
secound column: Text
other columns: attributes if available
he also has the possibility to search with *
like ZS* for ZSAMSUNG
try out, it works
reagrds
Tom -
BEx Variable default value does not pass thru to Webi report
Hi,
It appears that the integration between BEx and BOBJ Webi does not support default values when the webi report is scheduled. This means that if Webi/Infoview is the delivery method, than clients require 2 reports. 1 for adhoc and 1 for scheduling. Is there another way around this so 2 reports are not required? See SAP Knowledge Base Article https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3030303136363534393826
Regards,
Dae JinHi,
Yes it is not supported. you can achieve by writing customer exit for this.
in istep 2,
check whether the variable value is intial.
if intial
pass default value
if not intial (else)
dont do any change, just pass the user input to restriction.
-Sriram -
BEx Variable Input Help (F4) Maximum Number of Rows
Hi Experts,
We using Bex 3.x version. Now, the user is asking to change the maximum number of rows (by default 500, for my case) to 1000. (While executing the workbook, on the variable pop-up screen where we can search for input help (F4) values). For surely, there is some global setting needs to be corrected but not sure. I have checked in T-code: SPRO and some of the threads but not get the apt solution.
Could you please share us your inputs/experiences as how can we increase maximum number of rows in the input help.
Many thanks in advance!!!
Best Regards
Venkat...Hello Venkat,
Is there is a way to setup that, you will find into this KBA Article (SAP Note):
> 1565809 - Settings for BW query F4 help
This is a really good documentation about how F4 works and how to setup the configurations and where you have to do that.
Kind Regards,
Edward John -
Variable input values issue with Portal reports in WAD
Hi Gurus,
We have issue with our reports which are created in WAD and when executed through CRM portal. We are executing the report with some selection criteria by changing default values, and once we get the out put we use SAVEAS option to save the report to favourites. But the issue arises when we open the reprot again by clicking OPEN tab next to SAVEAS button. It opens our report, but the selection screen vaues are getting changed to default instead of showing the values which we entered before saving the report.
ex: we have fiscalyear/period: default value is 001.2009 - 010.2009, but i changed the value to 001.2010 - 010.2010 and saved the out put of the report. when i reopen the report useing open option, it is showing 001.2009 - 010.2009 in input screen.
Please let me know if some one has come accross this issue, or is it standard SAP behaviour. It is working fine when executed through Query designer. This is not related to personlization of variabl.es.
Regards,
YadaHi Hari,
Thanks for your promp response...but is there any settings to get the variable values with out saving as variant, because its working fine when executing through query designer....
Regards,
Yada -
Missing user variable input values in export to excel functionality
Hi,
I have a problem in exporting data into excel, I could able to export the data with complete result rows but i am not able to see the user input variable values.
To be in detail: The moment i execute the report in web, user gives the initial variable values as selections and run a report. The data will be displayes as per the user selections. Then the user clicks on export to excel (designed as per SAP how to), now the excel data shows the body of the results but the initial input variable values are missing.
It would be really good if we also export variable values along with the report output.
If any of you solved this requirement, could you please help me in solving this.
Thanks in advance
Regards
VaradaHi,
Here is a solution to make visible the Values of variables you selected in the Excel File.....
1.Create a Web Template with an Analysis Item and Info Field Item
2.Assign the Data Provider which contains varaibles to the Analysis Item
3.Assign the same Data Provider to an Info Field Item
4.In the Properties of Info Field Item,
Set the Visibility as "Visible"
Data Binding as "Variable Value" and mention the varaible
Save the Web template->Execute and Export to Excel
Now you will get it in Excel file
For more info....
Re: Display values of variables in exported excel file
Rgds,
Murali -
BEx variables restricted value not shown
Hello,
I have 2 variables defined and used in a query. I put both these characteristics as global filters.
When the query is run, a popup screen allows user to input these 2 variable values.
The navigation block in the worksheet shows only 1 of the 2 variables values entered by the user. That is, only the restricted value for one variable is shown. The other is not shown. The result is, however, correct.
Not sure why is it so. Hope to get some clues.
Thanks.
Regards,
Mirella RussoDear AVR,
Thanks for the reply.
I placed the period and year infoobjects restricted by their respective variables in the free characteristics area but still the filtered values are not showing, although the period and year characteristics for filtering are shown as normal in the navigation block.
I have several other reports also using the same period and year variables in free char or global filter section without such 'anomaly'.
I noted that this problem report has columns restricted also by period and year variables. In fact, the year variable is an offset of -1. Is the problem caused by this restriction?
I tried creating a new query of the same design. The problem is replicated.
I hope you can throw me some more clues.
Appreciate it very much.
Thank you.
Best regards,
Mirella Russo -
Hi everybody,
I am doing a BEx report and I have created User Exit variables and Text Variables based on InfoObjects that exists in the InfoCube. But I am needing a Globla Variable, that is not related to the InfoObjects in the InfoCube; depending of the values of this variable, some claculated key figures will have a diferent behaviour.
Please, how can I create a variable of this type? is it possible in Bex? if not, any suggestions?
Thanks and Regards,
Luis Jorge CastroJorge,
In the Variable screen, you are giving 1 or 2 or 3, you need to get the description for that. Can you tell where you created this Variable? on which info object you created? for that same info object maintain the Texts
1:Equipment
2: Physical units
3: some thing.. etc.
display this value with either Text or Key and Text.
All the best.
Regards,
Nagesh Ganisetti. -
Bex Variables Varinats values changed
Hi All,
I have a variable used in the query which is on the charecteristics source system(X). And we have lots of variants created on this query for this variable. Now I will be using another new char(Y) source system and will be creating a new variable on this.So if we replace the old char and add the new char in the report the variants are going to break.
Please let us know how can we fix those variants
Regards
MonaHi,
First regenrate your query in RSRT.
Check if is there any authorization check for that object.
You may refer following document fopr appropriate F4 help settings.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20ecb78c-374a-2d10-c6af-f024f19b785d
I hope it will help.
Thanks,
S -
Variables/Input Parameters Value help not showing texts
Hello,
I have created a crystal report based on a calculation view in Crystal Reports for Enterprise 4.1 SP5, which has a input parameter on the field "Region". For the value help, I am using a custom view based on T005U in which I have made sure that RegionName field is present in the "Label Column" property of the Region field.(Required for viewing descriptions of LOVs).
In the crystal report, while previewing data in the query builder, I am able to see the value help for the input parameter in the prompt screen, which displays only the key part, but does not display the description of it. Moreover, after accepting the prompt value, the preview runs into an error(as shown below). Please note that I get the error below only when Region is a part of the output fields of the query.
Instead of input parameter, when I create a variable on the region field in the main calculation view, with the same value help view, I am able to do data preview in the query builder as also data appears in the report on running the query. But, just as in the case of input parameter value help in the prompt screen, even over here, I am only able to see the key part and not the description.
Are variables/input parameter LOV's supposed to display descriptions or just the key part? As also, any reason why I should be getting this error while using Input parameter?
Kindly let me know if I am missing something in the development of this report.
Regards,
AlstonHi,
I hope you are taking the BEx Query as a source to the crystal report. In the BEx query check region info object should is maintained as Text and Key. If text is not maintained over there you will not be getting text in Crystal reports.
Krishna. -
Dynamic field selection by variable input in bex report
Hi Frineds,
I have created variable on characteristic ( 0CURTYPE ) which mainly have two values 'A' and ' B' .Based on my variable input in Bex I have to dynamical select key figuers Example .
0CURTYPE KeyfigA KeyFigB
A 123 Rs 144 $
B 124 Rs 145 $
In above example is user select A I have to display KeyfigA if I select B then i should display Keyfig B in Bex report .
I know that by using user exit in report we can do but I would like to try with out Exit .
Thanks ,
Kumar.Your formula variable allowed to be of type either number or amount or date or quantity which are all numeric(currency type/type tab) .But your reference characteristics is a letter.So there is an inconsistency here and you can not make equal your formula variable and 0currtype's variable.
Have a look at Akshata's post in this thread :How to create formula variables in sap bi?
Therefore this model does not work and I can not see any other way apart from a very simple user exit which says if 0currype=A, then formula variable=0 else if 0currtype=B then formula variable=1.After that you can use your formula variable in your formula since the letters are now converted to numbers.
By the way it mustn't ask two things in the selection screen.Since your formula variable takes the values of 0currtype's variable automatically.Did you create the formula variable with replacement path(general tab) referencing to 0currtype?Just create a formula, enter this formula,right click create formula variable,go to general tab then replacement path then reference to 0currtype.But as I told, you nevertheless can not achieve it, just explaining it.
Regards,
Sunny -
Max number of entries in the variable input list (F4) of Bex Analyzer Query
Dear BW experts,
When I run the Bex Analyzer query, it pops up the variable input screen.
If I don't know the specific value of the variable, then I can click on the input help (F4) to get a list of available values. There is a max number of entries coming back to the list. For my BW system, it is currently returning 500 values. For other people and SAP Help document, it could be 1000.
My question is: Do you know where we can configure/set this max value? Is it a global setting?
Thanks in advance for your help in this matter.
Kevin-Murali & Pra,
Thanks for both of your answers. I think the answers that you provided are for BW 7.X version.
It is flexible and exactly the way it should be for each user to customize a specific variable.
I am running BW 3.5 query, and don't see the "Settings" option/button after I got the list of single values back.
Is there a way to set this up for BW 3.5 query Analyzer? My max value is always 500 for all variables. Is there a place for setting this value and save for the next time.
Any help from any BW experts is appreciated. -
BEX Analyzer 7.0 - Use the content of an excel cell as an input value
Hi all,
Is it possible to use the content of an excel cell as an input value for a bex variavel?
Iu2019m using bex analyzer 7.0.
Thanks in advance,
Cátia Coelho SilvaHi Catia,
Yes it is possible to import values from exel. But this will gives you "INCORRECT INPUT PARAMATERS"..
So it is still best to use "Notepad" as your import file type.
Just copy your input parameters on the notepad then upload it via 'import text file'.
Please be sure to use Multiple selection type variable.
Maybe you are looking for
-
IN ALV Report 'SAVE LAYOUT' option missing
Dear All, I have created one report in ALV GRID using ABAP OBJECTS(Using class CL_GUI_CUSTOM_CONTAINER and CL_GUI_ALV_GRID).But in output when i click on change layout option i am not getting SAVE layout option. I have already passed I_S
-
We have an application developed in Jdev 10.1.3.4 (JSP, Struts, ADF BC) and running on OAS. Now we have a big problem with session, hope somebody can help with some ideas. We set session time to 45 min in the web.xml. The problem is that sometimes so
-
How to insert new Item in JCombox through setEditable?
Hey guys, Is there somebody who can help me on how to insert new Item in the JComboBox through setEditable? JComboBox box = new JComboBox(); box.addItem("");box.addItem("a"); box.addItem("b"); box.setEditable(true); When I run it and selected the in
-
Hi Friends we trying to Configure the File to File Scenario.. and message is processing successfully in SXMB_MONI but in the runtime workbech we have the error in communication channel. Error when getting an FTP connection from connection pool
-
Dear All, Please provide the logic to get the sales order header text into new customising report.