Problems Getting External Id of LocalizedObjectReference.

Hi!
I'm trying to retrieve the external Id of the current phase of a contract document, in order to identify in which phase it actually is (or changed to).
The problem I'm encountering is that, the method of the LocalizedObjectReference object (the one that getCurrentPhase returns) that calls the externa ld (getExternalId(com.sap.odp.common.platform.SessionContextIfc session)) is asking for a parameter that is actually different from a IapiSessionContextIfc. I tried to find what kind of object is that of SessionContextIfc but I couldn't find it anywhere on the Iapi documentation.
Does anyone know what kind of object is that method expecting?
Thanks in advance!

the part of the script that is retrieving the phase is the following:
contracts = doc.getContractDocuments();
if(contracts.size() > 0){
  mainContract = contracts.get(0);
  phase = mainContract.getCurrentPhase();
  phaseName = phase.getDisplayName(session);
  phaseId = phase.getExternalId(session);
It enters the conditional branch, and then send me the values to my email (So i can know the values).
It sends me everything allright except for the external id.
Thanks in advance!

Similar Messages

  • T61 Problem: Getting external monitor to display 1920x1080 through VGA

    I've got the Nvidia 195.62 drivers, but windows still shows a max resolution of 1600x1200 for a 1920x1080 lcd screen.  I'm using the VGA out.
    This is frustrating.

    Which windows version do you use?
    I think if  windows recognizes your monitor, it would be okey.

  • I have a problem with the external sound of my ipod, when I take the headphones the music keeps playing and the ipod recognizes still have a headset connected. how do I get external sound out?

    I have a problem with the external sound of my iPod, when I take the headphones the music keeps playing and the ipod recognizes still have a headset connected. how do I get external sound out?

    - Try insering and removing the headphone plug a dozen times or so.
    - Try cleaning out the headphone jack in the iPod.
    - Resett he iPod. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Restore from backup
    - Restoe to factory defaults/new iPod
    If yu still have the problem that indicates a hardware problem, likely a bad headphone jack. Yu can make an appointment at the Genius Bar of an Apple store to confirm.
    If not underwarranty Apple will only exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    A third-party place like the following is less expensive. Here is one. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • I changed permission setting on main disk...took forever now when I bootup I get the chime...apple icon...fan noise...thats it...internal drive is broken...no Mac install disk..I have a windows XP desktop with installation disk..if I was to get external d

    I changed permission setting on main disk...took forever now when I bootup I get the chime...apple icon...fan noise...thats it...internal drive is broken...no Mac install disk..I have a windows XP desktop with installation disk..if I was to get external drive ...could I use windows XP styartup disk just to boot the "17"Powerbook-G4...have no intention of downloading XP on the Mac...just want to boot it up...or is there a way to boot the Mac from the XP desktop...cables...etc?

    Hi Romko23, just pasted info from manual...PowerBook G4 "17"  5.3
    Your PowerBook comes with a minimum of 512 megabytes (MB) of 533
    MHz Double Data Rate (DDR2) Synchronous Dynamic Random-Access Memory
    (SDRAM) installed. Both memory slots can accept an SDRAM module that meets the
    following specifications:
    Â Double Data Rate Small Outline Dual Inline Memory Module (DDR SO-DIMM) format
    Â 1.25 inch or smaller
    Â 512 MB or 1 gigabyte (GB)
    Â 200-pin
    Â PC2-4200 DDR2 533 MHz Type RAM
    PS my keyboad is loose...I tighten the tiny screws...only...once ...tried  all the key-strokes...Comand-option..P-R.....safe-mode... etc...Mac only reacted ...once...right after.. I tightend K-board >>C-OpT- P-R...mac chimed twice...the Apple icon in grey screen got smaller....now after trying ...keyboard .boot short cuts 10 times..nothing...it chimes ...grey screen....apple in window...fan noice ....thats it...do you think I need to tighten screws...again,
    I actually think when I was changing permissions...on entire it was taking so ong...20 min...I just hit power,,shut it down...when it wasn't done...no patience.,...just thought of something ...sounds important...whern I resgisted on this site..I tried to use my Powrbook login name ..got message.... .. blocked...Secury problem....that has to be the problem..blocked..how do I unblock?
    Message was edited by: CMK1

  • Problem getting hard drives to mount on desktop and also open when they do

    I have a problem getting the iMac to recognise external hard drives - it won't show them on either firewire 400 or 800. I can see my 1TB drive using usb ( it shows up on the desktop, whereas on firewire it doesn't do this) but if I try to open it and see the contents in finder, it opens, but doesn't display the contents of the drive. I can see the disk size but just get a grey spinning wheel in the bottom right hand of the finder window. Timemachine does not work with this drive. it used to but then stopped. It sees the drive but cannot back up to it.

    What brand drive is it? Check to see how the drive has been formatted. From the desktop right click/Get Info.
    If your iMac is having Firewire issues try resetting the SMC: http://support.apple.com/kb/HT1543?viewlocale=en_US
    Open up Applications/Utilities/Disk Utility select the external drive on the left hand side and under the First Aid tab click Repair Disk.
    If the drive is formatted for Windows NTFS+ or FAT32 then you will need to erase the drive and reformat it for Mac OS Extended. Make sure to backup any data before reformatting.
    George

  • Problems with external context mapping

    Hi ,
    I am having the following problems with external context mapping from one WD component to another.
    Problem description:
    In the <i>Component Interfaces</i> I have defined a WD interface "InfA".
    In the <i>interface controller</i> of this compoenent,I have ContextA and attributeA(cardinality 1..1).The contextA is marked as an "Input Element".
    Now my webdynpro componentB adds InfA as used component.In componentB I decalre a contextB with attributeB and map it to contextA to set up the external context mapping.
    Now I expect that if any webdynpro component implements this WD interface InfA ,he has access to contextA with the data getting filled from contextB.
    After i have created the component for the used component I try to fill values in the source node contextB thru this code:
    wdContext.currentContextB.setB(value);
    But in the runtime I keep getting error nullPointerException for nodeContextB,suggesting that the mapping has not been completed.
    Can anyone suggest due to what the error can come ,and, if its a webdynpro bug ,is there a workaround??
    Thanks in advance for your help.
    Best regards
    Sourav

    HI,
    Valery : I personally checked  by doing the example, if the names of value attribute are different in the child's interface and parents component controller then it throws the exception.
    Sourav: NullPointer Exception is thrown when something is not properly initialised, if in the main component the cardinality of mapped origin is 1.1 then you need to access it element directly like:
    wdContext.currentParentNodeElement().setFname("Abhijeet");
        wdContext.currentParentNodeElement().setLname("M");
    i will suggest just check out if you are declaring some element of value node and without initialising taking its use or what?
    if this doesnt solve your problem, please post the expanded exception.
    hope it helps
    let me know if you face nay problem
    regards

  • Problem getting audio on a W540

    Hi all I have been having some problems getting audio to work on my brand new W540. I have tried everything in terms of driver-updates, bios-updates, software-updates, registry cleaning (cc cleaner), removal and re-installation of drivers, etc. etc. but I am stuck with a little red cross on my speaker icon and the message "No audio output device is installed". I know this to be wrong though because at times I will have sound for a couple of days and then the little red cross pops back on. So I know that the sound works. It seems to be more of a software issue.  Currently I am getting a warning that the "DDP UMDF Driver" is deactivated. A bit of googling around tells me that this means the driver (which happens to be an audio driver) is malfunctioning and should be re-installed, but all help as to how that can be done seizes to exist online past this point.  Can anyone help me with this problem? I'd hate to have to send the laptop back in for maintenance because I am very dependent on it and because it works well in all other respects.  Cheers Jakob

    Having retried reinstalling with the recovery discs I was reminded what my problem was. I can't seem to get the system to boot up from the discs. Following the instructions from this link:
    http://support.lenovo.com/us/en/documents/ht075445#win8_1 I go into the boot sequence and change it so that the external DVD drive (and anything that remotely sounds like it could be an external DVD drive) is on top (See below), but when I save and restart the computer simply restarts into windows instead of starting the recovery process with the discs. What am I doing wrong?

  • Problems getting images to export down to 200kb limit for posting on websites

    websites often have a size limit that they can accept when you download an image.  For example BPN's forum has a 200KB limit.  Since 3.3, I often have problems getting an export from a Canon raw file or DNG down to that size.   I get an error message indicating that it cannot create an image that size.   Never had the problem on 3.2. (note I can export to email but that is a very small file and I would like files closer to 200KB and within the 1000 x 800 pixels to be downloaded)...thoughts?

    I too recently had major problems using filesize limit. I pretty-much never use it m'self, so its a dont-care to me personally, but my conclusion was: its broken.
    PS - I did not scrutinize for a long time... - just got a lot of "can not make image" errors when I believed I should not have gotten those errors.
    I'd suggest a good scrutinizing followed by an official bug report.
    Honestly, I think controlling quality is a better solution, whenever possible (unless you have constraints imposed by an external agency...) The reason: not all photos need the same amount of bits to look decent. So, in general its better to have some photos take more while others take less, and have the average filesize be limited, not individual filesizes.
    R

  • Mxmlc: Error: Problem finding external Model

    Hi,
    I am currently trying to compile a flex project with the
    mxmlc compiler. Unfortunately I always get this error message:
    Error: Problem finding external Model: config.xml
    It seems as if this resource cannot be found by the compiler.
    All source-paths and libs are are set as in the
    .actionScriptProperties file. Other resources such as style sheets
    can be found without any problem.
    Furthermore, when I write the xml model inline or if I
    provide the relative path inline the compiler understands that and
    does not show the error.
    <mx:Model id="config" source="config.xml"/> => does
    not work
    <mx:Model id="config" source="../config/config.xml"/>
    => works
    What can I do to tell the parser where the config.xml file is
    located?

    How can changing the project's properties affect asdoc.exe if I run it from the command line?
    I've tried running it from the bin folder and from the project's src folder always getting the same error.
    I went to 'Flex Build Path' in the project's properties window. It contains two tabs: 'Source path' and 'Library Path'. No 'Assets' tab.

  • Problem getting photos

    I insert my card reader into the USB port.  The path for the photos is into my C: drive.  The pictures are successfully shown in Organizer and in fact are in the C: drive.  Now comes the problem;  I click on each photo in Organizer, and Elements 6 cannot locate the file.  When I did a metadata on the picture it shows a different path, into my H: drive which is my external hard drive where my photos are backed up.  As you can imagine, I will be happy to hear the solution so I thank you in advance.

    I took a screen shot placed  it into wordpad but was not able to copy and paste into this email.
    What appears is as you have below with the exception of the first line "C:>volumeid c: 66de-00da" and the last line "Volume ID for drive c: updated to 66de-00da"
    On the command line I enter the path and  "volumeid h:  f828-50df  g: 595b-27b7"  and I get the response as I've just described.
    sigh.............
    Howard
    Date: Thu, 9 Jul 2009 21:20:34 -0600
    From: [email protected]
    To: [email protected]
    Subject: Problem getting photos
    When you type the command:
    volumeid h: F828-50DF
    what exactly is the response?  It should look similar to:
    C:>volumeid c: 66de-00da
    VolumeID V2.01 - Set disk volume id
    Copyright (C) 1997-1999 Mark Russinovich
    Sysinternals - http://www.sysinternals.com
    Volume ID for drive c: updated to 66de-00da
    If it doesn't, either type in the exact response or post a screen shot.
    I forgot to mention that in c:\windows the file appears as volumeid and not volumeid.exe.
    That's because your Windows Explorer is configured (by default) to not show the extensions (e.g. ".exe").  It shouldn't matter.
    Next I have been attempting to run the psedbtool which is still on my desktop.
    You need to use Windows Explorer to navigate to the folder c:\psedbtool and then double-click "run.bat" (which may show up as simply "run").
    >

  • "Get External Data Group" greyed out

    I'm having the same problem as someone else whose  Excel 2010 the "Get External Data" is grayed out was also greyed out.  There was a suggestion to clear the old external data.  How do you clear old external data?

    Hi,
    Please confirm the following situations:
    Once double click a cell, the “Get External Data” will be greyed out.
    One you select a cell in a table, the “Get External Data” will be greyed out.
    Check whether the workbook or worksheet is protected.
    Jaynet Zhang
    TechNet Community Support

  • Anyone having problems getting CD covers to print after downloading latest software?

    Anyone having problems getting CD covers to print after downloading latest software?

    Lacking any responses to my initial post above, I will briefly update how I resolved this issue today.
    Installed new external hard disc, 1 TB WD My Passport for Mac, and straightforward setup involving first installing current OS X operating system, then system migrator utility to rebuild the same setup as saved in latest Time Machine backup. The whole process was somewhat time consuming due to my internet connection speed and USB data transfer speeds but it went without any issues. The computer now boots up and operates identical in all respects to how it did before the problem occurred.
    Regarding the internal HD of my iMac, if I now run Disc Utility to verify the disc, it reports "appears to be OK". However, viewing the disc usage in "About This Mac" window, it displays as entirely empty. Opening it in the finder also shows only a "Apple Hot News.mbox" file and a single .jpeg image, and .nothing else.
    Interestingly, the Bootcamp partition of my iMac's internal HD continues to work fine and appears unaffected by the problem. I use bootcamp rarely but still will plan to set up a replacement bootcamp volume on the new hard disc soon, in order to take its place.
    That the problem surfaced coincident with the software update may have been nothing more than bad luck? At this point I have no reason to suspect that the softward update had anything to do with the difficulties.

  • Problem getting windows updates for windows 7

    hi,
    I am using windows 7 beta version. I have problem getting windows updates for my windows 7. When i click on check updates error code 80072F8f occurs. The same goes to any windows application like Live Mail, Live Messanger and i can't even activate my windows 7. But i can use IE8 and other external applications like Yahoo Messanger and my Avast antivirus can even update itself. Just that windows application can't connect to internet for updates. Help me please.
    Thank You.
    Regards,
    Thilek

    On January 13, Microsoft ends support for the Windows 7 Service Pack (SP) 1. No need to panic. That does not mean your computer with Windows 7 is going to automatically break or stop working. Though the
    Extended Support for Microsoft product with free security update is not ending until Jan 14, 2020 comes.
    If you want to know more of this, then go through http://techyuga.com/microsoft-ends-support-for-windows-7/

  • Problem with External 2.1 digital speakers

    Anybody have any problems with external digital speakers connected to the SPDIF connection?  I have a 1215-600XT, and I tried connecting my old DELL Boston Acoustic 2.1 speakers.  They worked, but any time a "sound" played, a loud pop would follow the end of the sound track.  If its multiuple sounds (i.e. an application that is making numerous alert sounds) I get multiple pops.  It even happens at the endf of music tracks.  It was so annoying, I stopped using the speakers.  before I invest in another set of speakers, want to know I am not wasting my time.
    Also, anyway of getting the soundcard to support digital 2.1 or other sound?  The set-up screen only shows stereo for external speakers and no way of adding more.
    Sincerely
    Scott

    pmoney,
    If you need a RMA, you will need to contact Customer Support either via email or phone. Also, it may be a fault with the sub and not just the cable alone, anyway contact Customer Support and they will be able to assist further.
    Jason

  • 10.4.8 problems getting FCP to connect to camera

    Is there anybody running FCP 4.5 who is experiencing problems getting FCP to see the external device connected through firewire. My computer sees my camera connected, but when I open FCP, it cannot connect to my device. I never had this problem until I updated to the new OS via the "upgrade" option. Anybody have any suggestions? The new OS also messed up my DVD Studio pro 2 app, and I had to delete some files following an article on apple support to get it to work.
    G5 power pc dual 1.8ghz Mac OS X (10.4.8)
    G5 power pc dual 1.8ghz   Mac OS X (10.4.9)  

    Usually a QuickTime receipts issue:
    http://docs.info.apple.com/article.html?artnum=301852

Maybe you are looking for