Loyalty formula calculation

Hi gurus,
We want t implement Loyalty Management.
Question: It is possible to create the formula, rules calcultion based ion the invoice amount?
Question 2: It is possible to get the invoice amouint from R/3 and then send it t CRM system?
Thanks

Hi there,
The questions seem to be basic and I believe going through the below link will help:
[2011 - Year of SAP CRM Loyalty Management|2011 - Year of SAP CRM Loyalty Management]
[http://help.sap.com/saphelp_crm70/helpdata/en/8e/61f25b6ac24705849ebcf9478c559e/content.htm|http://help.sap.com/saphelp_crm70/helpdata/en/8e/61f25b6ac24705849ebcf9478c559e/content.htm]
Please reply if this helps.
Regards,
Vinamra.

Similar Messages

  • Formula Calculation in Recipe Management

    Hello All,
    I am using a Z_PACK Packaging spec (of category Packaging) as a component inside a Formula. The spec is used in BOM in 'Grams' even though it is packaging and not in EA. I dont want to include this packaging spec in any of the following formula calculations related to Ingredients (ii) Quantity (iii) Composition but only want to make it relevant for (iv)Costing View.
    How do I achieve this. What configuration I need to do to make it work.
    Thanks,
    Sachin

    Hello Sachin,
    Please check the possibilities of the IMG activity 'Specifiy Events'.
    Example: event EVT_EXPL06 (Explosion: List of Ingredients (Specifications)) for the Ingredients view and component Z_PACK for packaging. With the indicator Explosion and Calculations it is possible to control the usage.
    Please have a look into the documation of the IMG activity.
    Best regards,
    Roland

  • What is available in essbase to show analysts formula calculations for accounts/ratios?

    Hello all,
    What is available in Essbase to show analysts formula calculations for accounts/ratios?
    Access to the EAS console is not an option, so we are looking for something else.
    Also what is best practice for use of a “Data Dictionary” for Essbase reports/database.
    Thanks,

    See this discussion.
    https://forums.oracle.com/message/11201356#11201356

  • Formula calculation not work, when one inspection characteristic was set by formula

    In the inspection plan, set 0040 charac. "calc. charac." in control indicators, and the formula is "15.86/C0020*100".
    when the inspection lot was created, the 0040 charac. could be edit, and the formula title  "formula calculation not by SAP interpreter".
    However by the same basic data in QAS system,the formula title is "formula calculation by SAP interpreter", and the charac. couldnot be edit, only be claculated by the system.
    Anybody know why this error occurred?
    this  is the question in PRD system,
    this is the right situation in QAS system

    Hi Pei,
    Please can you check the characteristic value using C00020 (C0 then 2 zeros before 20. Total 3 zeros before 20) instead of C0020 and check if this is working.
    You can take some clues form the below thread -
    http://scn.sap.com/thread/1672782
    Thanks to all previous contributors of the attached thread!!
    Thanks,
    Arijit

  • FRM-40735: Formula-CALCULATION trigger

    Hi,
    I'm getting this error in my form....
    FRM-40735: Formula-CALCULATION trigger raised unhandled exception
    How can I find where the issue is? Can you please suggest some ideas?

    I have the following 6 formula columns in my form....
    1. PCT_COND_COMP_FORMULA -->
    (:CLT.DUCT_LENGTH_ACTUAL / :CLT.TRENCH_FT_EST) * 1002. ACTUAL_COST_FORMULA -->
    nvl(:clt.unit_cost,0) + nvl(:clt.te_cost,0) + nvl(:clt.paving_cost,0)3. CSOA_AVG_COST_TRENCH_FT_AVG -->
    :CR_ACCOUNTS.CONDUIT_COST_TO_DATE_SUM / :CR_ACCOUNTS.CONDUITS_COUNT4. COST_TO_ACCRUE_FORMULA -->
    ((:cr_accounts.completed * :cr_accounts.unit_price) * (nvl(:clt.residue,100)/100))5. CWE_FORMULA -->
    :cr_accounts.accrual + ((:cr_accounts.est_quantity - :cr_accounts.completed) * (:cr_accounts.unit_price))6. COST -->
    :CR_ACCOUNTS_DETAIL.UNIT_PRICE * :CR_ACCOUNTS_DETAIL.QUANTITY1. POST-TEXT-ITEM trigger on ESTIMATE_CUSTOM item has....
    BEGIN
    if get_block_property('cr_accounts', update_allowed) ='TRUE' then
         IF NVL(:CR_ACCOUNTS.EST_QUANT_CUSTOM,0) <> 0 THEN
              :CR_ACCOUNTS.UNIT_PRICE_CUSTOM := (:CR_ACCOUNTS.ESTIMATE_CUSTOM / :CR_ACCOUNTS.EST_QUANT_CUSTOM);
              update_nonprano;
         END IF;
    end if;
    END;2. Procedure update_nonprano ...........
    PROCEDURE update_nonprano IS
    BEGIN
    :CR_ACCOUNTS.COMPLETED := (:CR_ACCOUNTS.PCT_COMPLETE_CUSTOM/100) * :CR_ACCOUNTS.EST_QUANTITY;
    -- sets cost_to_date
    :cr_accounts.cost_to_date := ((:cr_accounts.estimate_custom) * (:cr_accounts.pct_complete/100)) ;
    -- sets cost_to_accrue
    :cr_accounts.cost_to_accrue := (:cr_accounts.cost_to_date) * (nvl(:CLT.residue, 100)/100);
    -- sets accrual
    :cr_accounts.accrual := (:cr_accounts.cost_to_accrue) + NVL(:cr_accounts.adjustment, 0);
    -- sets CWE per ACCOUNT
    :CR_ACCOUNTS.CWE := :CR_ACCOUNTS.CWE_FORMULA;
    -- sets CWE
    :CLT.CWE := :CR_ACCOUNTS.CWE_SUM;
    IF :CLT.PCT_COMP = 100 AND :CLT.CWE > :CLT.ESTIMATE THEN
         WARNING_ALERT('The Layout Complete is set to 100% but the CWE is larger than the Estimate.  This job is incomplete and over budget.  Please modify % Layout Complete.');
    END IF;
    END;Now in my form when I enter EST_QUANT_CUSTOM= 12, ESTIMATE_CUSTOM=13, PCT_COMPLETE_CUSTOM=15... I get error.
    But when I put EST_QUANT_CUSTOM= 12, ESTIMATE_CUSTOM=12, PCT_COMPLETE_CUSTOM=12... I don't get error.

  • Formula calculation doubt ?!

    Hello ,
    Can we make a database item in a form store a formula calculation ..?
    :ITEM_QTY * :ITEM_PRICEor we have 2 make it displayed...!
    Regards,
    Abdetu...

    An item in a Data Block does not have to be displayed/visible in your form in order to stored/hold a formula calculation value. Create a test form which displays the calculation field initially so you know it is working correctly. Then set the "Canvas" property to NULL for the item and add a button that displays the value of the non-displayed calculated item in a Message(). When you click the button, you will see the value displayed! ;-)
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Oct 29, 2010 8:48 AM

  • Formula calculation showing wrong data.

    Hi All,
    I have an issue in the formula calculation at BEx.
    I have a formula2 whose values is formula1/RKF * Constant.
    formula2=formula1/RKF * Constant.
    Formula1    formual2        RKF             constant
    73.00          25.63            80.00         28
    The error is the actual value of  formula2 to be a
         formula2 = 73.00/80.00 * 28
                      =25.33
    But in report result it is displaying as 25.63.
    for some different values it is showing very different result.
    can any one tell me how to round of this value to avoid confusion
    regards,
    santosh.

    Santosh,
    rounding off the result will not solve your problem. In your scenario, the actual result is 25.33 and rounding it off will be 25.
    Now BI is showing you a value of 25.63 and rounding it off will give you 26. This will still give you the wrong answer.
    You can go to the properties for the formula and in the display properties, you can change it 0 decimal places instead of 2. This is just a interim solution.
    Regards,
    Sameer

  • Summary field of subreport used in main report formula calculation

    I have a summary field in a subreport that I want to use in a calculation of a percentage using a second summary field in the main report as the denominator.  How do I do this in a new formula?

    Thank You Ian Waterman,...
    Couple of questions:
    Where you say "... in subreport
    @ eval
    whileprinting records;
    shared number x:=your summary
    Am I correct that this is to be a new formula created in the subreport design?
    What should I put for the "x" in the formula?
    Should the "your summary" be:  "DistinctCount of Activated_Survey.Seq.Incident"  which I have showing in the Report Footer of the subreport?
    Where in the subreport should I place the formula?  Can it be hidden?
    Where you say "In subreport header..."
    @reset
    whileprintingrecords;
    shared number x:=0
    Am I correct that this is to be a new formula created in the subreport design?
    What should I put for the "x" in the formula?
    Where in the subreport should I place the formula?  Can it also be hidden?
    Where you say "In the main report in section after subreport..."
    I have the subreport sitting up in the main Report Header as I only want the subreport summary field showing. 
    In the subreport, I have the Report Header and Details section hidden.
    @calc
    whileprintingrecords;
    (shared number x / main report summary) * 100
    Am I correct that this is to be a new formula in the main report?
    However, what I need to have happen is that the main report summary field of: "Count of Answered_Survey.Seq.Incident" needs to be divided by the subreport summary field of "DistinctCount of Activated_Survey.Seq.Incident" * 100.
    What do I modify in the formula?
    Thanks.

  • Formula calculation in a variable

    hi sir
    i have a table name is calculation and it is below as
    CAL_ID CARCHAR2(20),
    CAL_FORMULA(100);
    cal_id cal_formula
    CL0001 AMOUNT+(TAX*12%)
    CL0002 AMOUNT+(VAT*6%)
    AMOUNT, TAX, VAT and SAMOUNT are variable on my form
    i m using form 6i and oracle 8i
    i m want to calculate SAMOUNT FROM cal_formula MEAN
    SAMOUNT := AMOUNT+(TAX*12%) whihc is same as
    SAMOUNT := eval(cal_formula)
    some time its like formula correspond to CL0001 and some time is CL0002.
    they can contain also some other calculation as well

    Ok this is the program unit (function) used in the Forms module:
    FUNCTION calculate_formula ( PC$Formula IN Varchar2 )
    RETURN Number
    Is
      v_curs       exec_sql.curstype;
      --v_formula   Varchar2(200) := '1+23-5';
      v_result     number;
      v_number     number;
      LC$Formula   VARCHAR2(1000) := PC$FORMULA ;
      LC$Sub       VARCHAR2(300);
      LC$Field     VARCHAR2(61);
      LN$Pos       PLS_INTEGER ;
      LN$i         PLS_INTEGER ;
      LB$Ok        BOOLEAN := TRUE ;
      LN$Cnt       PLS_INTEGER := 0 ; 
    Begin
      -- any place-holders to substitute ? --
      WHILE LB$Ok LOOP
        LN$Pos := INSTR( LC$Formula, ':' ) ;
           IF LN$Pos = 0 THEN
             LB$Ok := FALSE ;
             EXIT ;
           END IF ;
           LN$i := LN$Pos ;
           LC$Sub := '' ;
           LOOP
           IF SUBSTR( LC$Formula, LN$i, 1 ) = ' ' THEN
                 LC$Formula := REPLACE( LC$Formula, LC$Sub,  Name_In(LC$Sub)) ;
                 LC$Sub := '' ;
                 EXIT ;
           END IF ;
           LC$Sub := LC$Sub || SUBSTR( LC$Formula, LN$i, 1 ) ;
           LN$I := LN$I + 1 ;
           LN$Cnt := LN$Cnt + 1 ;
           EXIT WHEN LN$I > LENGTH(LC$Formula) ;
           END LOOP ;
        IF LC$Sub IS NOT NULL THEN
          LC$Formula := REPLACE( LC$Formula, LC$Sub,  Name_In(LC$Sub)) ;
           END IF ;
      END LOOP; 
      -- evaluate the operation --
      v_curs := Exec_SQL.Open_cursor;
      Exec_sql.Parse(v_curs, 'Begin select ' || LC$Formula ||' into :1 from dual ;end;');
      Exec_sql.Bind_Variable(v_curs,'1',v_number);
      v_result := Exec_SQL.Execute(v_curs);
      Exec_SQL.Variable_value(v_curs,'1',v_number);
      Return v_number ;
    Exception when others then
        Declare code  number        := SQLcode;
                errm  Varchar2(200) := SQLerrm;
        Begin
          If code = -306500 then
             code := Exec_Sql.Last_Error_Code;
             errm := Exec_SQL.Last_Error_Mesg;
          End if;
          Message('Error '||code||': '||errm);
          Raise form_trigger_failure;
        End;
    End;T1 and T2 are 2 text items that type is number.
    Francois

  • Bex - Formula Calculation

    HI ,
    I'm trying to display a column that show the 'SHARE' calculation in BEX query.
    Share = (Value by Order / Total Value by Order Group )*100
    <order group>      <order>     <value>     <Share>
    ABC                         31000001     $200     28.57%
    XYZ                         31000005     $400     100%
    ABC                         31000007     $500     71.42%
    Note : In the above, order group ABC , Order 31000001, Share = (200/700)*100
    I'm unable to sum up by order group in query.
    Is there any way we can utilize CKF (aggregation) or anything other method that can be used to populate this column.
    Appreciate help from anyone who's familiar with this.
    Thank you.
    Regards,
    Maili
    Edited by: Maili06 on Mar 31, 2011 6:07 AM

    HI Divyesh,
    I'm using an alternative approach. This manage to solve my issue.
    I'm using SUMCT function in BEX.
    I create :
    Formula 1 --> formula sumct(Value)
    Formula 2 --> (Value / formula 1)*100
    Formula 2 provides the share percentage for me.
    I placed the Order group as the first column.
    You may find abt sumct here :
    http://help.sap.com/saphelp_nw04/helpdata/en/03/17f13a2f160f28e10000000a114084/content.htm
    http://www.scribd.com/doc/46732230/SAP-BI-Reporting
    hope it helps you to solve your prob.
    Regards,
    Maili
    Edited by: Maili06 on Apr 1, 2011 11:52 AM

  • Issue with the formula calculation in 2 structures

    Hello all,
    For a query we have defined 2 structures,One in Rows and another one in Columns.
    In Rows, we have created local formula's .  And in columns also we have few local formlas in which we are tyring to calculate Variable values, that is difference between two kf's.
    When the local formula is having more than one mathematical formula, it is not calculating Variable values, instead it is applying the same formula defined at Row level.
    Ex: consider we have a KF X , which is a local formula defined in Rows
    as below
    Y is having value of 200
    Z is 150
    X= nodim(Y/Z *100)( Y and Z are KF's)
    and in Columns Var==Actual value- Planned Value which should be equal to 90 (suppose actual is 200 and Planned is 110)
    As per the above formula it should display 90 , instead of it its displaying ( 200/150 *100)..This is happening only when a Formula is having more that one mathematical caluclation...
    As a work around I have defined ithe varaible values in Cell definition.
    I would like to know can we use more than one mathematical operation, when we have two structures.
    Thanks

    HI,
    This is due to Cell Contaradction . For CKF or new formula  change properties in advanced tab as use result of this formula like below :
    Try once .
    Thanks.

  • Trend formula calculation in Calc

    In the MS Excel I was using before it was easy to create a simple scattered chart, and then to select a trend option in order to draw a trendline of a given type along with its formula. I really need this functionality in calc, but do not know how-to.
    Thank you,
    Mike

    Hello Sachin,
    Please check the possibilities of the IMG activity 'Specifiy Events'.
    Example: event EVT_EXPL06 (Explosion: List of Ingredients (Specifications)) for the Ingredients view and component Z_PACK for packaging. With the indicator Explosion and Calculations it is possible to control the usage.
    Please have a look into the documation of the IMG activity.
    Best regards,
    Roland

  • Formula calculation

    Hello Experts,
          In my report I have balance sheet hierarchy.
    I have as follows:
    Balance Sheet       0
       Total assets      10
       Total Liability  -10
    But I need the report as follows:
                             Variance
    Balance sheet      24      100%
      Total Assets     16     66.6% 
      Total Liability   8     33.3%
    Since its a hierarchy how do I do this variance calculation.
    Thanks in advance.
    Sree

    Hi Sree,
    You can try this:
    Create your Balanse Sheet as a text node, put Total assets and total liabilities as subnodes of this node.
    In Bex add a calculated KF (formula), where use one of the percentage functions.
    Best regards,
    Eugene

  • Formula calculated database field tries to insert null

    Good Morning,
    I have 3 database text items Amount , rate and result.
    I input the two values (Amount and rate) and using the formula property "result" gets the calculated value.
    On display all the values are shown correctly but when trying to save my information the text field "result" is trying to insert null.
    Any suggestions?
    Forms 11g
    Thank you in Advance

    794018 wrote:
    Good Morning,
    I have 3 database text items Amount , rate and result.
    I input the two values (Amount and rate) and using the formula property "result" gets the calculated value.
    On display all the values are shown correctly but when trying to save my information the text field "result" is trying to insert null.Formula item should not be database item. And also inserting result column value into database is not good idea.
    Then after if you want to save it. create result database item and write trigger (When-Validate-Item) on both amount and rate filed and at trigger code, write
    :result:=:amount*:rate;To display the result on form, create non database item and change property to formula and write the formula.
    Hope this will help you
    If someone's response is helpful or correct, please mark it accordingly.

  • Formula calculation in BEx

    I have a report:
    Item//Per1//Per2//Per3
    income//25//36//52
    costs//21//23//09
    adj costs//4//13//8
    Now I need a row like the below:
    LTM adj costs//25//19//11 (25=4138 i.e. adding all the adj costs from present to last 2 periods) similarly 19 and 11 assuming the previous period adj costs values are 2 and 5.
    NOTE: Items are from the structures in the rows and periods are offsets for Posting periods in the column.
    How can I calculate or define the LTM adj costs.
    Please let me know if I am clear.
    Thanks,
    Nikki

    Hi Nikki,
    You will have to create one more structure for the 12 periods..so that you will have 2 structures in the query.
    Then you can define exception cells..
    Here is the link to the Cell Definitions Explanation..
    http://help.sap.com/saphelp_nw04/helpdata/en/f5/1bac3a22f0785ce10000000a11402f/frameset.htm
    I have copied the content and pasted it below..
    Defining Exception Cells
    Use
    When you define selection criteria and formulas for structural components and there are two structural components of a query, generic cell definitions are created at the intersection of the structural components that determine the values to be presented in the cell.
    Cell-specific definitions allow you to define explicit formulas, along with implicit cell definition, and selection conditions for cells and in this way, to override implicitly created cell values. This function allows you to design much more detailed queries.
    In addition, you can define cells that have no direct relationship to the structural components. These cells are not displayed and serve as containers for help selections or help formulas.
    Prerequisites
    The query contains two structures. You can define exception cells only for queries which have two structures. You can use the one structure for characteristic values and key figures for the other. You can then define cells if these prerequisites have been met.
    A cell is the intersection between two structural components. The term Cell for the function Defining Exception Cells should not be confused with the term Cell in MS Excel. The formulas or selection conditions that you define for a cell always take effect at the intersection between two structural components. If a drilldown characteristic has two different characteristic values, the cell definition always takes effect at the intersection between the characteristic value and the key figure.
    Procedure
    In the Query Designer toolbar, choose Define Cells... to reach the cell definition functions.
    New selection
    1. Select a cell in the Cell Definition dialog box and, from the context menu, choose New Selection.
    2. Define your selection by dragging a key figure and the characteristic values by which you want to restrict the key figure (using Drag&Drop) to the right-hand area of the New Selection dialog box. See also Defining Selections
    You can use characteristic value variables instead of fixed characteristic values.
    - If you want to change an existing variable, select this variable and, from the context menu, choose Edit. The SAP BW Variables Editor appears. For more information, see Changing Variables in the Variable Editor.
    - If you want to define a new variable, select the characteristic value and, from the context menu, choose New Variable. The SAP BW Variables Wizard appears. For more information, see Defining Variables with the Variable Wizard.
    3. Enter a description for the selection.
    You can use Text Variables in the description.
    4. Choose OK. The cell contains the description of the selection. The symbol shows you that a selection exists for this exception cell.
    New formula
    1. Highlight a cell in the Cell Definition dialog box and, using the secondary mouse button, choose New Formula from the context menu.
    2. Define your formula using the operands and functions available. See also Defining Formulas
    3. Enter a description of the formula.
    You can use Text Variables in the description.
    4. Choose OK. The cell contains the description of the formula. The symbol shows you that a formula exists for this exception cell.
    New cell reference
    You can use any cell that you define in a formula. If you want to reuse the value from the implicit, generic cell definition that is automatically created at the intersection of the two structural components of a query, select this cell in the Cell Definition dialog box and, using the secondary mouse button, choose New Cell Reference. A description taken from the two structural components now automatically appears in the cell. The symbol shows you that a cell reference exists for this exception cell. You can now reference to this cell. That is, you can reuse the implicit cell definition and do not have to create these values manually in a new selection.
    Functions of explicitly defined cells:
    Select a defined cell and choose the required function from the context menu (secondary mouse button).
    · Edit
    · Delete
    · Where-Used List
    Before you delete a cell, you can check for the formulas in which the defined cell is used in the where-used list.
    · Properties
    Choose Properties if you:
    - Want to change the description of the cell.
    - Want to change the highlighting of the cell.
    - Want to hide the cell. That is, if you do not want to see the values of the cell.
    Help Cells
    Choose Help Cells, if you require additional cells for help selections or help formulas. You can use the functions New Selection and New Formula in the context menu to define help cells that are not displayed in the query to serve only as objects for help selections and help formulas.
    For example, you can define an invoice in a help cell and use this in a “real” cell to calculate a duplicated invoice.
    a. Right-click on the empty cell next to Help Cells to get to a context menu. From here, choose New Selection.
    b. Use Drag & Drop to drag the Invoice key figure into the right-hand area of the New Selection dialog box.
    c. Enter a description.
    d. Choose OK. The cell contains the description of the selection. The symbol shows you that a selection exists for this exception cell.
    e. From the context menu for the required cell of the query, now choose New Formula.
    f. Drag the cell you have just defined, which you can find in the Operands window, under Cells, into the Formula window using Drag & Drop. Click on the button twice.
    g. Enter a description.
    h. Choose OK. The cell contains the description of the formula. The symbol shows you that a formula exists for this exception cell.
    In the help cells that are already defined in the context menu, you can:
    · Edit the cell definition
    · Delete the cell definition
    · Display the where-used list for the cell
    · Change the description of the cell under Properties.
    Result
    You have defined one or more exception cells for a query. In the status bar of the Query Designer, the symbol shows you that the query contains exception cells.

Maybe you are looking for

  • AAMEE 3.1 download progress stuck at 100%

    Trying to create a new 64 bit CS6 installer using AAMEE 3.1 but everytime it downloads updates to 100% then stops (appears as if it's waiting for something) but my only option is to cancel out of AAMEE..... Help!

  • Can somebody interpret this for me? Any suggestions on how to fix it?

    Problem description: Responsible:     Safari [194] Responsible:     Safari [194] Responsible:     Safari [194]   <thread QoS user initiated, boosted, received importance donation from Safari [194], IO policy important>   <thread QoS legacy, boosted,

  • Organization structure in extended classic scenario

    Hi All I  am trying to configure extended classic scenario on SAP SRM 7.0.  I have made the following settings for the same: 1. In SPRO->SRM Server-> Technical Basic Settings -> Define backend system from product category, I have specified target sys

  • Check Sysdate for a specified Time

    Hi, I have requirement to check sysdate for particular time in a script,If it has systime is equal to that time in the evening, I need to exit the script and write messages to log file. I am doing the following but it's not working properly, Can anyb

  • Unable to run Weblogic 8.1 on Linux RH4.0

    Hi, I have downloaded the relevant WLS8.1 and ALDSP2.5 for RH4.0 linux machine. After installation, when i try to start the WLS8.1 server from ldplatform domain i get the following error: The WebLogic Server did not start up properly. java.lang.NoCla