Commission base on price range not level for split commission for 3 reps

Need to figure out how to design this complex commission sturcture.
Commission NOT only base on price level but need add price range as well since they allow salesrep to sell in the range but over the range the commission rate will reducded.  Exapmle,  Item: A0001  for XYZ company - price level is "01"  is $3.50 and will split with 3 salesmen with different percentage for commision rate 8%.  But, if they selling price drop to $3.11 to $3.49 then the commission rate will be 7%.  When price drop to $3.10 will be price level :02" the commission rate will be 6% etc....
How to setup Commission Groups with Percentage for different 2 or 3 reps then have to use Price Range for the calculation?

Commission will be paid when the payment received, 95% will be paid in full.  Nor sure I have to choose data from incoming payment's record but not sure can retrieve the commission group with proper split commssion rate or link with Invoice to retrieve the Commission Group to split with 3 salesreps or 2 salesreps? 
Which table(s) will be needed?  I will test UDF field if I can develop kind of solution for this first.
I added this query SELECT $[$38.21.Number] * ($[$38.U_CommPcnt.Number]/100) ', with 2 UDFs, one is CommPcnt and another is CommTtl with User Defined Value - Auto Refresh when Document Total changes on Invoice U_CommTtl column.  These two UDFs worked well. 
But, How to split total commission to 3 reps when invoices been paid?
Edited by: Lily Chien on Sep 21, 2009 6:18 AM

