How to popluate user defined values in Paramter field of a report using "Report Server Project", BIDS
Hello,
I am creating report using "Business Intelligence Development Studio", creating "Report Server Project" connected to TFS database.
I have created Variance report and the output of report as below sample:
Project Assigned To Planned Effort Completed Remaining Variance
P1 X 20
10 5 5
P2 Y 10
10 0 0
P3 Z 5
0 5 0
By default I made Assigned To as parameter field and its showing data for selection in a drop down box (X, Y and Z) and data also filtered correctly.
Q. how can I fill resource names in a drop down of my own choice (in this scenario, I want to display only X and Y) and display data based on the selected resource? By default parameter displays all the resources which I don't want.
I did the below but could not get correct result:
1. Right Click on "Assigned To" parameter, Clicked on "Available Values" and Selected "Specify values" instead of "Get values from query"
2. Added X as Label and Value as 2 (Employee ID as mentioned in dbPerson table)
Drop down displays X but when I clicked on report, it gives an error...
Appreciate your help on this.
Regards
Abdul Kalam
Hi Abdul,
From the document, we know that CONSTRAINED flag is used to reduce the risk of injection attacks via the specified string. If a string is provided that is not directly resolvable to qualified
or unqualified member names, the following error appears: "The restrictions imposed by the CONSTRAINED flag in the STRTOSET function were violated."
So you need to make sure the members are passed properly to the STRTOSET function. For more details, please see the following links:
http://ch1n2.wordpress.com/2010/02/21/the-restrictions-imposed-by-the-constrained-flag-in-the-strtoset-function-were-violated/
http://www.bp-msbi.com/2010/04/passing-unconstrained-set-and-member-parameters-between-reports-in-reporting-services/
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Similar Messages
-
How to set a new value for formula field in crystal reports xi?
<p>How to set a new value for formula field in crystal reports xi?</p><p>//formula</p><p>{@description}</p><p> </p><p>exemplo in VB6</p><p>crxSubreport.FormulaFields.Item(1).Text = "'Subreport Formula'" or</p><p>crxSubreport.FormulaFields.Item("description").Text = "'Subreport Formula'"</p><p>How to in JRC?</p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>
Hi,
This functionality is known to be very important and is a key part of the next major release of the JRC planned for the first half of 2008.
Regards,
<p>Blair Wheadon</p>
<p>Product Manager, Crystal Reports</p> -
How to make user-define value's query
Dear All,
In we have 3 user-defined fields in marketing document. When I type in field 1 and field 2, we need line total = field 1 * field 2.
Would it be possible for me to config it in SAP? I setup a user-define value and have a query for it. Make it updated when field 2 changed. But when I am not clear on how to write the query. I have a query select $[POR1.U_Field1]*$[POR1.U_Field2]
But I got an error message. It has to be some syn error in my query.
It is a service type document so that I cannot have a where POR1.Itemcode = ...
Can anybody help me out? Thanks in advance.
Regards,
Yuka
Edited by: Jie Jin on Mar 23, 2010 7:28 PMI use Select $(Por1.Price.number)*$(Por1.U_Numberofunit.number) //replace ( to [
The price was been change to null. Then my query is like select *6. Thanks.
Edited by: Jie Jin on Mar 23, 2010 7:42 PM
Edited by: Jie Jin on Mar 23, 2010 7:44 PM -
How to display user define value in list screen from detail screen
Hello Experts
I am working on task in which i have to display the user define value on list screen. like i have one list list screen which have one button for add..once i click on add which navigate to detail screen and detail screen has two fields one for ID AND other for name and detail screen has one button for save once i put value for id and name and click on save button which will navigate to previous list screen and those values which should be display on list screen.
Regards:
SumitHi Sumit,
To navigate to the Master page on button click , you need some thing like,
oSplitApp.toMaster("masterpage_id");
to understand the navigation for Master/Detail page , have a look at,
http://help.sap.com/saphelp_uiaddon10/helpdata/en/df/adb6b7247e4826b0fcde472b029840/content.htm
Also to pass value from Detail page to Master page, you can use a Global variable to store your values on click of the Save button. For eg. You may have a global JS file which both Master and Detail page can access like App.Js, Application.JS etc.
After navigating to the Master page, you can read the Global variables and show it on your Master page. -
Row limitation for list of User Defined Values
Dear all,
I need to make list of User Defined Values at the field in SO. Is there any limitation of row quantity for that ? because the list will grow until thousand..
Regards
WibisanaDear Ho we,
There is no limitation of user define filed for document level and document row level.
At present i think no budy use 1000 UDF at row level so its very difficult to say after creation of 1000 UDF what is impact on system performance.
You have to work try basis.
REGARDS
MANGESH PAGDHARE. -
How to transfer user defined accounting fields from SRM to ECC ?
Hi!
We are running SRM 5.0 and ECC 6.0 with classic scenario.
We have defined Business entity filed account assignment tab in SRM SHC.
New fields are also defined in tables BBP_C_ACC_F and in BBP_C_ACCFD and added in the structure also INCL_EEW_PD_ACC_CSF. New fields are also defined in srpo accounting.
In R/3 the same field is already defined as it is standard one.
When I create PR or PO i entered the Business entity for the account assignment R i.e real estate.
However, when I order my shopping cart with values in new fields, the values are not transferred into backend.
Standard fields transfer nicely, but the user defined fields dont transfer.
Can any please let me know what we have to do for these user defined values to transfer to back end. We need to implement any BADI ?
Please let me know
ThanksHi,
Use BADI BBP_CREATE_PO_BACK ( t.code SE18) can transfer custom fields
some useful links to transfer custom fields from SRM to ECC..
Re: Purchase Order item customer fields
implementation of BADI BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI
Re: Custom field values are not being transfered to the backend system
Re: How to replicate SRM PO customer fields to ERP PO in ECS
Update Custom Fields in PO - BBP_ECS_PO_OUT_BADI
BBP_ECS_PO_OUT_BADI
implementation of BADI BBP_ECS_PO_OUT_BADI in SRM. and BBP_PO_INBOUND_BADI
Update Header Text in R/3 using BBP_ECS_PO_OUT_BADI
Hope these are helpful..
Thanks
prasad .s -
I create a user defined value in the production order screen for Product No. by mistake. How do I reestablish the connection between Product No. and the List of Bill of Material?
Regards,
FredHi Fred,
You just need to ShiftAtlF2 to bring up design page and change it to without User Defined Value.
Thanks,
Gordon -
How to create user defined button in alv report
how to create user defined button in alv report
thnks in advance.Hi,
U can define it the the PF-STATUS ( Menu for ALV ).
For that u have to define it in the EVENTCAT.
form z_eventcat using p_i_eventcat type slis_t_event.
data: i_event type slis_alv_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 0
importing
et_events = p_i_eventcat
exceptions
list_type_wrong = 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.
clear i_event.
read table p_i_eventcat with key name = slis_ev_top_of_page into
i_event.
if sy-subrc = 0.
move 'TOP_OF_PAGE' to i_event-form.
append i_event to p_i_eventcat.
endif.
read table p_i_eventcat with key name = slis_ev_pf_status_set into i_event.
if sy-subrc = 0.
move 'SET_PF_STATUS' to i_event-form.
append i_event to p_i_eventcat.
endif.
clear i_event.
read table p_i_eventcat into i_event with key name = slis_ev_user_command .
if sy-subrc = 0.
move 'USER_COMMAND' to i_event-form.
append i_event to p_i_eventcat.
endif.
And in the DISPLAY
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = v_progname
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
i_callback_top_of_page = 'TOP_OF_PAGE'
i_grid_title = v_gridtitle
i_save = 'A'
is_layout = i_layout
it_fieldcat = i_fieldcat[]
it_sort = i_sortinfo
it_events = i_eventcat
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = it_final
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.
*MENU SETTINGS.
form set_pf_status using rt_extab type slis_t_extab.
set pf-status 'ALV_MENU'.
endform. "SET_PF_STATUS
endform. " Z_EVENTCAT
Now double click on ALV MENU nad u can create a button in the application bar.
Regards,
Pritha. -
How to import user defined class in UIX page?
Does anyone know how to import user defined class in UIX page so that the class can be called in the javascript in the UIX ?
Thks & Rgds,
Bennywhat you are referring to is not javascript.
it is JSP scriptlets. These are very different.
In order to keep a strict separation between View and Controller, it is not possible to run arbitrary java code from within your UIX code.
However, you can run java code from within a UIX event handler; see:
http://otn.oracle.com/jdeveloper/help/topic?inOHW=true&linkHelp=false&file=jar%3Afile%3A/u01/app/oracle/product/IAS904/j2ee/OC4J_ohw/applications/jdeveloper904/jdeveloper/helpsets/jdeveloper/uixhelp.jar!/uixdevguide/introducingbaja.html
event handler code is run before the page is rendered. -
Prevent manual entry in user defined value
Is it possible to prevent manual entry in user defined value (Formatted search)?
ThanksHi
I don't think there is any out of the box solution .
It is possible if formatted search automatically populates your data but I think in your case ,user is selecting the list of special codes you have provided .
May be it can be done by SDK . Try posting in SDK forum .
Hope this helps
Bishal -
How to map user-defined fields in XML communication on SRM site
Hi All!
We use the External sourcing scenario and we transfer requirements from ERP in SRM through XI (PurchaseRequestERPSourcingRequest_In)
We should transfer the user-defined fields, but we can not map it in SRM site.
We have enhanced enterprise service in XI, have realized BADI PUR_SE_PRERPSOURCINGRQCO_ASYN on ERP site.
I see the XML message with ours z-fields in tr. SXI_MONITOR (into SRM), but I can not find it in BBP_PDISC.
We try to use BADI BBP_SAPXML1_IN_BADI (there is no method for SC), and BADI /SAPSRM/BD_SOA_MAPPING (z-fields is empty)
Someone can tell how to map user-defined field for SC?
Thanks in advance
Evgeny IlchenkoHello, Julia
We have found solution our problem
We have enhanced standard service in a new enhancement name space and defined own enhancement elements in our namespaces. Then these enhancement elements refered to the SAP standard Enterprise Service.
But In our new interfaces were different XML namespaces
When we have correct an error we could use the next BADI
on ERP site: PUR_SE_PRERPSOURCINGRQCO_ASYN
on SRM site: /SAPSRM/BD_SOA_MAPPING
BR,
Evgeny -
How to create User Defined Variables in Procurement Contract 12.1.3
Hi,
We are using Procurement Contract 12.1.3. As per our business requirement while creating contract template we need to use many variables which are not available in 'System Defined' variable list. Please guide us with some samples (step by step) how to create the 'User defined' variables.
Regards,
PrabhuHi Prabhu,
Did you get the setps how to create user defined variables in Procurement contracts? if so please share me the setp by step flow.
Prakash -
How to alter user defined objects in oracle
Hi all,
Can any one tell me how to alter user defined objects in oracle .
Thanks,
P Prakashprakash wrote:
Hi all,
Can any one tell me how to alter user defined objects in oracle .
DROP
then
CREATE
Handle: prakash
Email: [email protected]
Status Level: Newbie (80)
Registered: Feb 3, 2011
Total Posts: 185
Total Questions: 67 (65 unresolved)
so many questions & so few answers.
How SAD!
Edited by: sb92075 on Sep 22, 2011 9:22 AM -
How to remove User Defined field in programitically
Hi,
How to remove user defined field in programitically. send the code
Thanks,
P.Suresh KumarHi,
Please take a look at this thread:
Re: Can't remove a user defined field with DI API.
Kind Regards,
Owen -
How to create user defined transactioncode in bw
hi,
How to create user defined transactioncode in bw.My user want this
regards,
Abhishekhi
by using the t code SE93 u can create.
after that it will ask u for what ur going create
1.Program and screen
2.Program and selection screen
3.method of class
4.transaction with variant
5.transaction with parameter
here u have to select appropriate option based on ur requirement
and enter the options as per ur needs save and activate
Maybe you are looking for
-
Is anyone experiencing the same issue as me ? After recording a voice memo on the new ios 7, I name the recording and then try my best to edit it. I record in Logic Pro so I am very familiar with cutting audio files but this is ridiculous :-) When I
-
How do I add my apple id and erase the previous owner's id, when my phone has been activated and ready to use?
-
Failed to load or instantiate TagExtraInfo class
Hi there If I deploy a taglib (which contains TEI-classes) to Tomcat 5.0.25 I get the following error: org.apache.jasper.JasperException: Failed to load or instantiate TagExtraInfo class: ch.gsa.prodass3.taglib.TagAddAttributeTEI org.apache.jasp
-
I have Adobe InDesign on my computer...
How do you add programs to your "Open With" list when you right-click a file in Windows? After my uninstall of CS3 (I already installed CS5 - Windows dosn´t recognize the .indd files anymore... It worked fine when I had both InDesign versions... But
-
UNEXPECTED_KERNEL_MODE_TRAP error on windows 8.1
Hi, Recently I have installed windows 8.1 on my laptop. I am using Lenovo G400s. Specification: Processor: 3rd generation Intel® Core™ i5-3230M Processor (3M Cache, 2.6 GHz) RAM: 4GB Graphics card: Intel® HD Graphics + 1GB Nvidia graphics card. HDD: