Reading in a registry variable (urgent)
Hi!
Does anyone know how to read in a registry variable in PL/SQL?
I want to be able to read in my filename's name when I'm using host.....
null
Hi!
Does anyone know how to read in a registry variable in PL/SQL?
I want to be able to read in my filename's name when I'm using host.....
null
Similar Messages
-
SAP BI - OLAP variable in DTP unable to read from input ready variable in query
Hello,
Here's the problem:
We have a process chain which is launched in a WAD.
We would like to filter the DTPs in the PC with the values entered in the variable screen of the WAD
I created a variable of type customer exit X which reads the input ready variable Y in CMOD.
Customer exit variable X was placed in the filter of the DTP.
The input ready variable Y in the query contained in the WAD.
I am getting an error that customer exit variable X is getting not value.
Is it possible to read an input ready variable in a customer exit variable placed in a DTP?
Or am I missing a step here?
Please help.
Thanks in advanceHi Anjalee,
Maybe it would be good to share a bit more information on your scenario and the chosen solution design. I am currently missing the point of triggering a Process Chain using Web Application Designer.
Anyway, I recommend to be careful with using OLAP variables in DTP filters. For sure not all functionality is present, e.g. because the variable pop-up is absent. Your constellation of an input ready variable and a customer-exit variable will only work in the context of a BEx Query and probably not if used in a DTP filter.
Best regards,
Sander -
I can't figure out why the subVI will not read this one particular variable from the main VI. How can I figure out how to make sure these two VI's are communicating properly?
Yes, please post example.
We could probably give you an answer rather quickly if you did.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction -
Unable to read from the registry
I have a button on one of my forms that needs to read from the registry (get default web browser location).
When I am logged in as a member of the administrators group I can perform the operation. When I am logged in as a member of the Power Users group I cannot read the value.
Is this a known issue in Windows 2000 Professional? Is there a techincal paper or resource that shows this?
Or am I doing something incorrectly?
Please Help . . .And Sharepoint forum is here:
http://social.technet.microsoft.com/Forums/en-US/category/sharepoint/
Regards,
Miya
Miya Yao
TechNet Community Support -
Report Registry Variable Setting Designer 9i
Hi,
when I clicked repository report, a windows prompted and said:
CDI-21332: Registry variable EXECUTE_REPORTS_RUNTIME is not set in key DES2_72 Cannot Reports in this session.
It caused report builder fail.
What should I do? Thanks!Hello Matthew,
See Note:231051.1, Dynamic Environment Switching In Reports 9i for an example of setting your environment variables at runtime. It uses REPORTS_PATH, there is also an entry for NLS_LANG in the reports.sh file (in UNIX). This setting is causing the conflict when you try to set it at runtime.
I think you have to remove the entry from reports.sh config file and then you will have to pass the parm at runtime everytime.
I hope this helps!
Tony -
Failed to read/update the registry for the BO XI R2 Critical Hot Fix
We are trying to apply service pack 4 for the BO XI R2 Sp4 for SAP Integration Kits and received the following error message during install and unable to proceed:
"Failed to read/update the registry for the BO XI R2 Critical Hot Fix for Partner Integration Kits"
We had applied a Critical Hot Fix about one week ago and it might be causing the error. How do we uninstall the Critical Hot Fix if it is indeed causing the problem?
Additionally, we have uninstalled the Integration Kit and reinstalled it hoping it will solve the problem but it didn't.
Any help will be greatly appreciated.
Thanks.Please post this query to the Business Objects Enterprise Administration forum:
BI Platform
That forum is monitored by qualified technicians and you will get a faster response there. Also, all BOE queries remain in one place and thus can be easily searched in one place.
Thank you for your understanding,
Ludek -
Reading/Writing to Registry
Hi,
I want to write a program in Java that will Read/Write to Registry on Windows. I know there is a library named WFC, Windows Foundation Classes, by Microsoft that have classes related to Registry access.
What I want to know is whether SUN has written any library regarding to Registry access.
Thanks in advance,
JehanzebWell Sun does have a Preferences API which allows you to save program information in the Registry. However this is more of a replacement for properties files than a tool to access the Registry. I beleive you are limited to a sub directory of the JRE entry within the Registry tree. I don't think you can read or write beyond that area of the Registry. But if your intention is to save your program data then this will be what you want. But if you need to read other parts of the Registry you will probably need to write to the code in C/C++ and call it using JNI. Here is a link to an article on using preferences, check it out:
http://developer.java.sun.com/developer/technicalArticles/releases/preferences/ -
Reading Operationg System Environment Variables
How can i read Operating System environment variables for examples in Windows without using java -D option
just to simply get the value from windows enviroment variables settings... such as "MyApp"
is there a way i can get the value using java???
need something that is backward compatible ... like between jdk version 1.2.2 to 1.3.1???
help...
:~(
Thanks in Advance,
CheahSome ugly hack like using Runtime.getRuntime().exec("echo %wasteoftime%") and examining its output might work.
-
hi,
anybody know apex how to read or write registry ?
thanks.Hello,
>> Is this can used on IE ?
If you can access a specific Microsoft resource like the registry, using FF, it’s only make sense that you’ll be able to do it using IE. In any case, the XPCOM object, which deals with the registry manipulation, is a cross platform component object model, so it should work for IE also.
>> cause i not so familiar on JavaScript
It’s a good time to start. Regardless of your registry problem, if you are serious about using APEX, or any other web development for that matter, JavaScript is something you need to master.
Personally, I’m not keen on allowing my browser to poke around my machine registry. Can you give us some more details on what you are trying to achieve? Maybe someone will come with a better (and safer) way of doing what you need.
Regards,
Arie. -
PCR to read the variable-Urgent help required
Dear Experts,
I'm trying to read a variable in a pcr and tried many ways however NOT been successful
so far hence seeking your help
I have a WT( 5115) in infotype 15 and I would like the amount to transferred to a varibale and read it in the
further PCRs.
PCR1 --> Creating the variable
5115
ADDWT&9TMP
ADDWT *
PCR2--> Reading the value of the variable
5115
AMT=& 9TMP( One space between & and 9TMP)
AMT?0 -> If the variable exists?)
=
AMT= 5008( another wage type)
ADDWT 5308( new wage type only for passing the value from 5008 to 5308)
GCY PCR3( another rule to be processed if WT 5115 exists)
However PCR2 is not getting processed at all for WT 5115.
Please suggest to help resolving this issue.
Thanks,
PoonamDear Remi,
In case of retro termination following is happening-->
For retro month( of termination) eg. 08/2014( emp retro terminated effective 27/08/2014 however termination is done in the month of 09/2014)--> PCR is running for decision PPPAR A=A and calculation is done
For the payroll period ie. 09/2014--> PCR is running for decision operation PPPAR R=R
Hence the PCR is running twice. I would only like the PCR to be run for the payroll period only.
Can you suggest what changes should I make in the PCR given below-->
ZEOF Personnel Calculation Rule VAR 9TMP
5008 ESB Calculation Salary
PPPAR A Termination in mnth?
PPPAR R WCenter inactive/PP?
PPPAR F Term.at end of per.?
F
R
AMT=& 5113 Set
AMT?0 Comparison
AMT- 5008 Subtraction
AMT?0 Comparison
<
FILLF NRA Fill amt/no/rate
ADDWTE5308 RT Results table
ADDWT * OT Output table
=
FILLF NRA Fill amt/no/rate
ADDWT * OT Output table
>
FILLF NRA Fill amt/no/rate
ADDWTE5208 RT Results table
ADDWT * OT Output table
=
FILLF NRA Fill amt/no/rate
ADDWTE5308 RT Results table
A
AMT=& 5113 Set
AMT?0 Comparison
AMT- 5008 Subtraction
AMT?0 Comparison
<
ADDWTE5308 RT Results table
FILLF NRA Fill amt/no/rate
ADDWT * OT Output table
=
FILLF NRA Fill amt/no/rate
ADDWT * OT Output table
>
ADDWTE5208 RT Results table
FILLF NRA Fill amt/no/rate
ADDWT * OT Output table
=
AMT= 5008 Set
ADDWTE5308 RT Results table
FILLF NRA Fill amt/no/rate
ADDWT * OT Output table
Please note that WT 5008 is an accural total wage type and exists in every month. However I see that there is NO retro happening for this wage type in the system in case of retro termination. Can that be an issue? Logically retro should run for this WT for Retro termination and it should not exists for the payroll period after termination??
Thanks,
Poonam -
Friends,
i have an urgent requirement on creating an authorization variable. Please bear with me, because i havent done this before. the requiremnet is to create an authorization variable based on Sales rep id such that the sales rep should be able to see data relevant to him only. Can you tell me how do i do that? I saw many documnetationsn online but i dont understand the sequence, i am not sure how to go aobut it.
Points will be rewarded to all helpful answers.
thanks
Laura.Laura,
Here is the link which gives you all the required information
http://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/1b439590-0201-0010-ea8e-cba686f21f06#search=%22authorization%20variables%22
Let me know if you still have questions. -
Creating text variable, urgent plz
Hi friends,
I would like to create a text variable on fiscalyear/period. the requirement is
when user enters 001.2007 it has to display jan2007
002.2007 it has to display feb2007 so on.
but when I am trying to create on fiscalyear/period it is not allowing me to create text variable. can any one suggest me please, it is an urgent requirement,
I appreciate your help very much.....
Ravi.Hi ravi
we can do this with the text with replacement path and the var which u have created u to put display as text thats it...
take a selection in the rows and create a variable in the text heading and give replacement fron the user entry default variable which the user enters.
Assign points if it helps
Khaja -
How to read file at server? URGENT
hi,
I got stucked to read a file which is at the server, i used this code :
java.io.FileInputStream fis;
String ipaddr="";
int ch;
try
fis=new java.io.FileInputStream("server.ini");
while((ch=fis.read())!=-1)
ipaddr=ipaddr+(char)ch;
ipaddr=ipaddr.trim();
System.out.println(ipaddr);
}catch(Exception e){System.out.println(e);}
I'm getting a FileNotFound exception, where i went wrong.Hello hikiran.
The server.ini file should reside in your application working directory. If it's not there, then the JVM won't find it. Otherwise you could specify an absolute path to the file, but your application will be less portable. Another choice you have is to define an environment variable which tells your app where the server.ini file resides, with the command
java -Dmyapp.ServerIni=C\SomeFolder\server.ini myappThen you retrieve the pathname with:
String path = System.getProperty("myapp.ServerIni");This way your app does not depend on the filesystem on which it's been installed to, because changing the command line that starts your app will be enough to have it working.
Note: if you have to read a text file consider using the java.io.BufferedReader class which lets you to get rid of the different text file formats problems you find when you move to a unix like platform (newline characters are different). -
Adobe Reader 9.0 Registry Entries
I have recently distributed Adobe Reader 9.0 to 4,000+ systems in our domain. I created the install package with the Adobe Customization Wizard 9.0. Unfortunately, I modified one setting that users are complaining about: When launching PDF in IE, prompt user with open/save dialog. I checked it, thus enabling the setting. Users don't wish to have to choose so I am looking for a solution that does not involve modifying the install package in the Wizard and re-distributing the package. I don't see the setting in any of the INI files. I am guessing it is in the MST file though I don't know how this would apply to systems with Adobe Reader 9 already installed?
I am fairly well versed in Windows batch scripts so I am hoping SOMEONE knows of the Windows XP registry location to modify this option. I poured through the forum and KB to no avail though I did find other registry modification options posted.
Anyone?Michael,
I have a similar issue. I am looking for a way to set PDF/A view mode to 'Never' in AR9.2....with the same results you have....nothin'.
If I come across something, I'll pass it along.
Chris Williams -
Reading flat files with variable names in SSIS
I have a ssis package that reads a flat file from a network drive (using a flat file connection manager) and loads the data into sql server tables. I have this working on a fixed file name, however in reality the file name will not be the
same from run to run. Essentially, I need to check a folder each day and if there is a file there with a certain prefix (for example, 'datafile'), I need to process this file(s). In other words, if there is a file in the folder
called datafilexyz, my process needs to read it in and process it. If there are files named datafileabc, datafiledef, and testfile123, I need to read in and process the datafileabc and datafiledef flat files.
I'm not sure how to make this work. I haven't had any SSIS training, just what I can find on the internet and looking at existing SSIS packages (I haven't found any that do what I'm trying to do here) so I'm kind of lost.
Any help is appreciated.this is working well. How can I, after loading each flat file, move the flat file to an archive folder? I'm trying to use a file system task, but doing something wrong. I created and reference
an archive folder connection manager in the destination connection, and reference the original folder connection manager for the source connection, but get 'sourcepath is not valid on operation movefile'. I think a file system task is what
is needed (within the foreach loop after the data load for each flat file), but I'm not doing something correctly.
Sounds fine except for one thing. Did you assign the filename variable to connection string property of the source file connection manager used by file system task?
Also it should be existing file option you should choose for
source connection and existing folder for destination.
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page
Maybe you are looking for
-
Can not start HTTP_server using "opmnctl startall" after applying p4505133
After I apply patch 4505133 on win32 10.1.0.5 PATCH SET FOR ORACLE DATABASE SERVER I can not start HTTP_Server using opmnctl startall, got following error in apache log file: [Thu Mar 22 22:43:54 2007] [error] (2)No such file or directory: mod_plsql:
-
Get ORA-12545: Connect failed because target host or object does not exist
Hi all, My database is in RAC on a RHEL 5 and oracle 10.2.0.4 release, when i connect from client at the first time it's connected and after exit and connect again it gives the error ORA-12545: Connect failed because target host or object does not ex
-
HTTP Receiver without charset in SP18
Hi, I have a scenario, in which I am sending data to external server using HTTPS Receiver. In configuration I have following values : 1) Content Type: multipart/mixed; boundary=BOUNDARY 2) XML Code ( charset) : UTF-8 With these settings XI messag
-
Not able to use the Tab key to Tab indent when within a text edit window...
Two questions please... First one is above for the tab function. In Safari I just need to press control+option+tab to indent a tab within a text edit box on a website. This function is being used more via cloud and mobile capability. Second... I can,
-
Already I posted this thread, But still I didnt get the right answer.Pls help me I will assign points for accurate answers. Thanks & regards, Raj Missing leading zeros using debug Posted: Aug 1, 2007 7:58 AM Reply E-mail this post Hi