Dynamic Column choices Analyzer 72 with HFM
Does anyone know how to setup a tabbed report group to show three different generations of the Period dimension in HFM? I would like to have a set of three radio buttons that let the user choose whether they would like to see 12 monthly columns, 4 quarterly columns or 1 yearly column. When I set it up in Analyzer now I get a "missing row tuples" error when I try to choose anything but the lowest level of the dimension.Thank you,Alex
I have the same problem. However, I was able to do a hide rows that have n/a which is good for TY (this year), however LY still remains Because there is data for all weeks for LY. Is there a way to hide the LY without manually going in and hiding it? I currently have it set up where all my weeks for the entire Year are put into the query but it only displays if data is available. I am able to make it work if I put Location above TY & LY and put the rule focused on Location "n/a". However this limits how I can display the data. Benjamin
Similar Messages
-
Dynamic column names in Oracle
HI SOS!! calling for help...
i am trying to query the following. I want to remove the duplicates in the ID, and combine them into one... While doing so, I want to keep the data as it is by creating dynamic columns reason_1, reason_2, reason_3 with their corresponding TIME. In case of same reasons, I want to add the TIME. The database is as follows:
ID REASON TIME
A 41A.......... 27
A 93K..........16
B 89C...........3
B 93K...........7
B 48C.......... 4
C 93K.......... 24
C 93K.......... 7
C 48C.........10
Expected Result is
ID REASON_1......TIME_1.... REASON_2...TIME_2....REASON_3.........TIME_3
A........ 41A............ 27........... 93K............16
B........ 89C............ 3............ 93K............7...........48C.................. 4
C........ 93K........... 31.......... 48C..............10
Would be grateful if someone could try helping me out of this as early as possible.
Edited by: 968125 on Oct 28, 2012 11:01 PMYou still haven't made it clear what the requirement is.
Is there a maximum number of reasons that can occur per ID? If so, you can code the pivoting of your data with something like:
SQL> ed
Wrote file afiedt.buf
1 with t as (select 'A' as ID, '41A' as reason, 27 as time from dual union all
2 select 'A', '93K', 16 from dual union all
3 select 'B', '89C', 3 from dual union all
4 select 'B', '93K', 7 from dual union all
5 select 'B', '48C', 4 from dual union all
6 select 'C', '93K', 24 from dual union all
7 select 'C', '93K', 7 from dual union all
8 select 'C', '48C', 10 from dual)
9 --
10 -- END OF TEST DATA TABLE SIMULATED USING 'WITH' CLAUSE
11 -- SIMPLY USE THE SELECT STATEMENT BELOW ON YOUR OWN TABLE
12 --
13 select id
14 ,max(decode(rn,1,reason)) as reason_1
15 ,max(decode(rn,1,time)) as time_1
16 ,max(decode(rn,2,reason)) as reason_2
17 ,max(decode(rn,2,time)) as time_2
18 ,max(decode(rn,3,reason)) as reason_3
19 ,max(decode(rn,3,time)) as time_3
20 ,max(decode(rn,4,reason)) as reason_4
21 ,max(decode(rn,4,time)) as time_4
22 ,max(decode(rn,5,reason)) as reason_5
23 ,max(decode(rn,5,time)) as time_5
24 from (/* assign some row numbers within each ID, ordering by 'reason' then 'time' */
25 select id, reason, time
26 ,row_number() over (partition by id order by reason, time) as rn
27 from t
28 )
29* group by id
SQL> /
I REA TIME_1 REA TIME_2 REA TIME_3 REA TIME_4 REA TIME_5
A 41A 27 93K 16
B 48C 4 89C 3 93K 7
C 48C 10 93K 7 93K 24In this example, it will cater for up to 5 reasons/times per ID... and you can code for more if you need very easily.
Also, as you're using 11g, you can use the new PIVOT query, for which you can find plenty of examples if you google or search these forums, or follow the FAQ link.
If you don't have any idea how many reasons there could be, then you really are looking at generating columns dynamically.
The problem with that is, because Oracle needs to know the SQL projection (see the FAQ link already provided), it has to know how many columns are going to be returned from a query before any data is fetched... but you are saying that the columns returned have to be based on the data itself. To do that you have two main options:
1) You query the data once to determine how many columns you are going to need and then dynamically build up a query in PL/SQL code with the right number of columns (or use one of the other dynamic methods shown in the FAQ)
or
2) You step back and ask yourself if SQL is really the best place to be trying to produce this output. Reporting tools are often better suited to this requirement as they are made to query the data back from a database and then pivot and layout the data based on the data returned. -
How can we get Dynamic columns and data with RTF Templates in BI Publisher
How can we get Dynamic columns and data with RTf Templates.
My requirement is :
create table xxinv_item_pei_taginfo(item_id number,
Organization_id number,
item varchar2(4000),
record_type varchar2(4000),
record_value CLOB,
State varchar2(4000));
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
select * from xxinv_item_pei_taginfo;
Item id Org Id Item Record_type Record_value State
493991 224 1265-D30 USES fever TX
493991 224 1265-D30 HOW TO USE one tablet daily TX
493991 224 1265-D30 SIDE EFFECTS XYZ TX
493991 224 1265-D30 DRUG INTERACTION ABC TX
493991 224 1265-D30 OVERDOSE Go and see doctor TX
493991 224 1265-D30 NOTES Take after meal TX
Above is my data
I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
its a BI Publisher report.
please suggestif you have data in db then you can create xml with needed structure
and so you can create bip report
do you have errors or .... ? -
How to create a report with dynamic columns
Hi all,
I am using Apex 4.0 with Oracle 10g
I am creating a report and I need to display columns dynamically based on the item values.
example:
I have a table employee with columns name, designation, sal
In the report page i have a select list with designations and when I select a designation from the select list,
I need to display the names of the employees horizontally,
like each name as a new column in the report with that particular designation. and same has to continue when I select different designations.
Can some one help me how we can do that.
I appreciate your answer
Thanks,
RikEssentially you want to write a pl/sql function which returns a varchar2 string. The contents of the string must be a valid sql statement.
Once you have done this, you need to add a report region as type sql report and you will have the option of writing it as a query or as a function returning query. Choose function returning query and enter in the function call.
Note your function must be valid, and must be executable by your apex parsing schema.
example:
create or replace
function test_report( p1_tablename in varchar2)
return varchar2
is
v_query varchar2(4000);
begin
v_query :=
'SELECT * from '||p_tablename;
return v_query;
end test_report;Edited by: Keith Jamieson on Aug 15, 2011 4:50 PM -
DataGrid with dynamic columns & renderers
I'm developing using Flash Builder 4 & Flex SDK 4.1.
I need to manage very dynamic DataGrid components and keep their definitions, which are all part of a complex item renderer of an Offers list.
The objects structure is simplified as follows -
Data: Model --> Offers ArrayCollection --> Offer VO --> DataGrid data ArrayCollection & DataGrid columns Array
View: List --> Offer Item Renderer --> DataGrid
1. Since the DataGrid's columns property accepts only an Array (not ArrayCollection), it seems like Data Binding for defining the columns is very problematic.
I tried to bind it to the source property of an ArrayCollection that would keep my columns definitions, but it didn't really work (mainly header display bugs).
What is the recommended way to keep the dynamic columns definition of a DataGrid?
2. Each column can have a set of dynamic properties, so I created a "mutant" - Column VO that extends DataGridColumn and got a dynamic properties ArrayCollection on it.
The columns got a custom header renderer that includes an icon when there are properties.
The header renderers got 4 main states (NotSelectedWithProperties, SelectedWithProperties, NotSelectedWithoutProperties & SelectedWithoutProperties).
However, the header renderer area seems a bit buggy when maintaning dynamic columns.
Any thoughts on the subject?
3. Anyway, I ended up recreating the DataGrid's columns Array very often (copying the columns definition on the offer's item renderer's dataChange event handler).
Note that the dynamic properties can be edited when the column is selected and I copy their values from the view back to the model when entering the state NotSelectedWithProperties.
This feels way too complicated and I really try to keep it simple, inspite of the required complexity.
Does anyone have better ideas?
4. In some cases the column's item renderer should also be modified into another DataGrid (grid-in-grid).
I used the MXDataGridItemRenderer with a DataGrid and included an ArrayCollection for the "newValue" returned by the editor.
(I use RendererIsEditor=true and on updateComplete populate that variable with the DataGrid's dataProvider contents)
When needed, I loop though the data objects of the parent DataGrid and populate the related field with an ArrayCollection of key-value objects that are displayed on the internal DataGrid.
After adding this feature I encounter very strange bugs -
a. After editing the grid-in-grid values and changing the column's state (selecting & deselecting), I get the following exception:
ArgumentError. Error #2025: The supplied DisplayObject must be a child of the caller.
at flash.display::DisplayObjectContainer/setChildIndex()
at mx.core::UIComponent/setChildIndex().......6993....
All I could find about this is that it might be related to some context error or something, but I'm really stuck on this one.
b. Sometimes another column might copy value from one row to another, running over the previous value.
I'm not sure exactly what sequence of actions causes this behavior, but it's related to that itemRenderer for sure.
c. Switching places with a column that uses the grid item renderer (headerShift) causes a stak overflow of StyleManager that tried to get style from the DataGridItemRenderer. This one I just found out, but couldn't reproduce a second time... strange!
I'm pretty sure this caused another problem that I don't remember at the moment.
The bottom line is that there got to be a better way to implement this feature within this already-complicated environment.
Maybe I'm doing something very wrong here...
Please advice and thanks for reading all this.Update on item 4a -
This was a major issue (the main reason for opening this thread really) and I managed to resolve it!
As part of my application, I override the default DataGrid behavior for column selection (headerRelease event).
Instead of sorting, I change the column's header looks and define it as Selected (for showing its dynamic properties and enable its deletion).
At first I did this by setting styles, but the look didn't refresh unless I created a new instance of the header renderer.
Later I changed thi behavior to work with states, but I left the new header renderer instance creation commands and those lines created all the mess!
Conclusion -
If you define a custom header renderer for your datagrid column and then a custom item renderer, don't create a new instance of your header renderer!
It would still be nice to get some response for the other issues I raised.
Thanks and have a nice week. -
Importing From Flat File with Dynamic Columns
HI
I am using ssis 2008,i have folder in which I have Four(4) “.txt” files each file will have 2 columns(ID, NAME). I loaded 4
files in one destination, but today I receive one more “.txt” file here we have 3 columns (ID, NAME, JOB) how can I get a message new column will receive in source. And how can I create in extra column in my destination table dynamically …please help meHi Sasidhar,
You need a Script Task to read the names and number of columns in the first row of the flat file each time and store it in a variable, then create a staging table dynamically based on this variable and modify the destination table definition if one ore more
new columns need to be added, and then use the staging table to load the destination table. I am afraid there is no available working script for your scenario, and you need some .NET coding experience to achieve your goal. Here is an example you can refer
to:
http://www.citagus.com/citagus/blog/importing-from-flat-file-with-dynamic-columns/
Regards,
Mike Yin
TechNet Community Support -
Problem with dynamic column in SBWP
Hi Friends,
In SWL1 I have created two attributes with header as "CANCELLED" and " DESCRIPTION" for a particular task.But my SBWP is still showing columns as "Dynamic column" for the workitems of that task.
Please help me on this.
Thanks.
DilipHi Dilip,
The column headings will only appear in the task-specific view. In other words, by default the headers will be generic because you can have mixed tasks in the worklist, and column 1 can be a date for one task and a company name for another.
The user needs to expand the tree on the left hand side and navigate to the "Approve Purchase Order" (or whatever) node to show only items of that task, then column headers should show up.
Regards,
Mike -
Problem with dynamic columns in smartforms.
Dear SDN Experts,
I have a requirement in smartforms for dynamic columns.
i have used template with 10 columns, So from these 10 columns,Columns may vary monthly MIN 2 to MAX 10 depending on
readings with them for that month.
i cannot fix column headings also,Because headings also changes dynamically.
So Problem is if there is no data in columns,Columns is displayng empty.
For EX: In this month i have 2 columns data remaining all columns is displaying empty boxes.
Please suggest me a solution is this posible in smartforms if i use table also.
<removed by moderator>
Regrds,
MNR
Edited by: Thomas Zloch on Sep 11, 2011 3:50 PMHi friend,
See the link below it is having the solution of hiding the columns in smart forms
Hide table columns in smart form?
Create a table to display your values with 12 col and hide the columns based on the idea provided in the link above.
I think this will solve your issue if you still have queries please revert back to me i will help you.
Thanks,
Sri Hari -
Draw Dynamic Column with Static Columns
Hi All
I have to show dynamic columns with static columns including column header and I am choosing the Cross Tab style. I have done this already in SSRS but failed to do in Crystal Report version (Crystal Report Basic for Visual Studio 2008).
Name Hair Color City Age Mobile Email
Jannie Brown Dublin 15 +353 122 1234567 Email Address
John Black Dublin 20 +353 145 1234567 Email Address
Dynamic Columns
Name , Hair Color , City Age
Static Column
Mobile, Email
I also face empty rows in cross tab report.
Please help and give me a chance of thanks.Thank you very much for your kind response. Actually i have dynamic Store Procedure results based on parameters and yes static column will never changed
Store Procedure Result
Mobile Age Email Key Value
+3531221234567 15 Email Address Name Jannie
+3531221234567 15 Email Address Hair Color Brown
+3531221234567 15 Email Address City Dublin
+3531451234567 20 Email Address Name John
+3531451234567 20 Email Address Hair Color Black
+3531451234567 20 Email Address City Dublin
And I want to draw report in following style
Name Hair Color City Age Mobile Email
Jannie Brown Dublin 15 +3531221234567 Email Address
John Black Dublin 20 +3531451234567 Email Address -
ALV with multiple header & dynamic columns
Hello All,
I have a requirement where in I need to print multiple header in alv.
For eg.
User Name : <Name_1>
Channel : <Channel_1>
Sale Org : <Sales Org_1>
Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8
User Name : <Name_2>
Channel : <Channel_2>
Sale Org : <Sales Org_2>
Col1 Col2 Col3 Col4 Col5 Col6 Col7 Col8
no of columns (Col1 , col2 ) are dynamic . Which would be the best alv type do I need do use? Is it possible using simple alv grid display. How to handle dynamic column.
Thnx.it is not possible with normal grid or list.
I guess it is possible by using ALV Block list
Modified below program to get mutiple header
REPORT z_alv_block_list.
Type-pools
TYPE-POOLS: slis.
Data declarations.
DATA: BEGIN OF t_vbak OCCURS 0,
vbeln TYPE vbeln,
bstnk TYPE vbak-bstnk,
erdat TYPE vbak-erdat,
kunnr TYPE vbak-kunnr,
END OF t_vbak.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln TYPE vbeln,
matnr TYPE vbap-matnr,
netpr TYPE vbap-netpr,
waerk TYPE vbap-waerk,
kwmeng TYPE vbap-kwmeng,
meins TYPE vbap-meins,
END OF t_vbap.
DATA: t_fieldcatalog1 TYPE slis_t_fieldcat_alv.
DATA: t_fieldcatalog2 TYPE slis_t_fieldcat_alv.
DATA: v_repid TYPE syrepid.
DATA: s_layout TYPE slis_layout_alv.
DATA: v_tabname TYPE slis_tabname.
DATA: t_events TYPE slis_t_event.
start-of-selection event.
START-OF-SELECTION.
v_repid = sy-repid.
Get the fieldcatalog for the first block
PERFORM get_fieldcat1 CHANGING t_fieldcatalog1.
Get the fieldcatalog for the second block
PERFORM get_fieldcat2 CHANGING t_fieldcatalog2.
Get the data for the first block
SELECT vbeln bstnk erdat kunnr UP TO 10 ROWS
INTO TABLE t_vbak
FROM vbak WHERE vbeln > '0060000100'.
Get the data for the second block
SELECT vbeln matnr netpr waerk kwmeng meins UP TO 10
ROWS
INTO TABLE t_vbap
FROM vbap WHERE vbeln > '0060000100'.
init
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
EXPORTING
i_callback_program = v_repid.
First block
v_tabname = 'ITAB1'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = s_layout
it_fieldcat = t_fieldcatalog1
i_tabname = v_tabname
it_events = t_events
TABLES
t_outtab = t_vbak.
Second block
v_tabname = 'ITAB2'.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
is_layout = s_layout
it_fieldcat = t_fieldcatalog2
i_tabname = v_tabname
it_events = t_events
TABLES
t_outtab = t_vbap.
*Display
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
FORM GET_FIELDCAT1
Get the field catalog for the first block
FORM get_fieldcat1 CHANGING lt_fieldcatalog TYPE
slis_t_fieldcat_alv.
DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
Order number
s_fieldcatalog-col_pos = '1'.
s_fieldcatalog-fieldname = 'VBELN'.
s_fieldcatalog-tabname = 'T_VBAK'.
s_fieldcatalog-ref_tabname = 'VBAK'.
s_fieldcatalog-ref_fieldname = 'VBELN'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Customer purchase order.
s_fieldcatalog-col_pos = '2'.
s_fieldcatalog-fieldname = 'BSTNK'.
s_fieldcatalog-tabname = 'T_VBAK'.
s_fieldcatalog-ref_tabname = 'VBAK'.
s_fieldcatalog-ref_fieldname = 'BSTNK'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Creation date.
s_fieldcatalog-col_pos = '3'.
s_fieldcatalog-fieldname = 'ERDAT'.
s_fieldcatalog-tabname = 'T_VBAK'.
s_fieldcatalog-ref_tabname = 'VBAK'.
s_fieldcatalog-ref_fieldname = 'ERDAT'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Customer
s_fieldcatalog-col_pos = '4'.
s_fieldcatalog-fieldname = 'KUNNR'.
s_fieldcatalog-tabname = 'T_VBAK'.
s_fieldcatalog-ref_tabname = 'VBAK'.
s_fieldcatalog-ref_fieldname = 'KUNNR'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
ENDFORM.
FORM GET_FIELDCAT2
Get the field catalog for the second block
FORM get_fieldcat2 CHANGING lt_fieldcatalog TYPE
slis_t_fieldcat_alv.
DATA: s_fieldcatalog TYPE slis_fieldcat_alv.
Order number
s_fieldcatalog-col_pos = '1'.
s_fieldcatalog-fieldname = 'VBELN'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'VBELN'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Material number
s_fieldcatalog-col_pos = '2'.
s_fieldcatalog-fieldname = 'MATNR'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'MATNR'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Net price
s_fieldcatalog-col_pos = '3'.
s_fieldcatalog-fieldname = 'NETPR'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'NETPR'.
s_fieldcatalog-cfieldname = 'WAERK'.
s_fieldcatalog-ctabname = 'T_VBAP'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Currency.
s_fieldcatalog-col_pos = '4'.
s_fieldcatalog-fieldname = 'WAERK'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'WAERK'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
Quantity
s_fieldcatalog-col_pos = '5'.
s_fieldcatalog-fieldname = 'KWMENG'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'KWMENG'.
s_fieldcatalog-qfieldname = 'MEINS'.
s_fieldcatalog-qtabname = 'T_VBAP'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
UOM
s_fieldcatalog-col_pos = '6'.
s_fieldcatalog-fieldname = 'MEINS'.
s_fieldcatalog-tabname = 'T_VBAP'.
s_fieldcatalog-ref_tabname = 'VBAP'.
s_fieldcatalog-ref_fieldname = 'MEINS'.
APPEND s_fieldcatalog TO lt_fieldcatalog.
CLEAR s_fieldcatalog.
ENDFORM. -
GoNav function with dynamic columns 10g
Hi,
I have a report with a dashboard prompt that dynamic change the report column. The result of this prompt is set into a presentation variable @{dimension}.
Now I want to use the GoNav function on the column that dynamically changes.
The data format for this column should be:
@[html]"<font class="Nav" onclick=\"javaScript:GoNav(event, '/users/Administrator/Test', 'Department', 'Department_name' ,'"@"','_self');\">"@"".
But this syntax only works for the column Department.Department_name. If the prompt on the dashboard is changed to another column the navigate link doesn't work anymore.
Is there a solution to make this work so that also the column can be set dynamically for the navigation?I have a report with a dashboard prompt that dynamic change the report column. The result of this prompt is set into a presentation variable @{dimension}.
Now I want to use the GoNav function on the column that dynamically changes.
The data format for this column should be:
@[html]"<font class="Nav" onclick=\"javaScript:GoNav(event, '/users/Administrator/Test', 'Department', 'Department_name' ,'"@"','_self');\">"@"".
But this syntax only works for the column Department.Department_name. If the prompt on the dashboard is changed to another column the navigate link doesn't work anymore.
As per your comments above you are using Column selector kind of functionality using a Dashboard prompt and in your GO nav you are taking column Department that's way it is working for that column only , if you change the Column in Dashboard prompt also still GO nav point to Department column only...make the GO NAV to take dynamic columns..
I am not sure whether we can pass presentation variable .....with my knowledge its not..use GO URL instead of GO NAV -
Creating Query with dynamic columns to show results
Hi experts,
I need to know how to create a query with dynamic columns. Meaning, I don't want to create a query with fixed columns representing the 12 periods of the fiscal year to show me actuals as the fiscal year proceeds.
For example, if I am currently in the middle of period 3 (March) of a fiscal year, when I execute the query, I need it to automatically only show me the 'Actuals' for periods 1 and 2, without seeing the columns from periods 3 to 12 showing blank.
Then when I am in the middle period 5 (May) the query should ONLY show me the columns for periods 1 to 4 'Actuals', no results should be shown for periods 5 to 12 yet, and I don't want to even see blank columns for period 6 to 12.
How do I define my columns, to achieve this.
Maximum points will be awarded.
Thanks Everyone.Hi Josh,
I'm having a little difficuluty understanding what should be included in my restricted key figures.
The time characteristics that I have available to use are:
0FISCPER3 (posting period)
0FISCYEAR (fiscal year), currently using SAP EXIT to default current fiscal year.
0FISCVARNT (fiscal year variant).
In addition, I have the following characteristics available to be used in the columns:
Value type (10)
version (currently I'm using variable for it)
Currency type (020)
Currency (USD).
Can you explain what my restricted key figure should be based on and how it should look.
I tried to create a restircted key figure using 0AMOUNT, and 0FISCPER3. For 0FISCPER3 I created a range from 1 to previous period (using SAP EXIT that supplied previous period).I also had value type, version, currency type, and currency included in that restricted key figure.Then when I tried to drag 0FISCPER3 under the restricted key figure once again, it wouldn't let me, probably because I've already used 0FISCPER3 in the restricted key figure.
Please let me know if my explanation is not clear.
Your step by step help would be great.
Thanks
Edited by: Ehab Mansour on Sep 23, 2008 2:40 PM -
DataTable with dynamic columns
Does somebody have an example of how to code a h:dataTable with dynamic columns? I have seen hints about how to do it in these two articles:
http://forum.java.sun.com/thread.jspa?forumID=427&threadID=5218508
http://forum.java.sun.com/thread.jspa?threadID=577589&messageID=2909047
but a complete working example would be really helpful.
I think the key is understanding the "binding" parameter to h:dataTable but I'm having a hard time understanding it. Thanks.I found it here:
http://balusc.blogspot.com/2006/06/using-datatables.html#PopulateDatatable -
I need to create a report with dynamic columns
for e.g/
Pre Scen 1 Scen 2 Scen 3 Scen 4 Scen 5 Scen 6 .....
*Total 4.5118 4.5118 4.5118 4.5118 4.5118 4.5118 4.5118 *
*Canada 1.7180 1.7180 1.7180 1.7180 1.4103 8.4103 8.4103 *
BG 1.6224 0.9641 1.0473 1.0473 6.4635 6.4635 1.6224
BI 0.044 0.0827 0.3578 0.3578 0.0560 0.0560 0.0744
DIN 0.0056 -0.0655 -0.0215 -0.0215 -0.0210 -0.0210 0.0056
*Czech Republic 1.7180 1.7180 1.7180 1.7180 18.4103 18.4103 18.4103 *
CEE 0.0275 1.0000 0.7359 100.0000 0.0858 0.0858 0.0275
*Israel 1.7180 1.7180 1.7180 1.7180 18.4103 18.4103 18.4103 *
F 0.0077 1.0000 0.7359 100.0000 -0.0035 -0.0035 0.0077
*United States 1.7180 1.7180 1.7180 1.7180 18.4103 18.4103 18.4103 *
A 0.0144 0.1871 91.0473 0.0679 0.0544 0.0544 0.0144
AA 0.0428 0.0626 0.3578 0.0675 0.1175 0.1175 0.0428
AB 0.0431 0.1553 -0.0215 0.1685 0.1199 0.1199 0.0431
in this report....grouping will be parameterized ....and total also required at every stage...
so how can i add the columns dynamically ?
number of columns are not fixed...they may be 20...30....etcRequirement is...
I have a table scn ... where i can make entries any time....assume they are some rules...
I have another table called t1 ... where i need to calculate values of t1 again some specific rules are table scn.
So for each t1 there will be one row with columns as scn entries which I select on interface.
Original Value -- Sc1 ...... Sc2 ...... Sc3 ...... Sc4 ...... Sc5 . . . . . .. .
t1...................xx...... xx..........xx..........xx........ xx........ xx
t3...... .............xx...... xx..........xx..........xx........ xx........ xx
t4....................xx...... xx..........xx..........xx........ xx........ xx
selection of these scn columns will be dynamic....so i cant create n number of columns in the report template and hide them as per requirement....it will not work.
Wat is a feasible solution to create such kind of report ?
Can we create template in C# or .net ?
IF yes...do we have to save every time in order to render report ?
e.g. one report may contain 4 columns and other 10 ... so do i have to create new rpt file each in order to render the report ?
Please if any1 have approach to create this kind of report then it will very helpful....
Edited by: pchawan on Jul 19, 2011 11:28 PM -
Logic to upload file with dynamic columns
hi
in my requirement i hav given to add logic to upload file with dynamic columns so that this upload program can be reused.
this way the program is flexible, irrespective of the number of columns in the file.
can any one explain this?
and let me know what actually i hav to do.Check the program and the dynamic column is in the col_pos internal table and in the routines get_structure onwards.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/scm/dynamic%2bstructures%2band%2bcomponents
cheers
Aveek
Maybe you are looking for
-
How do I change an image border color to another color - Dreamweaver CS5?
Good day, I have just learned how to add a border to an image with Dreamweaver CS5 within the Properties Inspector. After typing the width in pixels in the Border Text Field and pressing the Enter key, Dreamweaver created a black border. How do I cha
-
How to change the icon of coffee on the titile bar
Hi! I am having this problem that how to change the icon of coffee on the titile bar if someone know how please respond Asif
-
Shipping instructions not cpoying correctly from sto to delivery
hi , i am facing issue like shipping instructions from STO header are not getting copied correctly to delivery , what may be the problem , please help. regards, veeru. Moderator message: please do more research before asking,
-
Is there a way to merge files?
HI folks. I want to be able to do something that the Web world does all the time. Include files. Is there a way to do that in Pages? I have 1 main file I need to shove 124 items into. They are all .txt files, with formatting that I can use in Pa
-
I have 2 problems, i have 2 external drives connected to my new iMac. Both are formatted to FAT 32, one I can see but no one else can and I can write to that drive,. The other can be seen by all but not written to by me or anyone else (This drive was