Virtual Key Figures-  RSRT says Key Figures are not valid

Hi,
Getting the following mssg when I try to generate a query in RSRT for the first time after I have coded Virtual Key Figures.
For the characteristic that I am pulling the user entered data from:
/BIC/ZNEWEST is not a valid characteristic for InfoProvider 0QM_C08
Message no. BRAIN122
Diagnosis
"Customer enhancement RSR00002 or the implementation of BAdI RSR_OLAB_BADI delivers /BIC/ZNEWEST as the characteristic to be calculated. 1. is however not a valid key figure for Infoprovider 0QM_C08.
System response
/BIC/ZNEWEST is ignored.
Procedure
Check the exit."
From the key figure I am using this info to populate value:
"/BIC/ZKF3 is not a valid key figures for InfoProvider 0QM_C08
Message no. BRAIN121
Diagnosis
Customer enhancement RSR00002 or the implementation of BAdI RSR_OLAB_BADI delivers /BIC/ZKF3 as the key figure to be calculated. 1. is however not a valid key figure for Infoprovider 0QM_C08 or /BIC/ZKF3 references the key figure . In this case, the basic key figure l  is enough to calculate in the exit.
System response
/BIC/ZKF3 is ignored.
Procedure
Check the exit."
Any help would be appreciated.
This is my first time using Virtual KF's.
Thanks,
Brandon

Hi Ajay,
Here is my code:
      FORM user_0QM_C08                                            *
-->  L_S_RKB1D                                                      *
-->  C_S_DATA                                                       *
FORM user_0QM_C08 USING l_s_rkb1d   TYPE rsr_s_rkb1d
                     CHANGING c_s_data TYPE any.
*-- Local data
  DATA: l_n TYPE n,
        FIN1 like /bic/azqm_O5000-/BIC/ZPFINNT,
       FIN2 like /bic/azqm_O5000-/BIC/ZPFINNT,
       STAR1 like /bic/azqm_O5000-/BIC/ZPFINNT,
        STAR2 like /bic/azqm_O5000-/BIC/ZPFINNT,
        TASK type STRING.
*-- Field Symbols
  FIELD-SYMBOLS <ZNEWEST>.
  FIELD-SYMBOLS <ZOLDEST>.
  FIELD-SYMBOLS <ZPSTARNT>.
  FIELD-SYMBOLS <ZPFINNT>.
  FIELD-SYMBOLS <ZKF3>.
  FIELD-SYMBOLS <ZKF4>.
  FIELD-SYMBOLS <0NOTIFICATN>.
*->>> Initial checks
  SELECT SINGLE * FROM  zvir_reports
         WHERE  infocube  = l_s_rkb1d-infocube
         AND    compid    = l_s_rkb1d-compid.
  CHECK sy-subrc IS INITIAL.
*->>> Prepare the structure
  ASSIGN COMPONENT g_pos_0QM_C08_ZNEWEST
    OF STRUCTURE c_s_data TO <ZNEWEST>.
  ASSIGN COMPONENT g_pos_0QM_C08_ZOLDEST
    OF STRUCTURE c_s_data TO <ZOLDEST>.
  ASSIGN COMPONENT g_pos_0QM_C08_ZPSTARNT
    OF STRUCTURE c_s_data TO <ZPSTARNT>.
  ASSIGN COMPONENT g_pos_0QM_C08_ZPFINNT
    OF STRUCTURE c_s_data TO <ZPFINNT>.
  ASSIGN COMPONENT g_pos_0QM_C08_0NOTIFICATN
    OF STRUCTURE c_s_data TO <0NOTIFICATN>.
*~~~>Changeable
  ASSIGN COMPONENT g_pos_0QM_C08_zKF3
    OF STRUCTURE c_s_data TO <ZKF3>.
  ASSIGN COMPONENT g_pos_0QM_C08_zKF4
    OF STRUCTURE c_s_data TO <ZKF4>.
*do not go thru code if user fields are blank.
  IF <znewest> IS INITIAL OR <zoldest> IS INITIAL.
  Exit.
  Endif.
*-->>> Read general data
  CLEAR: /BIC/AZQM_O5000, FIN1, FIN2, STAR1, STAR2, TASK.
  TASK = 'SCM'.
get Start1 time
  SELECT /BIC/ZPSTARNT   FROM  /bic/azqm_O5000 INTO STAR1
         WHERE  notificatn        EQ <0NOTIFICATN>
         AND    /bic/ZNEWEST      EQ <ZNEWEST>.
  ENDSELECT.
