Absolute value in ckf, performance effect?

Hello BW Experts,
req: always show positive values for one kf1 of a cube, even if you have negative values for kf1.
options:
create a ckf1 with the absolute value of kf1
-- 1) are there any other options in the backend or frontend?
-- 2) what are the performance effects of the abosolute function option as compared to having a kf in the cube.?
Suggesions appreciated.
Thanks,
BWer

Hi,
You can multiply the values with -1 on the backend side or in the query itself there is an option of reversing the sign in the settings.
Cheers,
Kedar

Similar Messages

  • Cash Discount in absolute value, not in %

    Hello Friends,
    I have a scenario with respect to terms of payment, where the customer is entitled for a cash discount of Rs.100 per unit if the invoice is cleared within 7 days from the date of invoice, Rs.75 per unit within 14 days & Rs.50 per unit within 21 days with total credit period of 45 days.
    The problem I'm facing is that in the Terms of Payment configuration (transaction code OBB8), I'm able to store the cash discount in % and not in absolute value (field "percentage" under the "Payment Terms" heading in tcode OBB8).
    Request your suggestion at the earliest.
    Thnx & Rgds,
    Padmanabhan

    Hi,
    The CASH DISCOUNT will be given based on the Payment terms  with the CONDITION TYPE.
    In the Standard the CASH DISCOUNT condition types are SKTO & SKTV.
    If you are using the same condition types, change the CALCULATION TYPE  for these condition types in V/06  to B ( which is fixed amount)  and try.
    Hope it will solve your requirement.
    regards,
    santosh

  • Report similar to MC$4 that does not show absolute values

    Hi all,
    We need a report similar to Report similar to MC$4 which has the same drilldown capabilities but does not show absolute values, and instead shows the proper (actual) values.
    Or if its possible to change something in the MC$4 report to show the actual values and not the absolute.
    Thanks in advance!
    George

    HI
    Your input criteria should contain all plant numbers and the period to be analyzed.  Execute the report and then select:  Plant Analysis\Export\Transfer to XXL\Deselect all options and tick Plant, Storage Location and Month.  Follow the options to export to Excel.  Report will be based on Plant, Storage location and Month.
    Regards

  • Absolute Value in Transformation level

    Hi Team,
    I want to insert abolute value in Transformation routine level.Pl provide me the routine code to instert absolute value of Exchange Rate.
    I have tried to put below code but its not working.
    ABS(Exchange Rate).
    Regards
    Ramakanth.

    Hi,
    In your case, I'd strongly recommend you to use formula instead of routines (where you do have absolute function working).
    If you still want to go for Routine:
    data: abs_val type f.
    if SOURCE_FIELDS-EXRATE_ACC < 0.
    abs_val = SOURCE_FIELDS-EXRATE_ACC * -1.
    else.
    abs_val = SOURCE_FIELDS-EXRATE_ACC.
    endif.
    RESULT = SOURCE_FIELDS-NETVAL_INV * abs_val.
    --Akashdeep

  • Absolute value discount in Special Prices

    I have a customer that has special prices with a value discount, not a percentage one.
    I thought about adding a UDF to the Special Prices table and do a formatted search against it, but later I found that I cannot add an UDF to the Special Prices table...
    All the discount functionality in SBO is percentage based...how should I implement an absolute value discount?
    Any ideas will be much appreciated...

    Hi.
    This is sample code in C++ to add UDF.
    _bstr_t TableName = L"TableUID";
    _bstr_t FieldName;
    HRESULT hr;
    SAPbobsCOM::IUserFieldsMDPtr m_pUserFieldsMD = m_Cmp->GetBusinessObject( SAPbobsCOM::oUserFields );
    m_pUserFieldsMD->PutTableName(TableName);
    FieldName = L"FieldUID";   'without U_'
    m_pUserFieldsMD->PutType(SAPbobsCOM::db_Alpha);
    m_pUserFieldsMD->PutName( FieldName );
    m_pUserFieldsMD->PutDescription( L"desc");          
    m_pUserFieldsMD->PutSize(20);
    m_pUserFieldsMD->PutEditSize(20);
    if ( m_pUserFieldsMD == NULL )
    return -1;
    m_Cmp->StartTransaction();
    hr = m_pUserFieldsMD->Add();
    if (hr!=S_OK)
    'error'
    if ( m_Cmp->InTransaction )
    m_Cmp->EndTransaction( SAPbobsCOM::wf_Commit );
    Hope it helps.
    Kamil Wydra

  • Order by absolute value

    Hi,
    I am trying to write a SQL query which returns the % difference between 2 columns in a table, in sorted descending order, based on the absolute value.
    The statement goes like this:
    SELECT ((col1 - col2)/col2)*100
    FROM table1
    WHERE col2 > 0
    UNION
    SELECT 100
    FROM table1
    WHERE col2 = 0
    ORDER BY 1 DESC
    What I really want is the ORDER BY clause to be something like this:
    ORDER BY ABS(1) DESC
    However, that results in the following error:
    ORA-01785: ORDER BY item must be the number of a SELECT-list expression
    Does anyone have a nice, efficient way for fixing the SQL query?
    Thanks!

    Add another column to your select, and order by that:
    SELECT ABS(((col1 - col2)/col2)*100),
    ((col1 - col2)/col2)*100
    FROM table1
    WHERE col2 > 0
    UNION
    SELECT 100, 100
    FROM table1
    WHERE col2 = 0
    ORDER BY 1 DESC
    null

  • Is there any function module to give absolute value of a number?

    Hi,
    Is there any function module to give absolute value of a number?
    That has similar functionality to the Built in Function ABS.
    Please let me know.
    Thanks,
    cs

    hi,
    why are you looking for any function module.
    You can easily get it by mathematical function ABS .
    Syntax : <Turget Variable> = ABS <Source Variable>
    \[removed by moderator\]
    Anirban Bhattacharjee
    Edited by: Jan Stallkamp on Jun 27, 2008 4:19 PM

  • Result row: absolute values

    Hi,
    In the properties screen of a key figure, the user can chose a lot of possibilities for <i>Calculate result as</i>. But there is nothing like 'absolute value'.
    What I want to achieve is that the BEx report is calculated in the normal way, but the only difference is that the result row should only contain positive values (that means: negative values should be multiplied by -1 ).
    Remark: the result may NOT be a calculation of absolute values! Instead it has to be a normal calculation (sum) and at the end, the minus sign of the negative values should be removed.
    <u>example:</u>
    A:          2000
    <u>B:         -3500</u>
    R:     1500
    Thank you in advance!

    Bart,
    Try this.
    Create a Formula for your key figure.
    Create an If condition and implement the logic
    Use the boolean funtion LEAF() - which returns 1 for individual values and 0 for results.
    E.G
    (leaf(KF)=0)((KF<0)(-1)(KF)+ (KF>=0)* KF) + (leaf(KF)=1)* KF

  • The performance effect of dbconsole and emagent!!

    Hi, all.
    How much is the performance effect of dbconsole and emagent?
    Thanks and Regards.

    Check the installation guide for your patform for the memory requirements of the EM components.

  • Snap to Absolute Value doesn't work in Logic 9

    I recently upgraded to Logic 9 and things have been good except that in my Piano Roll the "Snap to Absolute Value" setting stopped working for setting the ends of my notes. I migrated my settings over from Logic 8 and all my keys commands and preferences work perfectly so I am wondering if there is a new setting in Logic 9 I have to set to get the snap to work. When I try and lengthen notes whether I have "Snap to Absolute Value" set or not the resolution for changing the note length does not change and I can't get my note ends exactly where I want them. If I zoom in on the note ends and have "snap" on I can get the not ends to an absolute value, but I thought the point of the "Snap to Absolute Value" setting was that you didn't have to change your zoom to snap to absolute value. Any suggestions would be helpful.

    Are you using a locale different from the default (En-US)? Can you check if the phone locale that was installed on the CUCM is compatible with the phone firmware? Can you try a higher phone firmware and higher locale which is compatible with that phone firmware?

  • SUMCT of ABSOLUTE values

    Hi all,
    I have been trying to implement the SUMCT function over the absolute values of forecaste sales quantity.I have the requirement to obtain the total of absolute value.
    Forecaste  AbsForecaste   SUMCT(Abs Forecaste)
    20                20                100  
    -10               10                 100
    40                 40                 100
    -30                30                  100
    above should be the output for SUMCT where as I am getting SUMCT column as 20..As it is not calculating on absolute but actual values.Is there anyway to implement this logic.
    Helping approaches will be rewarded

    Hello,
    create a CKF1 on forecast and not formula keyfigure to calculate absolute value. Then create one more CKF2 over CKF1 with exception aggregation as total and reference object bein the one with lowest granularity in the report. then create formula KF for SUMCT CKF2.
    Eg If your report is like below
    Char1 Char2 Char3 Char4 Forecast CKF1 CKF2 FormulaKF
    Create CKF1 with formula abs forecast
    Create CKF2 with CKF1 and exception aggregation as total and refernce char as Char4 (as it is the lowest granularity)
    Create FormulaKF with formula SUMCT CKF2.
    This will def work.
    Regds,
    Shashank

  • Absolute values (ABS)

    Post Author: ivanl
    CA Forum: Formula
    Hi,
    I have a field "type" that has positive and negative values.  How do I ensure that the absolute value is extracted from database?
    Thanks,
    Ivan

    Post Author: SKodidine
    CA Forum: Formula
    In CR XI you can use ABS function such as:
    abs({table.field});
    From CR XI help:
    Action
    Abs (x) returns the absolute value of x.
    Examples
    Abs(1.50)
    Returns 1.50.
    Abs(-1.50)
    Returns 1.50.
    Abs(10 - 7)
    Returns 3.

  • Does EXPDP has any performance effect on the database ?

    We are planning to run export dump expdp (11g r2) on standard edition database every hour. Full =y . It might run for about 15 minutes.
    Does it has any performance effect ?
    Will it slow down the database operations ?
    Will users who are using the database will see any performance issues?

    HI!
    1.For decrease influence on DB ->
    Try excluding index statistics exclude=index_statistics.
    2.Starting with release 10g (10.1.0), Oracle introduced the new Oracle Data Pump technology, which enables very high-speed movement of data and metadata from one database to another. This technology is the basis for Oracle's new data movement utilities, Data Pump Export and Data Pump Import.
    Under certain circumstances, a performance problem may be seen when unloading or loading data with the Data Pump clients. This document will provide details about setup and configuration settings that may have an impact on the performance of the Data Pump clients; will provide details how to check what Data Pump is doing at a specific moment; and will discuss some known defects that have an impact on the performance.
    Checklist for Slow Performance of Export Data Pump (expdp) and Import DataPump (impdp) [ID 453895.1]
    3.Data Pump Performance Tuning
    http://ksadba.wordpress.com/2008/09/16/data-pump-performance-tuning-of-export-import/
    4.speeding up expdp
    http://www.mentby.com/Group/oracle-list/speeding-up-expdp.html

  • How to control filter values in WAD without effecting the layout of output

    Hi,
      Anyone help me in how to control the filter values in WAD. We have a navigational block and when user selects the filter for values the key and name of the characteristics and displaying in the navigational block and because of this the format of the output is looking awkward ie., getting horizontal and vertical scroll bars.
    So the requirement is i have select the characteristics from the filter and i also need text and name of the characteristics to be dispalyed but this shouldn't effect the layout of the output.
    So anyone please tell me the possible solution.
    Your help will be appreciated.

    MeeHow wrote:
    next example: 0 1 2 3 4 9 6 7 8 <- bad value is 9, and result of my filter should be (4+6)/2 = 5
    Shouldn't e.g. the value 4 be outside too, because the average of 3 and 9 (=5.5) is more that 25% different to 4?
    Here is a quick draft comparing three versions (LabVIEW 8.2):
    Your formula node version
    the same algorithm in G
    Something along the lines you are proposing here.
    As you can see, the new idea is not quite satisfactory. It needs more thought. Still, these drafts should give you some ideas how to do it. Modify as needed.
    Also your data is similar to a square wave and has these large step functions where the value changes dramatically. These should probably be ignored. Maybe you should look at the first derivative and replace parts where a large positive slope is immediately followed by a negative slope of similar size, for example.
    You should also look at absolute steps instead of percentages. If you use percentages and the value is zero, everything is outside, because even 5000% of zero is still zero, right?
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    filter testMOD.vi ‏41 KB

  • Which execution is more performance effective in SQL Query

    Hi
    Any one help me regarding oracle performance, which is best for application performance
    1) I have multiple option and store in application and the option value or text store in transaction table, and we are querying information filter by option field value.
    2) I have a table stored all option with a primary key and select the option query by table , and the value stored in transaction table as foregin key, we qre querying information with joining of two table and filter by option table column
    in this scenario , i have two of more question
    1) which is faster process for information display
    2) which option will use minimum memory
    3) which option will effect application performance
    4) which option will effect database performance
    which is best for application performation ?
    Thanks

    Hi
    I am not a student,
    I am analysis the execution time of those query as below
    1) Select Name , Age, Country,Zone from Countrydata where zone='EAST'
    2) Select a.Name, a.Age, a.Country,b.zone from countrydata a, countryzone b where a.zonecode=b.zonecode and a.zonecode=1
    both query result are same
    query case 1- No index
    query case -2 with index
    now please suggest me which as per below my query
    1) which query execution time will be short
    2) in which query data storage increase or dcrease in the table and data size and what will impact on database performance
    3) which query is best for application developer
    4) which is best as per data modeling
    Regards

