Require a Java API to read Business System defined in SLD

Hi Experts,
Is there any standard java API that provides any methods to retrieve information about the system mentioned in business landscapes. e.g.(name of a system )
In my Web DynPro Application I need to provide a drop down UI that contains names of the Business Systems defined in SLD

Hi,
http://help.sap.com/javadocs/nwce/current/se/com/sap/security/api/umap/system/ISystemLandscapeWrapper.html
try
ISystemLandscapeObject system;
try
       List wrappers = UMFactory.getSystemLandscapeWrappers();
       for (int i = 0;i < wrappers.size(); i++)
                 ISystemLandscapeWrapper e = (ISystemLandscapeWrapper) wrappers.get(i);
                 system = e.getSystemByUniqueKey("CN");
                 if(system == null)
                       system = e.getSystemByAlias("CN");
                 else
                     break; 
}catch(Exception e)
// handle the exception
Regards
Ayyapparaj

Similar Messages

  • Business systems defined in SLD not visible in Integration Directory.

    Hi,
    After having finished with the SLD configuration involving defining the product, software component, TS and BS. Then I imported in the Integration Repository from SLD and then defined message interfaces, types etc. After that, in Integration Directory when I am trying to assign new business system (to expose business system of sld as service), it is not showing me the newly defined business systems of SLD in the Integration directory.
    Please suggest me a possible solution for this.
    Thanks,
    noor

    Hi,
    It happens sometimes due to Meta Data Issue,
    Go for SLD Cache :
    To clear the SLD cache, from the Integration Builder main menu, choose Environment ® Delete Cache for SLD Data.
    Once we have deleted the cache for SLD data, accessing objects in the SLD may take longer than usual initially.
    Still If you are not able to see the Business System when trying to import the business system. Go to Objects tab in ID --> Business System and you will find the imported Business System --> Right Click and ADD to Scenario.
    Regards
    Agasthuri Doss

  • Error while reading ID of own business system from the SLD

    HI guys when trying to send Idoc from my R/3 system to SUS i am getting the following error in XI
    <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">SLD_NO_OWN_BS</SAP:Code>
      <SAP:P1>DSM</SAP:P1>
      <SAP:P2>900</SAP:P2>
      <SAP:Stack>Error while reading ID of own business system from the SLD for system DSM and client 900</SAP:Stack>
    I checked in sxmb_adm on both the ends on Xi as well as on my SUS server in Xi the role is the Integration server and on the SUS it is Application server also checked SLDAPICUST which is configured rite. Plz help me to come out of the problem.
    Regards,
    Anand

    Hi Anand,
      check the two thing's in XI.
    1. First created technical system in XI to identify your XI server (Web as ABAP and Web AS Java)
    2. Create the business system based on above technical system and select the role of business system is Integration server.
      URL : http://<hostname>:<ICM Port>/sap/xi/engine?type=entry.
    3. Create the technical system based on your SAP R/3 system.
    4. Create the business system based on your SAP R/3 system.
    here you need to select role of business system : Application system.
      related integration server is : <XI System SID has to come>
    and try to refresh the initical cache once ...
    http://<hostname>:<j2ee stack port>/CPACache/refresh?mode=full
    after all the things post what is the problem you are faceing.
    Regards,
    Venu.

  • Error when reading the ID of the business system from the SLD

    Hi,
    I am working on a scenario JDBC - XI - BW (ABAP Proxies). I configured all the steps required to connect XI & BW systems. The SLDCHECK transaction is all green. I was able to connect to SLD from BW using SXMB_IFR tcode too. I was able to look at all the XI Repository interfaces from SPROXY tcode in BW. Created a new ABAP proxy (class interface and method) for the message interface in XI from BW (SPROXY Tcode). Created all required config in XI Directory. Got the message from JDBC adapter, mapping done successfully, and the message failed in the CALL Adapter Step.
    The error is "Error when reading the ID of the business system from the SLD for system BWS and client 100."
    What could have gone wrong. Thanks in advance.
    Srini

    Hi,
    :::::::One Should Have the Following Roles AS A XI Developer With Out Admin Rights ::::::
    1) SAP_XI_Developer_ABAP +
    2) SAP_XI_Developer_J2EE  +
    3) SAP_XI_MONITOR_ABAP   +
    4) SAP_XI_MONITOR_J2EE    +
    5) SAP_SLD_ADMINISTRATOR +
    6) SAP_XI_BPE_MONITOR_ABAP +
    7) SAP_XI_DEMOAPP
    8) SAP_XI_DISPLAY_USER_ABAP +
    9) SAP_XI_DISPLAY_USER_J2EE +
    Regards
    Sesh

  • Java API to read the Encrypted Values from Windows Registry settings

    Is there any Java API to read the Encrypted Values from Windows Registry settings ?
    My Java Application invokes a 3rd party Tool that writes the key/value to windows registry settings under : “HKLM\Software\<3rdparty>\dataValue”.
    This entry is in BINARY and encrypted with 3DES, using crypto API from Microsoft.
    3rd party software to encrypt the data stored in registry it
    either uses C++ code: and uses the call “CryptProtectData” and “CryptUnProtectData” or
    If it is a .NET (C#) it uses the call “Protect” or “UnProtect” from class “ProtectData” of WinCrypt.h from the library “Crypt32.lib.
    Note: The data is encrypted using auto-generated machinekey and there is no public key shared to decrypt the Encrypted data.
    Since the data is encrypted using auto-generated machinekey the same can be decrypted from a .Net / C++ application using CryptUnprotectData or UnProtect() API of WinCrypt.h from the library “Crypt32.lib.
    To know more about Auto-Generated MachineKey in Windows refer the links below
    http://aspnetresources.com/tools/machineKey
    http://msdn.microsoft.com/en-us/library/ms998288.aspx
    I need to find a way in Java to find the equivalent API to decrypt (CryptUnprotectData) and Microsoft will automatically use the correct key.
    But i couldn't find any informato related to Java APIs to enrypt or decrypt data using auto-generated machinekey.
    Is there a way to read the encrypted data from Windows regsitry settings that is encrypted using the Auto-Generated Machine Key ?
    Kindly let me know if Java provides any such API or mechanism for this.

    If the symmetric key is "auto-generated" and is not being stored anywhere on the machine, it implies that the key is being regenerated based on known values on the machine. This is the same principle in generating 3DES keys using PBE (password-based-encryption). I would review the documentation on the C# side, figure out the algorithm or "seed" values being used by the algorithm, and then attempt to use the JCE to derive the 3DES key using PBE; you will need to provide the known values as parameters to the PBE key-generation function in JCE. Once derived, it can be used to decrypt the ciphertext from the Regiistry in exactly the same way as the CAPI/CNG framework.
    An alternate way for Java to use this key, is to write a JNI library that will call the native Windows code to do the decryption; then the Java program does not need to know details about the key.
    That said, there is a risk that if your code can derive the key based on known seeds, then so can an attacker. I don't know what your applicatiion is doing, but if this is anything related to compliance for some data-security regulation like PCI-DSS, then you will fail the audit (for being unable to prove you have adequate controls on the symmetric key) if a knowledgable QSA probes this design.
    Arshad Noor
    StrongAuth, Inc.

  • SAP XI 3.0 - Error while reading the ID of own business system from the SLD

    Error while reading the ID of own business system from the SLD for system Quality (QOC) and Client 100. 
    I get this error in the SXMN_MONI.  The business process is that the Interface to send master schedule and finished inventory from the legacy system to SAP to create planned orders in SAP for all Plants.
    I could able to get "SUCCESSFULLY PROCESSED" in development and production.  But only in Quality I getting this error.  Could anyone help me to fix this issue.
    thanks...

    Probably, its due to incorrect RFC Adapter properties in config.
    Go to Integration COnfiguration. Double Click on the Business System for your R/3 system. On the right hand screen, Click  on Service-->Adapter Specific Parameters.
    Check whether the Logical System Name comes up as SAP<SID> and whether R/3 system ID and Client are appropriate.
    If these values are inappropriate, make changes to the corresponding Technical System defined in the SLD. After you have made the necessary corrections, come back to Integration COnfiguration, Double click on Business SYstem for R/3. Switch to Edit Mode. Click on Service-> Adapter Specific Parameters and then click on the Icon between Apply and Cancel buttons, inorder to compare with SLD and make those values reflect in config. Then click on Apply and Save the Business System.
    After this, you can retry sending the message.
    Rgds
    R Chandrasekhar

  • Error while reading the ID of own business system from the SLD for system

    Hello,
    I try to send master material data from a 4.7 system via XI 3.0 to an autoID Infrastructure system 2.1. All Communication Channels, Receiver Agreements, Receiver and Interface Agreements are configured. The IDOC gets propper into the XI, Inbound Message is "green". Now, I get the following message:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">SLD_NO_OWN_BS</SAP:Code>
      <SAP:P1>ZTA</SAP:P1>
      <SAP:P2>013</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading the ID of own business system from the SLD for system ZTA and client 013</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Can anybody help me?

    Probably, its due to incorrect RFC Adapter properties in config.
    Go to Integration COnfiguration. Double Click on the Business System for your R/3 system. On the right hand screen, Click  on Service-->Adapter Specific Parameters.
    Check whether the Logical System Name comes up as SAP<SID> and whether R/3 system ID and Client are appropriate.
    If these values are inappropriate, make changes to the corresponding Technical System defined in the SLD. After you have made the necessary corrections, come back to Integration COnfiguration, Double click on Business SYstem for R/3. Switch to Edit Mode. Click on Service-> Adapter Specific Parameters and then click on the Icon between Apply and Cancel buttons, inorder to compare with SLD and make those values reflect in config. Then click on Apply and Save the Business System.
    After this, you can retry sending the message.
    Rgds
    R Chandrasekhar

  • Error while reading ID of own business system from the SLD for system D18

    Dear guru's,
    I have almost completed a file2proxy scenario but I'm stuk on the following.
    When sending a message the outbound adapter says:
    <b>Error while reading ID of own business system from the SLD for system D18 and client 200</b>
    What's the problem? I'm using a HTTP connection in the comm. channel. In this http connection a user with SAP_ALL is defined.
    Any suggestions?
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">SLD_NO_OWN_BS</SAP:Code>
      <SAP:P1>D18</SAP:P1>
      <SAP:P2>200</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading ID of own business system from the SLD for system D18 and client 200</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Login to system D18 and client 200 and check the TC SLDCHECK and also as per my pervious message check the entries in the SLDAPICUST, it should point to the Server on which SLD is present usually XI server https.
    Actually what happens in this error is when you are done with the configuration part in the ID, you are trying to eceute the scenario File to proxy, when it comes to identify the receiver system which is D18 clnt 200, it goes to SLD to check it and SLD is trying to ping to the machine D18 this connection is set from the TC SLDAPICUST on the machine D18.
    here the problem is that either the D18 is not able to ping to the SLD and also try refreshing the SLD cache.
    Hope you problem is fixed

  • Error while reading ID of own business system from the SLD for system DPI

    Hi All,
    My sceanrio is Proxy to JDBC. and its B2B. am sending the data from BI system and based on the country field from the source, table is decided and value is updated in the table.
    In RWB->Component Monitoring->Adapter Engine->Test Message, I have given the Sender component,Receiver Party,Receiver component,Interface,Interface Namespace,userid and password,Quality of Service and pasted the payload.
    Now I am getting the error :Error While Sending Message: Error stack from response: Error while reading ID of own business system from the SLD for system DPI and client 001 Internal error in Landscape Directory
    Please help me out.
    Thanks
    Kiruthi
    Edited by: kiruthiga balusamy on Nov 24, 2009 4:02 PM

    Hi,
    Check transaction SLDAPICUST for correct SLD configuration.
    http://help.sap.com/saphelp_nw70/helpdata/EN/0b/8512417301ee6fe10000000a1550b0/content.htm
    ~Sanv...

  • SLD Error in IE:Error while reading ID of own business system from the SLD

    Dear Champs,
    Scenario : JDBC to Proxy(APO system)
    We are getting below error in MONI UAT Box. All other interface are working fine but we are facing issue for a particular Bussiness System also logical system are maintained properly.the same interface is working fine in other UAT box.
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">SLD_NO_OWN_BS</SAP:Code>
      <SAP:P1>R/3 Sys ID</SAP:P1>
      <SAP:P2>"Client"</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error while reading ID of own business system from the SLD for system "R/3 Sys ID"and client "Clnt no"</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    Regards,
    Manikandan

    Hi Mani,
    Solution 1:
    Check if the techncal system has associated Business system. I think there is something wrong in your SLD configuration and try to correct it.
    Solution 2:
    Create a Business system in the ID, and create the communication channel do the respective changes in ID ( I.e Receiver agreement, Receiver determination & Interface).

  • Looking for pure Java API to read metadata from an MP4 file.

    Hi, I am looking for a pure Java api that can read MP4 metadata. I have been trying to look online for one but have not found anything
    suitable. If there are no good api's, can someone point me to resources on how to parse metadata from an MP4, tutorials would be great
    as well. I have looked online for that as well but have not found much. Any help would be greatly appreciated.

    Cross posted
    http://www.java-forums.org/new-java/59652-looking-pure-java-api-read-metadata-mp4-file.html
    http://www.coderanch.com/t/580833/Streams/java/Looking-pure-Java-API-read
    http://stackoverflow.com/questions/10568588/looking-for-pure-java-api-to-read-metadata-from-an-mp4-file
    db

  • Creating a Business system in the SLD

    I am receiving an error message when trying to create a business system in the SLD. The error is "The selected client has an associated logical system nae that is already  used for another business system. Select a different client."
    Here is my issue. The business system that I am creating is for our R/3 4.6C production system. I currently have a business system for our R/3 4.6C quality system. Our prodution and quality R/3 systems do have the same logical system name and client number. This is because we recreate our qaulity R/3 system from our production system.
    So, the question is, How do I create a business system in the SLD for my production R/3 system when the logical system name is used assoicated with and business system.
    I should add that all my R/3 systems have been created as technical systems without any problems.
    Thanks,
    Jim

    It is recommended to have all ALE names unique.
    If it is not possible the following workaround can be used.
    Create one system in SLD (business system/technical system) which contains the ALE name. Proposal: The production system
    Create the other systems(dev/QA) without the ALE name
    During configuration the production system will be configured as usual.
    For Dev/QA systems: Define in the receiver agreement the header mapping and use The Receiver service to reference the production system. Because you reference the production system the ALE name of the production system will be used to fill the idoc.

  • How do we import business systems defined in the SLD to IB:configuration...

    how do we import business systems defined in the SLD to IB:configuration...

    hi,
    go to Scenario tab, Object -> New , Select the configuration scenario enter the configuration scenario name then save.
      Expand Service without party ->Select the business system and right click click on next, next select your business systemd.
    IF business system not appeared in ID..go to Environment -> Clear SLD data cache.
      again try to assign the business system.
    Regards,
    Venu.

  • What is Meter reading validations (System defined & User defined)

    Hi Experts,
    1 )How to configure Meter Readings (Technical Control Parameters, MR Control, MR Notes etc)
    2) what is Meter reading validations (System defined & User defined) and how to configure it.
    3) What is Register Relationships,Device Groupings & Device Allocations and how to configure.
    Kindly explain with examples.
    Thanks in advance.
    Regards,
    Shabnum

    hi,
    Meter Validation Steps:
    1.     The Validation Process begins with Meter Reading Order Creation when the expected consumption is determined for the meter reading to be recorded for each register. The meter reading status is u201C0u201D or un-entered at this time.
    2.     The meter reading is entered via an upload program as part of the batch processing or entered manually.
    This result is validated or evaluated against the permitted range of allowable meter reads/consumption for that register.  The expected consumption is the basis for determining the range of the minimum and maximum values for the meter reading.
    If the result is plausible, or valid, for all registers of the meter, the billing order becomes billable and the contract/installation is passed to billing for further processing. The meter reading status is updated to u201C1u201D or billable.
    If the meter reading is validated as implausible, the meter reading result is transferred to the List of Implausibles for further processing (EL70). The status of the meter reading is u201C2u201D or automatically blocked. One or more independent validations can be failed in this validation process.
    3.     During processing, the agent can release the meter reading for billing; the status is updated to u201C4u201D, released by clerk. The reading is accepted as measured. The agent can also process the implausible meter reading result using transaction code: EL27 Execute Correct Implausible Meter Reading Results. EL27 is recommended for individual processing.
    SAP Easy Access  Utility Industry  Device Management  Meter Reading  Correction of Meter Reading Results  Implausible Results (Transaction EL27)
    EL70 is recommended for processing of implausibles for mass processing.  It is not on the menu, however, one way to open the screen is:
    SAP Easy Access  Utilities  Device Management  Meter Reading  Correction of Meter Reading Results  Implausible Results
    Once the screen opens, click on the List button on the application toolbar
    4.     The agent may also correct the meter reading. If this corrected read is validated as within range, the status is updated to u201C1u201D, billable.
    5.     Alternatively, the reading can be determined to require follow up action and a service order is executed from the IC for re-read. A read status has been configured to support this flagging of the account for follow-up service order processing.
    6.     When the service order is returned from the field, the CSR releases corrects, resets or possibly estimates the meter reading depending on the outcome of the service order processing.
    7.     The meter reading is then passed to the billing engine for billing execution when the reading is validated as plausible.
    -Siva

  • Role for business system defined in SXMS_CONF_ITEMS'

    hi
    in RWB integration engine status is red in detail it is showing.
    'No role for business system defined in SXMS_CONF_ITEMS'.
    how can i fix this.
    regards,
    krushi

    HI
    Runtime Workbench - Integration Engine
    Are the Roles in SXMS_CONF_ITEMS and the SLD Consistent?
    //***The role of a business system is defined centrally in the SLD. However, you can overwrite this setting locally in the table SXMS_CONF_ITEMS.
    This test checks whether the role descriptions are consistent. If not, the locally defined role is used at runtime.
    extract taken from this thread
    http://help.sap.com/saphelp_nw04s/helpdata/en/a5/1b5342d8a7be30e10000000a155106/frameset.htm
    Message was edited by:
            Anusha  Ramsiva

Maybe you are looking for

  • ITunes won't open because the iTunes Library.itl file is locked

    Recently our motherboard died. When we replaced it, we also had to wipe our hard drive. We saved our files, including my iTunes library. I reinstalled iTunes today, but when I tried to open it, I got this error message: "The iTunes Library.itl file i

  • Display decimal values in report

    Hi all, I have one question concerning the display of decimal values smaller than '1' in a report. In an SQL query some calculations are done and the result is displayed in a report. The problem is, that if the value of the result is smaller than '1'

  • Bind Dynamic Table To a Context Node

    Hello, I created an internal dynamic Table. I want to show this table in an ALV-Table. So I want to bind it to a context node. I create the context node attributes by this: lr_node_info ?= lo_nd_template_exp->get_node_info( ). *Type of table type and

  • Avoid employee enqueue when using ESS

    Hi all. I need to avoid the "employee enqueue" (The employee to get locked) when it´s using its ESS services. I mean... If a user is using the portal and watching his personal information for instance, I need to make it possible to get into the user´

  • Is there a version of iPhoto that works on windows 7

    I'm hoping to use the new icloud to get photo's on my PC