Setting dynamic profile values in R3.0
Hi
Using the SDK can we set up profile values dynamically for use with Bursting. Currently it seems I have to define the profile values manually for each user and group or can use only the username, email or fullname for dynamic purposes.
What i want to do is have a table, report or file which has a listing like
user1 USA blankets
user2 USA pillows
user1 CAN pillows
user1 IND shirts
using this I want to setup a dynamic profile such that user1 = SELECT country FROM table WHERE uname = '%SI%TITLE%'
or any similar mechanism....
thanks for your help!
Asim
Profiles are fairly static things, so I don't think altering them via the SDK would be amenable to dynamically changing profile values or targets on-the-fly.
Sincerely,
Ted Ueda
Similar Messages
-
Hi Expert,
Can we set Property values dynamicly from BPC excel.
eg/ Let say we have Dimension called Project which has a ID Proj1 with property FM_AMT.
Can we set this FM_AMT from the BPC excel ? do we have any Function ?
Regards
GayuHi Gayu,
You can use EVPRO to get this property in BPC excel. The syntax is =evpro(appname, Member, property). In your case, it is
=evpro("App","Proj1","FM_AMT")
Hope this helps.
Regards,
Shoba -
Setting dynamic default values in a list/menu
To save problems with inserting dates into a Mysql database, I have split the input fields on the file insert form into three drop down lists containing the day, month and year.
In order to make it easy for users, I wish to take the current date, split it into day (dd) month (mm) and year (yyyy), and use one of these values as the default option for each of the three fields.
In html you would use :
<option value="2012" selected>2012</option> for the default, but this is a fixed default.
I want it to change depending on the actual year., so that if today is 21-02-2012, (thats how we use dates in the UK) the three fields default to 21 (dd) 02 (mm) 2012 (yyyy).
I can re-format them into MySql date format mmddyyyy no problem later to insert them into the database
Any ideas?
Or is there a better way to do this?<option value="2012" <?php if (date('Y') == '2012') echo 'selected'; ?>>2012</option>
The above solution works well for that item.
I now have another one which may help others.
I populate a drop down list with the values 1 to 12, with the default being set to 6 and insert a record.
This represents the number of months that the record will be displayed until it is deleted.
When I pull the record back from the database to update it, I need to show the current value of the field, which is stored in $row_eventset['event_expiry'] ready for it to be updated.
Code as follows:
<select name="event_expiry" size="1" tabindex="5" title="select from the list">
<?php for ($i = 1; $i <= 12; $i++) { // loop through the months
echo "<option value= '$i' " ;
if ($i == $row_eventset['event_expiry']) { //check if this is the same as the record being edited
echo 'selected="selected" ' ; // if so select it
echo ">$i</option <br>"; // the <br> is essential in a browser, though it works without it in live view.
?>
</select>
I hope that it saves someone some time.
When I first tried this, it worked fine in live view. However in a browser, all the months appeared on the same line. I had to insert the <br> command to make it work properly. -
How to Change Value set Dynamically for a Parameter in Apps?
Hi All,
I have a requirement where i need to change the value set dynamically for a given Parameter. This goes as, I have a Concurrent Program with 4 parameters. First Parameter is mandatory Business group.Second Parameter is Warehouse. Based up on the First parameter the second parameters LoV's are displayed, the third and fourth parameters value sets are dependent up on the Second parameter value. Parameter 2,3,4 Value sets are Table type. So i Used .$FLEX$.Value_setname to retrive the LOV's
The Requirment now is that if the User doesn't enter the Parameter 2 than the Third Parameter field must be Open and he must be able to enter the Free text. In my case it is an Order Number. If the User enters the paramter 2 value than LOV's for ORder number pertaining to that Warehouse must get displayed. I've figured that this can be possible only if i change the Valuesets Dyanamically. I'm not sure if that is possible or not.
I have tried :
Using a Dummy Parameter with a new valueset(Transactable Independent) and giving Y and N based up on Warehouse parameter input.
SELECT (DECODE ( :$FLEX$.WAREHOUSE_NAMES,NULL,'Y','N')) from dual;
The default type was SQL.
Then in the 3rd Parameter i have used Case function to differentiate Y or N. The third parameter being ORder number, is a table type and derived from Oe_order_headers_all.
In the Query section i tried using dummy parameter value set to retreive the values. I was terribly Unsuccessful in doing so.
Does the above Case exists or is Doable? Please, Help me out if somone had worked on Similar thing or have any idea of standard report/program using it in Oracle.
Thanks alot for the Help!You will probably have better luck on the eBusinesSuite forum. This is more of a setup issue when defining your LOV and program parameters than it is a SQL or PL/SQL issue.
http://forums.oracle.com/forums/category.jspa?categoryID=3
Good luck - this is an aggravating issue to work with and I wish I did have the answer for you! -
How to set dynamic parameter in list of values in parameter property
Hi,
I am using cr4e-all-in-one-win_2.0.1version.I have created .rpt file in that how to set dynamic parameters(from database) in list of values parameter property
Regards,
amolHi,
I am using cr4e-all-in-one-win_2.0.1version.I have created .rpt file in that how to set dynamic parameters(from database) in list of values parameter property
Regards,
amol -
Item Values Not Set - Dynamic SQL Fails to Parse.
** Think I've fixed this **
(By simply defining some page computations I was able to set the item values to some default. Please don't feel the need to reply :-))
I have a page consisting of 5 report parameters and a report, all in one region, 4 parameters are LOVs and one is a text field which in the query are all compared to table column values. The report region type is SQL Query(PL/SQL function body returning SQL Query).
If I load the page in a new session with default values for the LOVs as '%' and a null text field, I get the following error message:-
failed to parse SQL query:
ORA-00936: missing expression
If I examine the session state, I see that none of the parameter values are set, which is probably why the dynamic sql is failing.
If I set one of the parameters to something, eg. choose another value in an LOV or type some text in the text field, and re-run the report, it executes without error.
What's the easiest way to fix this, is it to set the page items to some specific values when the page is first loaded? If so how do I do that? I'm not having much luck creating some process to do it.
All help appreciated.
Ian
Message was edited by:
Ian_FHi Ian,
Did you already try to put a default value for that lov?
Or try to do a computation before header?
Thanks,
Dimitri
-- http://dgielis.blogspot.com
-- http://apex-evangelists.com -
APPLICATION에 접속하지 않고 SYSTEM PROFILE VALUE를 SETTING 하는법
제품 : AOL
작성날짜 : 2006-05-23
APPLICATION에 접속하지 않고 SYSTEM PROFILE VALUE를 SETTING 하는법
================================================================
PURPOSE
Application에 접속하지 않고 profile option value를 setting 하는 방법을
알아본다.
(11.5.4 ~ 11.5.10)
Explanation
Application에 접속하지 않고 profile option 값을 setting 하기 위해서는
FND_PROFILE package의 SAVE function을 이용해야 한다.
그러나 "update" 문장을 이용하여 직접 table을 update하는 것은 지원되지
않는다.
Test case로 아래는 "Guest User Password" profile option 값을 'GUEST/
ORACLE'로 변경하는 자세한 절차이다.
Application 화면에서 보여지는 name은 user가 알기 쉬운 name이긴 하지만,
function은 profile option의 internal name을 취해야 하므로 internal name
을 먼저 확인해야 한다.
1.Apps user로 접속하여 아래 select 문을 이용하여 profile option의
internal name을 확인한다.
SQL> select profile_option_name
from fnd_profile_options_tl
where user_profile_option_name like
'<Your Profile Option User Name or Part of it>';
e.g. "Guest User Password" profile option에 대한 internal name이
'GUEST_USER_PWD' 임을 아래 select 문으로 확인 할 수 있다.
SQL> select profile_option_name
from fnd_profile_options_tl
where user_profile_option_name like 'Guest%';
PROFILE_OPTION_NAME
GUEST_USER_PWD
위 userr profile option name을 대소문자 구분하여 적어 놓는다.
2.Profile option에 필요한 값을 setting 하기 위해 아래 sample code를
이용한다.
===========
Sample Code
===========
DECLARE
stat boolean;
BEGIN
dbms_output.disable;
dbms_output.enable(100000);
stat := FND_PROFILE.SAVE('GUEST_USER_PWD', 'GUEST/ORACLE', 'SITE');
IF stat THEN
dbms_output.put_line( 'Stat = TRUE - profile updated' );
ELSE
dbms_output.put_line( 'Stat = FALSE - profile NOT updated' );
END IF;
commit;
END;
===============
End of Sample Code
===============
SAVE function parameters에 대한 설명은 아래와 같다.
function SAVE(
X_NAME in varchar2,
/* Profile name you are setting */
X_VALUE in varchar2,
/* Profile value you are setting */
X_LEVEL_NAME in varchar2,
/* Level that you're setting at: 'SITE','APPL','RESP','USER', etc. */
X_LEVEL_VALUE in varchar2 default NULL,
/* Level value that you are setting at, e.g. user id for 'USER' level.
X_LEVEL_VALUE is not used at site level. */
X_LEVEL_VALUE_APP_ID in varchar2 default NULL,
/* Used for 'RESP' and 'SERVRESP' level; Resp Application_Id. */
X_LEVEL_VALUE2 in varchar2 default NULL
/* 2nd Level value that you are setting at. This is for the 'SERVRESP'
hierarchy. */
) return boolean;
Reference Documents
Note 364503.1 -
How to set Dynamic value to context variable
hi all
Can anyone suggest me how to change value of context variable.
In short i need to set dynamic value to context variable
here is my code in web.xml
*<context-param>*
*<param-name>sessionTimeOutValue</param-name>*
*<param-value>200</param-value>*
*</context-param>*ChintanPatel wrote:
here is my code in web.xml
*<context-param>*
*<param-name>sessionTimeOutValue</param-name>*
*<param-value>200</param-value>*
*</context-param>*You can set the session time using httpsession.setmaxinactiveinterval -
When I try to access iTunes or safari, I get the following message:The procedure entry point QTCF_CFHTTP message set header field value could not be located in the dynamic link library QTCF.dll I uninstalled and reinstalled.same result HELP!
Taken at face value, you're having trouble with a QuickTime program file there.
Let's try something relatively simple first. Restart the PC. Now head into your Uninstall a program control panel, select "QuickTime" and then click "Repair".
Does the repair go through okay? If so, are you able to launch iTunes and/or Safari now? -
How to set the initial value of of a poplist dynamical
Hi,
I've got a poplist that is populated by a recordgroup. This is done by the following pre-form trigger:
DECLARE
l_query_ok NUMBER;
l_group_id RecordGroup;
l_it_id item;
l_int_value VARCHAR2(2);
BEGIN
l_it_id := Find_item('MERGED_ISSUER.product_code');
l_group_id := FIND_GROUP('RG_PRODUCT_CODE');
l_query_ok := POPULATE_GROUP(l_group_id);
-- Populate list 'Product Code'
CLEAR_LIST (l_it_id);
POPULATE_LIST(l_it_id,l_group_id);
END;
I've tried to set the initial value by adding following lines to the trigger above but I receive the frm-41084 error. This code assigns the first value of the recordgroup to a hidden text item. In the properties of the poplist the value of the hidden text field is set as initial value.
-- Set initial value
l_int_value := Get_Group_Char_Cell('RG_PRODUCT_CODE', 1);
:MERGED_ISSUER.int_value := l_int_value;
Any help?
thxHello Ken,
you can set an initial value for a poplist with the copy command.
You could use a procedure like this:
PROCEDURE P_FILL_LBX
lbx_ITEM_IN VARCHAR2,
grp_DATA_GROUP_IN VARCHAR2,
flg_DEL_NULL BOOLEAN,
str_WERT_IN VARCHAR2
) IS
ERROR_ID NUMBER;
BEGIN
CLEAR_LIST(lbx_ITEM_IN);
ERROR_ID := populate_group(grp_DATA_GROUP_IN);
populate_list(lbx_ITEM_IN,grp_DATA_GROUP_IN);
IF flg_DEL_NULL = TRUE THEN
DELETE_LIST_ELEMENT(lbx_ITEM_IN,GET_LIST_ELEMENT_COUNT(lbx_ITEM_IN));
END IF;
IF str_WERT_IN IS NOT NULL THEN
COPY(str_WERT_IN,''||lbx_ITEM_IN||'');
END IF;
END;Bernd -
Dynamically selecting values for filter in power pivot
Hi,
I am creating a power pivot report. I want the values of its filters to be set dynamically based on certain critreria. For Example, if some one changes the Iteration Path then the range of dates should change automatically to Iteration start date -
Itearation End Date.
Is there any way to set filter values based on some calculation.
Any help in this regard will be highly appreciated.
Thanks,
Bhawna.
Bhawna AggarwalCheck out the Event-In-Progress pattern as described here:
http://cwebbbi.wordpress.com/2013/06/13/a-new-events-in-progress-dax-pattern/
basically you need to create a separate measure which to do the specific filtering for you
hth,
gerhard
Gerhard Brueckl
blogging @ http://blog.gbrueckl.at
working @ http://www.pmOne.com -
How to change the profile value in the pl/sql code without making change in the database
How to change the profile value in the pl/sql code without making change in the database.
I have program ,where if the profiles 'printer and nunber of copies ' are set at the user level, by default when the report completes the O/p will be sent to the printer mentioned in the set-up. but what user wants is
if these Profiles are set for the user running this program automatic printing should not be done. -
Hi,
We have created an iView of type "com.sap.portal.appintegrator.sap".
In URL template property we have set the following value:
<System.protocol>://<System.server>:<System.port><System.uri>?parameter=value¶meter=value&...
That's to say, it is a dynamic URL that is built at runtime.
My question is: How can we find out the value of URL when we preview the iView, that is, the URL value at runtime?
Helpful answers will be rewarded!!
Thanks in advance,
Samantha.Hi Samantha,
If I am understanding the issue properly.
the solution is:
there is no way you can get the url for iView.
You need to assign the iView to Role. and assign it to a user.
When you open the iView then from title bar select Add to Favorites, this will save it in the Browser favorites and when you go to the link and see the properties you get the Short URL.
In Portal terminology the Dynamic URL is called Short URL.
And to find the short url navigate to
System Administration->Navigation-> Short URLs
Hope this helps you.
Pramod
-award points if helpful -
How to set a default value for particular field in SRM PO Portal
Dear Gurus,
Im desparetly need a help in web dynpro on how to set a default value for a field(flag) in PO header tab in portal.
My requirement is whenever the user press the edit button in PO screen,automatically a flag field should be set as abap_false.
I dont think this will handle in check badi or change badi. i tried this part in onbuttonpressed overwriteexit in CNR_VIEW views,i can get the function EDIT in debugging mode,but dont know how to proceed further.....
Many of them suggested to go with get attribute and set attribute for changing any particular field in web dynpro,but im not very familiar in using those get and set attributes.I request you people can give me sample code on how to identify my target field in the node and set the values while pressing EDIT Button.
Thanks in advance...
Regards,
SathishDear Laurent,
Thanks for your response,
But i searched in enhancement spot of WD_BADI, but couldnt get the exact way to change the coding,
My real requirement is, that particular flag should be enable and disable dynamically by checking a condition in my header values.So in that case i dont know how to proceed further to handle in the PO screen.
Kinly guide me how to get the particular node of field in the Purchase order screen.
Thanks you in advance,
Sorry for the inconvenience if any
Regards,
sathish -
How to create a profile value at user level programatically
Dear all,
I want to create a profile value at user level programatically, I refer to the developer guide and try to use fnd_profile.put() to create a new value.
But I find out the value is just created in session level, not be inserted into base table.
So is there anyone know how to realize this function in PL/SQL?
Any idea is appreciated.
Best Regards,
KennyCheck Note: 364503.1 - How to Set a System Profile Value Without Logging in to the Applications
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=364503.1
Maybe you are looking for
-
Tiger OS X10.4.2 Installation Problem, nothing on posts have worked
I am using an iBook G4, with a 1.33GHz PowerPC G4 processor, with 256 MB memory. I am currently running Panther OS X 10.3.9 and looking to install Tiger 10.4.2. When I restart the computer and hold c with the Tiger disc in, I continually get the "Thi
-
Production - Development Import/Export strategy
I'm trying to come up with a good strategy for being able to handle development of an HTMLDB application being carried out on a different system to the production machine. So far my steps consist of - 1) Dev -> Perform export of HTMLDB application 2)
-
iTunes can be made even better with the addition of Pass Through, a feature available in Photoshop, but a feature that can be created in iTunes to successfully incorporate iTunes into a successful sound management application for the over all operati
-
The SDK documentation has always recommended that you install plug-ins in the App Data folder: In Windows XP, "C:\Documents and Users\username\Application Data\Adobe\Lightroom\Modules" In Windows Vista, "C:\Users\username\AppData\Roaming\Adobe\Lightr
-
Service Technican Group is missing
Hi I am creating Service Quotation/ Order in UI but after saving system is howing error message "Enter service technican group". even there is no field in regarding this in service order/quotation. Is there any configuration required for this? regds