EPMFunction to get member ID based on properties
Hi experts,
I'm looking for an (EPM)function to receive a certain dimension member into an excel cell based on serveral properties.
Tried EPMDimensionPropertyValues() and EPMSelectMember() but the Point is that in any case a need to know the ID of the member. But in my case i only know properties which exactly describe this member.
Resolved the case at the Moment with EPMDimensionOverride, but this in my opinion only works for row axis and column axis. But when using the page axis i need to give the member ID directly to the OLAP function. But (as i described) i don't know the ID.... just the properties...
Thx in advance
Best
Sebastian
Hi Sebastian,
An alternative solution.
Use EPMContextMember formula and put the property in the filter field, then it will return the correct member. only limitation is that it will return the first find member with that property, so if you only have one member with that property then it will work.
example:
Andy
Similar Messages
-
Hello,
PowerShell maestro Mike Laughlin helped me develop this .ps1 script which gathers a .csv list of all AD groups with all their AD user account members (GROUP <group name> and MEMBER <SAMAccountName>) and it works very well. I am getting
greedy and want to .csv export even more information on the AD user account properties. Based on the .ps1 below, how/if can I modify this script to get even more AD group member AD user account properties such as:
GROUP MEMBER USER NAME
ENABLED LAST LOGON
<group name> <SAMAccountName> <DisplayName> <Enabled> <LastLogonDate>
I am getting more impressed with PowerShell v4.0 capabilities and the more I automate the more greedy I want to do more.
Thanks to all PowerShell superstars for lending your expertise on this Windows PowerShell forum!
Mattwhere exactly (see script --- let me know if you don't see it in post) in the .ps1 script above would you insed the
$Props = @(
'SamAccountName',
'DisplayName',
'Enabled',
'LastLogonDate'
Matt -
When i try to use Ge-member command in ISE it not work but it work without ISE ...?
PS C:\> Get-WindowsFeature | Get-Member
Get-WindowsFeature : The target of the specified cmdlet cannot be a Windows client-based operating system.
At line:1 char:1
+ Get-WindowsFeature | Get-Member
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : DeviceError: (localhost:String) [Get-WindowsFeature], Exception
+ FullyQualifiedErrorId : WindowsClient_NotSupported,Microsoft.Windows.ServerManager.Commands.GetWindowsFeatureCommandwhen i try to access my core server from my domain using power shell i get error
PS C:\> Enter-PSSession -ComputerName WIN-CORE -Credential 0SGMS\bhagwatritesh
Enter-PSSession : Connecting to remote server WIN-CORE failed with the following error message : WinRM cannot process
the request. The following error with errorcode 0x80090311 occurred while using Kerberos authentication: There are
currently no logon servers available to service the logon request.
Possible causes are:
-The user name or password specified are invalid.
-Kerberos is used when no authentication method and no user name are specified.
-Kerberos accepts domain user names, but not local user names.
-The Service Principal Name (SPN) for the remote computer name and port does not exist.
-The client and remote computers are in different domains and there is no trust between the two domains.
After checking for the above issues, try the following:
-Check the Event Viewer for events related to authentication.
-Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or
use HTTPS transport.
Note that computers in the TrustedHosts list might not be authenticated.
-For more information about WinRM configuration, run the following command: winrm help config. For more
information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ Enter-PSSession -ComputerName WIN-CORE -Credential 0SGMS\bhagwatritesh
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (WIN-CORE:String) [Enter-PSSession], PSRemotingTransportException
+ FullyQualifiedErrorId : CreateRemoteRunspaceFailed -
Function Module to get pernr number based on first name and last name
Hi All,
What is the Function Module to get pernr number based on first name and last name.
Could you please help me.
T@R.
Vidyahi Vidya,
you can get perner from PA0002 based on firs name and last name.
use select query and get perner. -
How to get File Reference of a properties file from EJB
Hi,
I am using Sun App server 7 with Oracle 9i. I am keeping all my SQL statements in a properties file from which I am loading it while making a database operation from Stateless beans. My problem is I am not able to get the reference of the properties file. Here is the code through which I am getting the SQL statements loaded to a cache.
String sqlFileName = "SQL.properties";
sqlCache.load(new FileInputStream(sqlFileName));
From the cache I am sending the SQL statement depending on the key value. But the problem is I have to keep the SQL.properties file on the App Server config directory of the instance where the server.xml file resides. Otherwise it is not able to find the properties file. But I don't want to put the properties file on the config directory of the server instance. Please help how to get the properties file from the packakge. My file is residing inside a package com.company.sql . Botht the properties file and the class accessing the file are residing in the same package. Please help how to get the reference of the file with out putting the file in the config directory.
Thanks
Amit PatnaikJust wanted to warn you of the hazards if you read a file from EJB
So please make sure that these hazards will not affect your application. However the solution suggested to use getResourceStream() concurs with ejbSpec
This snippet is from suns blueprint on ejb
Why can't EJBs read and write files and directories in the filesystem? And why can't they access file descriptors?
Enterprise beans aren't allowed to access files primarily because files are not transactional resources. Allowing EJBs to access files or directories in the filesystem, or to use file descriptors, would compromise component distributability, and would be a security hazard.
Another reason is deployability. The EJB container can choose to place an enterprise bean in any JVM, on any machine in a cluster. Yet the contents of a filesystem are not part of a deployment, and are therefore outside of the EJB container's control. File systems, directories, files, and especially file descriptors tend to be machine-local resources. If an enterprise bean running in a JVM on a particular machine is using or holding an open file descriptor to a file in the filesystem, that enterprise bean cannot easily be moved from one JVM or machine to another, without losing its reference to the file.
Furthermore, giving EJBs access to the filesystem is a security hazard, since the enterprise bean could potentially read and broadcast the contents of sensitive files, or even upload and overwrite the JVM runtime binary for malicious purposes.
Files are not an appropriate mechanism for storing business data for use by components, because they tend to be unstructured, are not under the control of the server environment, and typically don't provide distributed transactional access or fine-grained locking. Business data is better managed using a persistence interface such as JDBC, whose implementations usually provide these benefits. Read-only data can, however, be stored in files in a deployment JAR, and accessed with the getResource() or getResourceAsStream() methods of java.lang.Class.
Hope this info helps! -
Report to get WBS elements based on Project Type
Dear Experts,
Is there any report exists in Project Systems to get WBS elements based on Project Types.
This we can check in the table PRPS-PRART.
But i need to know the availability of T Code.
Thanks in advance.
Regards,
Srinivasareddy YHi,
If its a one time requirement using CN43N might help in meeting the requirement. However, first it has to be executed for a certain range of projects and then the layout will have to be changed accordingly. Instead of doing this if a custom report is developed with the input parameter as "Project Type" it would make it much more easier. You can even have the F4 search option for the input parameter. Doing this will help if the report is going to be used frequently in the future.
Take your call and proceed accordingly.
Regards,
Gokul -
Function Module to get PO details based on Plant and PO date
Hi
1. Is there any Function Module to get PO details based on Plant and PO date?
2. Is there any Function Module to get Material document details based on PO number?
Thanks
Narendrahi,
check these standard reports.
ME2L - By vendor
ME2M - By material
MSRV3 - By service
ME2K - By account assignment
ME2C - By material group
ME2B - By tracking number
ME2N - By PO number
ME2W - By supplying plant
also chck this func module.
REPL_LIST_PURCHASE_ORDER_READ
reward if hlpful. -
BAPI to get Invoice Details based on PO Number
HI,
Is there any BAPI to get Invoice Details based on PO number. If so could you pls let me know that.
Regards,
RameshHi Ramesh ,
there is no Direct BAPI to get the List of Invoices ,But based on the Vendor list u can get the List .
pass Vendor list , Document Dates.
<b>BAPI_INCOMINGINVOICE_GETLIST</b> for more info check the Documentation of this FM.
Regards
Prabhu -
Get Fiscal Period based on Fiscal Year
Hello Experts,
I have one query. I wanted to get fiscal period based on fiscal year entered in selection screen.
I tried to find the FM for it but didn't get it. Can you suggest me any FM which gives in Fiscal period based on fiscal year in FI?
Regards,
NehaHi,
Check the following link:
How to get fiscal period based on date and Fiscal year?
http://www.sapdev.co.uk/fmodules/fms_fiscalyr.htm
Regards,
Bhaskar -
To get Fiscal period based on Fiscal Year
Hi Guys,
Can anybody tell me how to get Fiscal period based on Fiscal Year?
Thanks,
ArpanHi Anshu,
Have a good day.
I need to convert fiscal year(2011) to fiscal period(2011001).
Fiscal year(key field in data source) mapped to the fiscal period(key field in infoprovider).
But in the transformation when I have mapped these fields, data is not coming propperly into the infoprovider because in the transformation its not converting fiscal year to fiscal period.
This is the scenario. Please help.
Thanks,
Arpan -
How can i get session object based on session id?
I have tried searching in forum but i can't find any solution that i can get session object based on session id and i also would like to know how to check whether the session is still active? My company currently using weblogic 5.1. I really hope that some one or anyone can help. I am new in using Servlet. I hope that i can find some answer here. Thank you.
I have a need to get a Session object from a session id, so I don't think that the above should be deprecated. Here is my use case:
0. I am displaying files in a file list
1. I am downloading files.
2. I am downloading files through a Servlet
3. I am displaying the files as images in an applet
4. The applet is ImageJ, and it apparently uses a full URL to download the file.
5. I use request.getRequestURL() in the applet .jsp to get the full URL (the hostname and port)
6. My app server is OC4J and it's behind an apache server and is host aliased.
7. Thus the hostname is different between my applet .jsp and the Servlet URLs
8. Thus I have 2 different sessions
9. Thus I need to pass the session id (or some other unique identifier).
10. I could stored the unique identifier in the application object, but then I would need to clean it up
11. I cannot pass the the full path to the image due to security problems (what if someone downloads my password file?)
12. I would like this to work in a clustered environment
13. I think that WebDAV would solve my problems, since I could pass a full URL of webDAV to ImageJ for download. However, I am unsure how the security of WebDAV would work with ImageJ/URLConnection. I will have to research this feature in ImageJ. -
How do you get the text box text properties dialog box to appear on a MAC?
how do you get the text box text properties dialog box to appear in Adobe Reader XI on a MAC? I know windows is Ctrl-E but can't figure out what to hit for Mac.
Right-click the toolbar and you should find it there (including the short-cut, which is probably Cmd+E).
-
FM to get open period based on company code
Could you pls tell me the FM which can get open period based on the company code?
right answer will be rewared for sure.
SujathaHi,
I m not sure. Just check this out.
CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
EXPORTING
companycodeid = p_bukrs
posting_date = p_bedat
IMPORTING
fiscal_year = gd_fiscalyr
fiscal_period = gd_fiscalp.
CALL FUNCTION 'DETERMINE_PERIOD'
EXPORTING
date = p_bedat
* PERIOD_IN = '000'
version = gd_periv
IMPORTING
period = gd_fiscalp2
year = gd_fiscalyr2
EXCEPTIONS
period_in_not_valid = 1
period_not_assigned = 2
version_undefined = 3
OTHERS = 4.
check this link.
http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
Regards
Vadi
Code Formatted by: Alvaro Tejada Galindo on Jan 4, 2010 5:41 PM -
I'm trying to find a way to get member names such as the Esscmd "Getmembers" does. Can someone please post an example. Thanks.
The following getDimentions() returns all members in XML format, it was just writen by myself yesterday :)public String getDimentions() throws EssException{ String xml = "<?xml version=\"1.0\" encoding=\"GBK\"?>\n"; String s; IEssCubeOutline outline = curCube.openOutline(); IEssIterator dims = outline.getDimensions(); xml = xml + "<!-- Listing dimentions for cube ["+ curCube.getApplication().getName()+"."+curCube.getName()+"]. -->\n\n"; xml = xml + "<Dimensions>\n"; for (int i=0; i<dims.getCount(); i++) { IEssDimension dim = (IEssDimension)dims.getAt(i); s = getDimentions_helper(dim.getDimensionRootMember()); xml = xml + s; } xml = xml + "</Dimensions>"; return xml;}private String getDimentions_helper(IEssMember mbr) throws EssException{ String ret = ""; for (int i = 0; i < mbr.getGenerationNumber(); i++) ret = ret + "\t"; IEssIterator mbrs = mbr.getChildMembers(); if (mbrs.getCount()==0) { ret = ret + "<Member name=\"" + mbr.getName() + "\" gen=\""+String.valueOf(mbr.getGenerationNumber())+"\" />\n"; } else { ret = ret + "<Member name=\"" + mbr.getName() + "\" gen=\""+String.valueOf(mbr.getGenerationNumber())+"\">\n"; for (int i = 0; i < mbrs.getCount(); i++) { ret = ret + getDimentions_helper((IEssMember)mbrs.getAt(i)); } for (int i = 0; i < mbr.getGenerationNumber(); i++) ret = ret + "\t"; ret = ret + "</Member>\n"; } return ret;}
-
Hyperion FR , Planning Details, Limit member selection based on access.
Hi There
I am working on a project
Version 11.1.2.2, FR connected with "Planning Details""
I want to limit POV "Entity" member selection based on access right and I don't want to set User POV one by one.
For ex:
US users don't need to see Canada users' entity.
I am looking for a solution or workaround that can be easy to manage and save time.
Highly appreciate and ThanksYou can actually set the default values in jconsole. jconsole can be started with FRConfig.cmd (normally under C:\Oracle\Middleware\EPMSystem11R1\products\biplus\bin).
Change the value of "com.hyperion.reporting.HRPrefs.filter_by_security" to true, this way, the the default values will be true for all users who haven't set it in user preference yet.
This will list only the members which the users has access.
I believe this is what you are looking for.
Edited by: Krishna Kumar K P on Sep 14, 2012 9:50 AM
Maybe you are looking for
-
When I click on one of my buttons in the toolbar, Firefox opens that button in a new window. I would like to be able to click on one of my buttons and Firefox open it in a new tab instead. == This happened == Every time Firefox opened == When I attem
-
MM Account Determination error: OM174.
When trying to create automatic account determination for a new plant and new material category, I got the message # OM174. I don't know how to fix this. The other parameters are: Plant: TR01 Company Code: 1000 Chart of Accounts: INT Valuation Ar
-
How do I copy a clip from one project to another
Hello I want to use some portions of a clip that I have modifyed to another new project. I tried with copy/past, but they are not transfered to the new project. Thanks anticipated Roberto
-
File Share TC with Windows over internet
Am looking to give Windows users access to info stored on my TC. They will need to access it remotely and are struggling to use the standard afp (which is currently active and accessible by other mac users). What are the TC settings I should use? Is
-
Find My iPhone Suggestion After Beeing Burgled
To who it may concern – I would like to make a suggestion to the “find my iPhone/iPad/laptop app” – Please Please take some time to read my email and perhaps implement. Situation Last week my girlfriend and I were broken into by forcedentry – the rob