Similar Messages

  • Advanced search for a price range while checking for an empty values using php in DW

    I am creating an advanced search with DW php. I would like to submit a search where some entrys can be left black. So checking for empty values (which I have managed, thank you David Powel), however when searching between multiple price ranges does not seem to work.
    please see attached forms:
    The search page:
    <form action="Detailed-Search-Result.php" method="get" target="_self"><table width="90%" border="0" cellspacing="0" cellpadding="2">
      <tr>
        <td colspan="2"><label for="Detailed Search">Advanced Search</label></td>
        </tr><tr>
        <td><label for="Product">Product:</label>
          </td>
        <td><select name="Category" id="Category">
          <option value=></option>
            <option value="Keyboard">Keyboard</option>
            <option value="Piano">Piano</option>
          </select></td>
      </tr>
      <tr>
        <td><label for="Make">Make:</label>
        </td>
        <td><select name="Manufacturer">
          <option value=></option>
          <option value="Boss">Boss</option>
          <option value="Casio">Casio</option>
          <option value="Kawai">Kawai</option>
          <option value="Ketron">Ketron</option>
          <option value="Korg">Korg</option>
          <option value="Roland">Roland</option>
          <option value="Samson">Samson</option>
          <option value="Yamaha">Yamaha</option>
        </select></td>
      </tr>
      <tr>
        <td><label for="Color">Color:</label></td>
        <td><select name="Color">
          <option value=></option>
          <option value="Black">Black</option>
          <option value="Cherry">Cherry</option>
          <option value="Mahogany">Mahogany</option>
          <option value="Polished Eboney">Polished Eboney</option>
          <option value="Rosewood">Rosewood</option>
          <option value="White">White</option>
          <option value="Red">Red</option>
        </select></td>
      </tr>
      <tr>
        <td><label for="Price">Price:</label></td>
        <td><select name="Price">
          <option value=></option>
          <option value="0-500">£0-500</option>
          <option value="500-1000">£500-1000</option>
          <option value="1000-2000">£1000-2000</option>
          <option value="2000">£2000&gt;</option>
        </select></td>
      </tr>
      <tr>
        <td colspan="2">
          <input name="Search2" type="submit" id="Search2"></td>
        </tr>
        </table>
    </form>
    The results page
    $varCategory_rsgetsearch2 = "%";
    if (isset($_GET['Category'])) {
      $varCategory_rsgetsearch2 = $_GET['Category'];
    $varMake_rsgetsearch2 = "%";
    if (isset($_GET['Manufacturer'])) {
      $varMake_rsgetsearch2 = $_GET['Manufacturer'];
    $varColor_rsgetsearch2 = "%";
    if (isset($_GET['Color'])) {
      $varColor_rsgetsearch2 = $_GET['Color'];
    $varPrice_rsgetsearch2 = "%";
    if (isset($_GET['Price'])) {
      $varPrice_rsgetsearch2 = $_GET['Price'];
    mysql_select_db($database_dBconn, $dBconn);
    $query_rsgetsearch2 = 'SELECT * FROM products';
    $where = false;
    if (isset($_GET['Category']) && !empty($_GET['Category'])) {
    $query_rsgetsearch2 .= ' WHERE Category LIKE varCategory '. GetSQLValueString($_GET['Category'], 'text');
      $where = true;
    if (isset($_GET['Manufacturer']) && !empty($_GET['Manufacturer'])) {
      if ($where) {
       $query_rsgetsearch2 .= ' AND ';
      } else {
       $query_rsgetsearch2 .= ' WHERE ';
        $where = true;
    $query_rsgetsearch2 .= 'Manufacturer LIKE varManufacturer ' . GetSQLValueString($_GET['Manufacturer'], 'text');
    if (isset($_GET['Color']) && !empty($_GET['Color'])) {
        if ($where) {
       $query_rsgetsearch2 .= ' AND ';
      } else {
       $query_rsgetsearch2 .= ' WHERE ';
        $where = true;
      $query_rsgetsearch2 .= 'Color LIKE varColor ' . GetSQLValueString($_GET['Color'], 'text');
    if (isset($_GET['Price']) && !empty($_GET['Price'])) {
        if ($where) {
       $query_rsgetsearch2 .= ' AND ';
      } else {
       $query_rsgetsearch2 .= ' WHERE ';
        $where = true;
    switch( $_GET['Price'] ){
            case '0-500':
            $query_rsgetsearch2 .= '  RRP BETWEEN 0 AND 500 ORDER BY price ASC'. GetSQLValueString($_GET['Price'], 'text');
            break;
              case '500-1000':
            $query_rsgetsearch2 .= ' RRP BETWEEN 500 AND 1000 ORDER BY price ASC'. GetSQLValueString($_GET['Price'], 'text');
            break;
                        case '1000-2000':
            $query_rsgetsearch2 .= ' RRP BETWEEN 1000 AND 2000 ORDER BY price ASC'. GetSQLValueString($_GET['Price'], 'text');
            break;
              case '2000':
           $query_rsgetsearch2 .= ' RRP BETWEEN 2000 AND 10000 ORDER BY price ASC'. GetSQLValueString($_GET['Price'], 'text');
            break;
    $query_rsgetsearch2 = sprintf("SELECT * FROM products WHERE Category LIKE %s AND products.Manufacturer LIKE %s AND products.Color LIKE %s", GetSQLValueString("%" . $varCategory_rsgetsearch2 . "%", "text"),GetSQLValueString("%" . $varMake_rsgetsearch2 . "%", "text"),GetSQLValueString("%" . $varColor_rsgetsearch2 . "%", "text"));
    $query_limit_rsgetsearch2 = sprintf("%s LIMIT %d, %d", $query_rsgetsearch2, $startRow_rsgetsearch2, $maxRows_rsgetsearch2);
    $rsgetsearch2 = mysql_query($query_limit_rsgetsearch2, $dBconn) or die(mysql_error());
    $row_rsgetsearch2 = mysql_fetch_assoc($rsgetsearch2);
    I would be greatfull for any help

    I have managed to solve the problem.
    In the end I didn't check if the values were empty, as it worked fine without. However the switch of the price didn't work in combination with the rest of the query.
    I've solved the problem as follows:
    $varCategory_rsgetsearch2 = "%";
    if (isset($_GET['Category'])) {
      $varCategory_rsgetsearch2 = $_GET['Category'];
    $varMake_rsgetsearch2 = "%";
    if (isset($_GET['Manufacturer'])) {
      $varMake_rsgetsearch2 = $_GET['Manufacturer'];
    $varColor_rsgetsearch2 = "%";
    if (isset($_GET['Color'])) {
      $varColor_rsgetsearch2 = $_GET['Color'];
    $varPrice_rsgetsearch2 = "%";
    if (isset($_GET['Keysound_price'])) {
      $varPrice_rsgetsearch2 = $_GET['price'];
    mysql_select_db($database_dBconn, $dBconn);
    $query_rsgetsearch2 = sprintf("SELECT * FROM products WHERE Category LIKE %s AND products.Manufacturer LIKE %s AND products.Color LIKE %s", GetSQLValueString("%" . $varCategory_rsgetsearch2 . "%", "text"),GetSQLValueString("%" . $varMake_rsgetsearch2 . "%", "text"),GetSQLValueString("%" . $varColor_rsgetsearch2 . "%", "text") );
    switch( $_GET['price'] ){
            case '0-500':
            $query_rsgetsearch2 .= ' AND price BETWEEN 0 AND 500 ORDER BY price ASC';
            break;
              case '500-1000':
            $query_rsgetsearch2 .= ' AND price BETWEEN 500 AND 1000 ORDER BYprice ASC';
            break;
                        case '1000-2000':
            $query_rsgetsearch2 .= ' AND price BETWEEN 1000 AND 2000 ORDER BY price ASC';
            break;
              case '2000':
            $query_rsgetsearch2 .= ' AND price BETWEEN 2000 AND 10000 ORDER BY price ASC';
            break;
    $query_limit_rsgetsearch2 = sprintf("%s LIMIT %d, %d", $query_rsgetsearch2, $startRow_rsgetsearch2, $maxRows_rsgetsearch2);
    $rsgetsearch2 = mysql_query($query_limit_rsgetsearch2, $dBconn) or die(mysql_error());
    $row_rsgetsearch2 = mysql_fetch_assoc($rsgetsearch2);
    I'm sure that you can keep the checking for values in, however for me the was no need for it anymore.
    Thanks for all your help

  • Actual activity price does not exist for cost center / activity type

    Hi,
    We are trying to upload the time sheet related data(number of hours an employee workred on a project) ect from Non SAP to SAP.
    We have used a customized program and have loaded the data from se38.
    All this HR data will be saved in CAT2
    Later we transfer the time related data into SAP FI/CO using CAT7.
    +When  tested  with a couple of employees time sheets, they got uploaded in SE38 proerly and when transfered it through CAT7 it was properly taking the hour*rate is cost and was reflecting in the respective cost element.
    For a few time sheets in SE38 we were getting an error saying that the cost center(100501)/ activity type(EAT001) does not exist for 2010.
    Hence we have taken, FY 2010, the cost centes and activity types in KP26 and have given the planned Activity as 1. No planned cost in KP06.
    We have run the price calculation forr the FY 2010.
    Then we were able to uplaod the time sheets, but when we tried to transfer the data through CAT7, it throws an error saying no activity price exist for cost center 100501/ activity type EAT001. If I ignore the warning an proceed, no amount is being calculated.
    When uploaded employee time sheets before, all the cost were getting claculated and were entering into  the respective cost elements, but now no amounts are being calculated and it is taking Zero.
    When checked the previous years data i.e, 2009 all amounts are fine, in KSII I can see the activity quantity filled with some numbers in 2009, where from are they comming? I have checked KBk6 nothing was mentioned.
    PLease assit
    Regards,
    shilpa

    Hi
    I never used CAT* though, but the error means that you need to maintain a activity price in KBK6 (Actual price)
    Regards
    Ajay M

  • Special Prices are not expired for BP

    Hi,
    We have set the special prices against a BP code for a date range, even after the expiry of the date range. The special price is picking for the mentioned BP. it is not getting expired as per criteria selected.
    Pl suggest for the issue.

    Hello Vijay57,
    I would like to ask you on which window you wrote the discount.
    If you add a date range the correct field where to add the discount percentage is Discount under:
    Management - Price List - Special prices - Special Prices for Business Partners - Period Discounts.
    There is another Discount field in the Special Prices for Business Partners window, but if you write the discount there it will disregard the date range.
    Can you please tell me if this information helps you?
    Regards,
    Marcella Rivi
    SAP Business One Forums Team

  • Bought the Galaxy S4 at Full Price, But Not Eligible for the $50.00 Rebate Card. Sound Fair?

    Recently bought the Galaxy S4 for the full retail price and afterward come to find out the rebate offer of $50.00 is only good for subsidized phone purchases. How is this fair when I paid full freight? The offer should have been for either type purchase.
    What gives, Verizon? Only care about getting those 2 year contracts extended???

    I just looked, the rebate is clearly posted for 2 yr contracts only.
    If you switch the screen to Month to Month the rebate is gone.
    But even on the two year contract screen this is shown.
    Full Retail Price $649.99
    2-Year Contract  $249.99
    Online Discount -$50.00
    PRICE with 2-Year contract  $199.99
    You are not going to be able to keep your unlimited data (if that is why you purchased at full price) if you receive any discount.

  • No. range not found for  maintenance plan

    Hi Team,
    I have maintained no. range for maintenance plan in SPRO. However I am getting this error while creating maintenace plan.
    Thanks

    Hi,
    Check the number range customizing again via IP20. Use the groups option to ensure your number range interval is assigned to the maintenance plan category. Also check that maintenance item number range is maintained correctly via IP21.
    -Paul
    Moving to [Enterprise Asset Management (EAM)|Enterprise Asset Management (SAP EAM); forum

  • Price Variance not blocked for payment

    Hi
    it is about how to create a payment block "R" once the LIV has posted with the price variance beyound the limits set in the OMR6 under AN/AP/PP etc
    this is in ECC.6.0
    would be great that if any one of you can assit me to resove this
    thanks
    Suraj fernando

    Set value limits for tolerance key 'PP' for reqd. company code.

  • BAPI CASESERVICE CREATEMULT - Alternative price not allowed for the service

    Hi,
    I am using .Net Connector to connect to BAPI. I am developing a .Net order processing application and intend to send the order information to SAP using BAPI_CASESERVICE_CREATEMULT.
    However, I keep getting the error message "An alternative price is not allowed for the service..". The service id is already setup at SAP and I am not sending any price information. I am only sending quantity. The DIFF_PRICE is set to 0.
    Any advice? I appreciate your help.

    Hi,
    I am using .Net Connector to connect to BAPI. I am developing a .Net order processing application and intend to send the order information to SAP using BAPI_CASESERVICE_CREATEMULT.
    However, I keep getting the error message "An alternative price is not allowed for the service..". The service id is already setup at SAP and I am not sending any price information. I am only sending quantity. The DIFF_PRICE is set to 0.
    Any advice? I appreciate your help.

  • Prices are not coming in invoice

    Dear Friends,
                     When i prepare a sales order than prices are coming, but during invoice preparation prices are not coming for particulary 2 materials only.Please help.
    Regard.s,
    Abhijeet

    Dear Friends,
                    Thanks for your reply. In copy control from delievery to billing,settings are as follows,
             Pricing type:- G
             Coping requirement:-004
             Data VBRK/VBRP:-007
      Users enter prices manually when they prepare sales order.Condition category is empty in condition type.
      Looking forward for your reply.
    Regard,s
    Abhijeet

  • Activity prices are not matching compare to previous year

    Dear Sap Guru's,
    Activity prices are not matching for the year 09 compare to 08.But standard cost estimation is correct.how it is possible.can you guide me how system calculates activity prices.
    Ex: My client having business in egypt.Last year they started thier business at this time activity prices are maintained for INDO OH :13.81, Labur 0.44 per Min plan price 1.It is common for whole year -08.
          Now I copied the same activity prices for this year through kp97 by selecting object currency for both plan and cost.under planning currency tab.
    Activity prices are showing for IND oh is  17.14 ; instead of 13.81 and labour it is showing 0.55 instead of 0.44.
    Pls guide me.
    Regards
    KUMAR.

    Hi,
    guess you are using a controlling area currency (A) thats different from company code currency (B).
    First check if the prerequisites within KP97 / button "planning currencies" are met when ticking "object currency" and using the F1-help especially the point
    "It only makes sense to activate this indicator if you have activated all
    currencies
    1.  when copying: in the source and target versions".
    Whatever the reason is, your KP97 copy did the following thing:
    For each CO area and plan version there are settings for each fiscal year to be made (IMG: Controlling / General Controlling / Organization / maintain versions, mark the relevant version choose "Controlling area settings", mark it again and choose "settings for ecah fiscal year".
    Compare your 2 fiscal years, which exchange rate type (can be different, normally its "P") and value date (its often the first day of the new FY) is used?
    If you have a difference in minimum one of the mentioned settings in CO version you might have different act. prices in comp. code currency.
    Your KP97 process copied the values in controlling area currency (A) and converted this numbers to comp. code currency (B) based on your CO-version settings.
    Best regards, Christian

  • KEPM: Error msg if plan selling price is not maintained in VK11

    Hi
    I am using KEPM (COPA Planning tool)... I am entering my sales qty plan in KEPM and then valuating my plan sales qty to get Sales Revenue and Std cost for the Qty entered
    If the std cost is not released, system gives an error based on my settings in the costing key.. Similarly, i want an error, if the selling price is not maintained for the material in VK11
    In the IMG step "Define Valuation Strategy", I have assigned a SD Pricing Procedure for Valuation Strategy 002, Application Type "V" and Qty Field as ABSMG.... This Pricing procedure has a condition type named ZPLN
    I entered sales plan for 10 materials but Plan Price is maintained in VK11 for ZPLN only for 9 materials... But system did not give any error and posted the sales revenue as zero for one material
    I believe, currently I have not done any setting to issue any such error msg.. Can this be done??
    Rgd, Ajay

    Hi Kamala,
    I would kindly ask you to check transaction OKEQN with your relevant planning version you are using in KEPM and where the above error occurs.
    The system checks within derivation (where the error comes from) if the characteristic value is valid for a specific date set within the version (thus trans. OKEQN). If you have PRCTR '1000 102C511' not valid for the date set in the version within OKEQN, then this error message is justified, as the system realises that the PRCTR was not valid by that time.
    Could you please check this? If the profit center is not valid for this date please adjust the date to a more recent one.
    Best Regards,
    Abhisek Patnaik

  • Number group not maintained for CO code 1424 section IEQ1424 and business p

    while create remittance challan....  this error accured Number group not maintained for CO code 1424 section IEQ1424 and business place 194C...     using T- code: J1INCHLN

    Hi,
    Number Group and Number range not maintained for the  Business Place /Off. w/Tax Key in T.code J1INUM or In this Path  : SPRO Financial Accounting (New)-Withholding Tax-Withholding Tax-Posting-Posting-Remittance Challans-Remittance Challans -Excute and Maintain the Number Group and also for the Number Group ,Manain the Number Range in J1INO T.code 
    Once you do the above customization, the Mentioned Error will be cleared.
    Thanks
    Goutam

  • Text data is not displaying at Report level for an Infoobject Item name

    Hi All,
    Texts data is maintained at Info object level but text information is not displaying at Report level for an object.  I have set the property at query level as "Text", but at report level it is displaying key values of the object, not displaying texts information.  This problem occured in QA(Quality) system but not replicated in Production system.  I have checked all properties at backend and query level and compared the same between QA and Production system didn't find any difference.
    Please suggest what might be the cause: at report level it is displaying key values instead of the textual information even text data is mainintained at backend.  In production it is displaying textal data for the IO.
    Thanks in advance.

    Hi All,
    Thanks for your valuable information.  I have changed the setting under Advanced tab as "Master data" for Access type for results values, but didn't solved the problem still it showing key information for the IO.
    In Production system the report displaying texts information for the IO, but in QA its displaying key information. The problem exits only in QA, its working fine in DEv and Production.
    As per my understanding might be the issue with Patches will be checking with Basis team on the same.
    Please suggest if you have any alternatives to fix the issue.

  • Price can not be determined for pr in cj20n

    hi
    i am making pr in cj20n before saving message is coming
    "<b>Price cannot be determined for material 4000008727
    Message no. CO283
    Diagnosis
    An error occured when determining the price of a requisition.
    Possible causes:
    •     The system could not determine a controlling area for the plant
    •     Error in the costing variant allocated to the order type
    •     The system cannot determine a valuation variant via the costing variant
    •     Error in determining the price"
    <b>what is the meaning of this, after ignoring this message when i save the pr and do migo, price in material master is not updating.
    plz expalain this scnario.</b>

    Hi Ranjini,
    Please look into the following
    1) Customer master data is fully maintained
    2) Customer number ranges are fully defined in customisation
    3) Customer address details are maintained
    4) Is there any special characters used while defining customer data or customer
    number like $, #,[ etc.,?
    5) Customer int models are active in SCM side prior to IDOC processing (including
    customer, demand, stocks etc)
    Please confirm your findings
    Regards
    R. Senthil Mareeswaran.

  • In Billing doc Base price should not change where as in SO system allow

    Hi
    I have one requirenment the Base price (ZPR0) should pick automatically from condition records and system should allow to change ZPR0 in Sales Order item level , where as it should be Grey mode in billing document item level.
    1. In the condition type ZPR0 i had maintainted as NO LIMITATION and in copy controls of VTFL the pricing type as" D"
    so system is allowing to change the base price at both Sales order & billing doc level.
    my requirement is System should allow to change the price manually in Sales order and at billing document it should be in grey mode, so that no user cannot change the price at billing level.
    Regards,
    Satya

    Hi ,
    Create transaction varient for vf01 and vf02 in SHD0 and assign it to Users.
    Regards,
    Suresh

Maybe you are looking for

  • ATP Check against customer stock for return Sale order

    Hi Friends, Pl.help in this. 1. Is it possible to configure ATP check against Customer stock in a Sale order/Return order/any other way? ( Actuallly, client wants to take back empty cylinders through return sale order by ATP check against the custome

  • Problem in loading the library through Servlet

    Hello, When i wrote an application which accesses my java component that has native methods and it loads the library that has the implementation of these methods, it works perfectly fine. But now when i am trying to access the same component through

  • Time Machine takes up much more space than actually data backed up...

    Every time I backup with time machine, it uses up gigs of space on my backup drive, regardless of increment or decrement of data on Mac.  I could put 200 megs since last backup and TM eats 4 gigs.  I don't change the file exclusion selections at all.

  • How to delete settings and apps that were uploaded...

    Please let me know how I can delete settings and apps that I uploaded to the cloud. Thanks.

  • Setting the SOAPaction

    Good Morning All! I am having a little problem setting the SOAP action in my program. I am setting the "SOAPACTION_USE_PROPERTY" and the ?"SOAPACTION_URI_PROPERTY" properties, but they do not seem to be working. An example of the message that is bein