In Query key figure are not populated

Hi Gurus,
i am using a RSCRMBAPI to get the out put of my query into a Ztable but when i run my program the Ztable is getting data but no key figures are getting populated.
plz help
thanks
neelu

Hi gurus,
i just have 1.6lac records with six keyfigures so i think its not the problem of limitation...
then can somebody help me how to get rid of this, no key figure values are getting populated
thanks and regards
Neel

Similar Messages

  • Virtual Key Figures its not populated when execute query

    Hi All
    I did a BADI for populate a Virtual Key Figure, I follow the instructions of link
    Link:[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60e34f63-f44c-2c10-488e-c89b04e0ca7c?quicklink=index&overridelayout=true]
    In addition I add the code section of data declarated on example of: CL_EXM_IM_RSR_OLAP_BADI section define: IF_EX_RSR_OLAP_BADI~DEFINE, only information that said:
      DATA: l_s_chanm   TYPE rrke_s_chanm,
            l_kyfnm     TYPE rsd_kyfnm.
      FIELD-SYMBOLS:
            <l_s_chanm> TYPE rrke_s_chanm.
    I test the query on RSRT and the virtual Key Figure is "0.00" this look like if the virtual key figure is not populated.
    I did other things like:
    Set a Break Point on COMPUTE section of my BADI, I saw that the value is assigned, but I don't know how I can continue reviewing the pass of this value to result of query.
    I generate again the query on RSRT.
    My code is:
    IF_EX_RSR_OLAP_BADI~DEFINE
    method IF_EX_RSR_OLAP_BADI~DEFINE.
      data: L_S_CHANM   type RRKE_S_CHANM,
            L_KYFNM     type RSD_KYFNM.
      field-symbols:
            <L_S_CHANM> type RRKE_S_CHANM.
      case I_S_RKB1D-INFOCUBE.
        when 'ZGTO_OB2'.
          append 'ZVIRTKF' to C_T_KYFNM.
      endcase.
    endmethod. 
    IF_EX_RSR_OLAP_BADI~COMPUTE
    method IF_EX_RSR_OLAP_BADI~COMPUTE.
      field-symbols <FS_ZVIRTKF> type any.
      P_KYF_ZVIRTKF = 16.
      assign component P_KYF_ZVIRTKF of structure C_S_DATA
      to <FS_ZVIRTKF>.
      <FS_ZVIRTKF> = 10 .
    endmethod.
    I will appreciate your recommendations, Thanks in advanced.
    Al

    Thank you very much Sanganya
    I saw this:
    I put a break point on P_KYF_ZVIRTKF = 16., then I saw that P_KYF_ZVIRTKF obtain value 16.
    Then on sentence: assign component P_KYF_ZVIRTKF of structure C_S_DATA
    to <FS_ZVIRTKF> , when the system pass this line, I review the sy-subrc and is equal 4, as I understood the ASSIGN sentence did not be complete, the value shoul be 0.
    Then when the system try to run the sentence: <FS_ZVIRTKF> = 10  the system send an Execution error that say:  GETWA_NOT_ASSIGNED...
      Error analysis
        You attempted to access an unassigned field symbol
        (data segment 32780).
        This error may occur if
        - You address a typed field symbol before it has been set with
          ASSIGN
        - You address a field symbol that pointed to the line of an
          internal table that was deleted
        - You address a field symbol that was previously reset using
          UNASSIGN or that pointed to a local field that no
          longer exists
        - You address a global function interface, although the
          respective function module is not active - that is, is
          not in the list of active calls. The list of active calls
          can be taken from this short dump.
    Exactly the line selected with error is:
    >>>>    <fs_zvirtkf> = '10.0'.
    I will appreciate your help
    Thank you
    Al

  • Some key figure are not update for movement type 101

    Dear All,
    I have done load for Inventory and now i am finding that for some material the with movement type 101 the key figures are not getting populated, for these materials the values in characteristics is getting populated fine.
    I have loaded the data according to stranded procedure in "How to Load...."
    I have checked the values of material in R3 and it is there.
    Example of the record::
    Material    Plant Movement type  Calender Day    quanity Base Unit
    10101      01       350                     01.02.2006     20             KG
    10101        01       101                     05.07.2006                      KG
    10101         01      101                      10.07.2006                      KG
    The Quantity is not appearing in second and third record.

    Hi,
    Please check whether you have set  ''Rule groups''  at transfermation level . There you can set the conditions like materials having movement type X can be updated to one Key Figure and material having movement type Y can be updated to another Key figure.
    Please check whether you have set this option at transfermation level.
    For example, may be in your case materials from different plants are updating to different key figure.
    Thanks,
    Edited by: kavitha nagandla on Feb 17, 2010 7:19 AM

  • Some key figures are not being correctly reversed in the Change Log

    Hi Experts,
    I'm working with the BI 7 (SP 15) and I have created an ODS with Overwrite option (Record Mode equal to ' ') and a Cube receiving data from this ODS.
    Whenever I have a change in one existing record in R/3 side (already previously loaded to BW), it comes perfectly to the ODS and overwrite the record in the Active Data. However, in the change log table, the before image record is not reversing all the key figures, there is one (Quant type) which is not working and it is being doubled in the cube. All the other key figures are Amount type and are working fine. PLease see below some examples of the Change Log behavior:
    First time the record comes - Change log content:
    Material   Valid Dt   Cost Value      Quantity Rec. Mode      Req. ID
    1234     May/01   $  100.00       10          'N'     1
    Second time when the record changes the Date:
    Material     Date      Cost Value      Quantity Rec. Mode      Req. 1234     May/29   $  100.00       10          '  '     2
    1234     May/01   $  -100.00       10          'X'     2
    Then the final result in the cube, after it is compressed, is:
    Material     Date      Cost Value      Quantity
    1234     May/29   $  100.00       20      
    Also, I have a Counter in the transformation to the Cube which is a constant equal to 1, it is also being aggregated erroneously. I could create a routine to check the record mode coming, but I'm not sure it is the best solution.
    Can anybody help me to figure this out, please?
    Thanks in advance.

    Hi Rajkumar,
    Actually it is a generic extractor (customized) and the ODS active data is getting the delta records correctly. After I extract from R/3 and activate the ODS, the active table has correct results, but the change log table has the problem described before. All the fields comes from one single extractor.
    The 0RECORDMODE that I mentioned is about the setting in the transformation to the ODS. You have the Technical rule group where you can set the 0RECORDMODE, in my case it is set to ' ' (blank) which means it will receive After-Images from the extractor (which I think is correct in my case). The most curious is that it is working for almost all key figures (all amount type), except for the Price Unit which is Quantity type.
    Any other ideas?
    Thanks.

  • Why key figures are not displaying

    Dear Experts,
    I am faced with a problem not encountered before. My report has multiple key figures all of which are not displayed when I run the query. However if I change the view to Tabular format (from query properties) the key figures become visible.
    Request your help in resolving the issue.

    Hi,
    are you hidden the some key figures? please check.
    select the KF -> go to properties -> check the display tab - hide/show/hide can be shown.
    if not close and open one more time in query designer.
    Thanks,
    Phani.

  • Key figures are not available when i performing LBWE action

    Hi gurus,
      I am trying to load 2lis_02_hdr, 2lis_02_itm and 2lis_02_scl to infocube 0pur_c04.
    But whatever the key figures available in the cube its not appear in the R/3 side data Source.. but those keyfigures are available in LIS structure.. for that how can i bring those key figures to dataSource for using LO Cockpit..
    I heard we need to perform some prerequistes in SBIW.. let me know in breif with step by step..
    Full points will assign to all those reply my query early..
    Please let me know if not understand my query..
    Thanks in Advance

    Hello Sudheer
    2LIS_02_HDR, ITM and SCL do not take data from S011 but directly from transactionnal tables like EBEP, EBKO, EBPO (names quoted from memory).
    So you have to look for the key figures from those tables and not the one in S011.
    Historically, the three datasource were built to replace 2LIS_02_S011 but the calculations to rebuild the keyfigures were delivered in BW in an old BCT that made the conversions. The logic and modeling have changed completely.
    If you really need to transfer S011 to BW without remodelling the data, you may want to use a generic extractor based on S011 (provided you have a delta key available).
    Otherwise, in SBIW, Options for datasource specific to the application, Logistics, purchasing, you have two customizing transactions. you have to define branch and process key to load data into BW. But that will not have any effect to LBWE.
    Hope this helps.
    Regards
    Fabrice

  • Hidden Key figures are not being displayed after unhiding

    We've applied SP 14 - SP 22 in our 3.1C BW system. Prior to the patches going in, users were able to unhide hidden key figures through the Change Query local view and view them in the report once the query was executed. After the patches were applied, even though the key figures
    were unhiden through the change query local view, they are not returned in the report after executing the
    query.
    As anyone run across this after appling this patch level ?

    Hi Rajkumar,
    Actually it is a generic extractor (customized) and the ODS active data is getting the delta records correctly. After I extract from R/3 and activate the ODS, the active table has correct results, but the change log table has the problem described before. All the fields comes from one single extractor.
    The 0RECORDMODE that I mentioned is about the setting in the transformation to the ODS. You have the Technical rule group where you can set the 0RECORDMODE, in my case it is set to ' ' (blank) which means it will receive After-Images from the extractor (which I think is correct in my case). The most curious is that it is working for almost all key figures (all amount type), except for the Price Unit which is Quantity type.
    Any other ideas?
    Thanks.

  • Key figures are not appearing in the reports ?

    Hi Guys,
    After integration process BW with Crystal 2008. I have tried to build a report on Bex query on top the Infocube. I could not fine key figures. Can you guys help me out ?

    Hi,
    can you run the BEx query in transaction RSRT without any issues and keyfigures are shown ?
    Ingo

  • 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

  • Calculate key figures are not important to reports

    Hello Experts,
    How can I delete a calculated key figure from the query when the change of report query is not accessible from the analyzer?
    Thank you

    If you can create a new workbook you can. Simpy right-click on "Key figures" in the BEx Analyzer, remove the specific C-KF from the displayed list of keyfigures and the save the Workbook. You should check if you have the authorization rights to save this new Workbook into existing roles, or just your Favourites.
    Altering the Query is a bit more work though.

  • Very Very Urgent Issue: Restricted Key Figure does not return any data

    Hi all,
    Please help me solving this urgent issue.
    created customer exit variable on characterstics version and also
    other customer exit variable on Value type.
    I coded that in variable exit. Problem is when I include these in
    restrickted keyfigure My query does not return me any data.
    But if I remove from restrickted key firgure and put it as normal
    charaterstics I see the variable is getting populated.
    Also in RSRT the SQl generated when these are included in RKF is not
    correct.
    I debugged and know they are getting populated. As when included in RKF
    I can also see the values of customer exit variables from information
    tab.
    I also know that there is data in cube for those restrictions.
    I posted one OSS Notes regarding this urgent issue. But got no reply from SAP.
    FYI: We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11
    Thanks
    SAP BW
    **Please do not post the same question twice: Very Urgent Issue: Restricted Key Figure does not return any data

    Hi,
    Everyone out there this is very urgent. If someone can help me solving this problem.
    We are using BEx 3.5 Browser SAP GUI 6.4 Patch 20 BW Patch 11.
    I posted one oss notes also regarding this issue. But got no reply from SAP.
    So, Please help me solving this issue.
    Thanks
    SAP BW

  • Values are not populating...

    After selecting the data from LOV the values are not populating in the respective fields.
    i've checked the 'LOV' no problem in that,but im think below coding have a problem.
    declare
         b boolean;
    begin
         :global.job:=null;
         clear_form(no_validate);     
         b:=show_lov('view');
         :GLOBAL.ADDNEW1:=0;
    --     go_block('JOB_CARD_MAIN');
         GO_ITEM('JOB_CARD_MAIN.BRANCH_CODE');
         set_block_property('job_card_main',default_where,'job_no='||chr(39)||:job_card_main.job_no||chr(39));
         execute_query(no_validate);------after this line get execute the values get disappear from the field
         insert into da.mylog(username,tname,mdate,oper) values(user(),'Job Creation',sysdate,'S');
         commit;
    end;
    Pls help..

    Which trigger do you have this code in? I'm guessing it is a Key-ListVal trigger.
    Have you tested the WHE RE clause in SQL*Plus to ensure it returns a record set? Most likely, the query returns no rows which could explain why the block is empty. Also, why are you clearing the entire Form instead of just the JOB_CARD_MAIN data block? Perhaps you should try:
    Go_Block('JOB_CARD_MAIN');
    Clear_Block(NO_VALIDATE);Also, the EXECUTE_QUERY built-in does not have a NO_VALIDATE parameter. It only supports the following parameters:
    ALL_RECORDS
    FOR_UPDATE
    or the combination of the two (ALL_RECORDS,FOR_UPDATE). It also allows you to set the Locking mechinism by passing the parameter NO_WAIT.
    Just a suggestion, try your query in SQL*Plus to make sure it produces a record set and Comment out all the extra stuff in your code and only keep the SHOW_LOV, CLEAR_BLOCK, SET_BLOCK_PROPERTY and EXECUTE_QUERY to see if a row is returned. If yes, then add the rest of your code back one line at a time.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Appended Key figure is not working in Delta reverse record

    Dear All,
    I have enhanced 2LIS_11_VASCL datasource, to pull value from condition record, called Surchage.
    I have set reversal indicator for this field in my datasource. I have written code in CMOD to get this value from KONV table of that sales order.
    Now when value  is changed, delta record for this, automatically creates reversal record, but it shows new value of surcharge as negative, because that code is pulling value which currently exists in table.
    For example for order 350089 , if surchage is $ 100 .  User changes it to $200
    Then I get following record.
    Reversal Record  - $200 (This should be instead -$100 , i.e. previous value)
    New Record - $100.
    Because of this my new value is not getting updated in table.
    I can't use overwrite mode in ODS because some other technical reason.
    How can I solve this problem?
    appended Key figure is not working in Delta reverse record

    LIS have before-after delta. So ODS should be in Overwrite mode. If that is not possible.. try sorting the records in Start Routine such way that the - 100 $ is above the - 200 $ records in Data Package.
    but this is risky as it will affect other key figures for which things maybe fine. I guess you need take Data Package records in an internal table. And then sort this internal table. then you can read the internal table in update routine of this key figure.
    OR (If you are on BI 7.0) you introduce an InfoSource in between DS and DSO with Overwrite mode for this Key Figure.

  • Possibele entries are not populating for the fields on the selection screen

    Hi,
    Possible entries are not populating for the fields on the selection screen for the query.But its working fine in Development and Quality Systems.
    Can any body help me out
    Regards,
    Amit.

    Hi,
    In the Selection screen,go to Settings->Value Restrictions tab->Read Mode Settings->Custom radio button and select the options Values in Master Data or Only Values in InfoProv or Only Posted values for navigation.
    After this setting,check whether you are getting the data or not.
    Rgds,
    Murali

  • I have a macbook pro with OSX Mavericks 10.9.5 and some keys that are not working. Specifically, the enter/return button, the "p", "0", ";", and all the function keys.  What's really weird is that happens randomly.  I've never spilled anything on it

    I have a macbook pro with OSX Mavericks 10.9.5 and some keys randomly are not working. Specifically, the enter/return button, the "p", "0", ";", and all the function keys.  What's really weird is that happens randomly.  I've never spilled anything on it, and I can't for the life of me figure out how to fix this.  Can anyone help?  of course this happened after my warranty expired.

    **update**
    I don't know if this will help someone but I am posting this for that purpose.  In the past when I first had this problem, I'd read a post somewhere (sorry, long ago, don't have the link) where an individual was having the same problem and they stated that when the MBP got heated, that's when the keys would stop working, and they went into the MBP and jiggle some stuff around (a specific wire, I'm not electronically inclined so I know NOT of what they spake!).  Well I didn't want to do that but it always stuck in the back of my mind.  I had given up, really, and was planning to take my MBP to the apple store.  But by chance one night I left my MBP on the floor where it's cool, and when I turned it on, the problem went - poof! It seems there was some validity to the post that spoke about heat, because my problems started when I would stream foreign dramas on my MBP for hours at night, and I would hear the fan going off all the time, and in the mornings, my "p", "enter", "0", ";", and all the function keys would stop working. 
    So, maybe try keeping the MBP in a cool place when it's off.  Since I've started doing this overnight every night (keeping it on the cool floor, out of reach of any big feet), I have not had a single problem with my keyboard.
    Hopefully this might help someone.

Maybe you are looking for

  • PLEASE HELP! My Ipod touch will not play anything from or in itunes.

    I don't know what to do. For the first 4 months everything was great then all of a sudden my Ipod would no longer play anything from or in itunes. I can not transfer anything from itunes to it either. It looks like it has been transferred on the ipod

  • Safari 2.0.1 crashes on launch

    Ever since I upgraded to tiger, safari has been crashing at launch. I was running 1.2, I have since run the 2.0.1 upgrade to no avail. I have trashed just about everything I can find having to do with Safari, incl. .plist and the user/library/safari

  • ITunes wont detect iPhone 4

    Hey, I just got my iPhone in the mail today and unpacked it and plugged it into my computer and it installed a drive as normal and then it showed it was connected to my computer, So I open up iTunes and my iPhone 4 seems to not of been detected by iT

  • Linksys access point is better than cisco's wireless router !?

    I bought a Linksys WAP54G yesterday to see whether my 871w is faulty. (Constant signal drops). While I was testing, I noticed that WAP54G has a better signal strength than the 871w. What's interesting is, Linksys WAP54G only has a max power output of

  • Substing !

    Hi guys. I am bit struct need bit help in the below query... I have one barcode something like this...'11064626|04549580|04549580-0004|NWR|000027.535' now i have to slipt the above information using the query using the pipe character... x=11064626 y=