Handling Dynamic Filter Values in Web Template.
Hi friends,
I have a Authorization Hierachy Node Variable on 0COMPANY and this is placed in Free Characteristics in BEx Query.
Now i want to catch the value of this Company in Web Template either using Text Element web Item or etc. and then pass this value to the Print Layout of the same report.
Could some body help me on this.
Thank you very much advance.
Hi,
this is my sample:
'http://**********/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=TESTE1&DUMMY=0&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING='&DSTR(NOW(),'MMYYYY')&'&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=GLIPM002&BI_COMMAND_2-BI_COMMAND_TYPE=SET_SELECTION_STATE_SIMPLE&BI_COMMAND_2-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=&BI_COMMAND_2-CHARACTERISTIC=GLC000079&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-EQUAL_SELECTION-MEMBER_NAME=****'
Similar Messages
-
Passing Dynamic Filter values to Web template in VC
Hi Experts,
Iam working with a Web Template (which is created using WAD) in Visual Composer Model
I have an input screen ( Variables Form )in VC Iview which has Fiscal Year, Quarter, week and other input fields which need to be entered by a user.
This variables are passed to a couple of queires. Also i have a requirement to pass the same vvariable values to Web template also ( WAD)
I have created a HTML iview in VC Dashboard.and in URL i gave the below URL which is working fine
"pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2"
But i wanted the template to be executed with filter values also
in the actual template i have 4 filters which user needs to enter after the above URL is displayed..
In order to make the template execution dynamic i added the following URL which is not working:
http://Host:port/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=YWEB_PLANNING_ADLAYOUT_2%26FILTER_IOBJNM%3DZFISCYEAR%26FILTER_VALUE%3D2009%26FILTER_IOBJNM%3DZREP_WEEK%26FILTER_VALUE%3D42%26FILTER_IOBJNM%3DZFISCALQTR%26FILTER_VALUE%3D3%26FILTER_IOBJNM%3ZNSPLITREG%26FILTER_VALUE%3DAS%26FILTER_IOBJNM%3DZRSKOPP%26FILTER_VALUE%3DR
Please let me know how to pass dynamic filter values from "Variables Form" of VC iview to Web template HTML iview
Thanks
P.NavakanthHi,
this is my sample:
'http://**********/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=TESTE1&DUMMY=0&BI_COMMAND_1-BI_COMMAND_TYPE=SET_VARIABLES_STATE&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE=VARIABLE_INPUT_STRING&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE_TYPE-VARIABLE_INPUT_STRING='&DSTR(NOW(),'MMYYYY')&'&BI_COMMAND_1-VARIABLE_VALUES-VARIABLE_VALUE_1-VARIABLE=GLIPM002&BI_COMMAND_2-BI_COMMAND_TYPE=SET_SELECTION_STATE_SIMPLE&BI_COMMAND_2-TARGET_DATA_PROVIDER_REF_LIST-TARGET_DATA_PROVIDER_REF_1=&BI_COMMAND_2-CHARACTERISTIC=GLC000079&BI_COMMAND_2-RANGE_SELECTION_OPERATOR-EQUAL_SELECTION-MEMBER_NAME=****' -
Restrict values on web template input variable
Hi WAD and Bex Experts,
I'm trying to reduce the numbers of valid values when I press the match code in the input variable in a web template.
In the same time I would like to increase the maximum numbers of valid values
Any ideas how to do it ? I checked on Bex and WAD but I can't figure out how to do it.
I'm on a Bw 3.5 version.
Thank you.
SteHi Ste,
check this:
Displaying filter values in WEB reporting
SAP Note Number: [587751|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler]
Attributes are missing in F4 Help for characteristic values
SAP Note Number: [562497|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bw_bex/~form/handler]
Regards
Andreas -
Issue with filtering values in Web Template
I am facing a problem with filtering values in Web Template.
I have two queries based on two different data providers. One query is getting data from an Info set and the other from a Remote Cube. I have a single navigational block to filter values for both these queries but the change gets reflected only on the variable of one query. The other reflects no change and shows all the values irrespective of the filter condition.
I have tried the option of setting in the properties of the navigational block, affected data providers as both your data providers.But no effect.
Can a single navigational block be used to filter values on 2 queries which are built on different data providers? If yes, can someone please tell me how it is possible?
Kindly let me know how can I make the changes appear in both the queries?I am using SAP BI 3.5.
Thanks & Regards,
SuchitraHi Peng,
Frank also published a fix for 11g R1: http://www.oracle.com/technology/products/jdev/tips/fnimphius/rc_expand_menu_on_mouse_over.html
function showMenu(event){
var adfRichMenu = event.getSource();
adfRichMenu.getPeer().show(null,true);
}This should work.
Luc Bors -
How to retrieve dynamic filter value submitted from control query to broadcast query.....
I'm trying to change the hierarchy version determined by a userexit variable in the broadcast query.
The Hierarchy Version should be dependent on the input filter delivered by the bursting query.
But how do I catch the dynamic filter value which has been submitted by the bursting query,
with other words: where does the bursting query store it's out put while sequentially starting the broadcast query value by value?
BTW: the filter value from the bursting query appears under "dynamic filter values" in the information of the broadcast query...
Any thoughts are welcome!
Edited by: Heinrich Krupp on Jun 24, 2009 1:25 PMFurther information,
Report is used via webi only, not Xcelsius or Dashboard.
Report is consuming BI Web Services.
Although we can pass in prompt values to BI Services, I couldn't find if we could pass a variable or dimension object into this field. Anyone knows? -
Hi People,
I have a question about APD. Is there any way to inform dynamic filter value to APD? Like OLAP variable in infopackage selection?
For example, I have an transactional ODS receiving data from an APD and it has a "Filter" due to restrict the volume of data. In that "Filter" there are many selections with fixed values for each one (e.g. 0CALMONTH). I'd like to know if is possible to replace "fixes" value for dynamic values (e.g. ABAP routine). Or even, another way to pass values to the "filter" parameters when running it by program RSAN_PROCESS_EXECUTE .
I appreciate any kind of help.
Thanks in advise,
Fernando FaianWell, variables are not possible in analysis processes. I know that some customers are using ABAP routines for a dynamic filtering. Some prepare the filter criteria in another program, and the results are then processed in an ABAP routine within the analysis process. Of course, those results need to be stored in between.
Variables like "previous period" are sometimes evaluated directly in the analysis process, but this also means to code it in an ABAP routine.
Hence, I do not know a simple solution. RSAN_PROCESS_EXECUTE does not have any further control parameters which could be used for this. -
Displaying variable values in Web Template
Hi,
I am working on a Web Template.
I want to display the variables and their values input by the user on the Web Template.
Which Web Item function shd I use?
How shd I use it?
Pls guide me.
Thank you,
AdarshHi Adarsha.
You can add the standard web item called "Text Elements". When you have added it just insert the dataprovider you want the filter values displayed for.
Hope it helps.
BR
Stefan -
Variable filter selection in Web Template
Hello we have 0VENDOR as BEx setting for Query Def. Filter Value Selection as 'D only values in InfoProvider', i've a mandator variable on 0Vendor for a query and when i run in Bex it works fine like the selection of variable brings up only the values in the InfoProvider.
I've the same query attached to a Webtemplate, and when i run the Web Template and in Value selection of the Variable brings up all the values from Master Data instead of the Infoprovider.
Any idea how to make it work in Web. btw we're in BI 7.
thanks
MayilMayil
I don't think you can on the variables screen, however if it was feasible you could use a drop down box and have it look at posted values only. However this will only be available after the initial view of the query comes up.
Regards
Gill -
Default variable values in Web Template
http://-----xx.com:8120/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=QZSC_O01_5001_TEST&var_name_1=0S_PLANT&var_value_ext_1=6011&VARIABLE_SCREEN=X
While using the above variable my expectation is it shall display variable screen and for plant (0s_plant) variable it shall show default value as 6011 while other variable shall remain blank.
But while executing it is not showing plant default value in variable screen. Any suggestions.
Many Thanks
VikashHi Vikas,
While defining the Query, you can define the default value for the variable. And this Query can be assigned to the Analysis Item in the Web Template. If the "Display Variable" option is set to "On", then, whenever the Template is executed, the default value set in the Variable will be visible.
Hope this answers your question.
regards,
prem. -
Retain variable values across web templates during a web session
Hi all,
How can we let web template get variable values from another template's variable values so as to keep the same entry values as previous report run?
For example 0vendor has a variable (for single, mandory) used in all vendor related web templates. "vendor1" was entered for the second template.
I tried to use "SET/GET PARAMETER" in variable user exit. It works in BI with RSRT, but it doesn't work with Bex or Web template. Looks like web session is not sync with the ABAP stack.
How about using cookie? How to create/reset cookie in variable user exit? Can we get variable values from web server memory or user session data?
Please share your thought !
Thanks for helping!
DavidHi Arun,
All the web templates are randomly run by user, there are no set of templates run after one template. Any templates can run after any other web template.
Basically we link web templates with portal menu items. any report can be run by any sequence. The thing the new report need to take the previous selection values from common variables. -
BEx Web Application Designer - Info Field - Display Static Filter Values
Hi there,
I'm not sure if anyone is having the same issue I am having... but here goes.
I have the option DISPLAY STATIS FILTER VALUES turned on in my 0ANALYSIS_PATTERN & 0ANALYSIS_PATTERN_EXPORT web print templates for printing to PDFs from the Query Designer.
- If I have it turned on, all the filters (including the dynamic) are displayed with about 4 rows of empty space between each line.
- If I have it turned off, the dynamic filters are displayed normally.
Does anyone know how to affect the font and spacing of this setting?
Note: As it is the the standard print template, I can't add the perameters of which filter to display.
Please let me know if you have any ideas.
Thanks, AudreyHi Edward,
Help to your answer I could understand my mistake. I was customizing the Data Binding part instead of the Internal Display.
I did the following :
[ ]Display Static Filter Values
[ ]Display Genertal Text Elements
[ ]Display Dynamic Filter Values
[x]Display Variables
[ ] Only Variable with values
And it is working now.
FYI: no need to uninstall and reinstall the Bex tools, it worked directly with the latest patch.
Regards,
Laurent -
Reading Dynamic Table Values in interactive form (web Dynpro ABAP)
Hi All,
I have created a Web Dynpro ABAP application which contains an Interactive Form, That Adobe Interactive Form contains Dynamic table (New rows can be added manually and deleted using a button).
I am not able to read the Dynamic table values in Web Dynpro u201COn Submitu201D.
In the Adobe form I have web Dynpro native button (I am using ZCI), while clicking the native button I need to read the dynamic table values.
How can I resolve this problem.
Thanks and Regards,
Boopathi Mthat means, when u add the table instance at runtime, you will also have to add an element to the node that is bound to the table.
probably addNew() mathos may be useful to you.
it appends a new record to the record set.
xfa.sourceSet.dataConnectionName.addNew()
also when on the exit event of the table field, do the following:
var i = xfa.parent.index
$record.rootnodename.tablenodename.data<i>.fieldname = $.rawValue
xfa.host.messageBox($record.rootnodename.tablenodename.data<i>.fieldname) -
hi, I want to change via program (abap or java) values in web template variants, but I dont know where this information is stored. Thanks for advice
ppHi all,
as i described in some postings before the problem with local HTML-to-PDF Conversion utilities is that each BW USer must have a license for this lib. Also you have no Designtime integration, this means if you want to define headers and footers, Pagebreaks or report books all these solutions will not work.
There is also another problem with these tools, f.e. you have Comboboxes or an navigation block included in your template, and you convert the executed template with ABC PDF to PDF you will have also the navigation block items with all the drilldown images printed on the pdf. The printing paper of Tobias Kaufmann(a old cooleague and friend of mine) has also a problem with charts and custom text in the template.
Also there is no automation support for these solutions this means broadcasting of PDF'S is not supported.
Our solution provides such features, but it is not finally released, but we are short before release 1.0.
For interested people, which have special requests in the functionality can sent me an mail, where they can describe their needs. Deepu had seen some features in the past our solution.
So do not hesitate to contact me:
[email protected]
best regards
Kai wachter -
Authorization checks for filter values
Hi,
I'd need to apply authorization checks to filter values in web reporting. The authorizations should be limited with an attribute of the characteristic, not the characteristic itself.
A practical example:
There are two companies A and B. The companies are not allowed to see any data from each other.
There is a report that displays sales orders. It is used by both companies. The selection of sales orders is limited with the characteristic 'distribution channel', so the initial display is fine.
customer sales order
cust1 so1
cust1 so2
cust2 so3
cust2 so4
Users should be able to filter the sales orders by customer. As filter values, the users should only be able to see and select customers from their own company.
Access to customers should be limited with an attribute of the customer, e.g. company code, because it would be impossible to maintain authorization profiles that contain lists of customers.
However, it seems that BEx and web reports don't care about the authorization restrictions applied to the company code. When a user from company A clicks on the characteristic 'customer' and selects filter values (e.g. with F4), he can choose from all customers.
So, how could we apply authorization checks to filter values?
Message was edited by: Arto PihlajaHi Dirk,
and thanks for your tip!
Unfortunately I haven't yet been able to test it out. Meanwhile, I'll just review the theory and check that I've understood your idea.
Continuing with the customer & sales order example, the report could look something like this:
customer comp. sal.ord.
cust1......A......so1
cust1......A......so2
cust1......A......so3
cust2......A......so4
cust2......A......so5
cust3......A......so6
when a user from company A runs it.
What happens if there is a filter for the characteristic Customer, and the user changes the filter values? What values are displayed as possible filter values? Do you mean that BW limits the values of 'customer' based on authorizations to the attribute 'company'?
Message was edited by: Arto Pihlaja -
Show Multiple Filter Values in a Web Template
Hello
I have a Web Template based on a query. On this Web Template I can set multiple single filter values for one characteristic.
Now I want to show these filtered values for this characteristic on the web item. This is possible for ONE filter value when you use the XML path (f.e. DATA_PROVIDER:DP1?/BICS_VIEW/SELECTION_STATE/SELECTION/CHARACTERISTICS/CHARACTERISTIC[@name='CHARNAME']/SELECTIONS/SELECTION[1]/MEMBER/@text)
Is there a possibility to show MULTIPLE filter values for one characteristics in a text or input field? I don't want to use a drop down box or the info field.
Kind Regards,
AndreasHI,
the best ay to do is create a query with same variable parameters as of the main query and place filter Characters on rows.
Use this query in one analysis item and use it on top row of the template as Filters information.This will give better look and feel as well solve your requirement
Maybe you are looking for
-
Id3 tags aren't being updated in 11.1.4 (Mac 10.6.8)
Nevermind folks - figured it out. Sorry for the post. Had selected to "copy songs to itunes folder" so the original files weren't being updated because the copies were. Thanks.
-
Linking and ECC document to CRM complaint
Hello! I have to implement the method GET_SEARCH_HELP of the badi CRM_COPY_BADI_EXTERN to get the reference document number in ECC from CRM. Somebody knows how can i do it? Thanks!!
-
I need a reset button ... and can't find it ...
I have previously had no problems in connecting PB to PC and exchanging files. The last time I did so I got an error message - which I suppose I should have taken the time to read, analyze, act upon, etc. However I did not. Now on connection (both d
-
Web Calendar in Mac OS X Server 10.5
The iCal server in Mac OS X 10.5 Server correctly records recurring events and they are visible in iCal. However, when viewed through a group's web calendar, only the first instance of the event is visible. Is there a non-default setting that has to
-
Pin for Sun Software PKCS#11 softtoken
Hello, I am studying the Solaris Security Essential SUN's book for university examination and I have a problem with pktool command in chapter 8. For example when I try to run the follows command: $pktool list keystore=pkcs11 objtype=both the command