Create a registry key from SAP

Hi all,
  I am trying to create a registry key from SAP. The code i am using is as follows.
data: h_gui type ole2_object.
data: GuiXT_active type I.
data: root         type I value 1.
*// Connect to desktop object
Create Object h_gui 'SAPINFO'.
Call Method OF h_gui 'RegCreateKeyEx'  = GuiXT_active
     Exporting
      #1 = root
      #2 = 'SOFTWARE\SAP\SAPGUI FRONT\SAP FRONTEND SERVER\CUSTOMIZE'
      #3 = 'GUIXT'.
But the key is not getting created, Am i missing something? Please help.
Regards,
Hari.

Java applets run in a "sandbox" so to speak... so you
can't do this :)
If you really really want to, you can purchase a
license from Verisign, sign your applet and then (try
to) turn off all of the security restrictions in your
applet and then do whatever you want...I believe you can also change the permissions file - on each client.

Similar Messages

  • Creating an RDI  file from SAP script

    Hello All,
    I would like to create an RDI file from SAP Script.
    Please can anyone let me know how do we do it programmatically.
    I am aware of the option of setting RDI parameter to 'X'.
    However my requirement is to allow user to have a print preview option and simulatenously create RDI file .
    Thanks and Regards
    Amruta

    See:
    http://discussions.apple.com/message.jspa?messageID=11535851#11535851

  • Steps to create a generic datasource from SAP CRM

    Dear Forum,
    Could you please provide me with the steps to create a generic datasource from SAP CRM
    Thanks for you time and efforts
    Regards,

    Hi,
    Initially create a view or identify the table to create generic extractions, remaining process is same in all data bases such as CRM........
    GENERIC EXTARCTIONS:
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/generic%2bextraction
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d3219af2-0c01-0010-71ac-dbb4356cf4bf
    Generic Delta:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33
    Assign points if these are useful.
    Rgs,
    I.R.K

  • Siebel webclient: An attempt to create a registry key has failed

    Hi,
    I am trying to install siebel webclient on my PC. but i am getting an error "An attempt to create a registry key has failed" and after this, the installer has uninstalled the files.
    I have succesfully installed the same around 1 year ago. But uninstalled after that. Now i am trying to install again.
    I believe the uninstaller has not cleaned the Registry properly.
    Can any one help me to fix this problem?
    Thanks,
    Umesh

    And if you have to include type, it might be better to use a switch statement:
    Foreach ($RegVal in $RegGroup.Group) {
    Switch ($RegVal.Type) {
    "String" {Set-RegString $RegVal.Value $RegVal.Data}
    "Dword" {Set-RegDword $RegVal.Value $RegVal.Data} <etc>
    I hope this post has helped!

  • Configuration item to create a registry key in every HKEY_USERS key

    Hi,
    Would it be possible to create a configuration item that will create a registry key if not existing in every users under HKEY_USERS?
    Would a wildcard symbol (% or *) work for this?
    Ex.Check if the following registry keys is existing, if not remediate.
    HKEY_USERS\%\Console\%SystemRoot%_System32_WindowsPowerShell_v1.0_powershell.exe OR HKEY_USERS\*\Console\%SystemRoot%_System32_WindowsPowerShell_v1.0_powershell.exe
    Thanks!

    That's going to be really tricky, mainly because of permissions. I did something similar once for a different registry key. See as an example:
    http://www.petervanderwoude.nl/post/go-to-desktop-on-sign-in-on-windows-8-1-via-compliance-settings-in-configmgr-2012/
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Create a foreign key from a field that is part of a mulitple primary key

    Hi,
    i had a table named T_A, with a double primary key : (A,B)
    Then i created a table named T_B with a field : C.
    I want this field T_B.C to take only values that already exist in field T_A.A.
    So i tried to create a foreign key on my field T_B.C, pointing on the field T_A.A : an error message appeared "not possible to create a foreign key on a field that is not a primary key".
    How can i solve this....? If U have any idea, please mail me !!
    THANX very much.

    Add column A as foreign key into the table T_BHow?
    (was the question from the original poster. Adding a column to table T_B that happen to have same name as the corresponding column in table T_A would not allow you to add the foreign key).
    SQL> create table t_a (a number, b number, primary key(a, b)) ;
    Table created.
    SQL> create table t_b(a number, c number, constraint foreign key references t_a(a)) ;
    create table t_b(a number, c number, constraint foreign key references t_a(a))
    ERROR at line 1:
    ORA-02270: no matching unique or primary key for this column-list
    SQL>

  • Creating Datasource and Extracting from SAP R/3 ECC 6.0

    Hello Gurus,
    I am very new in BI field, I am learning through notes provided in this Blog.
    Curretnly I need to know how we create Datasource at SAP R/3 ECC 6.0 (is there any difference b/t these?)
    and how we may extract data from R/3 ECC 6.0 Source System.
    Looking for your kind reply
    Thanks in Advance
    KK

    You can use any specific Extractors to Create  Data Source in R/3 side.
    Let me explain with Generic Extraction
    Goto SBIW--> you can see all the extractions here
    Generic extractors are of 3 types:
    1. Based on table/view
    2. Based on Info set Query
    3. Based on Function module
    If you would like to create a custom table, then goto SE11>Select Table>Click on Create (Now create you own table here & use this table while creating Transaction data)
    Goto RS02-->Select Transaction data.
    Click on  Create
    Choose an application component to which the data source is to be assigned
    Click on  Generic Delta
    Specify the Delta-Specific and the type for the field.
    Specify a safety interval
    Select Data type>Save> Now Data source was generated successfully
    After generating the data source , you will find Delta Flag checked.
    Please go through the following link for Generic Delta
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/84bf4d68-0601-0010-13b5-b062adbb3e33]
    Once you've done with Data Source in R/3 side--> u need to Replicate it to BI
    Goto RSA1>source system>Select the Source system in which u've created Data source>R.C select Data Source Overview>Select the Application Component to which Data source is assigned>R.C Select Replicate dataSorce>here you can see your NEW Data source
    Hope it helps!

  • User type for creating the Http connection from sap to xi

    Hi Friends,
         I need to create the Http and Rfc destination connection from R3 to XI.
         For that what type of user is needed, like Dialog user and etc.,
    Please guide me.
    Thanks in advance
    Karthikeyan

    Hi,
    If my Understanding is Correct You want to Make the RFC Destination of Type H From R/3 to XI.
    If you want to send Any XML Data to XI( In case of Proxies Used means)
    For Testing purpose You can use Your User And Once it went to production means You can Use Service User in the Logon Details( Ask Basis people to create one Service User & Use it)
    REgards
    Seshagiri

  • Is there a way to create/edit registry keys with Java?

    I'm writing a console app and I'd like to have it so the users can change values in the registry. I'm not just talking about app keys I want any key. Is there a way to do this with Java?

    Maybe a forum search on "Windows registry" would turn up some useful things. You're not the first to ask this. You might save yourself and everyone else some time if you'd simply do that.

  • How to create an excel file from SAP?

    I needed to create an excel file(with out data) format with fields read from a table.

    check FM
    EXCEL_OLE_STANDARD_DAT
    Regards
    prabhu

  • Need to call up a webservice created in external system from SAP

    Hi folks,
    A web service is created in the external system and I need to access this web service from a BADI. Can you tell me how can I call this web service (the external system is giving me a URL) and how to capture the return value from the web service. Please let me know in detail.
    Thanks,
    Prem

    Hi,
    I have the same requirement and have created a new Proxy-Object, uploaded the WSDL file (locally) and Created a Logical port.
    In the Logical Port under the tab Call Parameter I've defined the URL of the web-service.
    Since I was not able to upload the WSDL by selecting the option URL/HTTP Destination due to error message "HTTP error (return code 400, message "ICM_HTTP_CONNECTION_FAILED")
    Message no. SPRX090" so uploaded the file locally.
    However, when testing the service, I didn't received a sucess message but:
    <CX_AI_SYSTEM_FAULT>
    <CODECONTEXT>Local</CODECONTEXT>
    <CODE> ERROR_WEBSERVICE_RUNTIME_INIT </CODE>
    <ERRORTEXT> Error when instantiating the Web service runtime (Error when initializing SOAP client application: ' error_text' ) </ERRORTEXT>
    <LANGUAGE />
    </CX_AI_SYSTEM_FAULT>
    </cls:CX_AI_SYSTEM_FAULT>
    What might be the Problem ?
    /Manik

  • Creating a registry key programatically

    Hi all,
    How to create a variable in the registry programatically ? And how to assign a value programatically to it after ? For example I want to create the variable named 'log_dest' in the registry , and I want to assign 'D:\bin\log' as its value , how to do that ?
    Thank you very much indeed.

    I use a client/server architecture.
    There was an error when executing the procedure. I created a test forms , and I just created a control block which contains a button. In the when-button-pressed trigger I coded : win_api_environment.write_registry('HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE','TEST_REGISTR','D:\MYLOGS',true); . I already attached the d2kwutil.pll to the form module.
    The error is : FRM-40734: internal error : pl/sql error occurred.
    So how to resolve it ?

  • MaxNBrowseValue Registry Key

    Hello,
    We have a report with a parameter with dynamic prompt. This read entries from Item Master Table from the database. When running the report, only 500 or so item records are displayed in the prompt, though there are around 1500 records.
    Upon searching on internet, I came across some posts for older versions that there is a registry key which controls the number of records being displayed. I changed this value to 1000, but there was no effect. In fact, after restarting, I realised that Crystal has changed the value back to 500.
    Is there any other way to control this??
    We are using Crystal Reports 2008 for SAP Business One.
    Thanks & Regards,
    Rahul Jain

    the registry key changes are as follows
    Crystal Reports 2008
    1.     Create a registry key HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12\Crystal Reports\DatabaseOptions\LOV.
    NOTE     Alternatively, you can create the registry key HKEY_CURRENT_USER\SOFTWARE\Business Objects\Suite 12\Crystal Reports\DatabaseOptions\LOV and that key will override the settings of the HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12\Crystal Reports\DatabaseOptions\LOV key.
    2.     Add a string value "MaxRowsetRecords" and set the value to the maximum number of values that you desire for your report. For example, a value of 2000 will return up to 2000 values in the lowest level of a cascading parameter.
    NOTE: The value 0 (Unlimited) will not work with BusinessObjects Enterprise XI R3 or Crystal Reports Server XI R3, you must specify another value.
    NOTE     The higher the number of values is, the longer it will take the Enter Values dialog box to populate with values.
    3.      After making changes to the registry, restart the affected service or application as required.
    regards,
    Raghavendra

  • How can I give me the access to create a developer key in the market?

    Hi!
    I'm new in the basis area and I don't have access to create a developer key. A consultant need a developer key.
    How can I give me the access in the market place to create it?
    Thanks!

    Hi
    You need to get the access key from SAP.
    Refer to the procedure of obtaining access keys from SAP in BASIS.
    Security
    Regards,
    Raj

  • Developing Crystal Report from SAP BEx query

    Hi,
    I am trying to create an crystal report from SAP BEx query( using MDX driver). I can able to connected to BEx query and got key figures and characterstics, but not able to get calculated key figures into crystal reports.
    Would likes to know how to use the calculated key figures used at BEx query level in Crystal Reports? and
    Creation of complex parametes in Crystal reports on SAP data.
    I really appreciate your quick reply.
    Thanks in advance.
    VR

    Hi,
    calculated keyfigures are shown like any other keyfigure in Crystal Reports.
    ingo

Maybe you are looking for

  • Sent step by step apdu command to load cap file into javacard

    Dear All, I have log file about process loading cap file into card: Loading "E:\Sample.cap" ... T - 80F28000024F00 C - 08A000000003000000019E9000 ISD AID : A000000003000000 T - 80E602001407A000000132000108A00000000300000000000000 C - 009000 T - 80E80

  • ITunes 7 killed my 3G iPod

    I can't believe it. I've had this 3g iPod with few problems for a couple of years now. I just installed iTunes 7 and the thing no longer works. My PC doesn't recognise it in any way. I've tried the 5Rs and can't get the majority of them to work. Can'

  • Aperture and Photoshop Layers

    I did a test by importing some layered Photoshop files into Aperture. These were saved as PSD files using "maximum capability" yet when I "Export" or use "External Editor" from Aperture back to Photoshop, the files are flattened. I have heard that th

  • Graphs: Label Sorting

    Hi all, New 11g user here. I have the following columns in my report: Date | Measure | Tag Jun 5 | 200 | 2 Jun 6 | 100 | 2 Jun 7 | 250 | 1 I want to create a graph where in Date is on the x-axis, and Measure is on the y-axis (Tag is excluded). Howeve

  • Slider control and variable snapInterval

    Hi all, I have a (h)slider with values from 0 to 1000000. But in most cases the values from 0 to 1000 will be used. This means that you have to slide the slider very little. And this is an annoying secure job. Is there a way to have different snapInt