Class key attribute flag resets itself

Hi. I've written a custom workflow using a OO class based around the IF_WORKFLOW interface.
It is all working great, but I've noticed a couple of times now that the "key attribute" flag that I set keeps blanking itself.
That means when I try and raise an event from SWUE I can't, as there is no key attribute.
Does anyone know why the key attribute flag would blank itself?
I have tried to replicate it by activating different methods and logging on and off and things like that but it never blanks itself when I try things like that, it seems to be random.
Thanks a lot for your help.
Regards,
Dave.

Hi David,
I don't have to much experience with the WF, but I think you should hold it within instance attribute typed of struture SIBFLPOR, then just fill it in withinh BI_PERSISTENT~LPOR method.
This [blog|http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417400)ID1225542250DB00455154066552031487End?blog=/pub/wlg/3907] can help you to follow.
Regards
Marcin

Similar Messages

  • OLAP query returning "name" rather than "key" attribute for a dimension

    Hello,
    I am busy with a project that involves drawing data from an OLAP cube (in SAP BW), then transforming and contextualising for use in an EMI environment. The project runs on MII 12.1.
    The standard OLAP connector and OLAP queries have been used (would prefer not to go the route of creating a call to the OLAP XMLA web service directly). One of the important dimensions is returned as a name (descriptive text) rather than a key (the cost element code itself), preventing us from reliably applying business rules to classify cost elements. Categorising cost elements based on their text descriptions is not a sustainable solution.
    The output needs to allow for two dimensions (cost element and an equipment identifier) against which individual cost values will be listed. It appears that the two dimensions must both be on the "x-axis", as result columns are automatically renamed, e.g. C000001, C000002, etc. If anyone knows of a way to suppress this renaming behaviour, please let me know.
    Is it possible to force the "key" attribute to be returned instead of the "name" attribute? I have identified two preferred options:
    1. MDX syntax of the query itself
    2. configuration of the OLAP connector
    I have not found a way to do this through MDX syntax, but would welcome any suggestions.
    Alternatively, perhaps there is a non-standard way of configuring the OLAP connector so that the key rather than the name attribute is returned for all dimensions. Has anyone anything, e.g. chosen a non-standard ColumnNameAttribute or DataTypeAttribute, in this regard?
    Thanks,
    Marc Chaplin

    <b>Apologies for the formatting above</b>
    Part 1:
    Hello,
    I am busy with a project that involves drawing data from an OLAP cube (in SAP BW), then transforming and contextualising for use in an EMI environment. The project runs on MII 12.1.
    The standard OLAP connector and OLAP queries have been used (would prefer not to go the route of creating a call to the OLAP XMLA web service directly). One of the important dimensions is returned as a name (descriptive text) rather than a key (the cost element code itself), preventing us from reliably applying business rules to classify cost elements. Categorising cost elements based on their text descriptions is not a sustainable solution.
    The output needs to allow for two dimensions (cost element and an equipment identifier) against which individual cost values will be listed. It appears that the two dimensions must both be on the <i>x-axis</i>, as result columns are automatically renamed, e.g. C000001, C000002, etc. If anyone knows of a way to suppress this renaming behaviour, please let me know.

  • MacBook Pro 15" MacBookPro1,1 reset itself?

    Hi guys.
    i bought my mac on 2006. i am using it till today. However, it startsto reset itself while i amorking on applications like word excel photoshop. I couldn't understand what is the problem? Is it about software or hardware? can it be about heating or something like that? thank you all
    Model Name: MacBook Pro 15"
    Model Identifier: MacBookPro1,1
    Processor Name: Intel Core Duo
    Processor Speed: 2 GHz
    Number Of Processors: 1
    Total Number Of Cores: 2
    L2 Cache (per processor): 2 MB
    Memory: 1 GB
    Bus Speed: 667 MHz
    Boot ROM Version: MBP11.0055.B08
    SMC Version: 1.2f10
    Sudden Motion Sensor:
    State: Enabled
    System Software Overview:
    System Version: Mac OS X 10.4.11 (8S2167)
    Kernel Version: Darwin 8.11.1
    Boot Volume: Macintosh HD

    Hi doftin, and welcome to Apple Discussions.
    I don't understand what you mean by
    It startsto reset itself while i amorking on applications like word excel photoshop.
    Please explain what actually happens.
    Do you have upwards of 15% free space on your HD? If not, this could be causing issues.
    Have you run Repair Disk? Boot from install disc (insert disc>restart>immediately hold down c key and keep holding it until you see “Preparing Installation”)>at first screen go to Installer Menu>open Disk Utility>select your HD in the panel on the left side>click Repair Disk at bottom of main window. Run this at least twice, and keep running it until it says “appears ok” twice in a row. If that doesn’t happen, you may need a stronger utility such as DiskWarrior or if the directory is damaged beyond repair, you may need to reinstall the OS, or you may have a damaged HD (repair utilities can only repair the directory structure, not the HD itself).
    Are the temps high? Are the fans running at high speed? (download free iStat Pro)
    Message was edited by: tjk

  • Phone resets itself to January 1980

    For the past five days or so, my iPhone 5 (os 7.0.4) will arbitrarily reset itself to January 5, 1980; this happens only at home.  The phone could be charging, or not charging.  It's completely arbitrary.
    Upon a hard shutdown (home key/power off) and restart, the date and time will reset itself back to current.
    I've got a visit to the Mac store later today, but I'm curious if anyone else has had this issue, what it was and how it was solved.
    Thanks much.
    C

    I am having a similar issue with my iPhone and my son is having the exact same issues on his Droid HTC and it took me two people and nearly two hours to convince those Verizon folks it isn't the device.  I am almost certain it has to do with the local tower near our home.  My son went to work which was about 30 miles away and he didn't have one issue.  As soon as he got home, he was back at 11/15/2013 even though it was 12/14/2013.  The problem is intermittent, all of a sudden everything works and a few hours later, I can't text, receive texts, calls go directly to voicemail so if it is one of those annoying people who thinks I am just going to see their missed call and immediately call them back-well they are surprised and ticked off when I don't.  Can't call someone back when I don't know they called which is a darn shame since I use my cell 100% for work and I am self employed.  Right now it is 1:23am on 12/15/13 in California but my phone says it is 11/16/13 at 10:18am.  I tried call my cell from my landline and it goes right to voicemail.  I type a text and hit send and nothing is in the history but at some point it does go through but never shows up on the history, annoying especially when you are trying to communicate with your teen and I can't remember exactly what I wrote.  I use my phone as my watch, my alarm clock, etc. so that's an issue....  And the worst part is!!!!!!!!!!!!!!!!!  I can't play Candy Crush Saga because it says I have to wait over 42,000 minutes, thats about a month for those who are interest.  And yes, my son is having every single issue once he got home from work, including the exact date and time error I have but yet Verizon still thinks it is my device.  Really?  I was told there was a ticket established to escalate/solve this issue but I have my doubts based on my interactions and the fact it took me two hours and two people to convince it wasn't my device before they would take this issue to the next level.  The Verizon folks are getting paid for that time but I am not and I am paying Verizon.  What's wrong with this picture?

  • Failt to load Main-Class manifest attribute

    hi to all,
    im new to java and im very eager to learn java.
    can anyone please help me make a jar file executable..
    im using netbeans IDE 6.1
    and i already build main project, it made a folder and some files with jar file.
    but when i try to double click the jar file or run it in command prompt there is an error.
    Failt to load Main-Class manifest attribute ..... contact.jar
    i already use launch4j but it didnt work also, same error.
    please tell me what im missing here?
    thanks!

    There seems to be an outbreak of this, to judge from forum questions. Could a virus be injecting itself into JAR manifests?
    {color:red}:^){color}

  • Who knows about Jar/Manifest: Class-Path-Attribute

    My question is:
    When packaging my classes and ressource files into a jar file, everything works fine as long as I put the manifest-file into the parent directory of the package folders (there's the main class too) and set its Class-Path-Attribut just as . (a dot).
    I'm working with WinXP Prof.
    As soon as I fill in a path with backslashes or slashes as separator, the produced jar-file doesn't work (class loader does'nt find main-class).
    Is the problem the drive-letter (D:) in the path or do you know something else?
    Greetings
    Frank

    Yes, and likely the . is what you need ...saying: I want the packages which begin in the same directory as the jar running this application. Even if your class is in a package hierarchy like tst.test.Support.class, if the directory tst is in the same directory as the application jar, you would use classpath . not tst/test/Support.class. If you put the tst package in a directory under the folder where the jar resides, say called testit ...you would then have a classpath in the mainifest like testit/. The class path always needs to get you to the root of any package you want to use ...but not into the package itself. Java recognizes when it is looking at a package nesting due to the package declaration syntax in the files, the classpath just points to the location of the root of that package and nothing more. Does this make sense?

  • Jar Class-Path attribute configuration problems

    java version 1.5.0_14
    OS: Windows Server 2003
    Problem description: Executable jar file needs to access external jar file resources on the same server that executable jar file resides.
    Scenario: Executable jar file resides in a directory called c:\Java. External jar file resides in a directory called c:\Java\itext1
    I have attempted configuring the Class-Path attribute in the manifest with the following:
    java/itext1/itext1.jar or entering itext1/itext1.jar
    I receive the following error message, from the java command:
    c:\>java -jar /java/MyJar.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: com/lowagie/text/pdf/
    BaseFont
    I even unpacked the jar file, to see if I could access the class using the following command below (The class does not have a main method, so I did not expect it to execute, but I would have thought the class would have been located)
    C:\>java java/itext1/com/lowagie/tools/BaseFont
    Exception in thread "main" java.lang.NoClassDefFoundError: java/itext1/com/lowa
    ie/tools/BaseFont
    I am at my wit's end. Does anyone have any suggestions?

    The -jar flag tells the interpreter that the application is packaged in the JAR file format, and to my knowledge, has nothing to do with the classpath attribute within the manifest
    At any rate, I found my problem. When packaging the jar via Eclipse, I had 2 .classpath resource files within the project, which was causing the jar fiile to be built incorrectly.

  • "Failed to load main class manifest attribute from " directory path

    i get this error when trying to run a jar file i made with eclipse. does anyone know how to fix it? thanks derek
    "Failed to load main class manifest attribute from "<directory path>

    A JAR file is simply a collection of class files, in order to make it an "executable" JAR file you must specify which class file is the "main" class file. In other words, which class should the runtime start executing first. You do this using what is called a manifest file, this is meta information included into the JAR file that the runtime extracts and uses. One attribute is the Main-Class key, which specifies the application's entry point.
    The Java tutorial goes into further detail on how to do this
    http://java.sun.com/docs/books/tutorial/deployment/jar/appman.html
    You may also do this using Eclipse by going File -> Export -> Java -> JAR and follow the wizard.
    Using Netbeans this almost comes for free.

  • Mail Reset itself and delete signatures etc

    Hi
    I am using ML. The mail is playing with me... this is flustrating now...
    It resets itself somehow...
    My mails OK, everything works. But everytime I made signatures they will be dissapear soon.
    Also the order of the accounts that I made in the left panel will be resets alphabetical order...
    I don't know why these thing happens and even when they happenes. It's not after restart or something. Even if I don't swich off the macbook this is happening.
    If someone has same problem and know the solution now please let me know.
    Or let me know if it is a BUG or something and I/we need to wait for a upgrade from apple.
    Too much problem is coming up newadays from Apple. I don't expect these from Apple.
    Thank you so much.

    Hi Mike,
    Are your other APPs there, and your Dock the same?
    Not certain, but this can fix myriad Mail problems...
    Safe Boot from the HD, (holding Shift key down at bootup), it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move these folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.

  • Audition CS6 has reset itself

    Hi all, this has never happened before. I've just opened up Audition CS6 to find that it has completely reset itself. I've lost all my keyboard shortcuts, hot keys and macros. To say that I'm pissed off is an understatement as I had complicated production effects assigned to hotkeys.
    Why would this happen? I take it there's nothing I can do?
    Cheers
    Darren

    If Audition is unable to find the existing settings and shortcuts files, it will recreate them at the default values.  For CS6, these are stored at:
    OS X: /Users/\AppData\Roaming\Adobe\Audition\5.0\
    If these directories were wiped out, this could certainly cause that behavior.  Sometimes a power failure or other shutdown issue can cause these files to become corrupted or empty.  You may want to check in the ../Audition/ directory above to see if there's a backed up "5.0" folder that may have been generated and which may contain the old files.

  • Translucent menu bar resetting itself

    I keep having my menu bar resetting itself to translucent, which is not what I want.  I reset it in system prefs and then googled it, and it was back to translucent in that five minutes.  10.6.8, late 08 macbook 13" unibody (not MBP) 4gb ram 2 ghz core2duo.

    Quoting macjack:
    Go to your Finder "Go" menu hold the option key to choose "Library". Then go to Preferences/com.apple.systemuiserver,plist and delete that file then log out and back in or restart.
    Jim

  • HP Prime Calculator resetting itself.

    As the title suggests, I have an HP Prime that keeps resetting itself when I press the 'num' button. It doesn't reset when I push 'shift' 'num' though. I don't know if I messed something up somehow becuase this button use to work fine. Any help would be great.
    Thank you in advance,
    Nick
    This question was solved.
    View Solution.

    Sorry about the trouble you're having updating your Prime's firmware.  The process seems to be finicky about which USB port it likes and which USB ports it doesn't like.  It prefers ports on the computer over those on a hub, and prefers the computer ports which are the closest to the motherboard.  Usually.  But it's finicky and impossible to predict.  If paperclip-resetting your Prime and trying to update through a different USB port doesn't work, then perform the following emergency procedure:
    1. Make sure your Prime is in "recovery mode".  If the Connectivity Kit left it in recovery mode, you're ready for step 2.  Otherwise, force your Prime into recovery mode by pressing and holding down the Symb key, then poking a paperclip into the reset hole in the back, then releasing the Symb key.
    2. Make sure that the Connectivity Kit is not running, and make sure that the Prime is connected to the computer with the USB cable.  Best results are obtained by using the USB port closest to your motherboard.
    3. On your PC, navigate to the installation folder of the Connectivity Kit.  It's different on different computers, but on mine it's here:
    C:\Program Files\Hewlett-Packard\HP Connectivity Kit
    In that folder, you'll see a program called "Updater.exe".  Run that program directly by double-clicking it.  This should perform the update directly, bypassing the finicky Connectivity Kit.
    Hope this works!  It has always worked when the Connectivity Kit was scorning me.
    -Joe-

  • Airport Extreme drops wireless and resets itself about 20 times a day

    hi all,
    i am having wireless network issues with my Airport Extreme.
    I have a secured (WPA) network set up at work using the Apple Airport Extreme. We have about 7 - 10 users on it at one time during business hours. What has been happening is our Airport resets itself and drops everyone off. This happens quite frequently but with no real pattern, sometimes it drops 5 times an hour, sometimes it goes for hours without dropping anyone.
    Now this issue is not a new one for us, nor is it isolated to the Airport Extreme. Actually i have had D-Link and linksys WAP's do the exact same thing in my office.
    Our offices are relatively small and its open concept (no walls between the users and the airport) however the building we are in has loads of wireless networks fighting for space. I can see over a dozen other wireless networks from my computer at any time.
    Im at my wits end with this because it seems like any wireless access point we try ends up failing in the same way. They never totally pooch out, they just always shut themselves down and restart.
    Couple more details about the networks
    Mostly PC's but a few macs.
    The Airport is set to use interferance robustness as well as auto-channel switching.
    we have also added a airport express to this network to help boost signal strength.
    As i said we have anywhere from 6 - 10 people on this network at one time, none of us doing any significant activity (just browsing and emails). But when im here alone it never drops me. it seems to relate to the # of users.
    Anyone have any ideas? Im totally lost and at the point where im going to scrap wireless and just wire everyone to the network!
    THANKS IN ADVANCE,
    MCM

    some more info.
    1. I upgraded my firmware to 7.1.1 from 7.0 and still drops connections.
    2. However upgrading my Airport Utility software allowed me to actually see logs after the thing restarts. This is what im getting when computers lose connections:
    Aug 13 13:19:39 5 Rotated TKIP group key.
    Aug 13 13:19:39 5 Deauthenticating with station 00:09:2d:85:ee:3a (reserved 2).
    Aug 13 13:19:39 5 Disassociated with station 00:09:2d:85:ee:3a
    Aug 13 13:19:39 5 Associated with station 00:09:2d:85:ee:3a
    Aug 13 13:19:42 5 Deauthenticating with station 00:09:2d:85:ee:3a (reserved 2).
    Aug 13 13:19:42 5 Disassociated with station 00:09:2d:85:ee:3a
    Aug 13 13:19:46 5 Disassociated with station 00:19:d2:ad:b5:39
    Aug 13 13:19:47 5 Associated with station 00:19:d2:ad:b5:39
    i read some other forum posts (macfixit.com) that pointed to an article about this, but of course you gotta pay for it and i have limited faith in the solution. So anyone know what it means when it Rotates the TKIP group key?
    could this be a security issue and not interfeaance ?
    or both?
    thanks,
    mcm

  • Key figure flag in the planning layout

    Hi,
    Can anyone explain the importance of the key figure flag in the planning layout?
    Regds
    Pavan.

    Hi Arun and  Zegion,
    Thank you for your responses.
    Arun, I do not have any aggregates on the cube. I changed the aggregate properties of the Key Figure from SUM to Minimum. this has solved my problem temporarily.
    the reason I am saying temporarily because this is a SAP delivered InfoObject. This is for the datasource 0CO_PC_PCP_01. When I read through the documents, it said, SUMMation for Aggregation and Last value for "Exception Aggregation" will display the value of KF as the last value and does not add them up.
    Since this wasn't the happening in my query, I changed the Aggregation from SUM to Minimum.
    Regards,
    S.P

  • Mid-2010 MacBook Pro Resets Itself

    I bought my 13" Macbook Pro in September of last year. Lately it has intermittently started resetting itself, meaning in the middle of whatever I'm working on, my screen will suddenly turn a light blue color, then the desktop will reload afresh, with all the applications I'd been working on previously no longer open. It seems to happen when I'm switching between programs, primarily when I'm switching back to Safari or Word, but that may just be coincidence. It's frustrating, but I haven't lost any data yet. I've run all software updates, if that makes any difference.
    Any thoughts? Thanks!

    I suppose I should have mentioned that I've been making frequent Time Machine backups and save my most important files in cloud storage. I'm certainly not averse to making a Genius Bar appointment, but I do have reservations about how much they'll be able to help given that I can't reproduce the problem at will.

Maybe you are looking for

  • "Content-Disposition" + download + "Access denied"

    Hi peoples, I am using a simple servlet to modify some header info on a response object wrapped round an RTF file so that the user is asked whether they want to open or save rather than just opening it in IE. I am surprised to find that doing this ca

  • Help with URL Parameters and HTML DataSet please.

    Hello everybody! Looking at the example page: "Using URL Parameters to Control Data Regions", towards the bottom it gives an example of "Set by Product Name", from an XML DataSet using the following sample code:     //Data set for the second example.

  • Old Software disposal

    What is the best way to get rid of older software now that I have upgraded to a new iMac and Running Snow Leopard I don'e seem to have any use for all the older version and the same goes for iLife. Thanks Dan

  • Opening an email in its own page?

    How can I get an email to "open" so that I can view the whole thing, and not just part of it in the reading pane?   I know to scroll down the pane to see the whole thing, but what a PAIN (oh a pun).  I've never encountered this type of issue before,

  • Using basic Liquid Layout rules: Scale, Recenter, and Based on Master | Learn InDesign CS6 | Adobe TV

    Discover how to apply None, Scale, and Recenter rules when resizing a layout. Also learn the meaning behind "Based on Master." http://adobe.ly/Jo2ssO