Planning Form: Suppress row based on condition
Dear All,
Is it possible to do this in hyperion planning. for example:
- i have member A
- in the data form, i want to show row only when member A have value equal to 1. other is suppressed.
- in another form, i want to show only when A = 2, other is suppresed.
did anybody have this experience, or is there any other way to do this?
Thanks in advance.
Regards,
Feri
Hi, i assumed as answered because in fact, the Planning dataform don't have that functionality, but in the new version (11.1.2.2) you might want to try the filter functionality.
It was a long time ago, but if i'm not mistaken, previously i solve this problem by separating the member for each condition.
example:
member A: have all data
(copy the data from member A to member B and C with condition)
member B: contain data for condition 1
member C: contain data for condition 2
then you can select which condition that you need to show.
Similar Messages
-
Table Control - Input Enabling/Diabling of Rows based on Condition.
Hi,
In the TC, I want to Input Enable/Disable the rows based on Conditions. The First row is input enabled always. But the other rows, (2nd onwards) need to be Input Enabled/Disabled based on some conditions. It is possible to make this working. Can you please provide me a suitable solution for this?
Appreciate Your Help.
Thanks,
KannanHi Kannan...
If we are talking about "Rows"...
then identify based on some conditions the row numbers and in PBO...loop at screen with screen name..set thier input properties and modify screen (make them input only)
If we are taking into consideration "columns"
There is an internal structure COLS where we can identify column number of screen name ...or we can take except for one particular column..
if some condition satisfied....
loop at screen where screen-name <> "Column which is input'.
Loop at screen...and make other columns display only.
modify screen
endif.
Regards
Byju -
Suppressing rows based on a condition
I have report, where I have to remove certain rows out of the report, based on the certain condition.
Note that, there are two characteristics in the rows, and one key figure in the columns. If the first characteristic value equals that of the second characteristic in the rows, I want to remove that row from display.
Row1 R1 R2 K1
Row2 R3 R3 K1
Row3 R2 R3 K1
Row4 R3 R2 K1
In the above example, I need to remove Row2, because both characteristics have same value, which is R3. I want to suppress those records, and just show Row1, Row3 and Row4.
Row1 R1 R2 K1
Row2 R3 R3 K1 -> remove this row
Row3 R2 R3 K1
Row4 R3 R2 K1
My problem is conditions only work on the key figures, not characteristics. I tried the replacement variables, but it is not working.
Any ideas?Hi,
You can achieve the solution if your 2 characteristic's data type is NUMC.
If it is NUMC, then try the below steps:
1. Create a formula in the Key Figures structure.
2. In the formula, create a formula variable, and on the formula variable select the processing type as Replacement Path. After that choose the first characteristic on the Characteristics selection.
3. Repeat step 2 again for second characteristic.
4. Now the two formula variables contains two characteristic. Select both of them and subtract it.
5. You will get the values 0 and not equel to 0.
6. Create a condition and suppress zero values of the formula key figure.
If it is not NUMC, then i guess you have to stage the data to another location. At the time of transformation you have to supress the records.
Vivek -
Color the row based on condition
Hello all,
I am woring on an interactive adobe form being called by a web dynpro application.
The adobe form interface used is XML Schema based. The form displays some data at header level and item level.
The item details are displayed in a table. Now. my requirement is that i have a field 'STATUS' in the item table. I want to display the row with RED color if the STATUS = 'X' . How can i achieve this.. i tried using java script at Row initialze event but that didn' work.
Please let me know if you have some solutions.
Thanks & Regards,
Ravi AswaniTry this code
var fields = xfa.layout.pageContent(xfa.layout.page(this)-1, "field", 0);
var custordertext;
for (var i=0; i <= fields.length-1; i++)
if (fields.item(i).name == "STATUS")
if(fields.item(i).rawValue == "X")
this.fillColor = "50, 50, 255";
use this event in calculate event
Thanks,
Rakesh -
Add different UI in each row based on conditions in ALV
Hell All,
i am working on dynamic ALV in which i have created 3 methods 1. which creates the columns 2. Which sets the data into teh created columns. 3. which does teh alv customizations.
So now my requirement is based on some condition i want to change the UI element
eg
i have
column1 column2 column3
1 link_to_action name
2 link_to_url name2
so based on the condition i would like to display the ui elements as above.
I was able to do till this end so far..
1.in create_columns method i created a column call cell_varaint
2 when i was passing data into the columns
'when column1'
IF colum1 = 1.
<field> = 'link_to_url'
else.
<f_field> = ' '.
endif.
when 'column2'
CREATE OBJECT lr_link_to_actn.
<ls_column>-r_column->set_cell_editor( lr_link_to_actn ).
CREATE OBJECT l_cv.
l_cv->set_key( value = 'LINK_TO_URL').
l_cv->set_editor( value = lr_lnk_to_url ).
<ls_column>-r_column->add_cell_variant( r_cell_variant = l_cv ).
<ls_column>-r_column->set_sel_cell_variant_fieldname( 'cell_varaint).
so now i am able to get only empty column with no data into it ... and my cell varaint column shows me the values like LINK_to_URL or space.
I am sure tht some where i am missing something...
Please tell me the correct procedure to use it...
Regards,
Sana.I hope it is Hello not Hell
if i understand your question correctly, You want the first row of column to LinkToAction UI element and second row LinktoURL.
follow the link where it is nicely explained however he is making one row as text view and other as checkbox.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0e7461d-5e6c-2b10-dda9-9e99df4d136d?quicklink=index&overridelayout=true -
Select rows based on condition of same row
Hello,
I have the following table structure and rows defind here
http://sqlfiddle.com/#!4/3f474/3
I would like to select rows if PRODUCT_NO is null then I need to select rows which are having IS_PAYABLE='Y'. If PRODUCT_NO is not null
then IS_PAYABLE will be 'N' or IS_PAYABLE will be null.
E.g.
For PRODUCT_REG HPO_FABRIC, one PRODUCT_NO null so I need select that row only, not the other two rows.
I can do
select * from SUPPLIER_DETAILS where IS_PAYABLE='Y', but what if there are many records with PRODUCT_NO having null or not null
How can I do this using sql?This simple query!!!
select *
from supplier_details
where (product_no is null
and is_payable = 'Y')
or (product_no is not null and is_payable is null);
PRODUCT_REG PRODUCT_SUPPLIER_CODE PRODUCT_NO START_DATE END_DATE IS_PAYABLE
HPO_FABRIC JP_008 01-AUG-01 31-AUG-01 Y
HPO_FABRIC JP_008 STGA-FABR1 16-AUG-01 31-AUG-01 --Edited:- Modified Query and Results for 2nd Requirement
Edited by: Purvesh K on Sep 17, 2012 4:55 PM
--Removed NVL
Edited by: Purvesh K on Sep 17, 2012 5:04 PM -
Duplicate rows based upon condition
Oracle 11.2.0.1
Windows
create table regsales (billno number,itemno number,paymode varchar2(10));
insert into regsales values (12345,10,'cash');
insert into regsales values (12345,11,'cash');
insert into regsales values (12346,11,'cash');
insert into regsales values (12347,10,'credit');
insert into regsales values (12348,14,'cash');
insert into regsales values (12348,15,'cash');
insert into regsales values (12345,12,'cash');
insert into regsales values (12349,10,'cash');
insert into regsales values (12345,10,'credit');
insert into regsales values (12350,11,'cash');
insert into regsales values (12351,12,'cash');
insert into regsales values (12352,11,'cash');
insert into regsales values (12350,11,'credit');
Required Output please :
BILLNO ITEMNO PAYMODE
12345 11 cash
12345 11 credit
12350 10 cash
12350 10 credit
i.e. in which same billnos same itemno has been sold in cash and credit.
Thank you.Hi,
So, you need to know how many different paymodes there are in a group of rows. That sounds like a job for COUNT (DISTINCT ...)
Here's one way:
WITH got_cnt AS
SELECT billno, itemno, paymode
, COUNT (DISTINCT paymode)
OVER ( PARTITION BY billno
, itemno
) AS cnt
FROM regsales
SELECT billno, itemno, paymode
FROM got_cnt
WHERE cnt = 2
ORDER BY billno, itemno, paymode
Can there be other paymodes besides 'cash' and 'credit'? If so, the same basic idea will still work, but the details may be a little messier, depending on your requirements. -
How to suppress a row based on current date - at query level?
In an Bex query report i have suppress rows based on current date.
There is no current date available in query.
there is a date field in the query.
If by chance the date in that field is lesser than current date, I have to suppress that row.
How can this be achieved?What is the code ofr creating a variable to get values >= to current date?
I have implemented the following code which is not working.
data L_S_range like line of E_T_range[].
CLEAR L_S_RANGE.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'GE'.
L_S_RANGE-LOW = SY-DATUM.
APPEND L_S_RANGE TO E_T_RANGE[].
Actually i have written in class, which will be inherited in superclass.
Edited by: akshara20 on Feb 2, 2011 1:21 PM -
HR (Planning database) Does the account type matter when suppressing rows?
Does the account type matter when using the Advanced Options row suppression?
The report will suppress all the 0 rows if the suppression is based on a column with a Planning acct type "Revenue", but it doesn't do anything if the suppression is based on a column with a Planning acct type "saved assumption."
Just wondering if this is why I can't get the report to suppress the rows. Everything else seems to be the same in the report.
Thanks in advance for any assistance on this.user11232292 wrote:
Does the account type matter when using the Advanced Options row suppression? Yes. If you click on the Row > Advanced Options > Setup, you will notice the Account Type under the Suppress Row If drop-down.
Can you tell us how your Conditional Suppression is set up? If this report consists of account types Revenue and Saved Assumption only, and your conditional suppression works just on Revenue account types, you can insert a second condition for the Saved Assumption account types.
Let me know if this helps or if you have any other questions.
Cheers,
Mehmet -
ALV rows coloring based on condition
Hai ,
I want Color the rows in the list based on some condition ..
Hope to get the helpful suggestion s on this asap
regards,Hi shishupalreddy,
1. Not only the full row color,
we can also manipulate the color in each cell,
based upon conditions.
2.
IMPORTANT THINGS
a. Extra field in internal table
clr TYPE slis_t_specialcol_alv,
(this field will contain the colour codes)
b. assign fieldname to alv layout
alvly-coltab_fieldname = 'CLR'
c. work area for colour
DATA : clrwa TYPE slis_specialcol_alv.
d. Populating the color
Once again
Loop at ITAB.
*********logic
if itab-field < 0 "---negative
clrwa-fieldname = 'FIELDNAME'. "<--- FIELDNAME FOR COLOR
clrwa-color-col = 6. <------- COLOUR 0-9
APPEND clrwa TO itab-clr.
MODIFY ITAB.
endif.
ENDLOOP.
5. just copy paste in new program
6.
REPORT abc .
NECESSARY / MUST
TYPE-POOLS : slis.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvly TYPE slis_layout_alv.
ITAB DECLARATION
DATA : prg TYPE sy-repid.
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : clname(3) TYPE c,
clr TYPE slis_t_specialcol_alv,
END OF itab.
DATA : clrwa TYPE slis_specialcol_alv.
PARAMETERS : a TYPE c.
DATA : flname TYPE slis_fieldname.
SELECT
START-OF-SELECTION.
SELECT * FROM t001
INTO CORRESPONDING FIELDS OF TABLE itab..
LOOP AT itab..
IF SY-TABIX <= 5.
itab-clname = 'C50'.
ELSE.
itab-clname = 'C30'.
ENDIF.
MODIFY itab.
ENDLOOP.
LOOP AT ITAB.
check itab-bukrs = '1000'
clrwa-fieldname = 'BUTXT'.
clrwa-color-col = 6.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
clrwa-fieldname = 'LAND1'.
clrwa-color-col = 4.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
ENDLOOP.
prg = sy-repid.
flname = 'CLNAME'.
alvly-info_fieldname = 'CLNAME'.
alvly-coltab_fieldname = 'CLR'.
LOOP AT ITAB.
if sy-tabix = 3.
clrwa-fieldname = 'BUTXT'.
clrwa-color-col = 6.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
clrwa-fieldname = 'LAND1'.
clrwa-color-col = 1.
APPEND clrwa TO itab-clr.
MODIFY ITAB.
endif.
ENDLOOP
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
i_program_name = prg
i_internal_tabname = 'ITAB'
i_inclname = prg
CHANGING
ct_fieldcat = alvfc
EXCEPTIONS
inconsistent_interface = 1
program_error = 2
OTHERS = 3.
minimum
*CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2
extra
sy-uname = 'XYZAB'.
prg = sy-repid.
Excluding
DATA : excl TYPE slis_t_extab.
DATA : exclwa TYPE slis_extab.
exclwa = '&OUP'.
APPEND exclwa TO excl.
exclwa = '&ODN'.
APPEND exclwa TO excl.
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
it_fieldcat = alvfc
i_callback_program = sy-repid
is_layout = alvly
i_callback_user_command = 'ITAB_USER_COMMAND'
it_excluding =
excl
i_save = 'A'
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
*& Form itab_user_command
text
-->WHATCOMM text
-->WHATROW text
FORM itab_user_command USING whatcomm TYPE sy-ucomm whatrow TYPE
slis_selfield.
BREAK-POINT.
ENDFORM. "itab_user_command
regards,
amit m. -
Can a member be READ-ONLY in a row of some Planning forms?
Hi,
Can a member be READ-ONLY in a row of some Planning forms?
For example, I have a member called Salary as a row in a Form that is used to maintain employees. We allow Planners to update Salary in "Employee Detail" form.
However, in another form , we roll up Salary to "ALL EMPLOYEES IN DEPT" member and we do not want users to update that as it is added up by a calc script.
What is the best way to restrict users from updating in this 2nd form but allow update to Salary in first form.
Thanks.Hi,
You can use Asymmetric Rows and set the member you want to be read only, for more information on how to create them on forms have a read of http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/ch06s03s14.html
Cheers
John
http://john-goodwin.blogspot.com/ -
Suppress Target structure based on condition
Hi
How to suppress target structure based on condition
Example:
Source is like:
<Details>
<Name>abdc</Name>
<ID>234</ID>
<Address>US</Address>
</Details>
I have two target structures
1:
<Details>
<Name>abdc</Name>
<ID>234</ID>
<Address>US</Address>
</Details>
2:
<Error>
<ErrorID>
</Error>
if Any of the source filed is null then i dont want to map it to source structure. instead I want to assign an error id to ErrrorID node of the target.
example
abc,123,US
abc
in above case second record has two null values
so my target structure should be
<Details>
<Name>abc</Name>
<ID>123</ID>
<Address>US</Address>
</Details>
<Error>
<ErrorID>2nd record has erro</ErrorID>
</Error>
How to acheive this..
Please help us
Regards
Sowmyahi ,
plz try the following mapping
Name-->exist-->if than else-> tuue----->Name
false---(constant)--
error
ID-->exist-->if than else-> tuue----->ID
false---(constant)--
error
adress-->exist-->if than else-> tuue----->address
false---(constant)--
error
regards,
navneet -
Adobe Form - Hide a table row if a condition met
Hi Helper
I am learning how to use Adobe Form - and I am trying to hide a table row if a condition is met by using Formcalc/Jave script - but I donot know how - I was told that I can use "....presence = 'hide' " property in on of the event(?) but donot know how to write the qualified name for the varable row and what event to use. Could someone please show me how
Points will be rewarded.
ThanksHi Liem,
Here is some more information:
1)
Accessing data in Table Cell
xfa.resolveNode("xfa.data.my_data.tableData[" + this.parent.index + "].column1").value
2) Accessing data nodes in Context
xfa.datasets.data.my_data.second_node.an_attribute.value == "3"
I think you will find the WebLog below very useful for your requirements.
/people/juergen.hauser2/blog/2007/09/03/accessing-data-nodes-in-sap-interactive-forms
-regards,
harman -
How to suppress row when one column has zero using condition
Hi Experts,
How do I suppress row when one column has zero.
I read it is possible using conditions.
How ?
Thankyou.Check this
1. for Query Properties, go to the Display tab and Supress Zeros is "Active"
2. select the Structure, right-click, select Properties, then click "on" Also Use Zero Suppression for Structure Elements
http://help.sap.com/saphelp_nw04/helpdata/en/a4/dd3841d132d92be10000000a1550b0/frameset.htm
Hope it Helps
Chetan
@CP.. -
Highligting rows based on multiple conditions
Hi,
I have to show a report with exceptions highlighted in RED color. Exceptions are based on some conditions:
If I have four columns in an answer request, two of which say "Level" and "Status".
based on the "Level" and "Status" column conditions I have to highlight entire row which satisfies any of the condition.
Ex: If I have Level=3,4,5 and Status= Y,N then for
Level=3 or Status=N is one exception.
Level=4,5 or Status=Y is another exception.
Based on this two column conditions I have to highlight entire row in the report.
Can we do this in OBIEE. Highlighting rows based on multiple conditions?
Thanks in advance!Thanks for the reply.
I have tried that already. I can highlight one specific field but not entire row.
If I keep on applying the conditional format for the other columns too then I can't apply the conditions.
Anyways, I have created a dummy column with the conditions in it and then applied that to the other fields and used conditional format to highlight the color.
Maybe you are looking for
-
How Do I turn off Text message on my MacBook Air
My MacBook Air, my husband's Macbook Pro, and my Iphone4 are all linked and therefore my husband sees all my text. The problem is an educator I may be discussing something confidential, therefore how do I unlink his mac from my iphone. We do share th
-
How to replace the hardwired certificate in the DocSign example
Hi, I am trying to replace the hardwired John Doe certificate in the DocSign example with my own. I have created my own certificate (pfx file); when I use this certificate instead of the hardwired one I receive an error. Obviously I am not doing it r
-
Save file as ANSI: Which tool and how?
Hi, I got only: MS Word MS Wordpad MS Notepad. I need to save a file as ANSI. How can I achieve this? Regards Mario
-
Apple might exchange my iPhone 4 with a "like new" phone.
What the heck is a "like new" phone? My iPhone 4 is defective, and it's just 32 days old. I was told that, if a replacement is indicated, that it'll be replaced with a "like new" phone. What exactly is a "like new" phone? How exactly does it differ f
-
Hi, I have a calc that is supposed to calculate the average but I dont know how to do it. Time prompt: enabled to take X number of months. $$: a certain amount of $$ corresponds to each month taken by the prompt Example: 8 months (Jan to Aug), $100