Display Parent node in a separate column in BEx
Hi all,
I have a requirement to display parent node of a node in a separate column in BEx.
For e.g. If 'a' and 'b' belong to the parent node 'c,' I need to display 'c' in a separate column whenever 'a' or 'b' occur in the report.
Any ideas how I can accomplish this? I already have a hierarchy enabled in the report. The client
still wants to display the parent node in a separate column
Thanks and points will be assigned.
Hi Claus,
You can use the following as table cell editor:
1. Image -- just displays plain image
2. Caption -- dislays image along with text or image only (or text only).
3. LinkToAction -- same as caption, however provides you a way to have something like "onClick" action.
Regards,
VS
Similar Messages
-
Displaying of charts as a separate column in table view view in obiee 11g
Hi all,
we have a requiremnet where i need to display charts in a separate column in a table view in OBIEE 11g. can any body help in achieving this requirement?
Thanks in advance.
RegardsHI All,
Can any body let me know how to achieve this requirement!
charts also should be dsplayed in a column in table. I had gone through below Sparkline graph link but didn't move forward with Jquery. can any body help me in understanding this?
http://srisnotes.com/tag/obiee-11g/. -
Displaying time ranges as a separate column
Hi,
I need to show the time ranges with 30minutes starting from today 12:00 AM till current timestamp showing the time range as
Time Interval
0:01 AM - 0:30 AM
0:31 AM - 1:30 AM
till current timestamp(4:30 PM-5:00PM)
as a separate column. Have anyone tried this earlier. Need help!
Thanks,
PrincyAny Ideas !
-
Table Popin - Text to be displayed after collapse node in the same column
Hi Experts,
I have a requirement, where I have a parent table and one column of it is associated to Table popin. Within the popin, i display another child table with two columns.. one is checkbox and another is text. When i select some checkboxes in the child table and collapse the popin node, the selected text values should be concatenated and displayed in the parent table popin column.
Is it possible to dislay text in the same popin column of the table ? If so, please provide me the steps or code snaps on how to achieve it.
Thanks & Regards,
Gaurav.Hi Gaurav,
If you can able to catch the event of the checkbox, then write the code inside that event for concatenation of the selected values.
Else you can call another view with all options and checkbox. After selecting the checkbox and clicking OK or SELECT options you can pass the value back to the field.(This is a suggestion).
Thanks & Regards,
Raghuram K.R. -
How to display subtotals in separate column in alv report?
hi,
I am displayed the subtotals for QUantity field BDMNG in Reuse_alv_grid_display in the same column.
but I want to display subtotal in separate column.
How to display subtotals in separate column in alv report?
thanks®ards.
samba.kHi
As far as i know you can't do this,the option you have is to create one more column (subtotal) and populate it by manual calculation at every subtotal (not alv subtotal but yours) .
Best Regards
Yossi -
How can I display the data in table in separate column?
I have a vi reading data one by one in the same column.
How can I display the data with separate column?
like this:
data 1 | read | read
data 2 | read | read
data 3 | read | read
(would you mind if I will ask for an example
because it is much easier for me to work
with an example)
THANK YOU.If you're reading your data in as a 1D array, this is as simple as using the Reshape Array to make a 2D array. I've attached an example in LabVIEW 6.1 format. The example rearranges a single column of data fill several columns horizontally, but you can easily modify this code to fill the columns downward instead.
Attachments:
Data_Column_Example.vi 18 KB -
How To Display attributes of Child Node and Parent Node in same view
Suppose I have two view Carview and CarDetail View...IN Component context I have Parent Node Called Cars and It have its attribute as Price,Warranty,Year and also One Child Node Called as Brand Name Whose attribute are PrimaryBrand and SecondaryBrand..Now If I do Mapping of My First View i.e CarView with Child node of BrandName..and then I Have To Show Whole Detail of Car in CarDetailView.......How Can I Achieve it..
Hi Vinay,
You can map the child node and even the paren tnode to the same view if u want to display in the same window..
If not if ur requirment is to dispaly in the sme view but should not map the child and parent to the Same view then you can take another new view.. and insert 2 view containers and then add the Child view and parent view in that view containers and then Diaplay the newly created view.
Regards,
Raju Bonagiri -
How to insert the checkbox as a separate column in alv grid display
Hi
How to insert the checkboxes as a separate column in alv grid display with using the reuse_alv_fieldcatlog_mege.
example
matnr maktx ersda checkbox
10 books 28/03/2009 checkbox
Thanks
chinnuHi,
Check the following code.
TYPE-POOLS: slis.
TYPES:
BEGIN OF ty_output,
chk TYPE c,
number TYPE i,
name(20) TYPE c,
END OF ty_output.
DATA: gt_output TYPE STANDARD TABLE OF ty_output,
gs_output TYPE ty_output.
DATA: wa_layout TYPE slis_layout_alv.
DATA: it_fieldcatalog TYPE slis_t_fieldcat_alv,
After you populate the data, build the field catlog like shown below.
wa_fieldcatalog TYPE slis_fieldcat_alv.
wa_fieldcatalog-fieldname = 'CHK'.
wa_fieldcatalog-outputlen = '3'.
wa_fieldcatalog-col_pos = '1'.
wa_fieldcatalog-seltext_m = 'CHK'.
wa_fieldcatalog-checkbox = 'X'.
wa_fieldcatalog-edit = 'X'.
APPEND wa_fieldcatalog TO it_fieldcatalog.
wa_fieldcatalog-fieldname = 'NUMBER'.
wa_fieldcatalog-outputlen = '10'.
wa_fieldcatalog-col_pos = '2'.
wa_fieldcatalog-seltext_m = 'NUMBER'.
APPEND wa_fieldcatalog TO it_fieldcatalog.
CLEAR wa_fieldcatalog.
wa_fieldcatalog-fieldname = 'NAME'.
wa_fieldcatalog-outputlen = '10'.
wa_fieldcatalog-col_pos = '3'.
wa_fieldcatalog-seltext_m = 'NAME'.
APPEND wa_fieldcatalog TO it_fieldcatalog.
CLEAR wa_fieldcatalog.
wa_layout-box_fieldname = 'CHK' .
wa_layout-box_tabname = 'GT_OUTPUT' .
Now call the FM
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER = ' '
* I_BUFFER_ACTIVE = ' '
i_callback_program = sy-repid
i_callback_pf_status_set = 'PF_STATUS'
i_callback_user_command = 'USER_COMMAND_GRID'
* I_CALLBACK_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_TOP_OF_PAGE = ' '
* I_CALLBACK_HTML_END_OF_LIST = ' '
* I_STRUCTURE_NAME =
* I_BACKGROUND_ID = ' '
* I_GRID_TITLE =
* I_GRID_SETTINGS =
is_layout = wa_layout
it_fieldcat = it_fieldcatalog
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
* I_SAVE = ' '
* IS_VARIANT =
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* IT_ALV_GRAPHICS =
* IT_HYPERLINK =
* IT_ADD_FIELDCAT =
* IT_EXCEPT_QINFO =
* I_HTML_HEIGHT_TOP =
* I_HTML_HEIGHT_END =
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = gt_output
* EXCEPTIONS
* PROGRAM_ERROR = 1
* OTHERS = 2
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. -
Displaying leaf nodes at the bottom of a tree that has parent nodes
I have a problem in that - leaf nodes added to the tree at the bottom appear with big spaces (vertically) between them. It looks as if the nodes are somehow expanded by default!
Is this a known issue with leaf nodes that are added in below parent nodes?
I notice in the normal hierarchy the leaf nodes are displayed fine. Also if I return false on isleaf() it displays the last 3 nodes as expandable icons but they're still lage gaps between them.
this is an example of what i'm getting
Main �
+Parent Node(expandable)
|
+Parent Node(expandable)
|
+Parent Node(expandable)
|
|
|_leaf node (not expandable)
|
|
|_leaf node (not expandable)
|
|
|_leaf node (not expandable)You got my interest with your topic subject as I'm working on a library which simplifies the development with Swing trees. However everyone here except you knows nothing about your "anormal hierarchy" which creates you problem.
Denis Krukovsky
http://sourceforge.net/projects/dotuseful/ -
In ALV report is possible to display the subtotals in separate column
Hi,
I have made one ALV report, i need to show the subtotals of ekpo-brtwr (Gross Value) grouped by or sorted by
ekko-ebeln (Purshasing Doc) but in separate column not at the end of the line items of each purshasing doc
any idea how can i do this?
let us say i have the following cols in my report:
ekko-bukrs
ekko-ebeln,
ekko-aedat,
kko-lifnr,
ekpo-brtwr
i want to add one more col for example (T-Gross) and to fill it with the suptotals of (ekpo-brtwr) sorted by the
ekko-ebeln (Purshasing Doc).
thanks a lot.If you need one more column, then you need to expand the field catalog table and data table as you did for all other fields and you need to code the logic to calculate the subtotals and populate the new column, but if you want to have row, that will be easy. For more info you can [refer |http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4063c42a-2549-2c10-fab6-a8c99d98b9b5?quicklink=index&overridelayout=true]this:
-
Not able to display data in separate columns using Unicode encoding
Hi,
Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
Please let me know how to display data in different columns using Unicode encoding in Excel sheet.
This is an urgent need. Please help me out.Hi,
I have no problem with item :P15_EV_LCL this is having a value my probem here is i am using java script to display the value in different color based on the condtion case
eg:
select
case
TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2)
= :P15_EV_LCL
then
span style="background-color:lightgreen"
|| TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
else
span style="background-color:yellow"
|| TRUNC(
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
end "Effort"
from actuals Z
If i dont use this <Span style="Background-color:color"> i am able to generate data in excel sheet if i use this color coding i am not able to get data in spread sheet.
Please suggest
Thanks
Sudhir
Edited by: Sudhir_N on Mar 23, 2009 10:00 PM -
Display Units in separate column next to key figure
Hello All,
Could someone please explain step by step how to display the key figure results in one column and the mapped unit in the next column using bex analyzer 3.5. An example would be:
Now:
Order# 1 Cost Element1 100Lbs $100
Order#2 Cost Element2 5Pcs $50
Should be:
Order#1 Cost Element1 100 Lbs 100 USD
Order#2 Cost Element2 5 PCs 50 USD
I should mention that I've tried displaying the characteritic for units in both the rows and columns with no success when I displayed it in rows I received the following results:
Order#1 Cost Element1 Lbs 100
Order#1 Cost Element1 USD 100
Order#2 Cost Element2 Pcs 5
Order#2 Cost Element 2 USD 50
In summary I would like to display the unit key whichever it may be for the key figure for quantity in one column. Any help would be appreciated.
ThanksI get crazy .... I can't find that table view icon !!!
My top menu from left to right is:
New Query.., Open Query ..., Save Query ..., Save All, Execute, Check, Query Properties, Cut, Copy, Paste, InfoProvider, Filter, Rows/Columns, Cells, Conditions, Exceptions, Properties (Open), Tasks, Messages, Where-used, Documents, Technial Names
Edit:
Doesn't matter anymore...I just found a note that "Table view" is not supported anymore in 7.x
Check SAP note 1002271.
Thanks
Edited by: Heiko Hafenmaier on Jun 2, 2010 4:53 PM -
How to get the values in separate columns
Hello Everyone
I am new to Bex, i have the sales data of 2008,2009,2010. now i have to display the sales order(key figure) for 2008,2009,2010 in separate columns for each customer(dimension) in a single report , can any one help me how to get this done in bex.
Thanks
GuptaHi ,
You can achieve this either creating New Selections or Restricted Key Figures.
Right click on the structute>>>> New selcection>>> drag the year to right [ Right Click on it >>restrict it with 2008}>>>Drag the respected Key figure.
So u will get the values 2008 in seperate column.
COpy the New Selecten that u created and paste on the structure , chage the descriprion and year to 2009.
do the same for 2010.
Note:you can also achieve this by creating variable offsets.Check the following link
http://help.sap.com/saphelp_bw33/helpdata/en/3f/89533e5ff4d064e10000000a114084/content.htm
Regards,
Ranganath -
How to add an item object as a child for a specified parent node in AdvancedDataGrid in Flex?
Hi all,
This is the code, to add a object as a child into a specified parent node in AdvancedDataGrid in flex.
<?xml version="1.0" encoding="utf-8"?><mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="onCreationComplete()" width="100%" height="100%">
<mx:Script><![CDATA[
importmx.controls.Alert;
importmx.collections.IHierarchicalCollectionViewCursor;
importmx.collections.IHierarchicalCollectionView;
importmx.collections.ArrayCollection; [
Bindable]private var objectAC:ArrayCollection = newArrayCollection();
//This method is used to construct the ArrayCollection 'flatData'
private function onCreationComplete():void{
var objOne:Object = newObject(); objOne.name =
"Rani"; objOne.city =
"Chennai";objectAC.addItem(objOne);
var objTwo:Object = newObject(); objTwo.name =
"Rani"objTwo.city =
"Bangalore";objectAC.addItem(objTwo);
var objThree:Object = newObject(); objThree.name =
"Raja"; objThree.city =
"Mumbai";objectAC.addItem(objThree);
//This method is used to add one object as a child item for the parent node 'Rani'
private function addChildItem():void{
var dp:IHierarchicalCollectionView = groupedADG.dataProvider asIHierarchicalCollectionView;
varcurent:IHierarchicalCollectionViewCursor = groupedADG.dataProvider.createCursor();
var dummyParentNode:Object = {name:"Rani", city:"New Delhi"};
var obj:Object = null;
while(curent.current){
// To get the current node objectobj = curent.current;
// Add Child item, when depth = 1 and Node name should be "Rani"
if (curent.currentDepth == 1 && obj["GroupLabel"] == "Rani"){
dp.addChild(curent.current, dummyParentNode);
curent.moveNext();
groupedADG.dataProvider = dp;
groupedADG.validateNow();
groupedADG.dataProvider.refresh();
]]>
</mx:Script>
<mx:AdvancedDataGrid id="groupedADG" x="10" y="15" designViewDataType="tree" defaultLeafIcon="{null}" sortExpertMode="true" width="305" >
<mx:dataProvider>
<mx:GroupingCollection id="gc" source="{objectAC}">
<mx:grouping>
<mx:Grouping>
<mx:GroupingField name="name"/>
</mx:Grouping>
</mx:grouping>
</mx:GroupingCollection>
</mx:dataProvider>
<mx:columns>
<mx:AdvancedDataGridColumn headerText="Name" dataField="name"/>
<mx:AdvancedDataGridColumn headerText="City" dataField="city"/>
</mx:columns>
</mx:AdvancedDataGrid>
<mx:Button x="10" y="179" label="Open the folder 'Rani'. Then Click this Button" width="305" click="addChildItem()" />
</mx:Application>Hi,
It's not possible to 'append' a StringItem or a TextField (or any other lcdui.Item object) to a Canvas or GameCanvas. You can only draw lines, draw images, draw text, etc etc, on a Canvas screen. So, you can only 'simulate' the look and feel of a TextField (on a Canvas) by painting it and adding source code for command handling (like key presses). However, this will be quite some work!!
lcdui.Item objects can only be 'appended' to a Form-like Displayable.
Cheers for now,
Jasper -
Af:tree Master child relation ,but showing child id's as parent node vice
Hi ,
Am using adf 11G 11.1.1.5
I have a small requiement .
Am using af:tree , where i display childId's . Onclick of child it i have to show popup with tree structure where i will show parentid as node and childId's as child nodes
i have created view link between child and parent views.
Now isssue is when i selected childId in table (i mean a checkbox is given where user check the child Id and fire button ).On dat action am calling popup with tree structure .BUT here childId's are displaying like Parent nodes and parentId's as child node.
any suggestion . if want i will drop the codei knew somewhere i was messed up .
There is only viewlink between, Parent and child .NO FK ,these are not related database table (Entity Object.).
simple query's which are made from same table , but base on Parent/Root col i have show data in tree structure way.
Just like
ParentId Chilld id
100 jhon
100 max
100 adam
101 jack
103 jill
103 marven
Now it will show in table like
jhon
max
adam
jack
jill
marven
If i click max i mean check box and fire button , i have to show tree structure like below
100
jhon
max
adam
As max parentid is 100 , i have to show all the childid which have 100 as parentid.
any suggestion plz , me struck here to handel
Maybe you are looking for
-
How to auto-complete text field in the form?
Hi, I have a table CustTable that has 2 columns: 1. Column_A 2. Column_B I have a form that has 2 fields: 1. Field_A - Lookup Field - it takes data from a custom table lookup (Lookup Query: SELECT Column_A from CustTable) - it works fine. 2. Field_B
-
How to Identify Physical External Hard Drives that Show in Finder?
I have a number of firewire hard drives hooked up to my Mac Pro. The 800s are daisy chained together, as are the 400s. I have gone into System Profiler to see if their serial numbers show, but they don't. Is there a simple way of selecting one of the
-
PLS HELP MSI Bluetooth problem
I have folowing problem.. everything worked some time ago, then i put today BT in USB, but WinXP didn't install it with message - There was a problem installing this HW MSI bluetooth device - The required section was not found in the INF. Can anybody
-
Is it possible, when you have three different documents open, to zoom in all three documents simultaneously? Or to move around with the hand tool in all documents simultaneously? I'm running Illustrator CS5/CS6
-
DELIMA~How to RESTORE when I can't get to the RESTORE button?????
Something's messed up, I hook on my Classic and it simply keeps "syncing". I can move about in the iTunes pages, but cannot click on the iPod. So how the heck can I RESTORE if I can't get to the page with the RESTORE button? (BTW...the thing started