Read registry value

Hi
I've been looking into this for a number of days now and have hit a brick wall.
I am sure that a java application can read the JavaSoft/Prefs Hkey value on the windows registry, I recall seeing such a comment from another thread (unfortunately can't find the thread anymore).
Is my assumption correct and if so can anyone point me to a tutorial or give any advice.
Thanks
GB

EJP wrote:
When trying with the reg32.exe the error stream is non-empty indeed: ERROR: The system was unable to find the specified registry key or value. (The same error appears when trying the query from the command prompt)Did you consider trying it with a valid key? It's all pretty pointless until then.
HKLM is definitely wrong. That's a common shorthand for something like HOST_KEY_LOCAL_MACHINE.My idea was to make sure that I correctly check the error stream.
Now I tried with a valid key using the reg32.exe:
"C:\Users\User1\reg32.exe" "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\LanguagePack" /v OpenType
With the proces builder the input stream of the process contains the expected result. Also the exit code is 0.
Here is the query I try with the reg64.exe:
"C:\Users\User1\reg64.exe" "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\LanguagePack" /v OpenType /reg:64
With the process builder the input and error streams are empty and the exit code is 1.

Similar Messages

  • Read registry value with ProcessBuilder

    Hi all,
    I am using the following to read the ProductID from the registry (64bit windows):
    List<String> command = new ArrayList<String>();
    command.add("\"C:\\Users\\User1\\reg64.exe\"");
    command.add("query");
    command.add("\"HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\"");
    command.add("/v");
    command.add("ProductID");
    command.add("/reg:64");
    productID = execute(command);
    static private String execute(List<String> command) throws IOException, InterruptedException {
    ProcessBuilder pb = new ProcessBuilder(command);
    Process process = pb.start();
    StreamReader reader = new StreamReader(process.getInputStream());
    StreamReader errReader = new StreamReader(process.getErrorStream());
    reader.start();
    errReader.start();
    process.waitFor();
    reader.join();
    errReader.join();
    return reader.getResult();
    This should basically produce the following query
    "C:\Users\User1\reg64.exe" query "HKLM\Software\Microsoft\Windows NT\CurrentVersion" /v ProductID /reg:64
    When this query is run directly in the command prompt it yields the desired result:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion
    ProductID REG_SZ 0032-0RM-89989898989-12334
    However, the result via the processBuilder is an empty string.
    If I try the processBuilder with the following:
    command.add("reg"); instead of command.add("\"C:\\Users\\User1\\reg64.exe\"");
    then the result is non-empty: the same as from the command prompt. However, then the ProductID is missing.
    I tried the following variants of the argument:
    - with and without the full path to reg64.exe
    - with and without quotation marks around the path
    - with and without setting the working directory for the processBuilder
    but I was always getting an empty string as a result of the query.
    Any fresh ideas would be appreciated :)

    EJP wrote:
    When trying with the reg32.exe the error stream is non-empty indeed: ERROR: The system was unable to find the specified registry key or value. (The same error appears when trying the query from the command prompt)Did you consider trying it with a valid key? It's all pretty pointless until then.
    HKLM is definitely wrong. That's a common shorthand for something like HOST_KEY_LOCAL_MACHINE.My idea was to make sure that I correctly check the error stream.
    Now I tried with a valid key using the reg32.exe:
    "C:\Users\User1\reg32.exe" "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\LanguagePack" /v OpenType
    With the proces builder the input stream of the process contains the expected result. Also the exit code is 0.
    Here is the query I try with the reg64.exe:
    "C:\Users\User1\reg64.exe" "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\LanguagePack" /v OpenType /reg:64
    With the process builder the input and error streams are empty and the exit code is 1.

  • My ITunes got corrupted and I kept getting a message when updating iTunes64msi missing so I uninstalled all files and I thought I removed all registry values but  when reinstalling I get an older version is installed and cannot be removed. I need a soluti

    My ITunes got corrupted and I kept getting a message when updating iTunes64msi missing so I uninstalled all files and I thought I removed all registry values but  when reinstalling I get an older version is installed and cannot be removed. I need a solution.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Webutil, read registry with defaut entry?

    webutil, read registry not working well?
    Hi,
    I cannot read the default value for an entry in the registry.
    if I read another value, it works fine.
    On metalink, a note was giving an exemple that was doing that... but it doesn't work when I try it....
    Doc ID:      Note:121909.1
    Subject:      How to Open a File with its Associated Program from Forms ?
    Here is my code, the first block works, but the others don't work. Could somebody explain me how do I do to access the default value?
    PROCEDURE P_TEST IS
    lv_valeur_retour1 VARCHAR2(255);
    BEGIN
    BEGIN
    -- this works fine
    lv_valeur_retour1 :=
    CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY
    ('HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows',
    'Device',
    TRUE);
    message(lv_valeur_retour1);
    pause;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    :F_RETOUR := '10';
    END;
    pause;
    BEGIN
    -- this doesn't work
    lv_valeur_retour1 :=
    CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY
    ('HKEY_CLASSES_ROOT\' || '.doc',
    NULL,
    TRUE);
    message(lv_valeur_retour1);
    pause;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    :F_RETOUR := '11';
    END;
    pause;
    BEGIN
    -- this doesn't work
    lv_valeur_retour1 :=
    CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY
    ('HKEY_CLASSES_ROOT\' || '.doc',
    'Default',
    TRUE);
    message(lv_valeur_retour1);
    pause;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    :F_RETOUR := '12';
    END;
    pause;
    BEGIN
    -- this doesn't work
    lv_valeur_retour1 :=
    CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY
    ('HKEY_CLASSES_ROOT\' || '.doc',
    '(Default)',
    TRUE);
    message(lv_valeur_retour1);
    pause;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    :F_RETOUR := '15';
    END;
    pause;
    BEGIN
    -- this doesn't work
    lv_valeur_retour1 :=
    CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY
    ('HKEY_CLASSES_ROOT\' || '.doc',
    '0',
    TRUE);
    message(lv_valeur_retour1);
    pause;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    :F_RETOUR := '14';
    END;
    pause;
    BEGIN
    -- this doesn't work
    lv_valeur_retour1 :=
    CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY
    ('HKEY_CLASSES_ROOT',
    '.doc',
    TRUE);
    message(lv_valeur_retour1);
    pause;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    :F_RETOUR := '13';
    END;
    END;

    I had to customize the webutil.pll to get this to work. I modified the WEBUTIL_C_API.ADD_PARAMETER_WU function so it did not always consume null string parameters. The change follows.
    FUNCTION ADD_PARAMETER_WU (paramList IN ParameterList, parameterType IN PLS_INTEGER,
    inOut IN PLS_INTEGER, str IN VARCHAR2, strmaxlen IN PLS_INTEGER) RETURN ParameterHandle IS
    paramHnd ParameterHandle;
    BEGIN
         IF (str = 'mjpNULLmjp') THEN
                        WebUtil_Core.SetProperty(WebUtil_Core.WUL_PACKAGE,'WUL_PARAM_PROPERTIES', 'B|' -- indicate Bind
              || TO_CHAR(paramList.hnd) || '|'
              || TO_CHAR(parameterType) || '|'
              || TO_CHAR(inOut) || '|'
              || TO_CHAR(strmaxlen) || '|'
              || '',false);
         ELSE
              IF str IS NULL THEN
              WebUtil_Core.SetProperty(WebUtil_Core.WUL_PACKAGE,'WUL_PARAM_PROPERTIES', 'B|' -- indicate Bind
              || TO_CHAR(paramList.hnd) || '|'
              || TO_CHAR(parameterType) || '|'
              || TO_CHAR(inOut) || '|'
              || TO_CHAR(strmaxlen) || '|'
              || '(null)',false);
         ELSE          
              WebUtil_Core.SetProperty(WebUtil_Core.WUL_PACKAGE,'WUL_PARAM_PROPERTIES', 'B|' -- indicate Bind
              || TO_CHAR(paramList.hnd) || '|'
              || TO_CHAR(parameterType) || '|'
              || TO_CHAR(inOut) || '|'
              || TO_CHAR(strmaxlen) || '|'
              || str,false);
         END IF;
         END IF;
         paramHnd.hnd := TO_NUMBER(WebUtil_Core.GetProperty(WebUtil_Core.WUL_PACKAGE,'WUL_ADD_PARAMETER'));
         RETURN paramHnd;
    EXCEPTION
    when WebUtil_Core.BEAN_NOT_REGISTERED then
    WebUtil_Core.Error(15,WebUtil_Core.getImplClass(WebUtil_Core.WUF_PACKAGE));               
    RAISE FORM_TRIGGER_FAILURE;
    when WebUtil_Core.PROPERTY_ERROR then
    RAISE FORM_TRIGGER_FAILURE;
    END ADD_PARAMETER_WU;
    Here is an example call to get the default registry entry:
    reg_val := CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY('HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE','mjpNULLmjp',FALSE);

  • Read Registry Keys and store it in Inventory DB

    Hallo together,
    I am looking for a program to extract some Registry keys into the ZENworks 7 inventory database.
    I know I need to create a CUSTOM.INI and fill it with values. When I create the CUSTOM.INI by hand I got it to work to store the values in the inventory database.
    But I need a program to read the Registry values and store them in the CUSTOM.ini file with the correct syntax.
    A Script or any other small program would be helpful. I know how I could read the Registry values with REG.exe but I do not know how to store the values in the correct syntax in CUSTOM.ini?
    I found zRegScan but I did not get it to work. I found out that the Program is called by the Inventory process (it appears in the TaskManager for a short time). When I run zRegScan by hand (or with a manual launched ZfDInvScanner.exe) I get the following error windows:
    Title: zRegScan.exe - Common Language Runtime Debugging Services
    Warning: Application has generated an exception that could not be handled. Process id=0x814, Thread id=0xf14
    When I click "Cancel" I receive a 2nd Window:
    Title: zRegScan.exe - No debugger found.
    Warning: Registered JIT debugger is not available. An atempt to launch a JIT debugger with ...
    I tried for several hours to get it operational - with no success.
    The zRegScan.log does not show anything helpful.
    I have WinXP SP2 and SP3 machines and ZfD7ir3a.
    Thanks for your help
    Klaus

    BachmannK,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Adobe Reader registry keys gone when upgrading to 9.1; Need help finding

    I had a couple of registry values disappear after the install of 9.1
    Disable JavaScriopt in Adobe:
    HKCU\Software\adobe\Acrobat Reader\9.0\JSPrefs  (I can no longer find this key)
    "bEnableJS"dword:00000000
    Disable the displaying of pdf documents in web browser
    HKCU\Software\adobe\Acrobat Reader\9.0\Originals (I can no longer find this key)
    "BrowserIntergration"=dword0000000
    I am fully aware of finding the options that turn on/off the options above through the adobe  edit > preferences> Javascript and Internet options.  However I want to make a script that makes these changes. I no longer know the path to these key values.
    I tried a file comparison between current and and modified registry to see if I could pin-point those paths I mentioned above.  They do not exist to my knowledge unless Adobe renamed the keys.
    Has anyone else ran into the same problem?

    Strange, not showing up in 9.1.0.  Guess I need to update to 9.1.1 first and see...
    Thanks

  • Unable to burn cds. Have run diognostics. i tunes not running in safe mode. invalid lower filters registry value. Failed while scanning for CD/DVD drives, error 2500. Please help.

    Unable to burn CDs using i tunes. Have run diognostics.    Summary:-   i tunes not running in safe mode.
                                                                                                                                        Invalid lower filters registry value.
                                                                                                                                        Failed while scanning for CD/DVD drives, error 2500
    Please help.

    That's why you want to make a backup of the registry. If you didn't make a backup, use MS system restore to go back. The only values you should remove are UpperFilter or LowerFilter - one or both may be in there and can be removed. If neither value exists, then that is probably why you can't burn and Windows is not recognizing your drive as a writable drive.
    ... an HP employee expressing his own opinion.
    Please post rather than send me a Message. It's good for the community and I might not be able to get back quickly. - Thank you.

  • How to export Registry values for Office 2010 in HKLM.

    Hello,
    I am trying to export all the Registry keys for Office 2010 in HKLM. All the Office 2010 based registry values in HKLM will be exported and need to be resotred after installing Office 365. So I need to export all the HKLM based Office keys before installing
    Office 365 so later it can be restored.
    Thanks
    Ekta Verma

    Then change the group policy, that's the solution to your problem.  You've made the investment in Office 365 - forcing Office 2010 to launch is wasting that investment.
    But what you are proposing won't work anyway, you would need to capture all of the keys and values in 
    HKCR\.doc, HKCR\.docx, etc, etc, etc for all of the file types.
    Collecting all the registry values, crafting a script to put them all back, and managing that effort is a waste of time when the group policy could be changed in a matter of minutes.  If someone argues against changing the group policy then tell them
    to tell the guy who approved the purchase of Office 365 that he wasted the company's money.
    If, on the other hand, you don't want users to launch Office 2010 yet, that's another story and I could go on and on debating both sides of the argument.  Instead of spending the time mucking around the registry, try to repair Office 2010 instead:
    msiexec /f <product code> /q
    you can get the product code from HKLM\Software\Microsoft\Windows\CurrentVersion and just search for microsoft office from there.  The key name it's in will be the same as the product code, which would also appear in the Uninstall registry value.
    I hope this post has helped!

  • Unable to read registry key for log4net configuration location

     I am getting this error "Unable to read registry key for log4net configuration location." 
    Regards Ravin

    Thanks for reply.
    I m using log4net in Biztalk server 2010. I wrote code in my orchestration  like
    // Create the logger using the ProjectName property value
    from the .btdfproj
    logger = log4net.Ext.Serializable.SLogManager.GetLogger("MyProjectName",
    log4net.helpers.CallersTypeName.Name);
    // Configure the logger by referencing the registry key written
    during the deployment process
    logger.RegistryConfigurator();
    // Set some properties in the PropertiesCollectionEx object
    logProps.Set("InstanceId", MyOrchestration(Microsoft.XLANGs.BaseTypes.InstanceId));
    // Write a debug level entry to Log4Net including the properties
    object
    logger.Debug(logProps, "Received top level request...");
    After successfully Deploying solution. Im getting this error.
    I think problem is with  the " log4net 64bit".
    Regards Ravin

  • Please help me the registry value of Lenovo Power Manager

    Hi everyone, I want to change the Battery Health Mode on my L430 windows 8 but i cannot find the setting in Lenovo Metro App. I know that we can change it in Power Manager on Windows 7, so I think about changing the registry value, and I must have the registry key value of Optimize for Battery Runtime Mode(not the Battery Span mode).
    If you don't might, may I have your battery mode and the registry value in the following
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Lenovo\PWRMGRV\Data\DualModeBattery
    This is my registry value, and it was in Automatic Mode
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Lenovo\PWRMGRV\Data\DualModeBattery]
    "Automatic"=dword:00000003
    "PercentForSwitchingLifespan"=dword:0000003c
    "PercentForSwitchingRuntime"=dword:0000005a
    "PercentForBatteryHealthExit"=dword:0000000a
    "CountForSwitchingLifespan"=dword:00000000
    "CountForSwitchingRuntime"=dword:00000002
    "CountForBatteryHealthExit"=dword:00000001
    "SearchRangOfLog"=dword:0000000e
    "SearchRangOfLogForNonReplaceable"=dword:00000007
    "SearchRangOfLogForBatteryHealthEntry"=dword:0000000e
    "SearchRangOfLogForBatteryHealthExit"=dword:0000000e
    "MinDischargePercent"=dword:00000003
    "BatteryHealth"=dword:00000001
    Thank you for your help and I'm aprreciate for that

    Jurgen,
    Are you just getting this error while attempting to verify? Can you successfully deploy the app? This issue looks familiar to an earlier post in this forum and I believe the archive is OK but is anerroneous verify error? If the cmp-resource is defined in sun-ejb-jar.xml then it should be fine and if the resources are correctly configured. The other thing to check is that you have a persistance manager resource defined in domain.xml; i.e.,
    <persistence-manager-factory-resource enabled="true" factory-class="com.sun.jdo.spi.persistence.support.sqlstore.impl.PersistenceManagerFactoryImpl" jdbc-resource-jndi-name="jdbc/ejbTutorialDB" jndi-name="jdo/pmf" object-type="user"/>

  • How to read enumerated values from an OPC server via Datasocket

    Hi Labviewers,
    I am using LV8.2 and I am trying to find if it is possible to read enumerations from an OPC server via Datasocket, not just the values.
    I can successfully read a value for an OPC server via Datasocket and I get a value for example 3, is it possible to get the enumeration/string that corresponds to this value i.e. "Open".
    Many thanks in advance
    Dimitris

    Hi Sarah,
    With the input type as variant I get the following response:
    1                                     <-This is the current numeric value of the parameter
    4 Attribute(s):
       'Quality' -> 192
       'TimeHigh' -> 29861723
       'TimeLow' -> -665408304
       'Timestamp' -> 39.238E+3
    With the Input set to         Enum constant I get no values or strings coming back. With the Input set to                Ring constant I just get the numeric value   
    Dimitris   

  • How to read all values of a queue

    Hi All,
    In Message mapping I am checking condition for field value based on incoming value.
    In test cases i can see the second or third  occurence is getting supressed and first value fails the condition and mapping node not created.
    I would like to know how to read multiple values from queue and check condition for each value and if correct value present condition should pass.
    I tried all possible context changes but no luck.
    Any ideas how to read all values coming .
    Thanks.

    <?xml version="1.0" encoding="UTF-8"?>
    <msg version="" dbName="">
       <rowOp isLast="" cmitLSN="" cmitTime="" authID="" correlationID="" planName="">
          <updateRow subName="" srcOwner="" srcName="" intentSEQ="" rowNum="" hasLOBCols="">
             <col name="END_RSN_CDE" isKey="852369" invalidData="" rawData="">
                <smallint>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </smallint>
                <date>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </date>
                <char>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </char>
             </col>
             <col name="SVC_USER_SDT" isKey="789654" invalidData="" rawData="">
                <smallint>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </smallint>
                <date>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </date>
                <char>
                   <beforeVal invalidData="" rawData=""/>
                   <afterVal invalidData="" rawData=""/>
                </char>
             </col>
          </updateRow>
       </rowOp>
    </msg>

  • Problem reading RFC values from IRecordSet !!!!

    Hi All,
    I am having some problem reading values from IRecordSet. Can not seem to parse the output structure from RFC. AM using connector gateway service to execute BAPI_EXCHRATE_GETCURRENTRATES.
    Here is the code,
    MappedRecord input = rf.createMappedRecord("input");
    input.put("DATE",new String("01011990"));
    input.put("DATE_TYPE", new String("V"));
    input.put("RATE_TYPE", new String("M"));
    MappedRecord output = (MappedRecord) ix.execute(ixspec, input);
    Object rs = null;
    IRecordSet recSet = null;
    Object result = output.get("EXCH_RATE_LIST");
    if (result == null) {
    response.write("<BR>null");
    rs = new String(" ");
    } else if (result instanceof IRecordSet) {
    IRecordSet irs = (IRecordSet) result;
    response.write("<BR>Got some dataaa");
    IRecordMetaData rsmd = null;
    rsmd = irs.retrieveMetaData();
    irs.beforeFirst();
    while(irs.next()){
    response.write("Row::"+irs.getString("RATE_TYPE")+" "+irs.getString("FROM_CURR")+" "+irs.getString("EXCH_RATE"));
    Am getting the pritn statement, Got Some Data on the PDK component.
    But somehow not able to read the values from IRecordSet
    What is the mistake here?
    Pls help
    Edited by: Aakash Jain on Oct 11, 2008 12:22 AM

    Hi
    Try in this way.
    IRecordSet resultTable = (IRecordSet)outputParams.get("TABLE_NAME");
    for(resultTable.beforeFirst(); resultTable.next(); ) {
    response.write(resultTable.getString(0));
    response.write(resultTable.getString(1));
    Thanks

  • Short dump in reading selection values in Report

    Hi all,
    I have created a Navegational Attributte and added this Info Object in the existing Query and for this object we have created Charactistics Value Variable with Uesr Entry.
    But, When we use input selection option to select a vlaue for this Variable  in the Variable Selection Screen it is trying to read the values and going into short Dump but for other variables Selection option is working fine.
    Please anyone help me if you have the solution.
    Regards,
    Ali.

    Hi,
       Try deleting the master data and reload the master data again and check for the selection variables. Check the short dump in ST22 it will say which master table ie SID table or master table where the join fails.
    Thanks,
    Arun

  • Determine/read the value of parameter rdisp/max_wprun_time within ABAP

    Hi,
    I need to avoid program breaks caused by exceeding run time longer than defined in parameter rdisp/max_wprun_time.
    I will check the time since start of report in the critcal loop to bring the current data changes to a controlled end before getting a program break. I won't put a constant to the report, I will have a dynamical routine to avoid changes of report if the value of parameter rdisp/max_wprun_time will be changed.
    But how can I get the value of this parameter within my ABAP report? Is there a table where this value has been stored? Is there an existing function module or a method to read the value?
    Thank's a lot in advance!
    Georg

    The runtime   parameter (GET RUN TIME ) can be used to dynamically get the program run time
    DATA T TYPE I.
    GET RUN TIME FIELD T.
    WRITE: / 'Runtime', T.
    or
    U probably can store the start date and time in TVARV with some variable ( line concatenate program name + START Date + Time)
    and then use
    SD_DATETIME_DIFFERENCE
    or
    SD_CALC_DURATION_FROM_DATETIME
    Regards,
    Mithun Shetty

Maybe you are looking for

  • Java Web Start and DeployDirector: What's the difference?

    I am the product manager for DeployDirector at Sitraka (now part of Quest Software). I'm NOT in sales; I'd simply like to provide you with some information. From talking with DeployDirector users and evaluators, and from my own discussions with the f

  • Query for Future period on a non cumulative cube

    Hi Colleagues, I have a non cumulative cube. It has data till June,2006. When I query on the cube to report the balance with period as "July,2006" it doesnot return anything. What I expected is that it would show me the balance value as of June,2006

  • Same custom code in B2B app. for two shops

    Hi experts!! I am working on B2B application. I have created my own application, added and changed some java and html code. Now i want to use the same application for a second sales area. As far as i know i have to create another shop for the second

  • Pre-printed defective or excess tags in SAP

    What is the process of creating defective or excess tag where printing cannot be done in the a location?

  • Sort-by in WTK Profiler

    Can anyone clue me in as to what's going on with the sort-by-column functionality in the WTK20 profiler output? If I sort by anything except "Count" the order is most definitely not sorted. It seems random, nonsensical, and totally unhelpful.