How to hide one block of data based on Filter selections
Hi,
I have a requirement where I should show only one block based of filter selections provided at the Query Level.
How can I achieve that?
Regards
Shirley
Lets say you have a optional filter and you want to show block 1 if value are inserted and block 2 if no value selected.
For this You can create a variable status =IsPromptAnswered("") it will return 1 if prompt is answered.
In block property go to the hide if below formula is correct and for block 1 give status =1 and block 2 give status=0
I hope this will help.
Similar Messages
-
How to Hide/show the columns data while doing Drill down or drill up
Hi ,
How to Hide/show the columns data while doing Drill down or drill up in webi report .
Does it possible BO 3.1 version ?
Please suggest me on this.
Thanks & Regards
VenkatWhile that is not there yet, you can make use of the show when empty yes/no in combination with alerters.
So I have an alerter applied to every cell of the table.
When a condition is true (say I drilled down) I just put = "" in every cell, emptying the table,
because its now empty and doesn't need to show, it wont.
For the detail table I use the opposite, so when you drilled down it becomes visible...
Hope this helps all that do not have 40 yet
Good luck,
Marianne -
How to create dynamic ed flash charts based on user selected fields in Orac
Hi all,
Can any of the experts please tellme "how to create dynamic ed flash charts based on user selected fields in Oracle apex".
Thanks
ManishHello,
Lots of different ways to do this, I blogged about one way (using a Pipelined function) here -
http://jes.blogs.shellprompt.net/2006/05/25/generic-charting-in-application-express/
Other options include using a PL/SQL function returning the string to use as the dynamic query etc.
Hope this helps,
John.
Blog: http://jes.blogs.shellprompt.net
Work: http://www.apex-evangelists.com
Author of Pro Application Express: http://tinyurl.com/3gu7cd
REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone! -
WAD 3.5 - Pass a date to Hierarchical Filter Selection Key Date
I'm working in WAD 3.5, with 3.5 queries. I currently have a Hierarchical Filter Selection on Org Unit using a query with no Key Date set, so as to pull the most current version of the hierarchy. This filter selection is then applied to several charts and tables below.
I need the web app to initially display this current version, but also allow the user to select a date, which triggers a requery of the Hierarchical Filter Selection data provider, passing the date selection to the key date of the data provider query. 1) how do I pass the date (currently from a drop down) to the key date of the other query, and 2) how do I force a requery of the Hierarchical Filter Selection?
The problem we are attempting to address is that if Org Unit A contained Org Units 1, 2, and 3 at the end of 2007, but only 1 and 2 today, the Hierarchical Filter Selection will not show #3, thus not allowing the user to drill down to it. If they can choose the version/point in time of the hierarchy, they will then have the ability to drill down on the older Org Units.
Thanks!
Anna
Edited by: Anna Kamrath on Feb 6, 2009 8:52 AMOur solution was to modify the user exit variables and store the values in a MEMORY ID and restore from there.
-
How to hide one of the two Multi level categorization blocks in SRVR?
Hi
I am trying to hide one of the multilevel categorization blocks in SRVR(SERVICE request)
Can it be done by configuration in BSP workbench. If yes then how? I went to the view but I am not able to remove the block
Please help.
Thanks
TarangGo to BSP_WD_CMPWB and create a new view by copying existing and remove the 2nd category block.
This can also be done directly from webui.
Regards
Surya -
How to HIDE one data field in BEx???
Hi all,
I tried to HIDE one CHAR's value from report but no matter what I did. It still shows in the report. Need advice, please.
<b>EX: In the FILTER, I drag & drop 'product ID' to filter section and assign certain' value' under it and then run the query. It shows 'product ID with those values I assigned in the report.</b> I need to remove them from the report. How? (I already personized my variant so it won't show in the selection screen)
Thank you
J.Hi all,
Thank you for all informaiton. Here is an example for my scenario: I need to put Product ID in the FILTER section and 'restrict' the value- #112, #113 (ie: my sales report will be only for these two products). <b>This report is for products-#112,#113 only so my client doesn't want to see one row show: Product ID: #112, #113 in the report.</b> Any advice that I can avoid this row? I used 'no display' but it is still there.
J. -
How to remove a block of data in memory?
hello:
there is a block of data in memory, now i should add 4 bytes in them , so i should remove some data behind, i don't know what function i should use?
i think remove some data from one place to another is copy data from one place to another , is that ok?
Best regards!
futureI have some records in the internal table t_int1. I want to retrieve some set records from that table and put them all in some other table, based on a single field which is not a key. Can i use READ statement to achieve this.
Could you please let me know any simple way of doin this.
Answer :
data:
itab2 like standard table of t_int1 with header line.
Loop at t_int1.
read table t_int1 with index 1.
check ur condition----
check each line and insert it ---work out the syntax for this
IF t_int1-xyz = data1
append line of t_int1 to itab2. or try insert
cnt = cnt + 1 -
u will get no. of records added to next itab.
else.
cnt1 = cnt1 + 1 -
u will get no. of records not added to next itab.
endif.
end loop. -
How to get one day back data from selecting date .
Hi Experts,
Iam using DB2 database .How to see one day back of selected date . i tried by using prompts .
Date=(@prompt('Mssg','D',,mono,free)-1 days) Date is a date object and i applied prompt for date . butting i'm facing error . so kindly help me to over come this issue .
Regards
Dineshfirst capture Date on univers by simply using your formula
Date=(@prompt('Mssg','D',,mono,free))
Now to get the previous date i.e 1 day back date
create another variable called
back_Date = (Date - 1 Day)
Thanks,
Swapnil -
How to hide a block in Selection screen ?
Hello abap gurus,
I have a requirement where I have to hide a block on Selection screen. Can anyone of u give the command for that or code..
Its urgent !
Om Sai Ram,
aRgDHi,
Just paste the following code in abap editor.
*Selectionscreen elements..............................................
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
PARAMETERS:
p_uname LIKE sy-uname
MODIF ID bl1. " User name
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
PARAMETERS:
p_fname(10) TYPE c MODIF ID bl2
OBLIGATORY, " First name
p_lname(10) TYPE c MODIF ID bl2
OBLIGATORY, " Last name
p_empid(5) TYPE n MODIF ID bl2
OBLIGATORY. " Employee id
SELECTION-SCREEN END OF BLOCK b2.
*" Data declarations...................................................
Work variables *
DATA:
w_uname LIKE sy-uname. " User name
AT SELECTION-SCREEN OUTPUT EVENT *
AT SELECTION-SCREEN OUTPUT.
PERFORM validate.
AT SELECTION-SCREEN ON FIELD EVENT *
AT SELECTION-SCREEN ON p_uname.
PERFORM validate_uname.
END OF SELECTION EVENT *
END-OF-SELECTION.
PERFORM output.
FORM VALIDATE *
This subroutine disables all parameters if user name is not *
initialized or user name is not valid. *
There are no interface parameters to be passed to this subroutine. *
FORM validate.
w_uname = sy-uname.
IF p_uname IS INITIAL OR p_uname NE w_uname.
LOOP AT SCREEN.
IF screen-group1 EQ 'BL2'.
screen-active = '0'.
ELSE.
screen-active = '1'.
ENDIF. " IF screen-group1 EQ 'BL2'.
MODIFY SCREEN.
ENDLOOP. " LOOP AT SCREEN.
ELSEIF p_uname EQ sy-uname.
LOOP AT SCREEN.
IF screen-group1 = 'BL1'.
screen-active = 0.
MODIFY SCREEN.
ELSEIF screen-group1 = 'BL2'.
screen-active = 1.
screen-output = 1.
screen-input = 1.
screen-invisible = 0.
ENDIF. " IF screen-group1 = 'BL1'.
MODIFY SCREEN.
ENDLOOP. " LOOP AT SCREEN.
ENDIF. " IF p_uname IS INITIAL...
ENDFORM. " VALIDATE
Form VALIDATE_UNAME *
This subroutine gives error message and validates the user name. *
There are no interface parameters to be passed to this subroutine. *
FORM validate_uname .
IF p_uname IS INITIAL.
MESSAGE 'Enter the user name'(001) TYPE 'E'.
ELSEIF p_uname NE sy-uname.
MESSAGE 'Authorization unsuccessful'(002) TYPE 'E'.
ENDIF. " IF p_uname IS INITIAL.
ENDFORM. " VALIDATE_UNAME
Form OUTPUT *
This subroutine is used to print the output. *
There are no interface parameters to be passed to this subroutine. *
FORM output .
IF p_fname IS NOT INITIAL.
WRITE: / 'First name:'(003),p_fname.
WRITE: / 'Last name:'(004),p_lname.
WRITE: / 'Employee id:'(005),p_empid.
ENDIF. " IF p_fname IS NOT INITIAL.
ENDFORM. " OUTPUT
I think this solves your problem.
Reward if it helps you.....
Regards,
Sandhya -
How to fetch data based on this selection screen
Hi Friends:
I've a selection screen which contains these 3 fields:
company code (t001-bukrs)
material division (mara-spart)
posting date (bkpf-budat)
based on the above fields, I've to fetch the following:
ekpo-bukrs
mara-spart
mseg-werks
mseg-lgort
bseg-hkont
bseg-kostl
bseg-hkont
skat-txt50
mseg-mblnr
mseg-zeile
bseg-belnr
bkpf-bktxt
mseg-insmk
bkpf-monat
bkpf-budat
mseg-bwart
mbew-matnr
makt-maktx
mseg-menge
mseg-meins
mbew-stprs
mseg-dmbtr
bseg-pswsl
ausp-atwrt
mara-matkl
mara-mtart
mbew-bklas
mbew-bwtar
mkpf-vgart
mcha-charg
mseg-ebeln
aufk-aufnr
mseg-ummat
vbak-vbeln
likp-vbeln
bkpf-usnam
Please help me with the logic . I want to ask that in which order I should start fetching data.How to relate it from selection screen. Which table I should fetch first based on the selection screen.how to relate mseg/bseg/mara/mbew/vbak/bkpf etc.
Please help.
Thanks for your time.Hi,
I dont think you need EKPO to fetch your bukrs. It is available in BKPF too.
Use inner join to join MKPF, BKPF, MAKT, fetch all the related entreis.
Use Inner join on MBEW, MCHA for all entries from above query.
use inner join on AUSP for all entries from above query.
Use may use separate queries or inner joins for LIKP and VBAK with for all entries.
Use separate for all entries for BSEG and MSEG. Do not use any JOIN on BSEG as it is a pooled table.
As per the need you may change the queries..
Regards,
Subramanian -
How to hide particular block in selection screen
Hi,
I am having different blocks in a selection screen.
How to show the blocks dynamically according to a radio button selection.
means how to Hide/show entire block.
Thanks,
anandanHi Anandan,
Try this program.
REPORT zvk_collect.
SELECTION-SCREEN : BEGIN OF BLOCK b1 WITH FRAME NO INTERVALS.
PARAMETER : p_plant RADIOBUTTON GROUP g1 USER-COMMAND radio DEFAULT 'X',
p_mrp RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF BLOCK b1.
SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME NO INTERVALS.
PARAMETER : p_werks TYPE marc-werks MODIF ID sp1.
SELECTION-SCREEN END OF BLOCK b2.
*SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME NO INTERVALS.
*PARAMETER : p_berid TYPE smdma-berid MODIF ID sp2.
*SELECTION-SCREEN END OF BLOCK b3.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
CHECK screen-group1 = 'SP1' OR
screen-group1 = 'SP2'.
IF p_plant = 'X'.
IF screen-group1 = 'SP2'.
screen-input = 0.
screen-active = 0.
screen-required = 1.
MODIFY SCREEN.
ENDIF.
ELSE.
IF screen-group1 = 'SP1'.
screen-input = 0.
screen-active = 0.
screen-required = 1.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
Execute with Comments ON and Without Comments and See the difference
Reward if found helpful -
How to hide one field in report [discoverer desktop ]
i am using rownum column in cross tab(discoverer) report to avoiding group by data in the report.
Now how to hide the ROWNUM Column in the report.
plz reply me.Hi
To add to what Rod and Russ have said, the white on white option actually has real uses and not just for suppressing a sorted item. It is a most useful technique that I use a lot to hide the intermediate row-level results of analytic functions, while just displaying a grand total. It looks cool too. If I find some time I'll make a posting on my blog although it probably won't be until next year - oh yeah that's only two weeks away isn't it?
Best wishes
Michael -
How to hide one column in PIVOT(in Union )
Hi experts
I have one problem regarding my Pivot report.
I have to calculate MTD an YTD in my single report so i have calculated MTD in one criteria (UNION) YTD in second criteria.
In my MTD i have to show 4 column: A B C D
and in YTD I have to show only 3 column : A B C
So how to hide column D in YTD.
Thanks in advance
Regards
FrndsHi John
I have done :
1. when i do cast as null to my D column in second report. I am getting error
(Union for non compatible)
2. so i done the cast in first report also..
3. Done the union all
4.and done the HIDE for column D in Result Column..
But still i am seeing it in my report in YTD...
So please help me its very urgent for me.. -
How to hide a block from a selection screen.
Hello Friends,
I have a new reqirement in which a main program has two transactions.
Both the transactions have the same fields and parameters.
Now I am asked to add some fields in only one transaction without disturbing the other txn.
For this I have created a block and added two fields. But now i want to hide this block for the 2nd transaction.
So please guide me for this...
Thanks in advance.Hi Sapna,
If you hide all the fileds that are in a block then that block should also get hidden as far as I know. have you tried assigning a MODIF ID to all the fileds and then using
SCREEN-GROUP1 = 'GROUP NAME'
SCREEN-ACTIVE = 0.
This should work if this is not working then check if you can use the block name and hide it in LOOP AT SCREEN.
Hi I has juse checked this code and it hides the block also.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
PARAMETERS: par1 TYPE spfli-carrid MODIF ID par.
PARAMETERS: par2 TYPE spfli-connid MODIF ID par.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'PAR'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
MODIFYING your code
<b>SELECTION-SCREEN BEGIN OF BLOCK PARAMETER WITH FRAME TITLE TEXT-053.
PARAMETERS:
P_1 LIKE t-f1 DEFAULT 'USD' MODIF ID par,
P_2 LIKE t-f2 MODIF ID par.
SELECTION-SCREEN END OF BLOCK PARAMETER.
AT SELECTION-SCREEN OUTPUT.
LOOP AT SCREEN.
IF screen-group1 = 'PAR'.
screen-active = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.</b>
Regards,
Sesh
Message was edited by:
Seshatalpasai Madala -
How to hide one of the unions from the results?
Hi all,
I have a graph which contains 5 unions. The top query is used to pass the functions and the other 4 are the ones that really doing the caclutaions. Is there any way to hid one query from results?
Thanks in advance.Hiding based on what? If it is a prompt, assign a presentation variable and add a condition to the filter of your desirable result-set in a structure like:
CASE WHEN '@{myPresentationVariable}{DefaultValue}' = 'WhateverValueIWant' THEN 1 ELSE 0 END = 1
Maybe you are looking for
-
Hi, How to use custom defines PF-STATUS in ALV Grid. Please Give me suggestion this is very imprtant.
-
Ipod nano 3rd gen sync message
For weeks, I have successfullyI downloaded audiobooks onto my macbook, then onto my ipod nano. I was manually synching. Suddenly, I can no longer download onto the ipod, and these messages appeared: 1. The ipod " ...'s ipod" cannot be synched. You do
-
Cannot re-download itunes error 7 windows error 126)
cannot re-download itunes error 7 windows error 126)
-
12" 133 - Thermal and Power Background Needed
1. Does this computer have a button battery? I.e., can I swap batteries while in sleep and not have it reset the date, time and (ulp) Prefs/PRAM? 2. There is a fan in there somewhere, right? It's never come on, but a temp-mon utility shows a HD tempe
-
What the correct codec for Final Cut Pro?