Can we dynamically change the column based on drill filter parameters
Hi All,
Is it possible to pass the drill filter parameter from a parent WebI report to Child webI report.
Here is the scenario:
There ar 2 WebI reports: Test1 and Test2.
Test1 is the parent report which is having the drill options and a link to detial report.
Depending upon user selection of Region, Market Unit or Country the detail report should display data dynamically by taking those drill filters as input for prompts of second report.
ie. if user drills to region = APJ, detail report should only display APJ Data at detail level.
If user is on drill level = Market Unit, only that Market unit details should be displayed, similarly for country.
I am able to pass the drill parameters of Test1 report using the formula:
="<A HREF=https:///OpenDocument/opendoc/openDocument.jsp?sType=wid&sDocName="+URLEncode("Test2")
"&sWindow=New&lsMRegion="URLEncode(If(DrillFilters([Region])="" ; [Region_All];DrillFilters([Region])))"&lsMMU="URLEncode(If(DrillFilters([Market Unit])="" ; [MU_All] ; DrillFilters([Market Unit])))
"&lsMMU="URLEncode(If(DrillFilters([Country])="" ; [Country_All] ; DrillFilters([Country])))
">""Detail Report"+"</A>"
But I am not sure what formula I need to write in the Test2 report so that column changes based on the drill filter selection in Test1 Report.
Can you please someone help me out in this?
Thanks in Advance.
Regards
Sindhu
Please find my replies inlined >>>
Hi Tapash,
Thanks for the reply. I have already extended the
VORowImpl class and overridden the setAttribute14.
The value gets stored in the database, but I am not
able to fetch this value using getAttribute14() in
the VORowImpl class. I am not sure why, but my
requirement is to change the value of an attribute
depending on its previous value.
You need to requery your VO to get the data back from the DB
Let me elaborate my requirement. In iprocurement we
have created a requisition using copy to cart
feature. Our requirement is to launch the Account
Generator whenever a requisition is created using
copy to cart.
Okay
This can happen if we change the value of an
attribute. I changed the value of this attribute from
the form
Do you mean you changed the value from forms application ?and observed that account generator is
launched. But as this attribute is not used by
client, I want to change the value of this internally
but it should behave the same way as if the value is
being changed from the form.
I hope this makes the requirement clear.
What i understand is, you need to launch the account generator when you create a req using copy to cart, so let us look at that, i would suggest not to change/use tha flex attibutes if not required, because the client might want to define a DFF on the field tomorrow, that is the purpose of attribute fields, now if you manage to get your requirement by using it today, it might incur rework tomorrow.I will find out how iProc works and would let you know other better way of launching the account generator.
>
Thanks
Similar Messages
-
Dynamically change the column name....
Hi,
I am facing a problem in displaying name of the columns dynamically as a parameter selected from the dashboard prompt.
I have some facts which contains data according to the selected month (From Prompt).
As of now the column names are:
Curr, Next1, Next2, Next3 which displays the data for the months accordingly to the selected month from prompt.
Data is coming correctly but on the report the column name are displayed as Curr, Next1, Next2 and Next3 which I want to be displayed as the month name for which it contains data.
How can I do that? I have tried presentation variables to be used in custom heading but that is only as string.
Thanks in advance !!!
Regards,
S Anand
Edited by: S Anand on Nov 20, 2009 2:29 AM
Edited by: S Anand on Nov 20, 2009 2:29 AMMy scenario is little different, let me explain:
My columns will remain same but values changes (based on column formula) according to the selected prompt value
If I select 'Oct' from prompt then
Curr will contain data for 'Oct' only
Next1 will contain data for 'Nov' only
Next2 will contain data for 'Dec' only
Next3 will contain data for 'Jan' of next year only.
Later if I select 'Jul' from prompt then
Curr will contain data for 'Jul' only
Next1 will contain data for 'Aug' only
Next2 will contain data for 'Sep' only
Next3 will contain data for 'Oct' only.
I don't have different columns for each months but the columns are capable to reflect data for any month.
So, how can I reflect the column name as month name for which that contains data.
Regards,
S Anand -
How to dynamically change the column in tabular form
Hi!
Is there any way to show notice in tabular form if value entered is not in some range?
eg. I click on button add row, and then I fill out values and if one value is not within a certain range then in last column (this column is not included in table) is notice out of range or something else. I know that this can be achieved with validations but this must be just notice, not some restriction. Values I wrote must be inserted into table.
I hope you understand me. I use Apex 4.1 and 11g Oracle database.
Regards,
drama9346Sure you can. If you edit your page attributes you have a field javascript on load. Here you can enter code that does checks or actions depending of user events. Example in the case of a tabular form:
$('input[name=f01]').live('change', function(){
if($(this).val()=='1'){
alert('value is 1');}
This will give an alert if you change the item in the first column to 1.
More about jQuery & events at
http://api.jquery.com/category/events/ -
How can I dynamically change the Application Date Format?
Hi everyone...
In my application (v 3.2) I let the user set the application date format dynamically through a "preference" value they can change on the go.
I then take the format they pick and assign their value (ie: DD-MON-YYYY) and pad 'HH:MI' to it and use this as the PICK_DATE_FORMAT_MASK which works great for most date pickers.
The problem I have is that some date picker I use in the application don't require the HH:MI, they simply need the DD-MON-YYYY part. Could I use the NLS_DATE_FORMAT for this? Would I then be able to use date pickers with the "use application date format"? It doesn't seem to work for me.
In other words, I basically need 2 date formats for my application date pickers; 1 for simply the dates and 1 for dates including time. And these 2 formats are chosen by the user by setting an application preference dynamically at run time.
Not sure if I make sense here....any idea?
Thanks!
Francois"use application date format" is the choice you want.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
------------------------------------------------------------------- -
Can we dynamically change the file name in dst file in Report 6i, Urgent!
I am calling dst file to generate file with diffenet format.
but name of the pdf file should generate dynamically everytime i call dst file,
is there anyway to set the desname in dst file in Report 6i? Any solution,
Thanks for your helpHi Roshan,
Create two RKF's one for Normal Invoices and another for canceled invoices, for doing this you should have some characteristics or some status value which will identify the normal and canceled invoice.
In the Normal Invoice RKF simply restrict the key figure with status restriction as Normal and pull the invoice amount as key figure. And in case of Canceled key figure you will set the status restriction as "canceled" and pull the invoice amount, now for canceled invoice key figure to show the negative value do the following,
Go to RKF properties of canceled invoice and mark the check box +/- Reverse sign, which will show the negative amount.
Regards,
Durgesh. -
Changing the Column Header and Hiding the Column dynamically???
Hi friends..
I'm new to OBIEE field. I'm working in a OBIEE project that requires to dynamically change the column header, and dynamically hide the column depending on the prompt value.
I know we can dynamically change the table header using the presentation variable but I couldn't do that same thing with column header.
I searched some forums that suggest to use java script for this purpose but I'm not able to do the same also. If anyone had same issue before please help.toony, I'm not sure it's possible to do all that you want exactly the way you want, but here are some ideas you can pursue.
To dynamically change column headers without javascript, check this blog out...
http://oraclebizint.wordpress.com/2008/01/25/oracle-bi-ee-101332-dynamic-column-headers-using-presentation-variables-sets-and-conditional-formatting/
As far as dynamically hiding a column, I don't think you can do this, but since you don't provide any details on how the PV is supposed to hide a column based on the value, are you talking about hiding a column for one PV value and another (different) column for a different PV value? Or are you talking about hiding one column when a PV has certain values and displaying it when the PV has a different set of values?
I have managed to create both scenarios via a work-around, but the procedures require some writing so I don't want to put both. Please detail how you want your PV to "hide" a column or columns.
P.S. I don't think column selectors will do the trick for you. Basically column selectors work like this: Say you have a report using Sales Region ID, Region Name, and Sales. Now let's say you want the user to choose if he/she wants to see annual sales, or quarter sales or weekly sales, etc. The column selector view would allow you to put the various columns (Year Sales, Quarter Sales, Weekly Sales) as an option the user can select. Once selected, the sales figure will change for the time period selected. For an example of how this is done, check out the section in this "Oracle by Example" link.
Waited too long to publish this... Madan beat me to it, so there is some overlap here...
http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/saw/saw.html
Edited by: LC143 on Oct 27, 2008 9:21 AM -
Dynamic change selected columns
hi all,
Created an anwers with 5 columns:
level1 | level2 | level3 | level4 | facts
I created a session filter on all the level columns. Like this:
level1 = session.value or
level2 = session.value or
level3 = session.value or
level4 = session.value
Now i want to dynamic change the columns depended on wich column contains the session value.
For example: level2 contains the session value. The ouput I (want to) expect:
level1 | level2 | facts
Hope someone can help with this...tnx in advancedMore information at this link:
http://oraclebizint.wordpress.com/2007/11/16/oracle-bi-ee-101332-using-indexcol-function-varying-underlying-columns-based-on-user-login/
Hope this helps
Swapan. -
Dynamically changing the flatfile name..
Hi friends,
I 'm Getting data from 30 Flat files...all are with same structure but different data.. .. all these files are now in Application server...
now i want to upload data into with a single DataSource and to ODS with process chains..
so, how can i dynamically change the file name in Data Source level.. i saw previous threads.. in that.. through Routines.. we can solve this problem.. but I dont know ABAP code... so, can any one plz give me the exact code.. what i have to write...exact coding..
<b>
I already post this question in forums.... but evry one gave different options.. some one gave the function module..
BAPI_IPACK_CHANGE and BAPI_IPACK_START.
and some one gave other function module.. like .. EPS_GET_DIRECTORY_LISTING
i tryd for All these options.. but i'm not getting the exact solution... even i'm unable to pass the parameters also.. beacuse.. in that function what parameters can i pass....</b>
can u plz suggest me the solution..
Thanks
BabuHi Friends,
for the above requirement i had write the bellow coding in the routine.. it is working.. but the problem is.. it was loading only the last file..(30 th file data only..)
data : z1(50) type c,
z2 type c,
z3(50) type c,
z4(50) type c.
Z2 = 1.
Do 5 times.
z1 = 'C:\Documents and Settings\e10035\Desktop\'.
z3 = '.csv'.
concatenate z1 z2 z3 into z4.
p_filename = z4.
z2 = z2 + 1.
Enddo.
SO, CAN YOU PLZ SUGGEST ME.. when ever the file name was changing in the loop.. that automatically should load into the PSA ..
plz... plz.... help regarding this..
Bbau -
How to change the column header name dynamically based on sysdate
Post Author: senthi_gokul
CA Forum: WebIntelligence Reporting
Dear All,
i have designed some reports. i would like to change the column header dynamically based on sysdate. up to 24 months. can u help me, which add month function using the universe. i dont know if-then-else function is having the universe tool or not?Post Author: prasingh
CA Forum: WebIntelligence Reporting
Are you saying you are not able to create an object by value (select: statement) as sysdate and put it onto the headers of your report? You can use the add_months() function on the object to add the numbers of months you wish.
Please let me knnow for more.. You can get in touch with me on [email protected] for quick reply. -
Can you dynamically change an LOV on the parameter form based on other params?
Can you dynamically change an LOV on the parameter form based on other parameters? For example, based on a entered purchase order number, create an LOV of the purchase order lines that belong to the entered PO #.
Hi
Accouding to my knoledge you can't do it.
If you want to build lov for that particular
value, you can do it in Forms.
Vijay -
Can i change the column width in a table row dynamically
Hi,
There are two columns in one of the row of the table, can i change the width of the cells dynamically.
Sometimes one of them will be blank and the other cell has to print the entire string .
Left cell is left aligned and the right cell is right aligned.
I tried to change the width using field.W but it didnot work.
Regards,
SobhanHi,
We can change the column width of a column dynamically. Try the javascript code in the appropriate event.
Table.columnWidths = "2in 3in 4in 5in";
Thanks & Regards,
Sanoosh -
How can I dynamically change group field column?
Hello!
I need to group data and create group totals for that table. Is
it possible to dynamically change group field column for
specific table, depending on data retreived from parameter form?
Thanks,
Mario.quote:
Originally posted by:
ljonny18
Hi,
I am using a grid within a component in my Flex application.
I have an XML dataProvider, and I want to change the row
colour of my Grid depending on a value coming form my dataProvider
– but I cant seem to get this to work :(
can anyone help / advise me on how I can dynamically change the
colour of my grid row depending on a value coming from my XML
DataProvider????
Thanks,
Jon.
Hi,
a few hours ago I stumbled across this cookbook entry - it
didn't solve MY problem, but maybe it provides a way to solve your
problem?
http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&postId=61&product Id=2&loc=en_US
From the article:
quote:
Changing the background color of a DataGrid cell is not as
simple as changing some style because the default renderer for a
DataGrid cell does not have a backgroundColor. Therefore, to do
this simple task, you have to create a custom itemRenderer where
you draw your own background in the updateDisplayList function.
HTH
Uwe -
Dynamically change the contents of one combo box based on the other
Hi Forum,
I have a question which might have a possibly simple answer. Well anyway help me out since i could not find the simple answer.
I am building an application using Swing and binding with BC4J using JClient. My GUI has combo boxes, grids, editboxes. My requirement is that i should be able to dynamically change the contents of one combo box based on the selected item in trhe previous combo box. For example, when i choose a country in the "country combo box", the "states combo box" should show the list of the states of the selected country.
Now how do i do this using binding. If not, how do i write custom querirs in BC4J layer and return a resultset to the remote application so theat i can populate the dependent combo boxes.
I will appreciate if anyone can help me out in this regard.
Thank You
Sumitthere could be quite a few number of ways of solving this problem.
One way is through event handlers.
taking your example as a model when user selects a country you could fire an action with a flag set to ture. A method will return the states from the DB or your temporary files or what ever and then the true flag will be used in the states combo box rendering.
other way: javascript
this might be a bit clumsy as you will need the states information in a property file and you can get the info as the user selects a country.
regards,
raj -
How can i change the column label text in a alv table display
how can i change the column label text in a alv table display??
A similar kinda of question was posted previuosly where the requirement was the label text was needed and following below code was given as solution :
<i>* declare column, settings, header object
DATA: lr_column TYPE REF TO cl_salv_wd_column.
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
DATA: lr_column_header type ref to CL_SALV_WD_COLUMN_HEADER.
get column by specifying column name.
lr_column = lr_column_settings->get_column( 'COLUMN_NAME1' ).
set Header Text as null
lr_column_header = lr_column->get_header( ).
lr_column_header->set_text( ' ' ).</i>
My specific requirement is i have an input field on the screen and i want reflect that value as the column label for one of the column in the alv table. I have used he above code with slight modification in the MODIFYVIEW method of the view since it is a process after input. The component gets activated without any errors but while run time i get an error stating
<i>"The following error text was processed in the system CDV : Access via 'NULL' object reference not possible."</i>
i have checked in debugging and the error occured at the statement :
<i>lr_column = lr_column_settings->get_column( 'CURRENT_YEAR' ).</i>Please can you provide me an alternative for my requirement or correct me if i have done it wrong.
Thanks,
SuriI found it myself how to do it. The error says that it is not able to find the reference object i.e it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
lr_if_controller TYPE REF TO iwci_salv_wd_table,
lr_cmdl TYPE REF TO cl_salv_wd_config_table,
lr_col TYPE REF TO cl_salv_wd_column.
DATA : node_year TYPE REF TO if_wd_context_node,
elem_year TYPE REF TO if_wd_context_element,
stru_year TYPE if_alv_layout=>element_importing,
item_year LIKE stru_year-i_current_year,
lf_string TYPE char(x),
DATA: lr_column TYPE REF TO cl_salv_wd_column.
DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
Get the entered value from the input field of the screen
node_year = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
elem_year = node_year->get_element( ).
elem_year->get_attribute(
EXPORTING
name = 'IMPORT_NODE-PARAMETER'
IMPORTING
value = L_IMPORT_PARAM ).
WRITE L_IMPORT_PARAM TO lf_string.
Get the reference of the table
lr_cmp_usage = wd_this->wd_cpuse_alv( ).
IF lr_cmp_usage->has_active_component( ) IS INITIAL.
lr_cmp_usage->create_component( ).
ENDIF.
lr_if_controller = wd_this->wd_cpifc_alv( ).
lr_column_settings = lr_if_controller->get_model( ).
get column by specifying column name.
IF lr_column_settings IS BOUND.
lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
set Header Text as null
lr_column_header = lr_column->get_header( ).
lr_column_header->set_text( lf_string ).
endif. -
Can I change the Column Name without losing data and change the sequence
Dear Experts,
I want to change the column name without changing the sequence and dont want lose the data.Oracle Version : ?
Example Based on 10g.
SQL> conn scott/tiger
Connected.
SQL> create table col1 as select * from all_objects where rownum <= 100;
Table created.
SQL> alter table col1 add constraints col1_pk_objid primary key(object_id);
Table altered.
SQL> desc col1
Name Null? Type
OWNER VARCHAR2(30)
OBJECT_NAME VARCHAR2(30)
SUBOBJECT_NAME VARCHAR2(30)
OBJECT_ID NOT NULL NUMBER
DATA_OBJECT_ID NUMBER
OBJECT_TYPE VARCHAR2(19)
CREATED DATE
LAST_DDL_TIME DATE
TIMESTAMP VARCHAR2(19)
STATUS VARCHAR2(7)
TEMPORARY VARCHAR2(1)
GENERATED VARCHAR2(1)
SECONDARY VARCHAR2(1)
SQL> alter table col1 rename column object_id to object_no;
Table altered.
SQL> desc col1;
Name Null? Type
OWNER VARCHAR2(30)
OBJECT_NAME VARCHAR2(30)
SUBOBJECT_NAME VARCHAR2(30)
OBJECT_NO NOT NULL NUMBER
DATA_OBJECT_ID NUMBER
OBJECT_TYPE VARCHAR2(19)
CREATED DATE
LAST_DDL_TIME DATE
TIMESTAMP VARCHAR2(19)
STATUS VARCHAR2(7)
TEMPORARY VARCHAR2(1)
GENERATED VARCHAR2(1)
SECONDARY VARCHAR2(1)
SQL> column column_name format a30
1 select column_name,constraint_name
2 from user_cons_columns
3 where table_name = 'COL1'
4* and owner = 'SCOTT'
COLUMN_NAME CONSTRAINT_NAME
OBJECT_NO COL1_PK_OBJID
SQL>
also go through
http://www.dizwell.com/prod/node/65
Message was edited by:
user52
Maybe you are looking for
-
HT1766 How can I transfer my old iphone number to my new iphone?
I bought the new iphone from verizon and i had another iphone with another carrier and i was just wondering what it is i had to do switch my old cell phone number to my new one without having to go to my new carrier.
-
Installer Error of LabView Run Time Engine 6.0.2 "premature"
I cannot Install the LabView Run Time Engine on a Computer which runs on Windows 2000. The Installation breaks on start with the Error Message: "Installation ended premature, because of an Error!" Does anyone know what to do is ? Thanks for Help
-
Need to turn off Password protection
I was just exploring and set a password and now I need to turn off the password. When I go to the Password page it is "Enabled." How do I disable this?
-
Get starting address of image after openning on Photoshop window.
Dear All, I am newcomer of Photoshop plug-in programming technology and I am implementing an application that get the starting address in memory of image after it was opened on Photoshop window. The process as follow: + User open an image. + The plug
-
3d Graph shows "Evaluation copy" in distributed executables
After I built a LabVIEW 7.1.1 application using 3D Graph (including 3D Graph support), it worked fine on my machine. On another machine without LabVIEW 7.1.1 installed, there is a popup saying: Error loading control. A newer version needed. The defau