Transformation Formula

Hi,
I have written a transformation formula given below.
E_ntovl=/BIC/E_SAL_VAL + ( /BIC/E_SERVICE / 100 ) * /BIC/E_SAL_VAL
Steps
I have defined the rule between them in transformation,after double clicking the E_ntovl field.
BIC/E_SAL_VAL and BIC/E_SERVICE
But my problems are i am not able to save it and when i check syntax it gives no error and i am not getting data in infocube also.
Please help

After defining the formula, just use the back button. It will allow you to save.

Similar Messages

  • BW Transformation formula using If in list statement

    Hi there, I am trying to create some logic with a transformation formula and nested if statements.  I believe that it does not like the IN context.  Can someone tell me how to properly state in list as part of below formula?
    IF( SUBSTRING( PRDHA, 9, 4 ) IN ( '5004', '5089', '5097', '5119', '5013', '5094', '5099', '5114', '5116', '5125', '5136', '5164', '5171', '5183' ), 'S','B')

    Thanks for the responses.
    I ended up utilizing an ABAP routine:
    IF lv_brand = '5004' OR
           lv_brand = '5089' OR
           lv_brand = '5097' OR
           lv_brand = '5119'
    RESULT = 'S'.
    ELSEIF ( lv_brand = '5001' OR
                 lv_brand = '5010' OR
                 lv_brand = '5052') OR
                  ( lv_matnr = '6919' OR
                 lv_matnr = '6939').
          RESULT = 'C'.
    If you want to check if field is empty use IS INITIAL as statement
        ELSEIF lv_brand IS INITIAL.
          RESULT = 'N'.
        ELSE.
          RESULT = 'O'.
        ENDIF.

  • Calculations Translation- Bex vs Transformation

    Hello gurus,
    here is the line that I d like to translate in BW, and I d like to know what's the better way of implementing it in BW, is it in Transformation (formula/calculation), or in Bex.
    result = (1/3) x (sum of prior 3 month balance from date entered) x (number of days in the past 3 months) / (sum of prior 3 month sales)
    Assumption is that user 's input is 1 Month period. (please write the line in abap if you re thinking that it is easier).
    Thanks,

    Hey Suhas,
    i have this code below, but  I am the call fm get days in Month return 0, what do you think is the problem?
    (i am operning a new thread although it is a continuation for this one here:
    Customer Variable to return number of days previous months )
    DATA: l_s_range TYPE rsr_s_rangesid.
    Data: noOfdays type i,
          date_prev1 type /OSP/DT_DATE, date_prev2 type /OSP/DT_DATE,
          date_prev3 type /OSP/DT_DATE,
          var_yr type n length 4,
          var_mth type n length 2, var_mnth_prev1 type n length 2,
          var_mnth_prev2 type n length 2, var_mnth_prev3 type n length 2,
          var_day type n length 2,
          ev_days_prev1 type /OSP/DT_DAY,
          ev_days_prev2 type /OSP/DT_DAY,
          ev_days_prev3 type /OSP/DT_DAY,
          I_NUM_DAY type n length 2,
          loc_var_range LIKE rrrangeexit.
    CASE i_vnam.
    WHEN 'Z_F_RETURN_3MONTH_DAYS'.
      IF i_step = 2.
        LOOP AT i_t_var_range INTO loc_var_range WHERE vnam = 'ZC_PERIOD_SR'.
        CLEAR: var_mth, var_yr, var_mnth_prev1, var_mnth_prev2, var_mnth_prev3.
        CLEAR: date_prev1, date_prev2, date_prev3, ev_days_prev1, ev_days_prev2, ev_days_prev3.
        var_mth = loc_var_range-low+5(2).
        var_yr = loc_var_range-low+0(4).
        var_mnth_prev1 = var_mth - 1.
        concatenate var_mnth_prev1 '01' var_yr into date_prev1.
       var_mnth_prev2 = var_mth - 2.
       concatenate var_mnth_prev2 '01' var_yr into date_prev2.
       var_mnth_prev3 = var_mth - 3.
       concatenate var_mnth_prev3 '01' var_yr into date_prev3.
        CALL Function '/OSP/GET_DAYS_IN_MONTH'
        exporting IV_DATE = date_prev1
        importing EV_DAYS = ev_days_prev1.
        I_NUM_DAY = ev_days_prev1.
       CALL Function '/OSP/GET_DAYS_IN_MONTH'
      exporting IV_DATE = date_prev2
       importing EV_DAYS = ev_days_prev2.
       CALL Function '/OSP/GET_DAYS_IN_MONTH'
      exporting IV_DATE = date_prev3
       importing EV_DAYS = ev_days_prev3.
        noOfdays = ev_days_prev1 + ev_days_prev3 + ev_days_prev3.
        l_s_range-low  = noOfdays.
        l_s_range-sign = 'I'.
        l_s_range-opt  = 'EQ'.
        append l_s_range to e_t_range.
        ENDLOOP.
      ENDIF.
    ENDCASE.

  • Formulas not copied during system copy

    Hi All ,
    Recently we copied non-prod quality system to create new Dev system. In the process we have realised that in transformations ,formulas havent been copied to the new system .This is resulting in Processs chains failing with error "Assertion failed"
    Has anybody faced such an issue before . Would appreciate all your help.
    Thanks

    Hi Krbas,
    Make sure you did all the post processing activities after system copy. I doubt you missed some post processing activities related to CO after your system copy.
    regards,
    VInodh.

  • How to map lattitude and longitude on a map in j2me.

    hi all,
    i am new to this forum and new to j2me.
    i am developing a pplication to track location of a gps mobile phone.
    i am using wtk2.5.1 jsr179 to develop it
    i know how to get location of a mobile phone but i cant find any method how to map those lat long coordinates on a map...
    please help me out if anyone knows about it..
    thanx

    Hi,
    I'm afraid that this is large problem... and it's not related to J2ME.
    The first question is whether you want to use some map provider and its API or you have a bitmap and you want to place a cursor of your position in the map.
    In the first case find an API to use (I don't know any). In the second case you have to understand what the GPS coordination mean, know projection type of the used map, then find and use the transformation formulas to transform GPS coordinates to map coordinates and vice versa.
    Regarding the GPS coordinates start here: http://en.wikipedia.org/wiki/World_Geodetic_System
    Regarding the projections - my map I tried to use in my application uses Lambert conic conformal projection http://en.wikipedia.org/wiki/Lambert_conformal_conic_projection
    but it may differ from map to map.
    Enjoy :-)
    Rada

  • Planning on Non Cumulative KF

    Hi,
    I have to do inventory planning. For that I have to use Inventory Cube (0IC_C3) info cube.
    Now I have to use 0valstckval KF for the Plannig Purpose.
    When I am creating an Agregation level on 0ic_c03 info cube it is throwing an error specifying that "Info provider contains non-cumulative KF".
    So it is not allowing to create me aggregation level.
    How can I use this cube for planning.
    Regards,
    Vishal.

    Hi Andrey,
    Thanks for the reply.
    I created one cumulative key figure and add that to inventory cube.
    Now, 0valstckval is dependent on 0ISSVS_VAL and 0RECVS_VAL.
    So in transformation formula I took the diiference Receipt and Issue.
    So, It will give me value in cumulative KF which I created right?
    But My question is, how can I get correct Opening Stock in that cumulative KF.
    As much I know Current Stock = Opening Stock + Receipt - Issue.
    Regards,
    Vishal.

  • Error in Recordset Bindings operation

    When I try to create a recordset in ASP/VBScript using Dreamweaver CS4, it
    is creating an empty commandtext string.
    As a result, when I try to view tables in that recordset, I get the
    following error:
    Datasources
    Error
    Invalid SQL statement; expected 'DELETE', 'INSERT', 'PROCEDURE', 'SELECT',
    or 'UPDATE'.
    This problem has appeared suddenly as everything was working alright
    sometime ago.
    I have uninstalled and reinstalled DW CS4 but the problem persists.
    Kindly advise on how to solve this problem.

    Hi,
    Check for the cube transformation formulas/routines defined for keyfigures.
    error in arithmetic operation
    Hope this helps..........
    Rgs,
    Ravikanth.

  • Duplication of source system

    Hello,
    We have one BW dev  (BWD) system connected with one R3 Dev system (DEV).
    We have just created one quality system for R3 (QUA) as a copy of DEV and connected to our BWD.
    So now I need to recreate all the connections for datasources etc.
    Since the system are the similar. Is there any way to copy all the transformation, DTP’s etc from one system to the other? Copy not move.
    We are in BW 7.0 and followed the note 886102 Scenario C2. We just miss the last bit.
    Any suggestion is welcome,
    Thanks

    Let me try to explain better.
    I have Ecc DEV ---> BW Dev & Ecc QUA --> BW Dev. QUA as copy of DEV.
    So let's use 2LIS_13_VDITM, now it's connected to ODS SD_01 through a transformation from DEV. I want to connect with a similar transformation (formulas and all) from QUA.
    I have to load data from both system into same infoproviders. I don't want to create all the transformations, update rules, formulas etc.
    So basicaly I want to replicate what I have connected to DEV.
    Usually we would have QUA -- > BW QUA, then it's easy to rename de connections.

  • Fixed Currency

    I have a cube that is built from PCFiles. The cube contains invoices. There is a KF called Sale Amount that has some invoices in USD, some in pounds, and some in euros. I also have the exchange rate for each invoice in the PCFile. What I want to do is create a separate KF for USD. So I built an InfoObject, gave it a fixed currency of USD, and planned to populate the object with a formula in the transformation rules that divided the Sale Amount by the exchange rate.
    The problem is the formula works but the result still has the original currency. I thought when I chose a fixed currency of USD it would always force the currency to USD. Why is it still keeping the prior currency? I considered using something like NODIM() in the transformation formula, but I didn't see anything like it. I even tried tricking it by using (TRUNC(SA) + FRAC(SA))/Exchange Rate but it still keeps that damn original currency.

    KFs (Key Figures) are IOs (InfoObjects).
    Has anyone created a Fixed Currency Key Figure and used it in formula with other Key Figures that were of a different currency? Did your Fixed Currency Key Figure keep its fixed currency or did it inherit the currency of the other Key Figure in the formula.

  • Reg:I have GL a/c no one i need to split into 3 GL a/c no

    I have GL a/c no one i need to split into 3 GL a/c no
    1) First one is opening stock some restriction (like Business Transaction Sum total of all the business transaction for last period selected - (sum total of all debits - sum total of credits), when transaction type = RMWE + (sum total of all debits - sum total of credits), when transaction type = RMRU, RMWA, RMWL)
    2) Second (First +1) one is purchases some restriction (Sum total of All debits - Sum total of All credits)
    3) Third (First +2) one is issue some restriction (Sum total of All debits - Sum total of All credits)
    How to do please guide me
    Regards,
    jk

    HI
    1) First one is opening stock some restriction (like Business Transaction Sum total of all the business transaction for last period selected - (sum total of all debits - sum total of credits), when transaction type = RMWE + (sum total of all debits - sum total of credits), when transaction type = RMRU, RMWA, RMWL)
    *Info Provider level -- through Transformations -- Formula If Then else for your 1st and normal* / OR Routine
    Query -- RKF
    2) Second (First +1) one is purchases some restriction (Sum total of All debits - Sum total of All credits)
    Info Provider Level -- Transformation -- ((Formula 1 ) + one is purchases some restriction (Sum total of All debits - Sum total of All credits)
    Query -- RKF
    3) Third (First +2) one is issue some restriction (Sum total of All debits - Sum total of All credits)
    Info Provider Level -- Transformation -- ((Formula 1 + 2)  one is purchases some restriction (Sum total of All debits - Sum total of All credits)
    QUERY--Rkf
    Hope it helps

  • Using same camera setting for OpenGL

    Hey guys,
    I want make my scene animations using After Effects and then export keyframe data and use them directly in OpenGL. My question is regarding After Effects camera and coordinate system. How should I set view and projection matrices to have the same functionality as in AE.
    I can make RightHand or LeftHand projection, look-at, rotation, ... but with the same settings it isnt the same as in AE. I tried to make same scene in AE and OGL with same object sizes and positions but camera behaved different way. Like Fov isn the same. I used standard DirectX matrix formulas, tried to transpose or not before loading to OpenGL...
    Is AE using some custom transformation formulas or units? Is it right or left handed?
    Thanks for your reply!
    Kexik

    My wife and I also share a camera. We use the D50. The D50 allows you to create seperate folders on the camera. We use this when shooting to seperate our picture into two folders. The only problem with doing it this way is that when importing them it ignores the folders. I have been manually importing the pictures rather than letting it pull them from the camera to get around this though.
    I'm not sure if the D70 azllows this, but it may be an idea.

  • Query on simple formula write in transformation

    Hi Bw Experts,
    i am loading 0calday(20100401) to Standard cube(BI 7.0) from flat file.In the cube output i need only month and year(i.e 04.2010).I have to write the simple formula in transformations on 0CALDAY Field.What is the formula i have to write?
    Could you please help me out?
    Thanks

    Hi,
    you can achive this using the Filed routine or formula
    DATE_MONTH(0calday) which will display month and year.
    or write filed routine
    RESULT = TRAN_STRUCTURE-0CALDAY+0(6). (BW 3.x)
    RESULT = SOURCE_FIELD-0CALDAY+0(6). (BI 7.0)
    Regards
    Kp
    Edited by: prashanthk on Jul 31, 2010 7:12 PM
    Edited by: prashanthk on Aug 1, 2010 6:21 AM

  • Formula in transformation

    Hey, BW Gurus:
    If I need to filter out value "A" in field "customer" in a 7.0 transformation before the cube, I think i need to use a formula. The source filed and target field, I will be using "customer". In the rule type, i need to choose formula. Can someone tell me what is the syntax in this formua to only filter out value "A", but still making the rest of the values of customer field going to the cube?
    Thanks for your help!!

    Thanks very much!! You have helped me resolved the issue!!
    As I tried out in DTP, there is one lag thing and wonder if you have experience before.
    In DTP>Extraction Mode>Filter-->There are ten fields avalable but not my needed field. Then, I click on change selection, I was able to find the field and put on the selection screen on the top  -->Continue -->Put value A as exclusion field and save, activate my DTP.
    The problem is as I went back and check the filter selection again, I couldn't find the customer filed, Nor the value "A" . All I saw is the equal sign on the bottom in the red square.
    However, it does filter out the value as I loaded the data to cube again.
    Have you ever seen the strange GUI before?? Or I have missed any configuration here?

  • Formula at Transformation level

    Hi All,
    One formula has written at transformation level for the infoobject Zvendor. 
    Formula is as follows RIGHT( 10, REPLACE_FIRST( '2VEN', '0000', GN_VENDOR ) ).  As per my understanding Vendor number will take 10 digits and it is replacing with '0000' if the value is '2VEN'
    Can you please confirm whether my understanding is correct or not?
    Thanks in advance.

    What i understood is:
    It will replace the first occurance of 2VEN with 0000 and take first 10 digits of the resulting string.
    Edited by: Pravender on May 26, 2010 1:26 PM

  • Problem in formula during transformation.

    PFA the snapshot of the problem..
    http://img122.imageshack.us/my.php?image=problemwy7.jpg
    I have two Infoobjects in the infocube, which are formulas based on the other infoobjects.When i'm trying to create a transformation for them,im facing these errors.
    The flag condition is that if revenue is greater than 50000 , it should be made 1.
    The profit percentage condition is that it is calculated by profit/revenue.
    Can u please help me on this ? its kinda urgent !
    Message was edited by:
            snehith allamraju

    On your screenshot, it rather looks that the problem comes Rules 4 and 5, which are (as their error description shows it) Profit and BudgetedProfit.
    As it has been told previously in this thread, as well as in the error message, you probably need to assign a source unit.
    Hope it helps,

Maybe you are looking for

  • Super 5.40 - a suite of J2EE tools. It is free.

    Announcement: Super 5.40 - a suite of J2EE tools. It is free. Standard license can be freely anonymously downloaded. Super 5.40 comes with: SuperEnvironment SuperLogging SuperPeekPoke SuperReport SuperScheduler SuperStress SuperWatchdog and SuperPatr

  • ARD 3 Will Not Install "The serial number is not valid"

    Hello, and thanks for reading. I am a new network admin in a silicon valley school district. I come from a Windows background and I am picking up the Mac pretty well. I was asked by the support team to install Apple Remote Desktop 3 on my MacBook Pro

  • I have a question about Flash

    I have made a website in Flash8 and all seems to work perfect until I checked it all out,,, I succeed to make a working dropdown menu, and I have a photoslider on the same side. And here it all started, the problems.... When I open the menu the photo

  • Help Implementing Threading in Extract creation using PL/SQL.

    Hi Folks, I am trying to extract data from a really large table (almost 15 GB in size) in to Flat file using a PL/SQL procedure. Since the size is too large I am thinking of implementing Threading to avoid any unexpected problems while extracting all

  • ME51N : Multiple account assignments

    Hi Header line item has 20 quantity. 1: I would like to distribute it to 20 assets , however i cannot cut paste from excel and have to do like 6 at a time. Any other way out?? 2: Maximum account assignment lines per line item is 99. Can we increase t