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.

Similar Messages

  • Change order of key figure is not working in Web report output (using WAD)

    Hi,
    We are using BI 7.0, release 701 and level 008. We are facing problem in WAD (web report output). When ever we do 'Select filter' for key figures and 'change the order' of key figures, it does not get reflected in new order. Though drag and drop of key figures is working.
    Though same change order is working fine in Bex Analyser.
    Kindly suggest some inputs.
    Thanks.

    Hi,
    On Which Service Pack are you on?WAD has this feature of re arranging the keyfigures in BI 7.0 for SPS 14...
    Regards,
    Bhagyarekha.

  • Key figure Attributes not working

    Hi ALL,
    We have an isuue with one of our Planning book. Key figures which are supposed to be open for editing are  showing as output only and key figures which are for output only are showing as open for editing.
    I went to design mode to tried to change in manually , if I chane one row attribute all rows are getting changed.
    I found a macro which assigns Key figure attributes which I tried to activate but still not working. We are using SAP SCM 4.1 Version.
    Can any advice on this?
    Sivarama

    Thanks Problem is now solved. Looks like some has made changes in the design and there are macros which are working and as you said they might be conflicting. I changed the design which was working weired yesterday when I tried to cande one row attribute and all rows are getting applied, this worked fine today. And I deactivated the macro which is working on some row attributes and activated again.
    I am not very clear what went right but working.
    Sivarama

  • Average in Results row in calculation properties for Bex Key figure does not work in Analysis for Office 1.4.7

    We are moving from Bex 3.5 to Bex 7.0 and using Analysis for Office 1.4.7
    We have queries that do an average for the results rows of dynamic calculations and the queries will not open in Analysis for Office 1.4.7 (example is below)
    We get an error message that can be found below
    We were able to open the queries in Analysis 1.4.5 with the correct results.
    We do not understand why it worked in an older version and not the new one.
    Is there something missing in the version 1.4.7 of Analysis for Office that is preventing our queries from running?
    We do not want to move back to 1.4.5 because the performance is better in 1.4.7.
    Help.....

    Hi Patty,
    I just checked 1.4.7 by making "Calculate Results As.." for Key figure and formula to Average(and also tried others as well). No error is coming in Analysis Office. reason might be because of other reason
    Any way, As Tammy Powlas suggested can you check with SP8

  • Restricted key figure doesn't work when restricted objected used in Structure

    Hi Experts,
    We've a requirement where user wants to restrict ABC key figure with z object. This z objects also used in structure as well, because of that this restricted key figure is not working.
    We understand it can't be used in two structure and user wants to keep this object in structure as well.
    Is there a workaround to make it work?
    Requirement brief overview:
    Say I've restricted key figure gross avail percentage and which is restricted by retail group A and B. This retail group is also used in Structure as well (in row). As said users want to keep retails group in structure and want to restrict only one key figure with two retail group A and B.
    But this combination is not working. Please can someone recommend any other way to achieve this requirement.
    Thanks,

    Hi Yasmine,
    Yes, I've reloaded the data again. Also, I've mapped correctly in cube. But still I can't see data.
    I've checked customer master data , there is no data for this field.
    In transformation I've mapped retail group with the new field as well.
    When I tried to activate master data , it's saying it's possible only via attribute change run.
    I've realised 0CUSTOMER_ZRETGRP (old field) also used in two aggregates.
    Do I need to add this in aggregates?
    How to activate master data so data will appear in cube?
    Is there any programme to activate via attribute change run?
    Thanks

  • 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.

  • 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

  • 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

  • My 6, 7, y, u, h, j, n, m key's are not working on my hp pavilion g6 PLEASE HELP!!!

    my 6, 7, y, u, h, j, n, m key's are not working. they used to work but even then i had to hold down one of those unresponsive keys to get the others to work now i can't use them at all!! i have to use the on screen keyboard which is really annoying but is the only way i can use my laptop
    i have a hp pavilion g6 4GB  i3 core 64 bit windows . i think the warrenty has expired as it is a refurbished laptop

    Hello momomhammed:
    I think you forgot to type in HP g6 1239as because I could not find HP g6 123sa. This is the only steps they give for your lat top. http://h10025.www1.hp.com/ewfrf/wc/document?docnam​e=c01458194&tmp_task=solveCategory&cc=uk&dlc=en&lc​... I would do the reset direction first then do the update drives for it. To see if that fixes the issue. If it doesn't then yout computer needs repairing. frrw.

  • 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

  • Home Keys on Laptop not working sometimes

    Good Day,
    Our HP Pavilion G4-2013TX's keyboard acts up sometimes. The Home keys (i.e., A S D F J K L and semi colon) keys sometimes do not work. I just have to wait a bit or furiously press them to get them to work again.
    The keys are working currently (this message is evidence.) I don't know how to invoke the error at the moment.
    Please help. I've been getting instances that I need to have a good working keyboard but the homekeys don't cooperate. A Sort of troll, actually.
    Thanks in advance,
    Matt

    Hi @MattFromPH 
    Welcome to the HP Support Forums!
    I understand that you are having trouble with your keyboard behaving intermittently. I am happy to help with this.
    As a start I include the support page for your notebook, which includes the current HP modified drivers for your notebook, and also I link the service manual, which can be helpful when it comes to cleaning if followed carefully.
    HP Pavilion g4-2013tx Notebook PC
    HP Pavilion g4 Notebook PC - Maintenance and Service Guide
    With those two resources, then check out this page and see if anything helps with your problem.
    Notebook Keyboard Troubleshooting (Windows 7)
    Cleaning your Notebook PC
    Let me know if you need any more help.
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • Numeric key pad is not working, card reader is not working

        Numeric key pad is not working, card reader is not working, 

    Did you (or someone else) physically open the laptop case?
    If you did, then some cables might have gone loose inside.
    If you didn't, for the card reader, check if appropriate device drivers are installed in windows device manager.
    for the numeric keypad, first tap once on the NUM LOCK key and check.
    If this doesn't solve the problem, boot to "Safe mode", and check.

  • How to fix my iPhone keys that will not work

    When I am using my iphone keyboard, the upper row Q thru P will not work. That is in verticle mode, when laid horizontally, the R will not work.
    On the number keys, the 4 will not work. The comma key also does not work. 
    I was told that a software restore could cure this.  Also, I tried to load the new version 7 software, hoping this might help.  But the Accept option would not work when accepting the TERMS from Apple.  It seems that only works in verticle so that whole row/area does not work.

    RESET DEVICE
    Hold down the Sleep/Wake button and the home button together until the apple logo appears (ignore the ON/OFF slider) then let both buttons go and wait for device to restart (no data will be lost).

  • Key figure does not exist

    Hi APO Gurus ,
    After  SCM and Liive Cashe migration    , when  we run transaction  /SAPAPO/SDP94 the following error message is appearing :
    "  Key figure does not exist " .
    Does somebody has any Ideas ? any logical flow for resolution ?
    Appreciate your help ,
    Yoni

    Hi Yoni,
    Check on the following
    1) Check whether the planning area is initialised after migration
    2)  Look for any pending transports during migration
    3) Check any key figures maintained with calculation type N
    4) Check sap note 1352371
    5) In case if the error still exists, run report
    /SAPAPO/PSTRUCONS
    Regards
    R. Senthil Mareeswaran.

  • Error in DTP load from PSA to IC - Error - Key figure 0 not allowed for

    HI ALL,
    ERROR - Key figure <> 0 not allowed for unit ' '; see long text
    Diagnosis
        The unit/currency ' Source unit MEIN ' with the value 'space' is
        assigned to the key figure ' Source Key Fig. DIFF ' with the value '
        4240.000- '.
    System Response
        A key figure that is not equal to 0 and for which no unit/currency is
        set has an inconsistent data state. The data record is not processed.
    Procedure
        Correct the source data.
    Procedure for System Administration
    Please guide
    BR
    Prasad

    Hi ,
    First af all identify all such records by creating an error DTP so that the same can be collected in Error stack .
    1. Go to the Update tab of the normal DTP and there you can find the create Error DTP option .Click on that .
    2. This will take you to the Error DTP screen .Use the option 'Valid record updated reporting possible (request green).You can increase the number of errorneous records to be avoided there only .
    3. Please make sure you have activated the option of ' Valid records update reporting possible request green ' both in the Normal and Error DTP .Also the number of errorneous records to be avoided to be mentioned in both the DTP's.
    4. Activate the DTP's (Both Normal and Error) .
    After this can you please run the Normal DTP again .You can check the Error stack to see the errorneous records .When you double click on any record in the error stack it will thrown an error message from where you can find the exact error with those records .You can rectify these records in the errror stack and then run the error DTP to update the same to the data target.
    Ideally these records should be rectified in the Source system .
    Thanks
    Kamal

Maybe you are looking for