Maybe you are looking for

  • Read Master Data for Process order status change (REL to CRTD)

    I am unable to read master data and thus change the status of process order from REL to CRTD. (COR2) The reason it says, error in BOM reading, Transport Requirement (TR) already generated. Even after deleting the TR (LB02), the issue still exists. Is

  • 1KEK transfer of Receivables in 2011

    CO experts, We made the proper configuration in SAP to start using tcode 1KEK so that we can start using the balance sheet reports broken down by profit center. All this time we were transferring balance sheet accounts thru 3KEH, which all it did was

  • Can I transfer Video 8 to Hi8/Digital?

    I was transfering all my old 8 mm cassettes filmed on predigital Sony camcorders to Hi8/Digital, but my Sony TRV120 started playing the tapes back all jerky, or with lots of noise and lines. The small amount of research I did made me think it would b

  • ICal is doubling all entries past and future.

    Each entry is on the date in duplicate. It started suddenly. I was traveling - that may be a factor, but it has not happened in the past. How do I revert to only one entry per event on my calendar? Thanks!

  • Turn off Gestures

    Sorry if this has been covered. I searched but didn't see anything. I was wondering if there was a way to turn gestures off altogether? I'm constantly accidentally changing the size of fonts in Safari, rotating my canvas in Photoshop CS4, etc. I don'