PCM object Deprecated.

Hi ,
i had a application which was Runnign fine on EP 6.0 ,
In my application, i used below listed APIs,
IPcmEditObject;
     IPcmObjectBuilder;
     IPcmObjectService;
     IPcmContext;
Since ,currently i migrate to EP 7 sp 15 , these API throws a error saying they were deprecated.
thus now, i couldnt do type casting, its throw a error for below line of code.
IPcmObjectBuilder pcmSrv = pcdFactory.getInitialContext(env);
IPcmEditObject rootrole=(IPcmEditObject)pcmSrv.lookup(root);
_Runtime Error :_
                 com.sapportals.portal.pcd.pcm.roles.PortalWorkset *incompatible with*     com.sapportals.portal.pcd.pcm.builder.IPcmEditObject
Can any one provide me wats the correpsonding API need to used to for  this issue.
Appreciate if you can provide me the location from where we can get the correpsonding JAR Files.
Thanks in Advance.
RR

Ah. Can anyone tell us why this has changed?
Yawmark's reply gives one hint: if you misspell @Deprecated you'll get a compile-time error. Misspelling @deprecated would give you a warning when you generated your javadoc.
Also it's the kind of thing annotations were intended for. @deprecated is a bit of a messy hack.

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>

  • How are non-cost center Controlling objects best modeled in PCM?

    I appreciate that ALG developed Profitability and Cost Management, and they apparently were unaware of
    or did not consider that SAP ERP uses more than a single controlling object of a cost center; specifically
    internal order, WBS element, real estate object, etc.
    My question is how are these other controlling objects best treated in PCM?
    For example,
    I have a planned trade show internal order to showcase my companies products
    in Berlin to European retailers.  I have planned travel costs, display costs,
    space rental costs on this internal order.
    Normally, I would settle this internal order to CO-PA to determine the planned
    profitability of my Europen retail customers.  Unless I make this order a faux cost center,
    I don't see how to model it in PCM.
    If I exclude this order, then the profitability resulting in PCM is suspect --
    leaving out a major chunk of customer specific marketing expense.
    Or is the process to settle the planned internal order cost to CO-PA, but
    transfer the planned costs from PCM back into CO-PA, which would have the
    benefit of being mutually exclusive and collectively exhaustive.
    Jeff Holdeman hinted at the restrictions imposed by planning in ECC.  Yet
    without a more comprehensive approach, I am concerned that PCM still
    does not represent a complete profitability planning solution.
    Bob McGaffic

    Hi Deepak.
    You can verify is the cost center was posted on document running tcode SE16N on the FALGFLEXA table, put the document number to do research.
    After you can trying to post the new document through Tcode FB50L choosing or not a legder specific, then verify the document was posted correctly running the Tcodes SKb1 or Se16N with FAGLFLEXA table again.
    Also you can check this link Checking the Allocation of General Ledgers to Cost Centres
    Kind Regards
    Jandoval Nascimento

  • Business Objects Homogeneous System Copy for [PCM - VENDAVO - Dataserver ]

    I am looking for any SAP supported process/method to perform system copies or transports with these products to set a standardized landscape where N1 (DEV) -> N1 (QA) --> [ Block Point ] --> N (DEV) --> N (QA) --> N (Pre-Prod) --> N (Prod).
    With ECC, BI, CRM, etc its all solid and proven processes for doing this.  However with the products from everyone else's bag of tricks without SAP standards, we are wondering how do we integrate it into the development streams for Unit Test, Integration Test, System Test to deploy.
    If anyone knows of a method for performing a homogeneous system copy from one box to another for the following, I would truely like to see it.
    1. PCM (Windows - App) - PCM (Windows - Web) - PCM (Windows - DB / SQLServer )
    2. Vendavo (Windows - APP ) -- Vendavo (LINUX - DB / Oracle)
    3. BOBJ XI Dataserver (LINUX - DB / Oracle)
    I have seem some info on the BOBJ XI side of using a biar file but I don't know if that also applies to the Dataserver piece.  At this point the message is that we build new and everyone rekeys data which flys like a lead ballon.
    If anyone has places to look, please let me know.
    Thanks
    Rick

    Hi,
    by default, BOE doesnt have such a option to copy your System like BW has.
    You could proceed as follows:
    1. setup your new BOE Server
    2. Copy thr FRS from the old to the new BOE Server
    3. Copy the CMS DB using cmsdbsetup.sh (UNIX) or the CCM from the old DB to the new DB
    4. Run the "Update Objects" option
    5. Login to the CMC of the new BOE to delete the old Server entries under "Server"
    Regards
    -Seb.

  • SAP Business Objects and SAP Business Objects PCM

    Hi all
    We want to know if is recommendable to have Business Objects and SAP Business Objects PCM installed in the same server, and if is necessary to have a special configuration of the services for both applications?
    Thanks in advance

    Hi,
    You can refer the below link for PCM Install guide:
    http://service.sap.com/~sapidb/011000358700000225772009E/FPM75_PCM_InstallGuide_en.pdf
    If you are looking for more info related to specific requirements then from the below link select BusinessObjects tab and select PCM category for more guides.
    http://help.sap.com
    -Noor.

  • SAP PCM 7.0 Connectivity with SAP Business Objects

    Hi All
    We are trying to integrate SAP PCM 7.0 FP5 with Business Objects. The prime purpose is to fetch PCM data into Xcelsius dashboard and WebI reports via BO Universe.
    We are sruggling to understand the plugins required to do this.Since other SAP documentation states that SAP BO Connectivity pack is required which is a part of SAP BusinessObjects Profitability and Cost Management 7.5 Support Package 06
    But , we understand that SAP BO PCM75 Support pkg06 cannot be installed on SAP PCM 7.0.
    Also, Please kindly help me in understanding if SAP PCM 7.0 connectivity with BOXIR3 (without using BW NW layer) is possible or it needs to be upgraded to SAP PCM 7.5
    Thanks

    Hello Siva,
    I am thinking that you may need to deploy FTP adapter in PI to get this process work fine but not sure.
    Let's see what other experts suggest.
    Thanks,
    Siva Kumar

  • PCM 10 Import of Cost of objects 1 (BOM model)

    Hi there,
    I understand that we can import the list of products (Cost of Objects 1) via XML file but cannot find a way to do this via csv file.
    Does anyone knows if it is feasible?
    Regards.

    Hi,
    As response to you question, i can suggest to use FIM (Financial Information Management) , a tool which helps  to load/extract data into PCM.
    If you need further details do not hesitate to come back to us.
    Regards,
    Siwar

  • DidYouMean DEPRECATED - Use Record Search Report object

    Using the Wine reference application, searching on P_Name I seach for "debous". Under the supplimental section I see the message in the subject. Any idea what this is trying to tell me?

    Hi,
    If you check the jspref code, it says use ESearchReport for fetching autoSuggestions or didYouMean and not SupplementList which is used by jspref application.
    Reason may be code readability as ESearchReport looks more readable than SupplementList.
    Thanks,
    Pravin.

  • Returning an object that contains a collection WL 9.2

    Hello,
    I have a class like this:
    public class data {
    private Collection<MyObject> coll; //MyObject is another class
    If I return this object from a web service call, i.e.
    @WebService
    public class HelloWorld {
         @WebMethod
    public data hello() {
    I get an error saying java class MyObject is not known, which makes sense, because I only declared "HelloWorld" to jwsc task.
    How can I make this class known, by annotation etc.?
    Someone suggested to use "IncludeSchema" in the jwsc task, but apparently that has been deprecated.
    Thanks!
    Edited by ghosh007 at 02/21/2008 12:59 PM
    Edited by ghosh007 at 02/21/2008 1:23 PM

    Hi,
    As you have this "Artiicle" class, extend it to be serializable and then define an Array of type Artiicle. So the return type would be an Array of a complex type i.e. Articles. In WSDL there will be type that defines an Array and this type can be used as a return message for your methode.
    Try this, I think it will help you.
    Regards,

  • Deprecated API and RFC connection issues in PI 7.1

    Hi all,
    I am new to this Forum..
    I am working in File to Proxy scenario where i am using UDF to implemnt few functions.
    But i am getting the following Error :
    Source text of object Message Mapping: MM_FILE_10_943 | urn://fiat.com/mm/if_10_943 has syntax errors:
    Function sendMonitor, Line 14:
    cannot find symbol symbol  : class CallRFCManager location: class com.sap.xi.tf._MM_FILE_10_943_    CallRFCManager rfc=new CallRFCManager();    ^
    Function sendMonitor, Line 14:
    cannot find symbol symbol  : class CallRFCManager location: class com.sap.xi.tf._MM_FILE_10_943_    CallRFCManager rfc=new CallRFCManager();                           ^
    Function sendMonitor, Line 17:
    cannot find symbol symbol  : variable Constants location: class com.sap.xi.tf._MM_FILE_10_943_         if(rfc.connect(Constants.XISYSTEM)){                             ^ Note: /disk2/sap/TX0/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map9c6141de40a611e0ad290000003d38da/source/com/sap/xi/tf/_MM_FILE_10_943_.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /disk2/sap/TX0/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Map9c6141de40a611e0ad290000003d38da/source/com/sap/xi/tf/_MM_FILE_10_943_.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 errors
    The code i am using is:
       //write your code here
       // INPUT: activate ; id; descrizione
       AbstractTrace trace;
       String messID;
       java.util.Map map;
       trace = container.getTrace();
       map = container.getTransformationParameters();
       messID = (String) map.get(StreamTransformationConstants.MESSAGE_ID);
       CallRFCManager rfc=new CallRFCManager();
       if (a.equals("true")){
            if(rfc.connect(Constants.XISYSTEM)){     
                  try{
                        rfc.traceMonitor(messID,b,c);
                        trace.addInfo("Ok trace monitor");
                        rfc.disconnect();
                  } catch (Exception ex) {
                        trace.addInfo("Errore in sendMonitor CAUSA:" + ex.getMessage());
                        rfc.disconnect();
            }else{
                      trace.addInfo("Errore in sendMonitor CAUSA: errore sulla connessione ad XI"); 
       return a;
    Pleasae help me ....what is the reason for this ???

    Hi ,
    the package com.fiat.sapiens.udf.* is saved in the IA_JAVA.zip file.
    I imported it in the imported archive and added this jar in the import tab of function library
    i also added ti in the archive used tab in function.
    But still it is showing this Error.
    under IA_JAVA.zip  i have  testJCO.java which has the folowing code:
    package com.fiat.sapiens.xi.udf;
    // Referenced classes of package com.fiat.sapiens.xi.udf:
    //            CallRFCManager
    public class TestJCO
        public TestJCO()
        public static void main(String args[])
            System.setProperty("SAPSYSTEMNAME", "DX0");
            CallRFCManager rfc = new CallRFCManager();
            rfc.connect("XI");
            try
                rfc.schedNR("10", "20", "30", "40", "50", "60");
            catch(Exception e1)
                e1.printStackTrace();
            if(rfc.connect())
                rfc.connect();
                try
                    String a = rfc.checkRARCRE("ZZ");
                    System.out.println(a);
                catch(Exception e)
                    e.printStackTrace();
            System.out.println("");

  • Does new 1402 Activity object in Cloud for Customer have wrong data type namespaces?

    I see that the individual "activity" objects (e.g., ActivityTask, AppointmentActivity, etc) are being deprecated as of 1405 and moving to a new Activity object with a TypeCode. That makes a lot of sense.
    In reviewing this new Activity object, I've noticed that many of the node elements utilize Data Types in the http://sap.com/xi/Common/DataTypes namespace instead of the http://sap.com/xi/AP/Common/GDT. For example, the root node element UUID has a data type UUID in the http://sap.com/xi/Common/DataTypes namespace, unlike all the other objects in the Public Solution Model.
    There are many more elements in this new Activity object that are mismatched like this to other common usage in other objects. Is this a new trend or a mistake?

    Hello Gregory, Alessandro,
    just for clarification:
    SAP wanted to eliminate the superflous supplementary components from the data types used in the Business Objects.
    Take the GDT Identifier as an example. It has the following supplementary components:
    SCHEME_ID
    SCHEME_VERSION_ID
    SCHEME_AGENCY_ID
    SCHEME_AGENCY_SCHEME_ID
    SCHEME_AGENCY_SCHEME_AGENCY_ID
    CONTENT
    You very seldom need the SCHEME_ID or the SCHEME_AGENCY_ID (if the ID is a GTIN or DUNS number then you need them). I never came over a situation to use the SCHEME_AGENCY_SCHEME_AGENCY_ID.
    So the data types from the "new" namespace omit those components. But SAP noticed the effort to adapt all the coding.
    Therefore it was decided that only new objects will use the data types from the new namepace.
    In the case of the ActivityTask, AppointmentActivity, etc. this wil requires - as Alessandro mentioned - some adoption effort.
    HTH,
          Horst

  • Ie9 flash object not showing when wmode is set

    I'm searching and searching but do not find any solution for this.
    We're having a flex web application that is working fine until now. We're using until recently the google maps flash api, unfortunately this is already deprecated and will disappear completely in september 2014. Therefor we moved the whole integration to the js v3 api, which is working fine. The whole thing is an overlay over the application, since everything is moved to js, I added the property wmode to the object in html and set it to opaque in order to be able to layer everything. It's working fine for most people, but some (including my boss) are seeing a blank screen. Seems that nothing happens (although the swf loads), and I can not figure out why. Same browser (ie 9 or 10), same flash player version (11.6.xxx). Browser cache cleared, flash player cache cleared...
    Somebody having a clue? Removing the wmode-property solves the issue, but then I'm not be able to get my map on top of the application.
    The swf is definetly loading since I see calls made to the server in order to login etc. It's also not a flash player issue. The swf-file is directly accessable and rendering if done so.
    Thanks
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!-- saved from url=(0014)about:internet -->
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <!--
    Smart developers always View Source.
    This application was built using Adobe Flex, an open source framework
    for building rich Internet applications that get delivered via the
    Flash Player or to desktops via Adobe AIR.
    Learn more about Flex at http://flex.org
    // -->
    <head>
        <title>${title}</title>
        <meta name="google" value="notranslate" />  
        <meta http-equiv="X-UA-Compatible" content="IE=10; IE=9;"/>     
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <!-- Include CSS to eliminate any default margins/padding and set the height of the html element and
             the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as
             the percentage of the height of its parent container, which has to be set explicitly.  Fix for
             Firefox 3.6 focus border issues.  Initially, don't display flashContent div so it won't show
             if JavaScript disabled.
        -->
        <style type="text/css" media="screen">
            html, body  { height:100%; }
            body { margin:0; padding:0; overflow:hidden; text-align:center;
                   background-color: ${bgcolor}; }  
            object:focus { outline:none; }
            #flashContent { display:none;}
        </style>
        <!-- Enable Browser History by replacing useBrowserHistory tokens with two hyphens -->
        <!-- BEGIN Browser History required section ${useBrowserHistory}>
        <link rel="stylesheet" type="text/css" href="history/history.css" />
        <script type="text/javascript" src="history/history.js"></script>
        <!${useBrowserHistory} END Browser History required section --> 
        <!--  BEGIN OogScreening -->
        <script src="PlusOptixSync.js" language="javascript"></script>
        <!--  END OogScreening -->
         <script language="javascript">
            function getEIDxml()
              var strXML = document.MirageApplet.readCardAsXMLString() + " ";
              return strXML;
            function setOuterSize()
                var nomWidth = 1280;
                var nomHeight = 800; // 786 viewable in fullscreen
                var actWidth = nomWidth;
                var actHeight = nomHeight + 150 - 30; // fullscreen change coeff (ruimte die we winnen door f11) - taakbalk
                window.resizeTo(actWidth, actHeight);
                //window.outerWidth = actWidth;
                //window.outerHeight = actHeight;
                //script die de F1 help functionaliteit van de browser afzet. Dit is nodig omdat IE de F1 functionaliteit van de flex applicatie onderdrukt
                document.onhelp=new Function("return false");
                window.onhelp=new Function("return false");
        </script>  
        <script type="text/javascript" src="swfobject.js"></script>
        <script type="text/javascript">
            // For version detection, set to min. required Flash Player version, or 0 (or 0.0.0), for no version detection.
            var swfVersionStr = "${version_major}.${version_minor}.${version_revision}";
            // To use express install, set to playerProductInstall.swf, otherwise the empty string.
            var xiSwfUrlStr = "${expressInstallSwf}";
            var flashvars = {};
            var params = {};
            params.quality = "high";
            params.bgcolor = "${bgcolor}";
            params.allowscriptaccess = "sameDomain";
            params.allowfullscreen = "true";
            params.wmode = "transparent";
            var attributes = {};
            attributes.id = "${application}";
            attributes.name = "${application}";
            attributes.align = "middle";
            swfobject.embedSWF(
                "${swf}.swf", "flashContent",
                "${width}", "${height}",
                swfVersionStr, xiSwfUrlStr,
                flashvars, params, attributes);
            // JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.
            swfobject.createCSS("#flashContent", "display:block;text-align:left;");
        </script>
          <!-- Groeicurven 5.0 scripts -->
          <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script>
          <script src="http://code.highcharts.com/highcharts.js"></script>
          <script src="http://code.highcharts.com/modules/exporting.js"></script>
          <script type="text/javascript" src="../js/util/Namespace.js"></script> 
          <script type="text/javascript" src="../js/util/mirage-services.js"></script>
          <script type="text/javascript" src="../js/util/mirage-binding-utils.js"></script>
          <script type="text/javascript" src="../js/util/mirage-event-dispatcher.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-constants.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-theme.js"></script> 
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-config.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-factory.js"></script> 
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-zoomer.js"></script>
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-formatter.js"></script>      
          <script type="text/javascript" src="../js/util/groeicurven-highcharts-prototype.js"></script>
          <script type="text/javascript" src="../js/groeicurven-events.js"></script>             
          <script type="text/javascript" src="../js/groeicurven-controller.js"></script>
          <script type="text/javascript" src="../js/groeicurven-flex-bridge.js"></script>
          <script language="javascript">
                initGroeicurvenFlexBridge("${application}");
          </script>           
        <!--  BEGIN GoogleMaps -->
        <link rel="stylesheet" href="../css/google-maps.css">
        <script src="http://maps.googleapis.com/maps/api/js?sensor=false"></script>
        <script type="text/javascript" src="http://google-maps-utility-library-v3.googlecode.com/svn/trunk/styledmarker/src/StyledMarker.js"></script>
        <script type="text/javascript" src="../js/util/cvi_busy_lib.js"></script>
        <script type="text/javascript" src="../js/google-maps-events.js"></script>
        <script type="text/javascript" src="../js/google-maps-controller.js"></script>
        <script type="text/javascript" src="../js/google-maps-mediator.js"></script>
        <script language="javascript">
            function openMaps(data)
                document.getElementById('mapsContent').style.visibility ="visible";
                document.getElementById('optionsList').style.visibility ="visible";
                document.getElementById('activeCheckboxDiv').style.visibility ="visible";
                document.getElementById('mapsContent').style.zIndex = 100;
                onLoadHandler(data);
            function adresFoundHandler(marker, filtereEnabled){
                document.getElementById('mapsContent').style.visibility ="hidden";
                document.getElementById('optionsList').style.visibility ="hidden";
                document.getElementById('activeCheckboxDiv').style.visibility ="hidden";
                document.getElementById('activeCheckbox').style.visibility ="hidden";
                document.getElementById('mapsContent').style.zIndex = 0;
                clearLocations();
                ${application}.responseGoogleMaps(marker, filtereEnabled);
        </script>         
        <!--  END GoogleMaps -->   
    </head>
    <body scroll="no" onLoad="setOuterSize();">
        <!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough
             JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show
             when JavaScript is disabled.
        -->
        <div id="flashContent">
            <p>
                To view this page ensure that Adobe Flash Player version
                ${version_major}.${version_minor}.${version_revision} or greater is installed.
            </p>
            <script type="text/javascript">
                document.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='get_flash_player.gif' alt='Get Adobe Flash player' /></a>" );
            </script>
        </div>
        <noscript>
            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="${width}" height="${height}" id="${application}">
                <param name="movie" value="${swf}.swf" />
                <param name="quality" value="high" />
                <param name="bgcolor" value="${bgcolor}" />
                <param name="allowScriptAccess" value="sameDomain" />
                <param name="allowFullScreen" value="true" />
                <param name="wmode" value="transparent" />
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="${swf}.swf" width="${width}" height="${height}">
                    <param name="quality" value="high" />
                    <param name="bgcolor" value="${bgcolor}" />
                    <param name="allowScriptAccess" value="sameDomain" />
                    <param name="allowFullScreen" value="true" />
                <!--<![endif]-->
                <!--[if gte IE 6]>-->
                    <p>
                        Either scripts and active content are not permitted to run or Adobe Flash Player version
                        ${version_major}.${version_minor}.${version_revision} or greater is not installed.
                    </p>
                <!--<![endif]-->
                    <a href="http://www.adobe.com/go/getflashplayer">
                        <img src="get_flash_player.gif" alt="Get Adobe Flash Player" />
                    </a>
                <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </noscript> 
        <noscript>Your browser does not support JavaScript!</noscript>
        <applet
          id ="MirageApplet"
          codebase = "AppletLibs"
          archive  = "kg-eid-tools-2.6.jar,beidlib-1.1.jar,jdom-1.0.jar,joda-time-1.6.jar,commons-lang-2.4.jar"
          code     = "be.kg.mirage.MirageApplet.class"
          name     = "MirageApplet"
          hspace   = "0"
          vspace   = "0"
          style="width: 0px; height: 0px;">
            <param name="Reader" value="">
            <param name="OCSP" value="0">
            <param name="CRL" value="0">
            <param name="DisableWarning" value="true">
        </applet>
        <div id ="mapsContent">
            <h3 id="typeLabel">Google Maps</h3>
            <select id="optionsList"></select>
            <input id="searchInput" type="text"></input>
            <div id="activeCheckboxDiv">
                <input id="activeCheckbox" type="checkbox"></input>
                <label for="activeCheckbox">Toon enkel actieve locaties</label>
            </div>
            <button id="searchButton" type="button" class="secondElementButton">Zoeken</button>
            <button id="annuleerButton" type="button" class="annuleerButton">Annuleer</button>
            <ul id="locations" class="thirdElement"></ul>
            <div id="canvasMap"></div>
        </div>

    This means that the SWF is written so that it only works when
    embedded in a web page. When you add the SWF to the stage as a
    stand-alone display object using addChild() it is not being hosted
    in the web page.
    You have 2 options:
    1. Modify the SWF code (if possible) to remove the
    ExternalInterface requirement. You can write code in your AIR
    application javascript to subscribe directly to events from the SWF
    using addListener() and call functions directly on the SWF object
    (Flash/Actionscript is not my primary development environment... so
    if I have gotten the terminology wrong I apologize, but I HAVE
    written a flash application that worked as I describe). My SWF
    actually works embedded in HTML or not using the code "if
    (ExternalInterface.available) {
    ExternalInterface.addCallback("setIsPlaying", setIsPlaying ); }"
    2) Somehow add a HTMLLoader in a new child window (with
    transparent = false) to the stage as a new child. I have not yet
    figured out exactly how to do this, so If anyone can provide
    information on how to do this, I too would be appreciative.

  • Issue with retriving the title of objects

    Hello Colleagues,
    I am trying to develop an application which builds a tree structure with the objects assigned to a user in runtime.i.e if a user has a particular role lets say content administration,it list you the role and the objects inside that role.
    I am able to build the tree structure ,but the structure shows the ID of all the objects ,i.e  if its role is content Administration,then in my structure its shows com.sap.portal.content_administration.
    But i want to show the title here as content Administration.
    initially i tried using:
    1.String title = searchResult.get("com.sap.portal.pcm.Title").get().toString()
    but this gave me the title as Locale = ;content Administration.This full string instead of content administration.
    2.then i tried using the locale
    //get the locale
    Locale locale = WDClientUser.getLoggedInClientUser().getLocale();
    IAdminBase adminBaseRole = (IAdminBase)searchResult.getObject();
    if(adminBaseRole!=null){
    IAttributeSet attrSetRole = (IAttributeSet)adminBaseRole.getImplementation(IAdminBase.ATTRIBUTE_SET);
    String objectName=attrSetRole.getAttribute("com.sap.portal.pcm.Title", locale);
    but here i am getting the follwing error:
    java.lang.ClassCastException: class com.sapportals.portal.pcd.gl.PcdGlContext:service:com.sap.tc.pcd.gl.srvcom.sap.engine.boot.loader.ResourceMultiParentClassLoader1325aefalive incompatible with interface com.sap.portal.pcm.admin.IAdminBase:library:tcepbcpcm~adminapicom.sap.engine.boot.loader.ResourceMultiParentClassLoadere26d2ealive
    Has any one faced this error?
    Or do you have any suggestions here?
    Regards,
    Suvarna
    Edited by: Suvarna K A on Oct 8, 2009 10:08 AM

    Hi Purushottam,
    Have a look at this blog which builds up the navigation tree for the PCD objects
    Build Your Own KM Navigation iView Using HTMLB Tree
    Hope this helps,
    Thanks,
    Nikhil

  • How Do I Detemine Maximum DVD Time For A PCM Audio DVD

    I have been working with my CS2 Premiere to create some auto play, audio-only DVDs that are autoplay.  To clear the air, yes I know that CS4 will permit 24bit-96 kHz.  For the time being 16 bit-48 kHz will suffice as it has CD quality  The bonus that a DVD format provides a greater playing times.  So the object is to make a PCM audio only DVD.
    Here is my problem: How to get really long playing time.  I know I can make high quality, 2-channel (ordinary stereo)  DVD-A's up to 3 hours using Minatonka Bronze.  Unfortunately, DVD-A discs are worthless as they cannot play in 90% of DVD players, but they prove the time point.  I would think that one should be able to make a conventional DVD, but with the PCM sound format of that same length.
    I just finished one that fit with a 103 minute, 16/48 stereo audio file of 1.11 GB size.   I also had a video file that I created using several photos. Sorry, don't have the final video file size.  I erased it all from my computer.  However, the final disc size was 3.754 GB.  A little extrapolation suggests a maximum DVD length of 119 minutes.  That with simple video and PCM audio.  Now, can one make a similar DVD with 150 minutes?
    I had three 48 kHz files that I created in Adobe Audion.  They were 1.599, 0.911, and 0.974 GBs in size.  That added up to 3.480.  The playing time is about 2:30 Hours; quite a bit less than 3 hours.   I tried burning a DVD with these, audio-files-only.  I checked lowest quality video, used no video, and got an Export To DVD error that I had "insufficient" space on the 4.7 GB disc!  So, I used the two latter files, which added to only 1.884 GB.  Premiere did not baulk, and it successfully burned a DVD that played.  Then I added the 1.599 GB file, and, once again, it produced an error.  This was clearly not going to work.
    At this point, I realized that Audition had done what it liked to do: It had saved the 16 bit-48 kHz files as 32 bit-48 kHz!  So, I went back to Audition and used EDIT to change the files to genuine 16 bit-48 kHz files.  When I opened them in Premiere, Premiere reported 16 bit-48 kHz files.  Their sizes were now, 0.799, 0.456, and 0.487 GB.  Please note that this totals 1.742 GB.  This is less than the 1.884 GB I had successfully used before.   Once again, I was getting the "insufficient" space error.
    I searched the CS2 Premiere manual and its index, but cannot really find any way to calculate maximum times, or squeezing the most out.  So, anybody got some ideas?
    Mike

    When working from DVD-Videos, this ARTICLE might be helpful - All VOB's (the container for the MPEG-2 files in a DVD-Video) are not created equally.
    Most DVR's write a VOB 01, that is not up to the DVD-specs. That can create a problem for PrE (and also PrPro), and if you have issues, please do follow Neale's advice.
    Good luck and welcome to the forum.
    Hunt

  • How to get year,month,date from a Date object?

    thanks

    The getTime() method will return the number of milliseconds since January 1, 1970, 00:00:00 GMT. You can then write a number of functions to calculate the date from this.
    The toString() function returns a string with the current value of the object - i.e 2002-10-17 (it's unusual formatting (YYYY-MM-DD) is useful when validating an input in real time, though beyond this, I've no idea why they put it this way around). You can then use string function substirng() to break this down into parts.
    i.e. if your Date object was called today:
    String DD = today.toString().substring()(8)
    String MM = today.toString().substring()(5,2)
    String YYYY = today.toString().substring()(0,4)
    There are other methods (see API) - but these have been deprecated - that means, although they can be used, they are not recomended.
    There is also a Calendar object, though this seems to have the same problems.
    Hope this helps :)

Maybe you are looking for

  • Perfomance Tuning to fetch data from mseg

    I am writing an RFC to fetch data of reason for rejection code from mseg table, my query is like this: Select lfbnr grund sgtxt bwart matnr into corresponding fields of itreason From mseg where mseg~mblnr IN zz_mblnr AND    mseg~mjahr IN zz_mjahr AND

  • How to write file

    The first file is a .dat file(located at C:/Program Files/Client) I am able to read this, but I need to make it look like the 2nd file(which won't exist yet)and save it in a different location. ex C:/program Files/Microsoft/ and saved as something.ct

  • Can I redownload the App Store from Macbook Pro

    If I delete my App Store from my Macbook Pro will I be able to download it again in the future?

  • Safari New Tabs vs. New Window

    when i use safari on any computer weather it be a Mac or a PC, Safari doesn't allow me to click on a link and it open in a new tab. I know that you can go into preferences/general tab, and at the bottom select open links in new tab or window. I've do

  • MODE_FIND, button FIND, Ctrl-F, SEARCH

    to the moment to make click in the button to FIND, automatically the texts of the fields should be cleaned. ?  it doesn't work me, some idea. thanks. Jorge Benitez Axis Group