DBI Master/Local Value Set
Our business has decided to maintain the GL hierarchy structure in Hyperion. Therefore, for our legal entity and cost center structures, we do not have a parent/child relationship in GL. Are we able to implement the GL related dashboards without the ability to set a top node?
Somewhere in the documentation there is statements saying we can create a master value set. Any feedback?
Hi,
One possibility could be to make a value set using type "Table" attached to cause segment. This will be restrict values according to what you want. But the inconvenient is that the table has be created and maintained.
Jérôme.
Similar Messages
-
How to Export local security setting all filed name & value against filed.
HI all,
I am trying to export local security setting from local policy using bellow scrip. but it is showing only these are configured. I need expert help which allowed me to export all filed with value where it is configure or not. Please give me.
$output=@()
$temp = "c:\"
$file = "$temp\privs.txt"
[string] $readableNames
$process = [diagnostics.process]::Start("secedit.exe", "/export /cfg $file /areas USER_RIGHTS")
$process.WaitForExit()
$in = get-content $file
foreach ($line in $in) {
if ($line.StartsWith("Se")) {
$privilege = $line.substring(0,$line.IndexOf("=") - 1)
switch ($privilege){
"SeCreateTokenPrivilege " {$privilege = "Create a token object"}
"SeAssignPrimaryTokenPrivilege" {$privilege = "Replace a process-level token"}
"SeLockMemoryPrivilege" {$privilege = "Lock pages in memory"}
"SeIncreaseQuotaPrivilege" {$privilege = "Adjust memory quotas for a process"}
"SeUnsolicitedInputPrivilege" {$privilege = "Load and unload device drivers"}
"SeMachineAccountPrivilege" {$privilege = "Add workstations to domain"}
"SeTcbPrivilege" {$privilege = "Act as part of the operating system"}
"SeSecurityPrivilege" {$privilege = "Manage auditing and the security log"}
"SeTakeOwnershipPrivilege" {$privilege = "Take ownership of files or other objects"}
"SeLoadDriverPrivilege" {$privilege = "Load and unload device drivers"}
"SeSystemProfilePrivilege" {$privilege = "Profile system performance"}
"SeSystemtimePrivilege" {$privilege = "Change the system time"}
"SeProfileSingleProcessPrivilege" {$privilege = "Profile single process"}
"SeCreatePagefilePrivilege" {$privilege = "Create a pagefile"}
"SeCreatePermanentPrivilege" {$privilege = "Create permanent shared objects"}
"SeBackupPrivilege" {$privilege = "Back up files and directories"}
"SeRestorePrivilege" {$privilege = "Restore files and directories"}
"SeShutdownPrivilege" {$privilege = "Shut down the system"}
"SeDebugPrivilege" {$privilege = "Debug programs"}
"SeAuditPrivilege" {$privilege = "Generate security audit"}
"SeSystemEnvironmentPrivilege" {$privilege = "Modify firmware environment values"}
"SeChangeNotifyPrivilege" {$privilege = "Bypass traverse checking"}
"SeRemoteShutdownPrivilege" {$privilege = "Force shutdown from a remote system"}
"SeUndockPrivilege" {$privilege = "Remove computer from docking station"}
"SeSyncAgentPrivilege" {$privilege = "Synchronize directory service data"}
"SeEnableDelegationPrivilege" {$privilege = "Enable computer and user accounts to be trusted for delegation"}
"SeManageVolumePrivilege" {$privilege = "Manage the files on a volume"}
"SeImpersonatePrivilege" {$privilege = "Impersonate a client after authentication"}
"SeCreateGlobalPrivilege" {$privilege = "Create global objects"}
"SeTrustedCredManAccessPrivilege" {$privilege = "Access Credential Manager as a trusted caller"}
"SeRelabelPrivilege" {$privilege = "Modify an object label"}
"SeIncreaseWorkingSetPrivilege" {$privilege = "Increase a process working set"}
"SeTimeZonePrivilege" {$privilege = "Change the time zone"}
"SeCreateSymbolicLinkPrivilege" {$privilege = "Create symbolic links"}
"SeDenyInteractiveLogonRight" {$privilege = "Deny local logon"}
"SeRemoteInteractiveLogonRight" {$privilege = "Allow logon through Terminal Services"}
"SeServiceLogonRight" {$privilege = "Logon as a service"}
"SeIncreaseBasePriorityPrivilege" {$privilege = "Increase scheduling priority"}
"SeBatchLogonRight" {$privilege = "Log on as a batch job"}
"SeInteractiveLogonRight" {$privilege = "Log on locally"}
"SeDenyNetworkLogonRight" {$privilege = "Deny Access to this computer from the network"}
"SeNetworkLogonRight" {$privilege = "Access this Computer from the Network"}
$sids = $line.substring($line.IndexOf("=") + 1,$line.Length - ($line.IndexOf("=") + 1))
$sids = $sids.Trim() -split ","
$readableNames = ""
foreach ($str in $sids){
$str = $str.substring(1)
$sid = new-object System.Security.Principal.SecurityIdentifier($str)
$readableName = $sid.Translate([System.Security.Principal.NTAccount])
$readableNames = $readableNames + $readableName.Value + ", "
$output += New-Object PSObject -Property @{
privilege = $privilege
readableNames = $readableNames.substring(0,($readableNames.Length - 1))
#else = $line."property"
$outputAs an alternate approach wee can preset the hash and just update it. This version also deal with trapping the errors.
function Get-UserRights{
Param(
[string]$tempfile="$env:TEMP\secedit.ini"
$p=Start-Process 'secedit.exe' -ArgumentList "/export /cfg $tempfile /areas USER_RIGHTS" -NoNewWindow -Wait -PassThru
if($p.ExitCode -ne 0){
Write-Error "SECEDIT exited with error:$($p.ExitCode)"
return
$selines=get-content $tempfile|?{$_ -match '^Se'}
Remove-Item $tempfile -EA 0
$dct=$selines | ConvertFrom-StringData
$hash=@{
SeCreateTokenPrivilege =$null
SeAssignPrimaryTokenPrivilege=$null
SeLockMemoryPrivilege=$null
SeIncreaseQuotaPrivilege=$null
SeUnsolicitedInputPrivilege=$null
SeMachineAccountPrivilege=$null
SeTcbPrivilege=$null
SeSecurityPrivilege=$null
SeTakeOwnershipPrivilege=$null
SeLoadDriverPrivilege=$null
SeSystemProfilePrivilege=$null
SeSystemtimePrivilege=$null
SeProfileSingleProcessPrivilege=$null
SeCreatePagefilePrivilege=$null
SeCreatePermanentPrivilege=$null
SeBackupPrivilege=$null
SeRestorePrivilege=$null
SeShutdownPrivilege=$null
SeDebugPrivilege=$null
SeAuditPrivilege=$null
SeSystemEnvironmentPrivilege=$null
SeChangeNotifyPrivilege=$null
SeRemoteShutdownPrivilege=$null
SeUndockPrivilege=$null
SeSyncAgentPrivilege=$null
SeEnableDelegationPrivilege=$null
SeManageVolumePrivilege=$null
SeImpersonatePrivilege=$null
SeCreateGlobalPrivilege=$null
SeTrustedCredManAccessPrivilege=$null
SeRelabelPrivilege=$null
SeIncreaseWorkingSetPrivilege=$null
SeTimeZonePrivilege=$null
SeCreateSymbolicLinkPrivilege=$null
SeDenyInteractiveLogonRight=$null
SeRemoteInteractiveLogonRight=$null
SeServiceLogonRight=$null
SeIncreaseBasePriorityPrivilege=$null
SeBatchLogonRight=$null
SeInteractiveLogonRight=$null
SeDenyNetworkLogonRight=$null
SeNetworkLogonRight=$null
for($i=0;$i -lt $dct.Count;$i++){
$hash[$dct.keys[$i]]=$dct.Values[$i].Split(',')
$privileges=New-Object PsObject -Property $hash
$privileges
Get-UserRights
A full version would be pipelined and remoted or, perhaps use a workflow to access remote machines in parallel.
¯\_(ツ)_/¯ -
Check on Master Data Value (User Manual Input)
Hi all,
i have the following situation:
User has to insert a set of Characteristic Value (these are not limited in level for any value nor variable) to be able to enter layout and does manual planning, with my great astonishment i have noticed that BPS does not do any check on the master data value inserted by the user, for example if user insert value '1' for 0payscalety CH instead of '01' the system does not give any error message and goes directly to perforate the Master Data with this wrong value.
Does exist any setting/tip to avoid this unpleasant situation?
Many thanks in advance
FabioHello Fabio,
personal I would not set up a data model, which makes differences between 01 and 1. It is known that this will make always problems in the future.
I believe it is quite more unpleasant that SAP does not provide detailed documentation...
You can use e. g.
- conversion routine in BW char.
- message, fox
- char. rel. and / or ABAP
- drop down list which does not allow manual input
to manipulate before / after input. These are some of those possibilities, which SAP provides.
regards
Eckhard
Message was edited by: Eckhard Lewin
Message was edited by: Eckhard Lewin
Message was edited by: Eckhard Lewin -
CRM R12.0.6 Map Type does not exist in the value set
Hi Everyone
When attempting to access Service Request Types in our CRM UAT Release 12.0.6 environment an error message appears referring to 'Value General for the flexfield segment does not exist in the value set'.
Checked the flexfields for the value set but did not set up a value for MAP_TYPES
Checked our PROD environment but no value set up as above.
Currently in progress of mapping service requests to responsibilites in UAT, could this be the cause and how to resolve? No mapping as yet for service requests set up in PROD. Has anyone else experienced this?
Thanks very much, LouiseHi IWolbers,
>>I have a recurring problem where all of a sudden I can no longer see the values of my variables when I debug my unit tests. I cannot find a pattern as to when this happens but I experience this across one of every 20 tests that I write. Occasionally
this has also happened during normal debbuging of running code on my machine.
So you mean that it worked well before, am I right?
If you debug the same app in other VS machine, does it work well? So we could make sure that whether it is related to the VS IDE.
Please disable all add-ins in your VS IDE, and then reset your VS settings, debug it again.
https://msdn.microsoft.com/en-us/library/ms247075(v=vs.100).aspx
Or you could run your VS in safe mode, debug it again, at least, we could know that whether it is the add-in's issue.
https://msdn.microsoft.com/en-us/library/ms241278.aspx
To make sure that it is not the project files' issue, create a new blank solution, copy the project files to the new solution, clean and rebuild the solution, check the result.
>>Once I step over this to the next line (screen shot 2) I get the error message 'The name '[variable name]' does not exist in the current context'
How about debugging it with "Step Into" instead of "Step Over"? Or you could add breakpoints between 234 line to 241 line, after the breakpoint is hit, check the watch window again. How about the result?
In addition, do you check other debugger window like local or others?
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Hierarchy node Variable: F4 Help - Not showing Master data values
Hi,
We're having some problems trying to display the F4 help of a hierarchy node selection variable, to show the master data values so that it would look more complete for the users during report execution.
In the RSD1 setting for the info object, under 'Business Explorer' tab, the 'Query Execution Filter Val. Selectn' is set to 'Only Posted Values for Navigation'.
I thot that we could overwrite this setting at the Query Designer level, but it does not seem to work.
Even tho in the Query Designer, we have already specified the 'Filter Value Selection During Query Execution' to 'Values in Master Data Table', it does not seem to display the master data values.
There is no difference in the F4 values being displayed for the hier node variable, before and after the change in Query Designer.
Could anyone share some tips on other possible solutions to get a hier node selection variable's F4 help to show the master data values, without changing the RSD1 setting at the info object level please ?
Thanks in advance for your help.
Regards,
Femmie.Hi,
Could you please share the steps you have taken to fix the problem?
We do have a similar problem and for some reason the newly added hierarchy node for 0Profit_ctr is not showing up in the variable selection screen F4 (input selection for query execution). However we can see this node when we display that hierarchy in RSA1. I did try applying the changes recommened by Jerome but unfortunately it didn't work.
Any help on this would be greatly appreciated.
Thanks,
Krish -
Locale values for the arabic db in oracle 10g
Please suggest me the locale values for the Oracle 10g client/server that can store arabic data.
Please also suggest me the best value for the "Database character set".
Note: Both my client and server will be installed on the Arabic version of Windows XP.Possible character sets for Arabic are AL16UTF16, AL32UTF8, AR8ISO8859P6, AR8MSWIN1256, UTF8
I suggest to use AL32UTF8 as database character set.
so NLS_LANG at client side would be e.g. ARABIC_QATAR.AL32UTF8 ({NLS_LANGUAGE}_{NLS_TERRITORY}.{CHARACTERSET})
Check [Locale Data|http://download.oracle.com/docs/cd/B19306_01/server.102/b14225/applocaledata.htm] for other possible supported languages, territories, character sets. (you can even see recommended character sets in this page) -
Opportunity SalesStage requires localized values
Hello,
I have a problem trying to create new opportunities through the web service API. The SalesStage field for Opportunity objects appears to require a localized value. However, there's no way to programatically extract the valid values for this field. For example, on a Spanish language account "Qualified Lead" is not accepted as a valid value; however, "Cliente potencial cualificado" is. On an English system, the opposite is true.
I want to create a language independent integration application capable of creating new opportunities within Oracle CRM on Demand. The SalesStage field is required, so I need to set something. However there's no value I can set that will work across all systems, regardless of language. Neither the SalesStage field nor the SalesStageId field is a picklist, so I cannot query for an acceptable values to use. The SalesStageId field does not appear to be consistent across different systems, so I can't use that as my language independent field.
Any ideas?
Should it be considered a bug in Oracle CRM On Demand's API that this field only accepts localized values? Many other fields, such as Activity.Priority or Activity.Status accept Language independant strings, in English only, so I never have to worry about translating their values.
RichardHi Max,
Thanks for your reply.
The SalesStageID may be consistent within one system across different languages, but it is not consistent across different systems. I have a (potential) customer who has their own Oracle CRM setup with all their own data customizations, etc. who is connecting in Spanish. The SalesStageIDs on that system are not the same as the SalesStageIDs I'm seeing on my test system. I want to create an integration application that can connect to any customer's Oracle CRM system. I want to set the default value for the SalesStage field for new Opportunities created. I cannot just take a SalesStageID from my test system and enter it on some other system, as these IDs will not match. Furthermore, there is no way for me to query for the list of SalesStageIDs available on a system, as this field is not a picklist.
Does that clarify the issue? Any ideas?
Richard -
Is how UIInput handles local values a large framework bug?
UIInput in both 1.1 and 1.2 stores the local value in a member variable. This seems like a large bug to me. JSF seems to be designed after more of a flyweight pattern.
Take for example UIData. For each row in the data model, the componets are re-rendered. This means that each component represents as many values as there are rows. Therefore, only one value per component makes UIData bugged.
This bug is evident when submitting a UICommand as immediate on a page with a dataTable. All the UIInput componets lose their values when the page is re-rendered.
How this could work:
Instead of a local Object to hold the value, the member value should be a Map<String, Object>. The key of this Map would be the client ID of the component. The value, would obviously be the component's local value (submitted value).
The "corrected" code could look like:
private Map<String, Boolean> valid = new HashMap<String, Boolean>();
private Map<String, Object> localValues = new HashMap<String, Object>();
public boolean isValid() {
return valid.get(this.getClientId(FacesContext.getInstance()));
public void isValid(boolean valid) {
return valid.put(this.getClientId(FacesContext.getInstance()), valid);
... (repeat similar methods for the local value and if the local value is set)...If all components were built this way, then tree, table and other 'complex' controls would finally behave "correctly".
Without this, I can't see how UIData will ever be fully usable with validators and using the immediate flag.you may try these:
1. Add one more logic (define as boolean variable), then OR this variable with the original Boolean switch you used in subvi, then main vi can change the new added variable which is defined as local or global variable.
2. Change the subvi while loop as state machine, or use other Synchronization techniques like notifier -
Hi,
I have an issue where I want to add a descriptive flexfield. The flexfield should be added in an existing hierarchy that consists of 3 fields:
1. Category
2. Type
3. Priority
All the flexfields have value sets connected to them. Type is dependent of the values you have choosen in Category.
The setup looks like this today:
Category - Value set XXCategory - Independent
Type - Value set XXType - Dependent (.. of Category)
Priority - Value Set XXPriority- Independent
After the new field is added the hierarchy should be like this
1. Category
2. Type
3. Cause (new)
4. Priority
Cause should be dependent of Type (that is dependent of Category). The problem is that I can not set up a value set that is both dependent of something and master of something else.
Does somebody have any suggestions on how to address this issue?
BR DanielHi,
One possibility could be to make a value set using type "Table" attached to cause segment. This will be restrict values according to what you want. But the inconvenient is that the table has be created and maintained.
Jérôme. -
Value set in constructor is not getting saved in button Action method
Hi All,
I am not understanding why the value set ( On Condition )in constructor is not hold in the button actoin method.
Could any body explain me on that
for this I will try to explain with sample example
I have taken a button and add a integer property in session bean.
now if session bean's property is even then I am trying to set the button value to bidNow other wise Accept Invitation.
Till this opstion everything is OK
but once I click on Button,
Constructor is doing the right job only. But I do not understand why in button action I am getting the First Value only.
public Page1() {
// <editor-fold defaultstate="collapsed" desc="Creator-managed Component Initialization">
try {
if (getSessionBean1().getIntValue()%2==0)
button1.setValue("BidNow");
else
button1.setValue("Accept Invitation");
getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
log("In Constructor Button Value : "+button1.getValue());
} catch (Exception e) {
log("Page1 Initialization Failure", e);
throw e instanceof javax.faces.FacesException ? (FacesException) e: new FacesException(e);
// </editor-fold>
// Additional user provided initialization code
public String button1_action() {
// TODO Replace with your code
log("In Action Button Value : "+button1.getValue());
return null;
}and here is the log
[#|2005-07-19T11:55:17.859+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:17.859+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:18.359+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:18.359+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:18.843+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:18.843+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:19.312+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:19.312+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:19.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:19.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:20.234+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:20.250+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:20.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:20.828+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:21.328+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:21.328+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:35.437+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:35.437+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:35.906+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:35.921+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:36.265+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:36.265+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:36.890+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:36.890+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:37.171+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : BidNow|#]
[#|2005-07-19T11:55:37.171+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]
[#|2005-07-19T11:55:37.468+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Constructor Button Value : Accept Invitation|#]
[#|2005-07-19T11:55:37.468+0530|INFO|sun-appserver-pe8.0.0_01|javax.enterprise.system.container.web|_ThreadID=14;|WebModule[/webapplication12]In Action Button Value : BidNow|#]As per this log every time I am getting Bid Now only in action, though the value is changed in Construtcor
Can u explain the reason for thisHi Sudhakar,
Please try the following and you will get an idea as to what is happening:
1. Drag and drop a button, 2 outputText components
2. Add a property to the session bean called intValue of type int. Customize it to set it's initial value to 0
3. Add the following lines of code to the constructor
outputText1.setValue("" + getSessionBean1().getIntValue());
getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
4. Double click on the button component to go to the button action method.
5. Add the following line of code
outputText2.setValue("" + etSessionBean1().getIntValue());
6. Save and run the application
7. Watch the values of outputText1 and outputText2 with each click of the button
Also, try the application with the following code block in the button action method:
if(getSessionBean1().getIntValue()%2==0){
button1.setValue("Bid Now");
} else{
button1.setValue("Accept Invitation");
getSessionBean1().setIntValue(getSessionBean1().getIntValue()+1);
outputText1.setValue(button1.getValue());
outputText2.setValue("" + getSessionBean1().getIntValue());
When the above code block is in the button action method the values set to button are as expected.
Hope that helps
Cheers
Giri :-) -
can any body tell me how to get the distinct values for a table valueset
from GL_CODE_COMBINATIONS table i want to get the distinct values of SEGMENT2 so any body tell me how to create a table value set for this its very very urgent.
Regards,
Azeez
[email protected]Hi
When u create table value sets
Table columns-----------
Value-
Meaning
-ID------------distinct(id) from that table
it will work fine let me know if u ned anything.
Rakesh -
How to create a value sets for concurrent program?
Hi Friends,
I am creating a concurrent program with a parameter period...
In the value set for the parameter period, I am using the following query :
---where application_id = 101
and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
and closing_status IN ( 'O', 'F', 'C')
order by period_year, period_num' ----
In my cursor, i have a condition 'where set_of_books_id = ' ---
How can I pass the above set of books id into the cursor ?? it is not working when I am defining another parameter as Book and passing that value to the cursor....
I need that period parameter to return all the periods for the set of books where we are running the concurrent request from...I also need to get the set of books id for my cursor...
Hope I am making sense...All that I am trying is to have period parameter and also a SOB id in cursor condition...
Rgds,Hi Vamsi /Nitin,
Let me explain the whole thing now.....
My plsql procedure is ......
CREATE OR REPLACE procedure GL_INT(
perrbuff out varchar2,
pretcode out varchar2,
pbook in varchar2,
pperiod in varchar2
) is
cursor cur1 (p_sdate in date, p_edate in date )is
select distinct group_id groupid,
user_je_source_name source
from gl_interface
where accounting_date >= p_sdate
and accounting_date <= p_edate
and set_of_books_id = pbook;
cursor cur2 is
select distinct start_date sdate,
end_date edate, period_name period
from gl_period_statuses
where period_name = pperiod
and set_of_books_id = pbook
and application_id = 101;
i cur1%rowtype;
j cur2%rowtype;
begin
open cur2;
fnd_file.put_line(fnd_file.output,'PERIOD'||'----'||'GROUPID'||
'----'|| 'SOURCE');
loop
fetch cur2 into J;
exit when cur2%notfound;
open cur1(J.sdate,J.edate);
loop
fetch cur1 into I;
exit when cur1%notfound;
fnd_file.put_line(fnd_file.output, J.period||'----'||I.groupid||'----'||
I.source);
end loop;
end loop;
Close cur1;
close cur2;
Exception when others then dbms_output.put_line(SQLERRM);
end;
==================================================================================================
For SOB value set, I have passed the default value as vamsi suggested ($profiles$.gl_set_of_bks_id)....
For period value set, I have entered query as ..where application_id = 101
and set_of_books_id = :$PROFILES$.gl_set_of_bks_id
and closing_status IN ( 'O', 'F', 'C')
order by period_year, period_num...................
It still doesn't work....I don't know how to derive those Periods based on the SOBs and at the same time pass SOB id into the cursors...
Please help...
Rgds,
Murali -
Value sets and Report Parameters
Hi
these are my requirements
i have developed report using scott where the
parametes are
dname
empinfo
(1)If i select Department 1o then
in parameter empinfo should display the value only from department 10
(2) i have created a value set for report parameters empinfo
it only shows two columns like EMPNO AND eNAME AND THERE only two column space to be shows
how could i make columns to be displayed in addition to ename and empno
RegardHi KittyCat101,
If I understand correctly, you want to use a parameter to filter Status field that starts with “Is” or “Can” or “Fi”. If in this scenario, we can refer to the following steps to achieve your goal:
Modify the available values for @Status parameter to “Is”, “Can” and “Fi”.
Right-click the tablix or dataset to open the properties dialog box.
Select Filter in the left pane, then add a filter like below to filter Status field:
Expression: =Fields!Status.Value like (Parameters!Status.Value & "*") Type: Boolean
Operator: =
Value: true
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to do a reverse lookup on a value set?
I have a concurrent program which has multiple paramaters with various value sets. When I run reports, I want to dynamically list on the output the parameters the user gave. The problem is that these values are often the IDs and not the value the user sees.
Are there any packages in applications that will let me to do a "reverse lookup" with the value sets to get the values the user saw?
Thanks,
Kurzweil4Hi Stomie,
Based on your description, the network ID of your reverse lookup zone is 172.16.160.
To create a reverse lookup zone, please follow steps below,
Right click Reverse Lookup Zones, click New Zone, choose proper settings of
Zone Type, Active Directory one Replication Scope,
Reverse Lookup Zone Name type based on your actual situation.
In the Reverse Lookup Zone Name page, check Network ID
radio button, enter the network ID. For example, if the network ID is 172.16.160, then enter 172, 16, 160 in order. Then you will see it appears
160.16.172.in-addr.arpa in the Reverse lookup zone name edit.
Or in the Reverse Lookup Zone Name page, check
Reverse lookup zone name radio button, then enter the name of the reverse lookup zone directly. Such as, enter
160.16.172.in-addr.arpa in the edit.
Click Next twice, click Finish.
Reverse lookup zone name end up with in-addr.arpa.
Best Regards,
Tina -
How to use the :$PROFILE$ token in a table validation value set
Hi Community,
Let me explain the scenario.
We have a Flex Value Set (CLIENTES SERVICIO DIRECTO) with a table validation, included in the PO Headers DFF, which shows a LOV with the Ship-to addressfrom the customer which we want to serve the goods; i.e. we are acting as a commisionists and the supplier puts the goods in the Ship-to address of the customer.
This Flex Value Set, as I mentioned, have a table validation, with the following validation table information:
Table Application: Oracle Receivables
Table Name: RA_ADDRESSES_ALL a, RA_CUSTOMERS b
Table Columnns: b.CUSTOMER_NAME Varchar2(20), a.PARTY_LOCATION_ID Varchar2(20)
Where/Order By: a.CUSTOMER_ID = b.CUSTOMER_ID
Additional Columns: a.ADDRESS1 "Dirección"(20), a.CITY "Ciudad"(10)
If we translate this to a SQL code:
select a.address1,
a.city,
a.party_location_id,
b.customer_name
from ra_addresses_all a,
ra_customers b
where a.customer_id = b.customer_id
and b.customer_id = 6283 <--- This last condition clause is for narrowing the result to the interested customer.
This select retrive us two records; for the same customer, one of them for one organization_id (let's say 85) and one of them for the other organization_id (84).
What we are looking for and want is that the LOV, which actually display the two records, shows only the ship-to site of the customer that belongs to the organization_id which belongs the user who queries or creates the Purchase Order.
I.e. Suppose that we enter to Purchasing using the responsibility assigned to the Operating Unit or Organization_id 84. We want that theLOV only shows the Ship-to Site from the customer that belongs to the Operating Unit or Organization_id 84.
I believe that we can achieve this using the :$PROFILE$ token, but we do not know how.
Any ideas?
Thanks a lot for your answer.Hi Rcana,
We have just test your suggestion and it works. We believe that the correc sentence was fnd_profile.get('profile_name'), but the value feature solve the problem. Thanks for your help.
Regards.
Maybe you are looking for
-
I updated Lightroom to version 6, but now it won't open.
I updated Lightroom to version 6 from 5.6, and now it won't open. I have tried un-installing it and re-installing it and nothing. I then uninstalled 5.6 to see if that would help (shouldn't this have disappeared after the update??), and nothing. P
-
Can't forward pictures since 8.1.2 iPhone6
The button to forward or delete is covered by the ui for entering text. If I click and hold then click more it gives me the option to select multiple messages, and everything at the top looks normal. Just the bottom about a 1/2" is un clickable and l
-
How to track my iPod touch?
I recently had my iPod stolen. How do I track it?
-
How to printe with cardinal number? or ordinal number?
As Subject, how to print with numbers on the bottom of each page? or on the bottom right/ bottom left? or on top of page? top right/top left? I am poor using Pages, still learning.
-
Making the leap to Mac 64-bit GUI
Right now, the way I am handling the GUI is making a Windows-native GUI and a Mac-native GUI (Carbon). However, to make to a 64-bit plug-in, I am looking at moving my GUI over to Cocoa for both the 32-bit and 64-bit versions. (To maintain 3 sets of