Get Finish1 time
  SELECT /BIC/ZPFINNT   FROM  /bic/azqm_O5000 INTO FIN1
         WHERE  notificatn        EQ <0NOTIFICATN>
         AND    /bic/ZNEWEST      EQ TASK.
  ENDSELECT.
Get Finish2 time & Start2 time
  SELECT /BIC/ZPFINNT /BIC/ZPSTARNT FROM  /bic/azqm_O5000 INTO (FIN2 ,
STAR2)
         WHERE  notificatn        EQ <0NOTIFICATN>
         AND    /bic/ZOLDEST      EQ <ZOLDEST>.
  ENDSELECT.
*- Update key figures
  <zKF3>  = abs( FIN1 - STAR2 ).
  <zKF4>  = abs( STAR1 - FIN2 ).
ENDFORM.                    "user_0QM_C08
Thx

Similar Messages

  • Adobe Photoshop Elements 8 stopped working - says serial numbers are not valid.

    I have had Adobe Photoshop Elements 8 for several years and use it daily.  All of a sudden today, it would not open and showed me the screen to try the 30 free trial or to enter my serial number.  I entered my serial number and it gives me a red X and then tells me that my serial number is not valid.  I contacted customer support and he asked for my serial number and then told me he can't help with this issue and I need to look in these forums for a solution.  Anyone have any ideas??  I'm wondering if I uninstall it and re-install it, if it will accept the serial number then, but I'm thinking I'll lose all the preferences I have set up and have to go through and tag all my pictures again - and I have thousands.  Please help!!  It would be nice if the company could help.  :-(

    Palaab wrote:
    …I contacted customer support and he asked for my serial number and then told me he can't help with this issue and I need to look in these forums for a solution…
    Most irresponsible, ignorant and unprofessional of that nincompoop who sent you to the forums for a customer service issue.
    Unfortunately, only Adobe customer service can assist you with your issue. These are user forums; you are not addressing Adobe here.  There's no one here who can help you.
    Click on the link below, and after that click on "Still need Help? Contact us."
    Then on the next page, click Chat
    There is also a phone option.
    http://helpx.adobe.com/contact.html?step=PHXS_downloading-installing-setting-up_licensing- activation

  • My ipod 3 generation,Keys of volume up and down are not working..What can i do?

    My ipod 3 generation,Keys of volume up and down are not working..What can i do?

    Try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • I updated my Iphone4S this week to the newest IOS 7.1 and now everyone who calls me says the calls are not clear, muffled.  Is there something I can do to clear this?  4 people in 4 different states that called me all said the same thing.

    I updated my Iphone4S this week to the newest IOS 7.1 and now everyone who calls me says the calls are not clear, muffled.  Is there something I can do to clear this?  4 people in 4 different states that called me all said the same thing.

    Settings > General > Reset > Reset Network Settings
    Contact the carrier to troubleshoot.

  • HT201363 my rescue me email is no longer active. trying to get a call scheduled but it says all the numbers i enter are not valid.....help!!

    my rescue me email is no longer active. trying to get a call scheduled but it says all the numbers i enter are not valid.....help!!

    Hi aj_russ,
    As long as you still have access to your Apple ID account, you should be able to change or edit the Rescue email address associated with your security questions. You may find the following article helpful:
    Apple Support: Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/ht5312
    Regards,
    - Brenden

  • I've recently downloaded Lion and find my Microsoft excel, word, entourage and powerpoint do not function. It says these functions are not now supported. Why and how do I get to use them again?

    I've recently downloaded Lion and find my Microsoft excel, word, entourage and powerpoint do not function. It says these functions are not now supported. Why and how do I get to use them again?

    philippnoe wrote:
    What a "great" Program which is supporting many nice but not mandatory things but is not supporting a Program which is used day by day from many users ... and especially this Program is also sold officially by apple !!!
    Yeah!, Why, Lion won't even run my old DOS programs! 

  • Can iMessage be used with non iOS 5 users, ie non-apple users. My new i-pad 2 error message says these contacts are not recognized by imessage when I try to text some of these contacts.

    Can iMessage be used with non iOS 5 users, ie non-apple users?
    My new i-pad 2 error message says these contacts are not recognized by imessage when I try to send them a text.

    So that means that I can send text messages through my i-phone to reach non iOS 5 users, but not through my i-pad 2.

  • Hello..when I download attachments from any email..iPages opens and says some features are not supported and cuts out photos and lengthens my attachments

    hello..when I download attachments from any email..iPages opens and says some features are not supported and cuts out photos and lengthens my attachments

    What format are the attachments? If Pages will not display them properly you will need an application that does. Pages usually opens word documents but can give problems at times, if they are MS Word documents, try Libre Office or failing that you may have to purchase MS Word for Mac, maybe you will need to buy the complete Office suite.
    The other possiblity is that you already have a suitable application and Pages is loading the file by default, if so change the default application to open that file type.

  • My laptop says it is connected to our wifi but it also says alert: you are not connected to the internet! Does anyone know how I can fix this/has it happened to anyone? Thanks

    My laptop says it is connected to our wifi but it also says alert: you are not connected to the internet! Does anyone know how I can fix this/has it happened to anyone? Thanks

    This usually indicates a problem with your router or cable modem, your ISP's service or cabling outside your house.  First thing I'd try is rebooting the router/cable modem (turn it off, wait 1 minute, then turn it back on).

  • When i try to log into facebook all it says is "Cookies are not enabled on your browser" but i have enabled them. how do i log in?

    When I try to log into facebook all it says is "Cookies are not enabled on your browser" but i have enabled them. How do I log in?

    My guess is it's either a corrupt cookie or you have some add-on blocking cookies.
    We'll need some more info about your Firefox setup. Go to '''Help > Troubleshooting Information''' then click '''Copy all to Clipboard'''. Open a reply to this post, and go to '''Edit > Paste''' to paste the info from your Troubleshooting Information page.

  • Entitlements are not valid valid on compiled app

    I just started using flash cs5 today to try and make a quick app, I have joined apples iphone dev program, I have a cert, and finally figured out how to get a .p12 file (i just dragged it into itunes).  I create an ad hoc file and double click it and it goes into itunes just fine but when I sync my iphone it loads the app on the phone and at the end I get a message saying that it cant use the app because the entitlements are not valid valid.  What am I missing?  I am using windows 7 and not a mac, so alot of this stuff is very new.  Has anyone else encountered this problem?  Any ideas why its not working?

    I faced the same problem, and you probably didn't type the application name in the provisioning profile field in the flash cs5 compiler.
    For example; when you open the flash cs5 compiler, in the deployment tab you have to browse for your provisioning profile and the compiler will automatically type in the field right below the browsing field the following: (com.talalmanaa) - where talalmanaa can be any name you set in apple developer program while you create a provisioning profile -  this is not sufficient coz you need to add the application name after talalmanaa. Hence, you should add your application name to be as the following:
    com.talalmanaa.myAppName
    P.S: you need to make sure that your provisioning profile can accept any application name (for testing) and that's by adding (*) sign before you create prov profile in your Apple's Developer program. so make sure that you type the following before you submit to create a profile:
    com.talalmanaa.* (this start sign means that your provisioning profile can test any application name).

  • MyApp was not installed on the iPhone "myPhone" because the entitlements are not valid

    Just in case it help anyone. I was experiencing a problem where every time I attempted to add an app to my iPhone via iTunes, I was getting the error
    MyApp was not installed on the iPhone "myPhone" because the entitlements are not valid
    I have figured out the problem to be that the App ID which you fill in on the AIR for IOS Settings Deployment settings screen needed to be the App ID I had included in my provisioning profile. This setting appears to be auto-completed with the name of the Flash file so you need to be sure to change this if you are having this problem.
    Hope that helps someone.....

    First app could be a nightmare . So I repost
    http://forums.adobe.com/message/3471632#3471632

  • Im trying to register my Photoshop Elements 11 and it says my email is not valid

    Hi - I bought PSE11 (upgrading from 6!) and installed it successfully.
    I then got myself an apple ID on this website, using my email - and that was fine.
    Now I'm trying to register the software (it keeps asking me to do so on load) but it says my email is not valid - despite it being the email I used here - ie my Apple ID email.
    Is it because my site http://bullion.directory uses one of the many new gTLDs and older software like elements 11 doesn't believe the domain exists?
    If so, should I set up ANOTHER ID using another email? Seems crazy...
    Or is there a way to register directly within my apple ID on adobe.com and cut out the software altogether?
    many thanks!

    Thanks hatstead  - I'd rather not change my ID email as we vowed to stop having 10s of different emails and passwords, but keep just 2 or 3 - and (idiotically) they are all @ this domain.
    But maybe I'll have to set up a gmail one for this. I'd rather not use personal as it's a company purchase.
    Is there a way of just registering a product from within my Apple ID, online?
    Thanks!

  • Assistance with Error - virtualmachinemanager.psd1 module cannot be imported, one or more members are not valid.

    Hello,
    We use Orchestrator, System Center 2012 version 7.1.3022.0.  I have an orchestrator script that reads through a txt file to find unresponsive virtual machines (Windows 2000 VM's cannot have the SCOM agent installed on them) so we can restart any
    machines that are not responding. 
    The step to Get Computer/IP Status runs successfully in that it reports which VM's are running and which are not running.  The next step then is to run a Powershell script that restart the VM's that are down.  Here is my Powershell Script:
    $ErrorActionPreference = "Stop"
    try
    Import-Module 'C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\bin\psmodules\virtualmachinemanager'
    Get-VMMServer -ComputerName mlivsmsscvmm
    # get vm object
    $vm = get-SCVirtualMachine | where { $_.ComputerName -eq "\`d.T.~Ed/{A255D4D8-BD4D-4FF4-9A51-B1ABA82720B9}.Computer-name\`d.T.~Ed/" }
    # save data to publish for future activities
    $OrigVMMStatus = $vm.StatusString;
    $AlertAdded = "\`d.T.~Ed/{A4B4EC8A-E4F8-40AB-9897-6906EAE139AE}.TimeAdded\`d.T.~Ed/";
    $VMName = $vm.Name;
    # we are at this point because the VM is not responding.
    # Start VM - if VM status is "Running" then Stop the VM first
    if($vm.StatusString -eq "Running")
    { Stop-SCVirtualMachine -vm $vm -force };
    Start-Sleep -s 20;
    if($vm.StatusString -eq "Stopped")
    { Start-SCVirtualMachine -vm $vm
    $VMrestart = "Yes"
    catch
    Throw $_.Exception
    Upon running the Powershell script I receive the following error in Orchestrator Log histry:
    The 'C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager\bin\psmodules\virtualmachinemanager\virtualmachinemanager.psd1' module cannot be
    imported because its manifest contains one or more members that are not valid.
    This script used to run without errors and nothing has been upgraded in our environment with regards to Orchestrator, VMM, SCOM.  How would I find the 'one or more members' that is causing my issue?
    Thank you.

    Hi,
    the thing is that PowerhShell in the "Run .Net Activity" is version 2.0 (http://www.sc-orchestrator.eu/index.php/scoblog/102-running-powershell-30-with-the-run-net-script-activity)
    So, try your script embedded in PowerShell {}
    Regards,
    Stefan
    www.sc-orchestrator.eu ,
    Blog sc-orchestrator.eu

  • My iphone says your sim is not valid. How can I solve it?

    I bought a second hand iphone and put a 2degree sim bit it says your sim I not valid. How can I activate it?

    The phone is locked to a carrier different from that for which the sim you are trying to use.  You need to find out which carrier the phone is locked to and contact that carrier to see whether they will unlock it for you

Maybe you are looking for

  • Since an update about a month ago, iTunes no longer shows which songs on an album I've previously purchased. Anyone know why?

    Somce an update about a month ago, iTunes no longer shows which songs on a particular album I've previously purchased. Does anyone know why? For example, I purchase a number os songs fro Glee individually. When a new compilation album comes out, iTun

  • Messages app won't display any windows

    My Messages app (v 7.0.1) intermittently won't display any windows, not even the Preferences. I've tried reloading the app from Time Machine, but it won't let me replace an the current version. I'm running a Mac Pro Quad-Core Intel Xeon 3.2 GHz under

  • Error message popped up when assigning sales area

    Hi there: I encountered below error message when assigning sales area: Not all sales areas are maintained completely. Assignments to the divisions are missing. Incomplete records will not be saved. Help.

  • Resolution of 1024x768 and more for your netbook!

    I saw many posts on this forum asking if people could use 1024x768 as many games require it, and programs too. Searching the net, I found a program that let you use every resolution you want (many options avaliable) It's called AsTray. PS: The graphi

  • Attach an image in mail

    I have a MacBook Pro with Retina Display, and im kind of new to mac stuff as i was only using it for about 2 months. recently, i wanted to send an email to my friend with an image in it (either embedded or separately is fine), but whenever i attached