User's values
hi,
how can I save and later receive some values that will be specified by user?
Is any tool for this in EP? I don't want to directly use DB, file...
Search SDN on profile of an Iview(or portalapp.xml)
Say u have added something like:
<property name="system" value="IDES">
<property name="personalization" value=<b>"no-dialog"/</b>>
<property name="type" value="string"/>
</property>
no-dialog tells it not to appear as a personalization property for the user.
..then in the Dynpage u cud access this property like this:
IPortalComponentContext context = request.getComponentContext();
IPortalComponentProfile profile = context.getProfile();
String systemName = profile.getProperty("system");
<b>Please consider awarding points for helpful answers.</b>
Thanks,
P.
Similar Messages
-
How to include input user parameter values in XML report output?
How can i include input user parameter values in XML report output. I a have a report which can be run by providing start date and end date. I would like to include value of these parameters in XML output to enable me to figure out dates for report, just by looking at XML output.
Rgds,
manishI think all the XML attributes can contain lexicals. If you bring up the property palette against the report object you can just set the following:
XML Tag Attributes: myParameter="&<P_1>"
where P_1 is your user parameter. -
How to find the user entered value is Integer or not?
hi,
i want to find, whether the user entered value is Integer or not. If it is Integer, i wanna continue the program. otherwise send an error message. i tried to find for function in API. But i couldn't. can somebody help me with sample code. very urgent.Do a Integer.parseInt(<string value>) in a try catch block If a NumberFormatException is thrown, the entered number is not an integer.
-
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. -
Hi All,
I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field . i want to get that string.
Thanks a lot in advance for your time and help.
- VijayHi All,
I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field . i want to get that string.
Thanks a lot in advance for your time and help.
- Vijay -
How to Get User entered value in a text variable
Hi,
I have made a text variable to show the user entered value in the column header.
The user enteres value in a formula variable ABC whose default value is say '30'.
I am using customer exit to capture this value in the text variable. The code is as follows
IF i_vnam EQ 'txtvar'.
if i_step = 2.
LOOP AT i_t_var_range INTO loc_var_range
WHERE vnam = 'ABC'.
CLEAR l_s_range.
l_s_range-low = loc_var_range-low.
l_s_range-opt = 'EQ'.
l_s_range-sign = 'I'.
APPEND l_s_range TO e_t_range.
EXIT.
ENDLOOP.
endif.
endif.
Now when I am executing the query I am getting the default value in the column header i,e, 30. But when the user changes this default value to something else while executing the query, I simply get blank in the column. The changed value is not getting captured in the text variable.
ThanksHi,
Insted of going for exit,
just create a Text variable proceesing typr Default/ Manual Entry and set the default value as u wish,
use it in the KF header; dont use the same Text Variable for Query Title.
Now i tried this for you and it is working fine.
Regards
ReddY A -
How to capture the User input value to user exist function module.
Hi,
How can i capture user input value.Here i am using User exist in BPS variable.
Calculating days using user exist functin module and my input is another variable i.e user defined value.
How can i capture user defined vaule into my function module.
This is very urgent can you help me..
Thanks....Hi!
You can get the instance using the method get_instance of the class cl_sem_variable, and call the method get_value with the return. Check the example:
CALL METHOD cl_sem_variable=>get_instance
EXPORTING
i_area = (planning area)
i_variable = (variable name)
RECEIVING
rr_variable = lr_var
EXCEPTIONS
not_existing = 1
OTHERS = 2.
CHECK sy-subrc IS INITIAL.
CALL METHOD lr_var->get_value
RECEIVING
rto_value = et_value
EXCEPTIONS
error = 1.
After this, read the first line of the table et_value (it should be the value that the user choose on the screen).
seeya!
Robson -
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 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 -
RRI with passing user enter values
Hi Friends !
Brief about my requirement for the RRI.
I have a Main Query. When I click on Goto option, it shud display the variable screen and pass the user entered values in the Jump Query.
In RSBBS, I tried with the "Assignment Detail" button, in which we have variable option, etc but via Assignment Details, its not working.
Please provide some inputs.
Thanks.
RekhaIt sounds like you are trying to make RRI do something that it is not designed to do. For RRI to work correctly, the sender query must contain all of the values to be passed to the receiver query. Therefore, no prompting for additional variable values occurs during the jump from the sender to the receiver.
To quote the SAP Help on RRI :
"Queries, transactions, reports and Web addresses can be jump targets. The parameterization of the target action is taken from the context of the cell that you have jumped from. You can set parameters for calling a BEx Query or a BEx Web Application using input variables which are filled from the selection conditions and the element definitions of the cells highlighted in the sender query."
See <a href="http://help.sap.com/saphelp_nw04/helpdata/en/99/08629bd3e41d418530c6849df303c9/content.htm">SAP Library - Report-Report Interface</a> for all the details.
Hope this helps...
Bob -
User entered values are lost on EO validation.
Hi ,
Subject : user entered values are lost on EO validation.
WE have an EO which has 4 attributes all are not null (mandatory)
There is a VO based on this EO
We have added 4 more attributes using a join in EO query using expert mode.
On the page there is a Table , that has 8 columns all mapped to these 8 attributes.
The First column is an LOv that populates 4 column attributes(2 EO based and 2 added thru expert mode)
When the user submits the page, without entering rest of the two EO mandatory atributes, the EO validation is raised and the 4 fields populated by LOv are cleared.
Can you pls tell me what am i doing wrong.
thanks
ChaitanyaObservation
All the table columns that were loosing information were "MessageStyledText" and those not loosing were "MessageTextInput"
Various approaches
SO we converted the MessageStyledText columns into MessageTextInput and the data was retaining properly.
But we wanted these columns are 'ReadOnly' so when we made these columns are MessageTextInput - ReadOnly, then data was not getting popluated by the lov in these.
Working solution - The FormValue 'Glue'
We created formValues correcponding columns and populated the FVs also along with the column (both FV and column have same ViewAtt and View instance) and found that in this case the formvalues 'Glues' the VO att value with the page and does not get lost on refresh.
Strange solution but works, thought to share with all.
thanks
Chaitanya -
Solved printer installation problem – "error-user-request-value-too-long"
A discussion in July 2006 left the problem of printer installation unsolved. My contacts with Apple Support have also led to frustration for everyone.
Whenever I have tried to install any printer I end up with the error message:
"error-user-request-value-too-long".
Luckily I discovered the shareware program "Printer set up repair" on Versiontracker. It worked wonders in 5 minutes. Now everything is fully functioning. It also provides an extremely useful log-file telling you which (often hidden) files that are missing or damaged.
Address: www.fixamacsoftware.com/software
Phew!Well, I tried all of that and I'm still getting the error message. I've also repaired disk permissions and run Disk Warrior. When I repaired disk permissions, many HP printer items showed up in the list.
-
How can i get user entry values at WAD
Hi I need some user entry values display at wad?
suppose i have x( user entry) if i will give x=1000
on top need to show 1000 values?
i need user entry boxes at wad level only
ple let me knowHi,
you have to set the checkbox "Display Variable Screen" in WAD. You can find if under:
Web Template Parameters->Display Variable Screen
Regards
Erwin -
Pass User Picked values to Excel Slicers
Hi, Is there a way to pass values from an external page to an Excel Slicer in a Workbook(which is on sharepoint) through a URL or something?
Our Front End Report is a .NET web page, and we want to be able to pass User picked values like Year = 2014, Month=Jan etc from that web page to a Excel Pivot Table(with Slicers on Year, Month etc).
Is this possible?
Any help is appreciated.
ThanksHello,
Personally, it is impossible.
You can also try to open a discussion at Excel IT Pro forum regarding this issue to confirm this.
Excel IT Pro discussion forum:
http://social.technet.microsoft.com/Forums/office/en-US/home?forum=excel
Regards,
Elvis Long
TechNet Community Support -
Retrieving user selected values in drop down
Hello
I am in trouble again
I am trying to set the user selected values in the dropdown list but whatever i tried i always either get the default values or just the last selceted value or the first selected value
Can anyone help please
heres the code
String values = request.getParameter("selectHeaders" + i++);
while (values != null)
selectedValues.add(values);
values = request.getParameter("selectHeaders" + i++);
[INSIDE HTML]
<%
for (int j = 0; j < headerList.size(); j++)
String selectedHeaders = "selectHeaders" + j;
%>
<TD><%=headerList.get(j)%></TD>
<TD><SELECT name="<%=selectedHeaders%>">
<%
for (int k = 0; k < sheetHeaders.size(); k++)
int m = 0;
int val = 0;
boolean isSelected = false;
if(selectedValues.size() != 0)
while((!isSelected) && (m < selectedValues.size()))
String valueStr = selectedValues.get(m).toString();
val = Integer.parseInt(valueStr);
// logger.debug("THE USER SELCTED VALUE : " +val);
// logger.debug("THE LOOP value k: " +k);
if (val == k)
isSelected = true;
else
m++;
} //end of while
logger.debug("THE BOOLEAN VALUE IS: "+isSelected);
%>
//this line is the one where all my confusion is
<OPTION <% if(isSelected) {%> selected <%}%> value = '<%=k%>'><%=sheetHeaders.get(k)%></OPTION>
<% } //end of if(isSelectedValues.size())
else { %>
<OPTION <% if (j == k) { %> selected <%}%> value="<%=k%>" ><%=sheetHeaders.get(k)%></OPTION>
<% } //end of else (selectedValues == 0)
} //end of for(k)
[END HTML]I got the solution
Thanx for your time
have a nice day -
Regarding Can we store User Selected values in prompts
Please help us in achieving the below requirement.
Requirement is to store User Selected values in prompts when the report is opened by a User for the first time and make use of those values to refresh the report next time onwards.
1.Can this be achieved in WebI ?
2.If it is thru SDK(we use Java), any experience/help in doing this ?
Environment : BO XI 3.1 with SAP BW IntegrationHi ,
If you dont want data to be displayed in this report for this two values , then exclude this two values when you restrcit your characteristic to the variable.
If you want not to display this values when user opens help for entering the values where he can see all the possible values for selection for the variable, then it wont be possible.
Hope this will help.
- Jaimin
Maybe you are looking for
-
I have 2 itunes a/cs one at work and one at home. Both computers are authorised for the 2 a/cs, but I can;t get my work a/c songs to show on my home computer, even though I sign in my work a/c, and I can't get my home songs to show up on the work co
-
Spry Menu Bar vs Properties Window
Dreamweaver CS4, Mac OSX 10.6.4 Not sure how I did it, but when I add a Spry Menu Bar from the Insert>Spry>Spry Menu Bar, I first get the correct dialog, asking Horizontal or Vertical (I choose Horizontal), but it comes up with a Menu Bar with Item 1
-
Using value binding expressions to set 'required' attribute
I am trying to use a value binding expression to determine whether the value of various input control's is required or not according to where they are used and not having much luck. I wonder if anyone can shed some light on this... The following expr
-
Adobe AIR HTML Native Full Screen on Mac OS X
I am building an application in Adobe AIR for Mac in HTML/JavaScript. What I want to do is when the application loads, make the application go into full-screen mode using the correct native full-screen found in OS X Lion and above. e.g. This is NOT u
-
My mac made a heating noise, what does that mean?
I woke up this morning to my macbook pro making this loud heating noise, like an exhaust fan. What does that mean?