Default values for variable in a report not possible
Dear Experts,
I have desinged a query which is having a variable for Fiscal Period and that is mandatory.
Again in my key figures i have restriced a key figure with this variable and offseted it for previous year and also few more offsettings have been done to dervive month wise trend.
The problem is that
I want the report to run without the variable being popup so that it will run for current month by default and then after the report is being run, i want to give a dropdown box where user can select the value.
i tried to do it in web template initial report is runing fine but i am unable to change the values after that.
any suggestions.
Regards
Neel
Hello,
Use a Exit variable with optional settings for user entry which can return the current month. So the user will not be prompted and you have to use the I_STEP = 1 (before user input to achieve this)
In the Web report, use a drop down box and assing the InfoObject 0CALMONTH or as per your requirement
Choose the affected dataprovider in the Property window of the Drop down.
Thanks
Chandran
Similar Messages
-
Default value for variable are not within permitted value range (precalc)
Hello BW community
Issue:
I have created a variable (Characteristic Value/ Manual input-default value) and use the precalculated value set (details-basic settings). In the further variable definition I could select the precalculated value set in 'Default values', which I have defined beforehand in the broadcaster..
The precalculated value set in the broadcaster settings is just based on a master data query on 0CUSTOMER.
Error:
The variable gets the error E991/R9E Errors: Default values for variable 'XXX' are not within permitted value range.
The detail description of the error is: You defined default values for variable 'Sold-to party precalc value set for manuel input' that are not appropriate for the variable type; for example, a range is defined as a default value for a variable that only permits a single value.
So please has someone had the same issue and found out how to solve it? It would be excelent to get good solution for this issue.
Best regards and thanks
Christian
PS-1: System BW 701 / SAPKW70105
PS-2 : there has been a SDN entry with the same topic but not resolved too.
link: /thread/980839 [original link is broken]Hello,
Thanks for your response.
I should have mentioned that in my post. I tried this very first time. I thought that this is the place where you provide default value. But I got following exception at that time, so I thought, may be this is used for something else.
<LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
javax.faces.FacesException: javax.servlet.ServletException: OracleJSP error:
oracle.jbo.NameClashException: JBO-25001: Object viewAllInd of type Control Binding Definition already exists.
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)Do I need handle something else when you put the default value?
Thanks,
Jai -
Setting up default value for POV in Financial Reporting Studio
hello
We need to Set up default value for POV in Financial Reporting Studio. For example, we need period to pick up Sep as default value when we run the report.
Is there any way we could do this???
Regards
NehaHi Neha,
Yes, there is a way to setup of your grid POV. Take a look at this: http://download.oracle.com/docs/cd/E12825_01/epm.111/fr_user/127.html
Cheers,
Mehmet
p.s. Please mark the answers helpful or correct, if they've helped you or answered your question. Thanks! -
Hello Experts,
I have created a report which containts variable 0P_FPER ( Period/Fiscal year,single entery required). Now, the requirement is to get completed fiscal year/month(current month-1) by default in the input box of variable entry whenever I execute the query.
Assigning default values option is not giving me the list of variables to assign for default value.
How can I achieve this?
Regards,
Nirav Shah
Edited by: Nirav Shah on Aug 6, 2008 8:19 AMHow to Create a u201CCustomer Exitu201D Date Variable.
Custom date variables greatly enhance BEx Reporting.
Letu2019s assume you have an InfoProvider with a characteristic 0CALDAY (Calendar Day) and you want to restrict results of your query to u201Ccurrent month to dateu201D.
Scenario:
1. Start by creating a variable for the 0CALDAY InfoObject.
2. Assign u201CProcessing byu201D type u201CCustomer Exitu201D, u201CVariable Representsu201D to u201CIntervalu201D and u201CVariable Entryu201D to u201CMandatoryu201D. Select u201CReady for Inputu201D checkbox if you want a request window for your variable to be presented at runtime (interval values will be filled from your Customer-Exit but a user can still change them).
3. Go to transaction CMOD to create a project for your enhancement (see ref.2). Give a name to the project (1), create (2) and save the project. Then assign an enhancement RSR00001 to your project and
save. (In this step an error message u201CSAP enhancement RSR00001 already belongs to project NAMEu201D may appear. That means an active project with the enhancement RSR00001 already exists. If this is the case, you do not need to create your own project and may terminate this step and go to the step 4). Activate the project.
4. Go to a transaction SE80, display a Function Group XRSR (1,2), open Function Modules (3) and double click on an EXIT_SAPLRRS0_001 (4). A source code for the EXIT_SAPLRRS0_001 function module opens. Double click on a word ZXRSRU01. You arrive to a source code for the Include ZXRSRU01.
5. In the source code for Include ZXRSRU01 insert your code (see sample code below). If some code like DATA: L_S_RANGE TYPE RSR_S_RANGESID. u2026 u2026 u2026 u2026 u2026 u2026 ENDCASE. Already exists in the Include just insert the part of the sample code from the first comment to the last at the end of the existing code but above the ENDCASE statement. Check and Activate.
Code Example:
DATA: L_S_RANGE TYPE RSR_S_RANGESID.
Current month to date variable ZCMTD example.
WHEN 'ZCMTD'.
you variable name
data: ZCMTD_LOW like sy-datum.
*defining variable for using as a starting date of the interval
ZCMTD_LOW = sy-datum.
*initializing it with the current date
ZCMTD_LOW+6(2) = '01'.
*replacing last two symbols (day) in the current date with '01'(see ref.1)
CLEAR L_S_RANGE.
L_S_RANGE-LOW = ZCMTD_LOW.
*initializing low interval limit
L_S_RANGE-HIGH = SY-DATUM.
*initializing high interval limit
L_S_RANGE-SIGN = 'I'.
*defining interval as inclusive
L_S_RANGE-OPT = 'BT'.
APPEND L_S_RANGE TO E_T_RANGE.
Current month to date variable ZCMTD example end.
ENDCASE.
The result of this will be an interval from the first day of the current month till the current system date.
Acknowledgements and more info:
Thanks go to Dirk Herzog and Roberto Negro for their valuable posts on forum regarding Customer-Exit variables.
References:
ref.1 Processing Sections of Strings
ref.2 Customer Exits
ref.3 Date for Several Months topic on BW Forum -
How to set the default value for page item in report
Hi Gurus
I currently i have company name as page item in one of my report screen ,but it is displaying the value for company name in its drop down column ,but i want to make it "*ALL* as default after the query result ",this is user requirement ,please share ,how can i make it ,is it possible ??,thanx in advance
thanx
PratapHi,
I don't think this is possible. You can of course use a parameter to select the page item and default the parameter but then the user will have to rerun the report to see other pages items.
Rod West -
Defaults value for JMOP , JAOP & JSOP is not coming in MIGO
Hello Experts,
If I maintianed condition type JMOP, JAOP, JSOP in SPRO - Maintain Exise Default. Then value comes default in MIGO at the time GR then Part 1, Part 2 also updated But Tax is not calculated in MIRO. I used TAXINN procedure.
Regards,
DipuDear
Make sure that you have to check following few points.
1) All condition records for JMOP,JEC1,JSEP and their respective set off JMX1, JEX1, JHX1 are correctly maintained.
2) Then this tax code should be maintained to company code in SPRO- Logistics General- Tax on goods Movements- Basic settings- Determination Of Excise Duty- Condition Based Excise Determination- Assign Tax code to Company code
3) Then in that same path SPRO- Logistics General- Tax on goods Movements- Basic settings- Determination Of Excise Duty- Condition Based Excise Determination- Classify condition types . Assign all condition types to TAXINN .This is important from the point of view of TAXINN .
For TAXINN maintaining excise default carries no significance except CVD condition types.
4) One more thing in excise PART II entry is everything fine . Else check SPRO- Logistics General- Tax on goods Movements- Account determination - Specify Excise Accounts per excise transactions . There you check all credit , debit conditions against GRPO excise tranaction types.
Revert back if issue is still not solved ..
Abhijit Das -
How to use one variable as a default value for another variable?
Hi Experts,
Is it possible to use one variable as a default value for another variable?
For example:
Variable 1 = current calendar year month
Variable 2 = mandatory input ready variable for calendar year month
I want to use variable 1 as default value for variable 2, but also have the ability to change the month if required.
Thanks!
Kathrynu can use replacement path variable
in that case u can replace the values of 1 variable with the another variable...
but u cannot do this setting
u cannot make variable 2 as mandatory
u cannot enter value for variable 2
because by default it will take the value of variable 1
u have to make follow settings
variable 2
name , technical name
processing by = replacement path
infoobject = ocalmonth
next tab
replaced by another variable
variable name
offset start , offset lenght
save and hit okey -
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 -
Default values for static report parameters are not visible when scheduling
Hello
Crystal Reports 2008 Dev
Crystal Reports Server 2008
When I publish a report to the repository and then try to schedule that report, the default value that I have set for a static parameter in the report is not visible.
In the Parameters section of the Scheduling wizard this parameter is marked as [EMPTY]
However, when I View the report (right click and select View) from within Infoview, the parameter default value is visible
I have published in the following 3 ways:
Publishing Wizard
File > Save As > Enterprise from withing Crystal Reports Dev
CMC > Folders > Add > Crystal Reports
The results are the same for each method of publishing.
To try to eliminate any DB issues etc i have created a report that is not attached to a datasource.
This test report has one Static parameter.
I have set 3 values for its list: Entry A, Entry B, Entry C
Entry X is set as the parameter Default Value
The parameter is placed in the details section of the report
When the report is Viewed it will prompt for parameter entry, with the default value present
When I try to schedule the report is will not have an entry for its parameter
It seems to me that the default values for parameters should be retained from report design through to report schedule, especially when the default values are retained from report design to report View
Is this a config problem that i have ?
Can anyone help me with this ?
Best regards
Patrick Coote
Edited by: PATRICK COOTE on Oct 2, 2008 2:08 PM
Edited by: PATRICK COOTE on Oct 3, 2008 9:23 AMHi Robert
Thanks for the reply and apologies for not responding sooner.
What i have found is that if i use Publishing Wizard to upload reports it is then possible to set values for prompts during the last step of this process.
Although this is a bit clumsy, it is sufficient for now
Best regards
Patrick -
Default search value for Query By Example Report
Is there any way I can add the wildcard % as a default search value for text fields in the customization screen for a QBE report? The aim is to relieve the user from knowing that you have to input the wildcard % in the search field.
Also, Is there a way to change the label of the standard 'Close' button, which is a bit misleading as it actually takes you back to the report customisation window?
Cheers,
ArntHi,
You can give default values for bind variables in sql report and not for QBE reports. Also it is not possible to remove the close button.
Thanks,
Sharmila -
Defining default value for financial reports display in the workspace (9.3)
Hi
I need to change the default value for financial reports workspace preview mode, for every workspace user. It is actually set on html, and I would like to have pdf instead.
This option can be changed when logged on the workspace, in file->preferences->financial reporting->default preview mode. However I want every user to start with the right settings, so they dont have to change anything manually.
I have tried to do it with Shared Services : under projects, BI+, assign preferences. From there I can change the default folder and the start page (the general preferences), however I cannot find the options for financial reporting.
Is there a way to change these values with hyperion tools ?
If not, is it possible to change it directly in the repository DB ?Thanks and best regardsWe looked at this about 2 years ago - from memory, you can only set preferences when the users are first setup in Shared Services, under the manage preferences section of the wizard.
I can't remember if there is a settings file you can edit for the default users - i think there is, but again this must be set before users are set up.
We looked at changing users preferences, but gave up on the idea as all users had been provisioned already :-(
Cheers, Iain -
Abort Could not determine a value for variable 0DAT from the authorizations
Hi All,
I encountered an error '/ Abort Could not determine a value for variable 0DAT from the authorizations\' when executing my query on a multiprovider in BW 3.5.
Can anyone help me in finding a solutionn to this issue.
Thanks,
Kartik.Hi Kartik,
I am sorry as that note is for NW2004s. Please check if 0DAT variable installed from a business content? if not then I think thats the cause of the problem.
Hope this helps,
Bye... -
Could not determine value for variable 0P_FVAEX (or 0P_CTPCA)
I get the below error while accessing a query on the planning Info Cube. I used the SAP Exit variable Most Current Data (Transactional InfoCube) (0S_RQTRA) in the query for the Characteristic - Request ID (0REQUID) to extract the data from the yellow request too.
I do not use the below variables as in the below eror in my query at all. Please assist.
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).
System Response
1. Operation method of SAP-Exit-Variables 0P_FVAEX or 0P_CTPCA
With queries from the CO application, both SAP-Exit-Variables look for an entry for 'controlling area'. With this controlling area from the selection screen, the SAP-Exit-Variables program reads the attributes for InfoObject 0CO_AREA (controlling area).
With queries from the FI application, the SAP Exit Variable 0P_FVAEX looks for an entry for 'company code'. With this company code from the selection screen, the SAP Exit Variables program reads the attributes for InfoObject 0COMP_CODE (Company Code).
0P_FVAEX determines the fiscal year variant (attribute 0FISCVARNT) from the attributes for 0CO_AREA (CO queries) or 0COMP_CODE (FI queries). 0P_CTPCA determines the currency type of the profit center local currency (attribute 0CURTP_PCA) from the attributes for 0CO_AREA.Hello,
you need to take a closer look at your query. Somewhere you used one of the 0P_* exit variables, which work only for controlling related InfoCubes. Use your own variables.
Regards,
Marc
SAP NetWeaver RIG -
Can we set a default value for the container variable in BPM?
Can we set a default value for the container variable.?
Suppose if i have a loop step and i have given a container variable i=5 as end condition.What value will it take during its first execution?Can we set the value for container before a recieve step?Hi
Define Container Variable of Type integer and Category Simple Type .Use Condtion in Loop.
In Container Operation Step Assign value and Use Expression to
Increase or Decrease Valus according to your operation.
look Pattern 4 in this blog to understand Container Operation
/people/sharathchandra.girmaji/blog/2008/09/11/bpm-with-patterns-explained-part-1 -
Setting default value for a jcombobox based on the value not the index
I am trying to set the default value for my combobox to the current year. One way I thought of doing it was to get the index of the value representing the current year and then use setSelectedInex to make it the default. Any ideas?
The relevent section of code is below.
GregorianCalendar gregorianCalendar = new GregorianCalendar();
int year = gregorianCalendar.get(Calendar.YEAR);
String currentyear = year + "";
int startyears = 2000;
int numyears = 25;
JComboBox endyearcombobox = new JComboBox();
endyearcombobox.setBorder( BorderFactory.createLineBorder(Color.DARK_GRAY));
endyearcombobox.setFont(standardfont);
endyearcombobox.addActionListener( new ActionListener() {
public void actionPerformed( ActionEvent event ) {
endyearcombobox = ( JComboBox )event.getSource();
endyear = endyearcombobox.getSelectedItem();
boolean same = endyear.equals(oldItem);
oldItem = endyear;
String[] endyearlist = new String[numyears];
for(int i = startyears; i < startyears+numyears; i++){
String item = new Integer(i).toString();
endyearcombobox.addItem(item);
Thanks
GedThanks mate,
That was what I was looking for. I still had a little more manipulation to do, but sent me on the right track and have got it working now. I don't know why I didn't think of it in the first place.
Ged
Maybe you are looking for
-
Converting Decode function in OBIEE
Hi Guru's we are converting some BO reports to OBIEE and need to convert Decode function Below is the Decode function they are using: Decode ( sign(nvl(BOOKINGS_DATA_UDTC.qty_shipped,0)), 0,decode(BOOKINGS_DATA_UDTC.DELIVERY_NUMBER, 0,decode(BOOKINGS
-
Stacked Canvas Problem in oracle 6i form builder
Hello, i have 2 content canvas "DTL and PUNCH",1 tab,1 horizontal canvas in window1 and 1 another content canvas "parameter" in window2. i have created a stacked canvas under dtl canvas because I have a master-details form. my details has more column
-
I have an 80G iPod video, and had about 3800 songs on there. I had everything backed up on iTunes, but the computer got hacked and permanently shut down. I figured, okay, I just won't ever add anything to my iPod again, because I don't want to connec
-
J2SDK 1.4.2_05-b04 on Windows 2000 SP4 deadlocks
We are occasionally seeing our java process gets hung to the point that we are not able to generate a Java thread dump. We try Ctrl-Break on the console window and also try this tool: http://tmitevski.users.mcs2.netarray.com/trace.do But we never get
-
Hi when I am using CS4 to insert text i want to put some spaces between a couple of words on the same line. i.e. please call this number etc etc how do i do that? Many thanks Mark