Line total commssion percentage auto calculation

Dear All,
I want to have an option by which when I create a marketing document and in the item row if I create a udf as commission percentage and commision amount, based on the value of line total if I put commission percentage as 20 % of the line total i.e 1000 then in comission amount 200 should come automatically.
How to do this...can any one tell me how this can be done through query or formated search.
Thanks in advance.
Regards,
Kawish

Kawish,
What are the names of the 2 user fields and what are their types?
Let us presume the Comm % field is called CommPer and Commission Total is called CommTotal
SELECT $\[$38.21.Number]*($\[$38.U_CommPer.Number]/100)
Link this to the Commission Total column
Please change the UDF names as per your definition

Similar Messages

  • Help with Auto calculations

    I have an existing pdf that i am trying to edit and make it more functional...i.e. fillable info with auto calculations of cost based on a given number (times a specific cost)
    Example on the form....
    Car Registrations (per car) _____ X $25 _________
    The first line above is # Cars Registered
    The last line is Total Cost
    The blank lines above i have added a text box to for auto calculations. I have formated these boxes as numbers (first line) and dollar value total (second line)
    I've added another text box for the $25 and placed it overtop the worded one. I've locked this box and the total box. I've calculated the product of the total box by linking it to the first line and the $25 to give the total cost...
    Problem is, it isnt working....the total box isn't seeing the $25 to give a proper calc. Whatever number i place in the first line, only zero shows in the total.
    I'm obviously missing something....been at this for two days....frustrated. I have many more inputs like this on the form, and eventually want all the totals to provide sub totals and a grand total. I understand how this all works to a degree, doesnt seem that difficult, but i have to be missing something.
    I even tried re-creating the document in word, input to adobe, make a new form, let the system recoginize areas as fillable, etc, etc, etc. When i get to the calculations portion, same result...there are not many tutorials out there on this...sadly
    Woking on a MAC...
    I have acrobat X Pro

    gr8snkbite wrote:
    I have an existing pdf that i am trying to edit and make it more functional...i.e. fillable info with auto calculations of cost based on a given number (times a specific cost)
    Example on the form....
    Car Registrations (per car) _____ X $25 _________
    The first line above is # Cars Registered
    The last line is Total Cost
    The blank lines above i have added a text box to for auto calculations. I have formated these boxes as numbers (first line) and dollar value total (second line)
    I've added another text box for the $25 and placed it overtop the worded one. I've locked this box and the total box. I've calculated the product of the total box by linking it to the first line and the $25 to give the total cost...
    Problem is, it isnt working....the total box isn't seeing the $25 to give a proper calc. Whatever number i place in the first line, only zero shows in the total.
    I'm obviously missing something....been at this for two days....frustrated. I have many more inputs like this on the form, and eventually want all the totals to provide sub totals and a grand total. I understand how this all works to a degree, doesnt seem that difficult, but i have to be missing something.
    I even tried re-creating the document in word, input to adobe, make a new form, let the system recoginize areas as fillable, etc, etc, etc. When i get to the calculations portion, same result...there are not many tutorials out there on this...sadly
    Woking on a MAC...
    I have acrobat X Pro
    I created your sample.
    name the field after Number  of cars, as car
    The calulation field named total

  • Auto calculation row, work around for mixed calc methods?

    I have a problem with an auto calculation row. One of the columns in the report is a percentage so I want the total row to calculate using a column formula, instead of the Auto Calculation Row calculation method setting.
    We're using the auto calculation row as a way to churn through many Entity members, displaying financial totals for 4 Account category groupings for each Entity member.
    For each Entity, those 4 rows display the data they're supposed to, and the auto calc row generates the 'Total', which is the calculation method it is set to do.  With 2 columns in play, it works like this:
    A1 through A4 display data, and are summarised in [A][Total Row]
    B1 through B4 display data, and are summarized in [B][Total Row]
    An updated requirement for a % column came up, and now we're trying to get that to display properly in column [C]. 
    [C] is created as a formula column
    The formula is set to [B]/[A], and formatted to display 0.01 precision
    We expect each row to use this formula, and for rows 1 through 4 it does.
    However, for [Total Row], it does not calculate [B]/[A]... instead it calculates [C][1]+[C][2]+[C][3]+[C][4]
    This makes sense in terms of what the 'auto calculation row' is designed to do, or as to how it is explained in FR documentation.
    The calculation method is set to 'Total', so it just adds up all of the data.
    But we're looking for a combination of settings or a work-around that permits the Auto Calculation row feature to be used with mixed calculations as I've described.
    We're on FR 11.1.2.362
    Thanks
    Troy

    gofer wrote:
    Hi osgood, thanks for getting back, thanks for that suggestion, I think that's a nice way of going about it. The form is working great with the calculation but I still can't get it to work on the reply email back to the site.
    This is what I've used in the PHP form;
    $freight = $_POST['PROD_freight_1'];
    $totalcost = ($chardonnay_2011_bottles * 20 + $chardonnay_2011_cases * 204) + ($pino_gris_2011_bottles * 21 + $pino_gris_2011_cases * 228) + ($sauvigon_blanc_2011_bottles * 20 + $sauvigon_blanc_2011_cases * 204) + ($riesling_2012_bottles * 20 + $riesling_2012_cases * 204) + ($pinot_noir_2009_bottles * 25 + $pinot_noir_2009_cases * 250) + ($PROD_freight_1);
    This the code for the reply back to the site;
      \n selection \n $PROD_freight_1
    Cheers
    The variable should be:
    + ($freight);
    and
      \n selection \n $freight
    Does that work?

  • Auto calculation on SmartList?

    I have a SmartList called "PRIORITY". In a Planning form, users assign Category 1, Category 2, Category 3 priority ranking to a Line Item (project).
    In Financial Reports v 11.1.1.2 (Planning db connection), I have a grid which pulls in Line Item, Dept, Project Name (text input), on rows. PRIORITY is a column header. Users want to see sub-total by Category (1,2,3) when the report is pulled. Is it possible to do this via an auto-calculation, or some other method?
    Thanks in advance for any suggestions.

    Could you help me in this please?
    How can i add a script to override the below auto calculation? knowing that COST is auto calculated as well and Group1 is a radio button group.
    var oFldSel = this.getField("Group1");
    var oFldSub = this.getField("COST");
    event.value =  oFldSub.value * 4; // assume no discount;
    if(oFldSel.value == "yes") {
        // compute discount
         event.value = oFldSub.value * 0.8 * 4;

  • Disable auto-calculation of tax amount by Autoinvoices to import AR Invoice

    Hi all,
    I am using ra_interface_lines_all to do AR Invoices conversion to Oracle R12. My legacy invoices data contains tax amount and some of the invoices do not have any tax. Autoinvoice auto-calculated tax information during import even for those invoices that have no tax.
    I checked my AR interface record and made sure none of the tax-related columns (e.g. tax_code, tax_amount, etc) are populated. I also checked the AR transaction source for conversion and make sure tax-calculation flag is not set.
    Basically I need to set the tax amounts manually instead of letting the system to derive it. Some suggested to set tax_exempt_flag to "E". I tried but Autoinvoice complained that I need to have tax reason and besides I have many invoices that have tax amounts.
    Any suggestions on disable the auto-calculation of tax?
    Thanks! Mike

    Hi Mike,
    U r using transaction types to generate your distributions, right?
    Try to insert distribution info for each of your invoices in the table ra_interface_distributions_all, specifying REC, REV and TAX (tax where applicable) lines.
    Hope this will solve your prob.
    Vik

  • [no replies since 2days] problem when doing line total in matrix?

    hi everyone...
    i have a user form in which ihave a matrix with few columns and for a particular column there is CFL...when i select a CFL my matrix is feeding with data in other columns as well.....
    in my form there is a edit box called Tax...in to which iam supposed to calculate the line total of a column in my matrix... as soon as when i enter CFL....
    here is the code which i have written in item event
    oMatrix2.FlushToDataSource()
    oDBDataSource6.SetValue("U_Tax", pVal.Row - 1, oCFLEvent.SelectedObjects.GetValue(0, 0))
    oDBDataSource6.SetValue("U_Tax_Amount", pVal.Row - 1, oCFLEvent.SelectedObjects.GetValue(2, 0))
    oMatrix2.LoadFromDataSource()
                                                oMatrix2.Columns.Item("V_7").Cells.Item(pVal.Row).Click(SAPbouiCOM.BoCellClickType.ct_Regular)
    ''for Tax
    taxTotal = oForm.Items.Item("33").Specific.value
    taxAmount = oMatrix2.Columns.Item("V_7").Cells.Item(pVal.Row).Specific.value
    tax = taxTotal + taxAmount
    oForm.Items.Item("33").Specific.value = tax
    '' end for Tax
    the above is code is working perfect...but,
    there are 2 problems....
    1. if i remove "oMatrix2.Columns.Item("V_7").Cells.Item(pVal.Row).Click(SAPbouiCOM.BoCellClickType.ct_Regular)" line from my code there is an error called
    " Application has a problem. Diagnostic file C:
    some path..dump was created...plz attach the file...etc etc..."
    2. in my matrix column if i re-enter any other CFL data...my Tax is adding again with same value again...i.e i'm not getting the correct line total...
    plz provide me the solution for both the questions...
    thanks in advance
    Edited by: Shenaz Sultana on Jan 7, 2010 12:29 PM

    Hi,
    For your 1st question, y should you remove that line?  If it works fine with that line, leave it as it is.  Its afterall placing the focus in that column right?
    w.r.t your 2nd question, the reason why the same value is being considered for tax calculation is that, the same old datasource is not cleared.  So you clear the datasource manually and this problem will be solved.
    Eg: Try to clear the data source as below.
    oForm.DataSources.DBDataSources.Item("@Table_Name").Clear();
    Hope this helps.
    Regards,
    Satish.

  • Max.cond.base value - wrong line totals in Sales Order and Invoice

    Dear Experts,
        In my pricing procedure, I have set the field Max.cond.base value as 1 in VK12 (in additional data) for one of my condition type ZR16 . If Max.cond.base value is set as 1 for ZR16 condition type, the value for ZR16 will be considered only for the 1st quantity for that item. All subsequent quantities for that item will not be considered. This works fine in Sales Order and when I enter the same material in 2 line items with qty 1 each, only the first line item considers ZR16 value in total net value and the second line item does not consider the value of ZR16 in the total, which is correct.
        Problem arises when I create individual deliveries and individual invoices for each line item. Although the ZR16 value is not considered in the total for the second line item in the sales order the value is being considered in the invoice which is wrong. I tried various scenarios and found this issue arises only with domestic customer and not with overseas customer. Issue is that the line total value value calculated correctly in sales order is reflecting wrongly in Invoice when I use Max.cond.base value. I am confused if this is a pricing procedure related issue or copy control related. Please share your valuable inputs.
    Regards,
    Madhavan

    I tried various scenarios and found this issue arises only with domestic customer and not with overseas customer
    Compare the access sequence combination and condition record in both the above cases and check which one is differing and creating issue.
    the line total value value calculated correctly in sales order is reflecting wrongly in Invoice
    Again here also, compare the Analysis tab which should be self explanatory to find out the root cause of the issue.
    G. Lakshmipathi

  • Auto calculation issue

    Hi,
    I have a problem with an auto calculation row. One of the columns in the report is a percentage so I don't want the calculation to sum but to calculate with the column formula. Is it possible to achive this?
    I'm using FR 9.3.1.
    Thanks

    Please try to change the formula option used at that cross cell to use the column formula.
    Try this
    Thanks

  • Total of percentages must equal 100

    Hello,
    SRM 7/Ext classic scenario
    When user changes one of the line items in a 10 item PO, he gets the error "Total of percentages must equal 100". System automatically creates a duplicate entry for cost distribution of 100% for one of the line items.
    Will applying note 1464163 resolve this issue? Please tell me if other notes in this note need to be implemented?
    Thanks

    Hi
    It should work.
    after implementing note in dev, are you getting this error .
    Can you replicate the issue in Development ?
    I dont know why it did not work for you.
    Let me see refer our SAP answers on my message .
    in the mean time , you raise oss message.
    Muthu

  • Confirmation - Total of percentages must equal 100

    Dear All,
    We are using SRM 7.0 EHP1 support package level 11. At the time of goods receipt , i have the error "Total of percentages must equal 100" , "Error in account assignment for item 1" .  But it is ok while creating SC, PO.
    I've searched the forums and oss notes and found some notes related this issue. But they are valid up to support package level 10, therefore not suitable for me..
    So anyone who has further advice ?  If not, i think it is better to open a message to SAP ?
    Thanks in advance...
    Best regards,

    Hi Yateesh,
    In our case, we used a custom Account assignment category in PO which was mapped to a "ERP Standard Account Assignment Category - V". (This mapping could be checked in SPRO, under Account Assignment in SRM susyem).
    However the same ERP category 'V' is also mapped to additional SRM custom Account Assignment Categories.
    When the system tries to create the confirmation for the PO, it tries to reverse map the ERP category 'V' and since there is no one-to-one mapping, the system does a dynamic
    mapping based on the account field values and determines the account
    assignment category 'CC' instead. Now, the 'CC' account category might not be authorized for the user (With which you are trying to post the confirmation) and therefore the system tries to add another accounting line which results in the invalid  error message 'Total of percentages...'.
    To rectify this behaviour, you can either:
    - implement the BADI BBP_ACCCAT_MAP_IMP and when you receive the
    ERP account category 'V', a customer specific business logic can be implemented to correctly identify 'Z_CC1' SRM account category. Similar mapping logic has to implemented for other categories as well.
    OR
    - you could add the account category 'CC' to the organization attribute 'KNT' for user 'hotline1' using transaction ppoma_bbp. The user can later on modify the account category manually in the account assignment tab.
    Let me know if you have any further questions.
    Best regards,
    Raghavendra.

  • Line Totalling and page totalling in smartforms?

    Hi,
    Any ideas about displaying line totals and page/grand totals in smartform. Answers would be appreciated.
    thanks

    Hi..,
    in TABLE you will have one tab called CALCULATIONS..
    in that select the type as TOTAL and give the field name for which u want to find out the total. and give the resultant field into which u want the total to be stored !! and select AFTER LOOP in the next list box...
    in the footer you just write this field name. u will get the cumulative total for each .. i mean for second page the total of ( the first page and second page) will get printed !!
    if u want the total for each page then u need to write a program line for the table.. to clear the total field for each page !!
    reward if it helps u,
    sai ramesh

  • Total delivery percentage available

    Hi,
    my requirement is to display all the deliveries for stock shipment report based on a plant and planned shippong date. For each of the deliveries displayed system has to calculate all the quantity of Total delivery percentage available. How I can write the functional spec for this requirement.
    thanks and regards
    venkat reddy

    Create a PO without tick GR-Bsd IV, suppose I have created PO with qty 20 and rate 1 INR and give freight 50 INR (Fixed Amount)..
    Then I have done partial GR for qty 5. My freight amount booked as 12.5 INR (for partial GR)
    Then I have gone for MIRO..
    Here select Goos/Service item + Planned delivery cost.
    Enter the PO, you can see two line items appear..
    One for goods and one for freight...
    Goods will come as qty 5 and amount 5 INR and Freight will come as qty 5 and amount 12.5 INR.
    Just change the freight qty and amount as 20 and 50 INR.
    Then post the MIRO, you can see your total freight will be booked to vendor..
    Now again do GR for qty 2, at that time your freight amount will booked as 5 INR.
    Then when you will go for MIRO, you can see only the GR item, Freight qty and amount will not come at the time MIRO..
    (Note : I have told the scenario as per my previous screen shot)

  • Line Total depend upon the weight of the Item

    Hi Experts,
    I need a line total based on the weight and unit price of the quantity not on the quantity.
    And If I do the updating at line total value than discount change into negative.
    Please do the needful action. How we can accomplished this issue.
    Regards
    Amit Tyagi

    Hi
    Atyagi
    So when you are entering data in the document
    example
    Quantity  100 Tonne
    Unit Price  250 Rs.
    Line total  25000 rs
    That means it is calculating on weight only.
    What you are getting in the line total ?
    Ashish Gupte

  • Last Year Inovice Total need to be calculated in a new column in OBIEE 11g

    Hi,
    I have a measure Net Invoiced Amount, and now my client is asking to get a new column in which last year's Net Invoiced Amount total needs to be calculated.
    We need to select the Dates dynamically, it is 2012, so the column should the invoiced amount total for 2011, if it is 2013 then amount should be 2012. Can we do this in RPD. If so, please tell me how.

    Hi,
    Method1:
    TIMESTAMPADD( SQL_TSI_DAY , -1, TIMESTAMPADD( SQL_TSI_DAY , EXTRACT( DAY_OF_YEAR FROM DATE Column) * -(1) + 1,
    DATE Column))
    Note: create alias table from your fact (call it as fact table name_YTD) Join th aliases to the dimension tables exactly like how your normal fact table is joined to the aliases, except for the time dimension.
    Method 2: by using Time series functions (Ago fxn)
    Ago(<<Measure>>, <<Level>>, <<Number of Periods>>)
    Example:Ago("Human Resources"."Fact - Absence"."# Days" , "Human Resources"."Time"."Year" , 1)
    Method 3: if your using obiee11g --> from analysis itself you cand solve it
    AGO(expr, [time_level], offset)
    Thanks
    Deva

  • Query for Auto Calculation based on input of 2 Fields

    Hi,
    I would like to write a sql query to allow for auto calculation based on the Inputs of 2 other fields before Adding the Order.
    For example. A query on Sales Order where I have Item 040634 (Code for a Flower) and Quantity 200.
    I have a UDF (Bunching) where the value is 10, 15 or 20.
    Based on the Bunching the result should be given in another UDF (Noofsleeves).
    (Quantity) 200 / (Bunching) 10 = 10 (Noofsleeves)
    The Order will be having multiple items where the Bunching can differ for each item.
    Is it also possible to remove the calculated noofSleeves from Inventory.
    I am using 2007A SP01 PL05

    Hi ,
    You may try this: Apply this fms on other udf and auto refresh on the udf mentioned in the query (in your case Bunching).
    SELECT $[RDR1.Quantity.number] / $[RDR1.U_UDF.number]
    You may check these too.
    cALCULATION OF udf ON UNIT PRICE
    FMS
    Thanks,
    joseph
    Edited by: Joseph Antony on Jul 8, 2010 12:31 PM

Maybe you are looking for

  • BPM in XI 2.0

    Hi All,               i just want to find out from which version of XI BPM included.. regards Krish..

  • Fillable fields

    I'm creating a grant application in forms central.  In the budget there are fields, where the applicant needs to fill the "label" meaning they need to customize it to their needs in addition to including an answer.  I need it so applicants can fill l

  • Outlook 2013 not syncing inbox

    I have Outlook 2013 on Windows 8.1. It is linked with an external IMAP account. Outlook will not sync and receive message into the Inbox unless I have selected a different folder or selected Calendar, Tasks or another item from the bottom toolbar. Ev

  • Can I draw a freehand line in a Fill & Sign document?

    Can I draw a freehand line in a Fill & Sign document? I have filled in the form but need to draw a freehand line to indicate the markings on our horse's face.

  • Class type 022 is not defined for object for BATMAS

    Hi Experts, while creaitng the LSMW for batch classification,I faced the error during IDOC processing as "Class type 022 is not defined for object".I am using Business Object      BUS1001002 Method               SAVEREPLICA Message Type         BATMA