API for getting iView name, type, tCode

Hi
I am trying to figure out if there is a way in my program to get iView properties: the iView type (e.g. transaction, Web Dynpro, etc), then if it's a transaction iView to get the tCode for that iView.
I have seen document that tells me I can get the list of iViews in a given PCD location, and I think you can get the properties I mentioned above as such:
// id is the full path of the iView
public void getProperties(IPortalComponentRequest request , String id) throws Exception{
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
env.put(Context.SECURITY_PRINCIPAL, request.getUser());
env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
InitialContext iCtx = null;
try {
iCtx = new InitialContext(env);
IiView result = (IiView) iCtx.lookup(id);
result.getAttribute("????");
result.getAttribute("????");
} catch (Exception e) {
throw new Exception (e);
Am I in the right direction?
I don't know what are the names of those attributes I need? - I cannot find them in any Java docs or forum?
I also looked at com.sap.portal.pcm.attributes.IAttriView but that does not appear to have the suitable attributes that I am looking for?
Please help.
Kind regards,
Sharath

Hi
Check theses links
http://help.sap.com/erp2005_ehp_03/helpdata/EN/44/bfb2a470033f45e10000000a114a6b/frameset.htm
https://help.sap.com/javadocs/NW04S/current/index.html
Hope this helps.
Cheers-
Pramod
reward points if helpful.

Similar Messages

  • API for getting iView Type?

    Hi All,
    I could only get the iView description,title from the PCM Object.
    I would like to retrieve the type(like webdynpro,bsp etc) of iView and other properties.
    Thanks much,
    -Krishna

    Please refer to this document. It will help you.
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401">Codes - Accessing PCD Contents like iViews, Pages, Worksets, Roles and Their Properties.pdf</a>

  • API for getting diagnotic server info

    Is there an API for getting diagnostic information about the server (memory usage, etc.). We'd like to write a program to monitor the server.

    I am trying to do something similar my call to Session.getSession generates
    the following exception:
    com.iplanet.portalserver.session.SessionException: Can't find resource for
    base name iwtNaming, locale en_US
    Can you help?
    Thanks?
    "Marshall Levin" <[email protected]> wrote in message
    news:9ljs3s$[email protected]..
    Hi,
    I have a JSP running on the same web server as the portal server but not
    running within the portal desktop (it is a stand-alone JSP).
    I have successfully gotten the user's Profile object via the Sessionobject
    and I can get the Hashmap of attributes.
    What I'm trying to get now is the user's domain and role -- is there anyway
    I can get this? I don't see these in the list of attributes. Is there an
    API to find this out? Any suggestions on how I can obtain this info
    programmatically?
    Thanks

  • Stored procedure for getting host name, host instance and status of that host is it running or stopped.

    Hello all,
    yesterday I got one task in that I have to stored procedure for getting host name, host instance and status of that host is it running or stopped.
    any body knows where exactly, In which table this details are there in BizTalk databases.
    thanks

    Status of the host instance is not stored in the SQL database for you to query the status using stored procedure. You have to either use Powershell or WMI to get the status.
    In SQL, following table contains the details about the host like Name, LoginName, IsDisables etc but status of the host instance is not stored in the database.
    SELECT * FROM BizTalkMgmtDb..adm_HostInstance
    Powershell to get the status:
    http://axonolympus.nl/?page_id=186&post_id=969&cat_id=6&lang=en
    WMI to get the status:
    https://msdn.microsoft.com/en-us/library/aa561820.aspx?f=255&MSPPError=-2147217396
    https://msdn.microsoft.com/en-us/library/aa578621.aspx
    Regards,
    M.R.Ashwin Prabhu
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • API for positioning iviews in a page

    Hi all,
    i wud like to know the API for positioning iviews in a page...can any of you help me out regarding this..

    Hi Gayathri
    You have a file named layoutTemplate.jsp in the Page Layout Template. The following tags are part of the layout tag library:
    <b>1. Container
    2. Template
    3. taglib uri</b>
    A layout container represents a column of iViews. You use the <lyt:container> tag to position the layout container in the layoutTemplate.jsp file. When the HTML page is created, the container is rendered as an html <table>, with a row for each iview.
    Hope that answers your query.
    For further details please refer to this link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/72/25143eb7a4445ae10000000a11405a/content.htm
    Warm Regards
    Priya

  • Can Audit Vault be used for getting detailed read type information from the siebel database?

    Can Audit Vault be used for getting detailed read type information from the siebel database?

    Kramer wrote:
    saurabh wrote:
    check below cmd to see where archive are generated.
    SQL> archive log list
    And also check the following
    SQL> select flashback_on from v$database;
    Hi
    Here is the out put
    SQL>  select flashback_on from v$database;
    FLASHBACK_ON
    NO
    SQL>  archive log list
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     11
    Next log sequence to archive   12
    Current log sequence           12
    The flashback is not enabled. But archive log list shows archive destination is specified to use_db_recovery_file_dest.  And I checked the log_archive_dest_10 still empty
    Flashback off or on has nothing to do with it. 

  • ActionScript for getting the name of an artboard?

    I'm getting errors when I try this:
    for (var artboardIndex:int=0; artboardIndex<app.activeDocument.artboards.length; artboardIndex++)
        var thisArtboard:Artboard = app.activeDocument.artboards.index(artboardIndex);
        var thisArtboardName:String = thisArtboard.name;     // compiler complains here
    And when I'm debugging, I don't see a "name" property for an artboard, though I can get at "artboardRect."
    What am I doing wrong here?  The Illustrator Scripting Reference shows a "name" property.
    Thanks for any help,
    - Rich

    My copy of the reference has this:
    Artboard properties
    Property Value   type             What it is
    artboardRect     rect             Size and position of the artboard.
    name             string           The unique identifying name of the artboard.
    parent           Document         Read-only. The parent of this object.
    rulerOrigin      Point            Ruler origin of the artboard, relative to the top left corner of the
    artboard.
    rulerPAR         number (double)  Pixel aspect ratio, used in ruler visualization if the units are
    pixels. Range: 0.1 to 10.0
    showCenter       boolean          Show center mark.
    showCrossHairs   boolean          Show cross hairs.
    showSafeAreas    boolean          Show title and action safe areas (for video).
    typename         string           Read-only. The class name of this object.
    Am I misconstruing what I'm reading here?  Can there really be no way to get the names of the artboards via ActionScript?

  • ISEE API for getting the HP warranty details

    As per my research i don't find any REST-API to get the HP warranty details, so i tried to achieve the same using ISEE-API. But when sending the request using the below request xml i get an error as 'BAD REQUEST'. 
    <?xml version="1.0"?>
    -<SOAP-ENV:Envelope xmlns:iseeReg="http://www.hp.com/isee/webservices/" xmlnsOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    -<SOAP-ENV:Body>
    -<iseeReg:RegisterClient2>
    -<iseeReg:request>
    -<isee:ISEE-Registration xmlns:isee="http://www.hp.com/schemas/isee/5.00/event" schemaVersion="5.00">
    -<RegistrationSource>
    -<HP_OOSIdentifiers>
    -<OSID>
    -<Section name="SYSTEM_IDENTIFIERS">
    <Property name="TimestampGenerated" value="2014/1/14 10:25:30 GMT Standard Time"/>
    </Section>
    </OSID>
    -<CSID>
    -<Section name="SYSTEM_IDENTIFIERS">
    <Property name="CollectorType" value="MC3"/>
    <Property name="CollectorVersion" value="T05.80.1 build 1"/>
    <Property name="AutoDetectedSystemSerialNumber" value="USM5500380"/>
    <Property name="SystemModel" value="HP ProLiant"/>
    <Property name="TimestampGenerated" value="2014/1/14 10:25:30 GMT Standard Time"/>
    </Section>
    </CSID>
    </HP_OOSIdentifiers>
    -<PRS_Address>
    <AddressType>0</AddressType>
    <Address1/>
    <Address2/>
    <Address3/>
    <Address4/>
    <City/>
    <Region/>
    <PostalCode/>
    <TimeZone/>
    <Country/>
    </PRS_Address>
    </RegistrationSource>
    -<HP_ISEECustomer>
    <Business/>
    <Name/>
    </HP_ISEECustomer>
    -<HP_ISEEPerson>
    <CommunicationMode>255</CommunicationMode>
    <ContactType/>
    <FirstName/>
    <LastName/>
    <Salutation/>
    <Title/>
    <EmailAddress/>
    <TelephoneNumber/>
    <PreferredLanguage/>
    <Availability/>
    </HP_ISEEPerson>
    </isee:ISEE-Registration>
    </iseeReg:request>
    </iseeReg:RegisterClient2>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Can any one help me out what is wrong in the above xml format, which is causing such an error to occur. And i would be very grateful if any one can provide me the way to call this API using VB-Script.

    Any how i manage to get the GDID and RegistrationToken but when i send a request for HP warranty detail using the GDID and RegistrationToken, i receive a error message 'entitlement service connection failed'. Please find the below details :-
    Request xml:
    <SOAP-ENV:Envelope
        xmlnsOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:isee="http://www.hp.com/isee/webservices/">
      <SOAP-ENV:Header>
        <isee:IseeWebServicesHeader>
          <isee:GDID>XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</isee:GDID>
          <isee:registrationToken>XXX</isee:registrationToken>
          <iseeSID/>
          <isee:CSID/>
        </isee:IseeWebServicesHeader>
      </SOAP-ENV:Header>
      <SOAP-ENV:Body>
        <isee:GetOOSEntitlementList2>
          <isee:request>
    <isee:ISEE-GetOOSEntitlementInfoRequest
        xmlns:isee="http://www.hp.com/schemas/isee/5.00/entitlement"
        schemaVersion="5.00">
      <HP_ISEEEntitlementParameters>
        <CountryCode>ES</CountryCode>
        <SerialNumber>CZ10130050</SerialNumber>
        <ProductNumber>519841-425</ProductNumber>
        <EntitlementType></EntitlementType>
        <EntitlementId></EntitlementId>
        <ObligationId></ObligationId>
      </HP_ISEEEntitlementParameters>
    </isee:ISEE-GetOOSEntitlementInfoRequest>
          </isee:request>
        </isee:GetOOSEntitlementList2>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    SOAP action : http://www.hp.com/isee/webservices/GetOOSEntitlementList2
    HTTP URL     : https://services.isee.hp.com/EntitlementCheck/EntitlementCheckService.asmx
    Response Received:
    <?xml version="1.0" encoding="UTF-8"?>
    -<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    -<soap:Body>
    -<GetOOSEntitlementList2Response xmlns="http://www.hp.com/isee/webservices/">
    -<GetOOSEntitlementList2Result>
    <IsSuccess>false</IsSuccess>
    -<Error>
    <Code>200</Code>
    <IsTransientError>true</IsTransientError>
    <IsClientError>false</IsClientError>
    <IsReRegisterError>false</IsReRegisterError>
    <Message>entitlement service connection failed</Message>
    </Error>
    <BackoffMultiplier>1</BackoffMultiplier>
    </GetOOSEntitlementList2Result>
    </GetOOSEntitlementList2Response>
    </soap:Body>
    </soap:Envelope>
    Is there any issue with the Request xml??

  • Need API for getting List price and unit price before Order entry

    Hello,
    I have requirement of provide unit & list price before order entry (Oracle Pricing and availability form provide the same).
    Please suggest any API for the same.
    Thanks
    Akil.

    Hi,
    Thanks luko,
    I got API QP_PREQ_PUB.PRICE_REQUEST, and its return output as expected,
    Just have confusion that how many qualifiers we have to send
    Here is my sample code
    OR REPLACE PROCEDURE xx_web_get_price (
    IN     NUMBER,
    IN     NUMBER,
    IN     NUMBER,
    IN     NUMBER,
    IN     VARCHAR2,
    IN     VARCHAR2,
    IN     VARCHAR2,
    IN     NUMBER,
    OUT NUMBER,
    OUT NUMBER,
    OUT VARCHAR2,
    OUT VARCHAR2)
    QP_PREQ_GRP.LINE_TBL_TYPE;
    QP_PREQ_GRP.QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_ATTR_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_ATTR_TBL_TYPE;
    QP_PREQ_GRP.RELATED_LINES_TBL_TYPE;
    QP_PREQ_GRP.CONTROL_RECORD_TYPE;
    QP_PREQ_GRP.LINE_TBL_TYPE;
    QP_PREQ_GRP.QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_ATTR_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_ATTR_TBL_TYPE;
    QP_PREQ_GRP.RELATED_LINES_TBL_TYPE;
    VARCHAR2 (240);
    VARCHAR2 (240);
    QP_PREQ_GRP.QUAL_REC_TYPE;
    QP_PREQ_GRP.LINE_ATTR_REC_TYPE;
    QP_PREQ_GRP.LINE_REC_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_REC_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_REC_TYPE;
    QP_PREQ_GRP.RELATED_LINES_REC_TYPE;
    QP_Attr_Mapping_PUB.Contexts_Result_Tbl_Type;
    QP_Attr_Mapping_PUB.Contexts_Result_Tbl_Type;
    INTEGER;
    BINARY_INTEGER;
    VARCHAR2 (240);
    VARCHAR2 (60);
    oe_debug_pub.debug_on;
    oe_debug_pub.initialize;
    := OE_DEBUG_PUB.Set_Debug_Mode ('FILE');
    oe_Debug_pub.setdebuglevel (5);
    ('File : ' || l_file_val);
    QP_Attr_Mapping_PUB.
    (p_request_type_code           => 'ONT',
    => 'L',
    => l_pricing_contexts_Tbl,
    => l_qualifier_Contexts_Tbl);
    := 1;
    ---- Control Record
    .pricing_event := 'LINE';                           -- 'LINE';
    .calculate_flag := 'Y';    --QP_PREQ_GRP.G_SEARCH_N_CALCULATE;
    .simulation_flag := 'N';
    .source_order_amount_flag := 'Y';
    .rounding_flag := 'Q';
    .manual_discount_flag := 'Y';
    .request_type_code := 'ONT';
    .TEMP_TABLE_INSERT_FLAG := 'Y';
    ---- Line Records ---------
    .request_type_code := 'ONT';
    .line_id := 2125125; -- Order Line Id. This can be any thing for this script
    .line_Index := '1';                           -- Request Line Index
    .line_type_code := 'LINE';           -- LINE or ORDER(Summary Line)
    .pricing_effective_date := SYSDATE;    -- Pricing as of what date ?
    .active_date_first := SYSDATE;  -- Can be Ordered Date or Ship Date
    .active_date_second := SYSDATE; -- Can be Ordered Date or Ship Date
    .active_date_first_type := 'NO TYPE';                   -- ORD/SHIP
    .active_date_second_type := 'NO TYPE';                  -- ORD/SHIP
    .line_quantity := 1;                            -- Ordered Quantity
    .line_uom_code := p_uom; --'Ea';                         -- Ordered UOM Code
    .currency_code := p_currency_code; -- 'USD';                           -- Currency Code
    .price_flag := 'Y'; -- Price Flag can have 'Y' , 'N'(No pricing) , 'P'(Phase)
    (1) := line_rec;
    ------ Line Attribute Record
    .LINE_INDEX := 1;
    .PRICING_CONTEXT := 'ITEM';                               
    .PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE3';
    .PRICING_ATTR_VALUE_FROM := 'ALL';
    .VALIDATED_FLAG := 'N';
    (1) := line_attr_rec;
    .LINE_INDEX := 1;
    .PRICING_CONTEXT := 'ITEM';                                 --
    .PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE1';
    .PRICING_ATTR_VALUE_FROM := p_item_id;
    .VALIDATED_FLAG := 'N';
    (2) := line_attr_rec;
    .LINE_INDEX := 1;
    .PRICING_CONTEXT := 'ITEM';                              
    .PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE2';
    .PRICING_ATTR_VALUE_FROM := p_category_id;
    .VALIDATED_FLAG := 'N';
    (3) := line_attr_rec;
    ------ Qualifier Attribute Record
    .LINE_INDEX := 1; -- Attributes for the above line. Attributes are attached with the line index
    .QUALIFIER_CONTEXT := 'MODLIST';
    .QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE4';
    .QUALIFIER_ATTR_VALUE_FROM := p_price_list_id;
    .COMPARISON_OPERATOR_CODE := '=';
    .VALIDATED_FLAG := 'Y';
    (1) := qual_rec;
    .LINE_INDEX := 1;
    .QUALIFIER_CONTEXT := 'CUSTOMER';
    .QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE2';
    .QUALIFIER_ATTR_VALUE_FROM := p_customer_account_id;
    .COMPARISON_OPERATOR_CODE := '=';
    .VALIDATED_FLAG := 'Y';
    (2) := qual_rec;
    .LINE_INDEX := 1;
    .QUALIFIER_CONTEXT := 'CUSTOMER';
    .QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE40';
    .QUALIFIER_ATTR_VALUE_FROM := p_customer_category; --'INDUSTRIAL';  
    .COMPARISON_OPERATOR_CODE := '=';
    .VALIDATED_FLAG := 'Y';
    (3) := qual_rec;
    QP_PREQ_PUB.PRICE_REQUEST (p_line_tbl,
    -- Return Status Information ..
    := x_return_status_text;
    := x_return_status;
    := x_line_tbl.FIRST;
    IF I IS NOT NULL
    THEN
    := x_line_tbl (I).unit_price;
    := x_line_tbl (I).adjusted_unit_price;
    END IF;
    xx_web_get_price;                                     
    Regards,
    akil.

  • FM for getting MONTH name from DATE.

    Hi all ,
    We have a requirement to get Month name from the DATE,e.g IF date is 01/01/2008 we need a FM which can generate month name as 'JANUARY'.
    \[removed by moderator\]
    Thanks and Regards
    Kiran
    Edited by: Jan Stallkamp on Jul 30, 2008 4:26 PM

    Hi,
    Here is the code u required...
    REPORT  ZASHU_MONTH_NAMES_GET.
    data:r_code type sy-subrc.
    data:mnames type standard table of T247 with header line.
    CALL FUNCTION 'MONTH_NAMES_GET'
    EXPORTING
       LANGUAGE                    = SY-LANGU
    IMPORTING
         RETURN_CODE                 = r_code
    TABLES
        month_names                 = mnames.
    EXCEPTIONS
      MONTH_NAMES_NOT_FOUND       = 1
      OTHERS                      = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    write:/ mnames.
    Thanks & Regards
    Ashu Singh

  • FM for getting First name and last name in HR

    Dear all,
      can anyone tell me the Functrion module for getting <b>first name</b> and <b>last name</b> in HR.
    Regards,
    Vineel

    Hi Vineel,
                   Use FM
                        <b> HRWPC_GET_EMPLOYEE_NAME</b>
                         <b>   HR_TMW_GET_EMPLOYEE_NAME</b>
    Reward points if helpful.
    Regards,
    Hemant

  • Fix for getting track names from GraceNote.

    Finally found a Windows fix for getting iTunes to get track names from GraceNote (see below). It works!!!
    Fixing iTunes CDDB lookup - more details
    Since Apple’s forums don’t seem to support permalinks, the hint I previously posted about fixing iTunes for Windows’ connection to CDDB isn’t complete. Here’s how to reestablish connection to CDDB if your track lookups start failing:
    Quit iTunes for Windows.
    In Internet Explorer, go to Tools | Internet Options, click on the Connections tab, and click on the LAN Settings button.
    In the dialog that follows, uncheck the checkbox about using a proxy. Hit OK, then OK again.
    Open RegEdit and look for the following key: HKEYLOCALUSER\Software\CDDB\Control\2.0. Delete this key.
    Open iTunes and insert the CD. iTunes should now be able to connect to CDDB again—at least, until it forgets again later...
    If necessary, reenable your proxy settings.
    Microsoft —Tim Jarrett @ 2/12/04; 8:59:45 AM Discuss Comment (0) Cosmos [#]
    Cheers.
    Tom W.
      Other OS  

    Finally found a Windows fix for getting iTunes to get
    track names from GraceNote (see below). It works!!!
    Fixing iTunes CDDB lookup - more details
    Since Apple’s forums don’t seem to support
    permalinks, the hint I previously posted about fixing
    iTunes for Windows’ connection to CDDB isn’t
    complete. Here’s how to reestablish connection to
    CDDB if your track lookups start failing:
    Quit iTunes for Windows.
    In Internet Explorer, go to Tools | Internet Options,
    click on the Connections tab, and click on the LAN
    Settings button.
    In the dialog that follows, uncheck the checkbox
    about using a proxy. Hit OK, then OK again.
    Open RegEdit and look for the following key:
    HKEYLOCALUSER\Software\CDDB\Control\2.0. Delete
    this key.
    Open iTunes and insert the CD. iTunes should now be
    able to connect to CDDB again—at least, until it
    forgets again later...
    If necessary, reenable your proxy settings.
    Microsoft —Tim Jarrett @ 2/12/04; 8:59:45 AM Discuss
    Comment (0) Cosmos [#]
    Cheers.
    Tom W.
      Other OS  
    I followed this exactly and it didn't work!
    When I put in a CD and click on Get CD Track Names the "Accessing Gracenote CDDB" box flashes up and then disappears and nothing happens!
    Any suggestions???
    Thanks,
    Rach

  • API to get computer name

    i want to get computer name in Java program. I tried to use System.getProperty(), but seems like there is no appropriate key.
    please advise. thanks!!

    Here's some different ways using java.net package to get various names and numbers. Of course, this requires a network id.
    import java.net.*;
    public class GetIPAddress {
        public static void main(String[] args) throws UnknownHostException {
            System.out.println(InetAddress.getLocalHost());
            System.out.println(InetAddress.getLocalHost().getHostName());
            System.out.println(InetAddress.getLocalHost().getHostAddress());
            System.out.println
                ("+++ If there is more than 1 IP address for HostName +++");
            InetAddress[] inet = InetAddress.getAllByName(InetAddress.getLocalHost().getHostAddress());
            for (int x = 0; x < inet.length; x++)
                System.out.println
                    ("IP " + (x + 1) + ": " + inet[x].toString().substring(1));
    }The following one takes an IP address argument.
    import java.net.*;
    public class GetIPName
        public static void main(String[] args)
            try
                // Look up ip address, eg 123.123.123.123
                InetAddress local = InetAddress.getByName(args[0]);
                System.out.println(local.getHostAddress());
                System.out.println(local.getHostName());
                System.out.println(local.getCanonicalHostName());
            catch(Exception e)
                e.printStackTrace();
    }

  • What is the API for getting a list of students that have taken a specific course?

    We are on Adobe Connect 9. Through the UI, you can generate a nice report on who has taken a course and when they completed it (Training > Shared Training > [course name]).
    How do I get this report using Adobe Connect APIs?

    You can use the UserReaderMBean.
    http://download-llnw.oracle.com/docs/cd/E11035_01/wls100/javadocs_mhome/weblogic/management/security/authentication/UserReaderMBean.html
    You mite find this helpful in ur development...
    http://secure-zone.blogspot.com/2009/10/creating-users-in-weblogic-server.html
    Let me know if it helps..
    Thanks,
    Faisal

  • UDF for getting File Name and updating in target as reference value

    Dear All,
    I am working on File-PI-RFC interface. In one of the columns of RFC, I need to pass the File Name as reference.
    Kindly guide me on which UDF can be used for this requirement.
    Regards,
    NJ

    Hi Nishu Jain,
    Basically my requirement to get Filename in idoc segments in order to validate the posting at month end.
    Its an File to idoc scenario- GL Posting.
    Please check attached UDF and it gives error. Kindly help. Thanks

Maybe you are looking for

  • How can I open my iPhone 5S unlocked

    Dears. how can I make my Iphone 5s unlocked? I bought a new Iphone 5s from America and it is AT&T, so I cannot open it here in Oman. How can I make it work?

  • Case Insensitive Querys

    If I have a table that has a column called login_name defined as char(64). I currenrly prepare statments that look like: select something from some_table where login_name like ?; Can I use the following if I wanted to implement a case insensitive que

  • Upgrade to CS4 requirements

    I have search a few forums but still unsure. I would like to upgrade to the new CS4 from CS3 but I have heard that I might need to upgrade my hardware first. I am not very good at all the technical information and not sure if I meet the system requir

  • Installation SSSLLLOOWWWW on new iMac

    I bought a new iMac today and the first thing that I'm doing is installing Leopard, which was included in the box. First of all, the machine shut down during the consistency check. Not a restart, but completely shut itself off when it was about 4% co

  • Help needed to build a cube

    ...