Maximum order value

Hi Guru's,
I am working on a my Project which has milestone based billing, i have to create an sales order of value 2400 Crores against a single line item, but maximum value that can be entered in a sales value is 999.999.999 Crores only because of the lenght of the filed KBETR is 11.One way of doing this is tht i can can enter 25 line item of 999.999.999 Crores.But by doing so i am facing problem at the time of billing.
Is there any way by which i will be able to create single line item with 2400 Crores value.
Also can u suggest the config for milestone based billing for Enginnering & Construction industries .Plz suggest

Hi Abhijit,
The field amount ( KBETR) has a max length of 11
In the Item Conditions screen try using the field Condition Value ( KWERT) which has a max length of 13 ,
Here the limitation would be that the quantity to be used would be one,
Hope this helps,
Thanks
Prashant

Similar Messages

  • Setting up maximum order value for vendor

    Hi experts,
    I want to set a maximum price/value limit for vendor for giving order
    For example - i want to set a maximum limit of 1lakh for vendor A
    when ever I create PO for vendor A , system should chck the maximum value for A vendor.
    And if there a many open order for vendor A, then the total of open PO's shoukld be
    counted and when ever i am creating new PO & if ec=xceeds the value 1 lakh then
    system should not allow to create the new PO
    Vendor A       PO1     value - 50000      status - open
    vendor A     PO2     value - 30000     status - open
    vendor A     PO3     value - 40000     status - creating now
    At the time of creating PO3, PO value exceeds the vendor limit, so it should not allow to create/save the PO3
    please let me know how to handle this

    Hi,
    This can get really complex unless you have clear vision of what you want to control.
    For example, the maximum limit that you want to set, is it for the current month / current year etc?
    If it is the sum of all Open PO value, would you consider the PO's that were created the sme month and delivered but payment is pending though Invopice is posted?
    So answers to such questions provide the clarity for teh controls that need to set in place.
    For this you can create a Z table and maintain the limits that you like to set based on the criterion like monthly or yearly.
    Then Use a user-exit in the PO to calculate the net value of all open PO's for the vendor and then validate with the Z table and throw an error if it exceeds.
    However the performance may get effected with such calculations on PO save.
    in that case you may have to consider storing the cumulated PO value on every PO creation and PO Completion.
    Consider all this and take a decision.
    hope this helps.

  • Sales order value limit

    Hi guys,
    Can any one help me in my scenario.
    Our client want to limit the value of any sales order. Ex. any sales order should not place above Rs.100000. How it can be done?? Is there std.configuraton or we need to go for customisation.
    Thank u in advance for your valuable answers.

    Hi,
    Please first prepare a logic for this maximum order value with the help of ABAper... then Go to sales order user exit userexit_save_document_prepare there u insert logic with the help of abaper ..
    So while saving the sales order it will check this logic and throw out the error if it exceeds max value based on logic created by ABAPer..
    Regards
    sankar

  • Maximum Document Value

    Dear SapGurus,
    i have a scenario. my clinet wants to create a delivery upto the particular value only. the particula value depends upon the customer group.
    say if customer orders 100000 worth of products . if we define the particular value as 50000. when i am creating the delivery , system should allow upto the value 50000 products into the delivery.
    so here we can create two deliveries.
    how to acheive this functionality.
    Thank in advance
    Regards,
    Ram

    Hi
    The control will be more effective if it is confiured at Sales order level instead of delivery. Because the people who creates the delivery are different and they are not sure of reducing the quantities at different line items. The system should not allow to create an order above certain value. The credit management is a different functionality and is no way related to this maximum order value.
    You have to create Ztable and maintain the list of the customer groups and the corresponding  maximum order values. You have to use a userexit and the system takes the customer group from the Customer Master Record of that SP and then gets the Max Order Value from the Ztable and compares it with the order value of the document under creation. You can configure either an error message or a warning message based on the clients requirement, if the value exceeds.
    The userexits which may be useful are.,
    Program - SAPMV45A...include - MV45AFZZ
    Userexit_save_document
    Userexit_save_document_prepare.
    You can also check if anyother approrpiate exits are available.
    Thanks,
    Ravi

  • Sales order getting maximum doc value exceeds but not blocking.

    Hi Experts,
    My client using automatic credit control .
    And for one risk category we have activated max doc value and sen the value is -0.01. It means even though for the free of charge sales orders also should be block.
    I have created a sales order with free of charge item with value of 0.00 after getting warning message and it is blocking.
    And i have one scenario for service items , where am creating sales order with value of 0.00 for the service items and while saving the sale order getting warning message and it is not blocking.
    Why this sales order is not showing in vkm1 event though if i get warning message while saving the sales order time.
    Please any body help out form this issue
    Regards
    Venkat

    Hi
    That i already setup and maximum doc.value i have set there -0.01.
    The same functionality is working for diffrent sales document type,but it is not working for this service sales document processing.
    Is there any scenario like if there is no delivery further process it should not block
    Please revert immediately if any body knows
    Regards
    Venkat
    Edited by: venkat s on Jun 8, 2009 1:28 PM

  • Purchase order Value  Restrict

    Dear All
    How to Restrict the Field of Purchase order value we want to restrict it for X value sothat check will be there for Not more then that PO made by Any one.
    Second Thing how we can put in Material master that whenever we r putting PO qty then it will check stk and then confirm that stk is there , no PO is required.
    Rgds
    Pankaj Agarwal

    1.     You can use the standard SAP functionality of release strategy, where you can maintain your maximum PO value. If PO is created for the value higher than this, it will be stopped for output & has to be released or has to be cancelled.
    2.     For second point also, you can use SAPu2019s standard functionality of PTO (Purchase to stock) , Here you can use MRP type u2018VBu2019 for the material, maintain lot size, safety stock, reorder level quantity. So that whenever you will run the MRP, system will generate requirements.

  • Need a maximum date value using group by

    Create table student (dept number(10), dep_name varchar2(10),join_date date,years_attended number(10),end_date date);
    insert into student values (1,'I',to_date('3/7/1917','MM/DD/YYYY'),4,to_date('8/26/1987','MM/DD/YYYY'));
    insert into student values (1,'I',to_date('1/1/1900','MM/DD/YYYY'),4,to_date('8/26/1932','MM/DD/YYYY'));
    insert into student values (1,'D',to_date('1/1/1920','MM/DD/YYYY'),5,to_date('8/26/1994','MM/DD/YYYY'));
    insert into student values (1,'C',to_date('1/1/1920','MM/DD/YYYY'),6,to_date('8/26/1945','MM/DD/YYYY'));
    insert into student values (2,'I',to_date('7/1/1900','MM/DD/YYYY'),3,to_date('8/26/1932','MM/DD/YYYY'));
    insert into student values (2,'I',to_date('8/16/1916','MM/DD/YYYY'),9,to_date('8/26/1923','MM/DD/YYYY'));
    insert into student values (2,'D',to_date('8/16/1916','MM/DD/YYYY'),10,to_date('8/26/1987','MM/DD/YYYY'));
    insert into student values (3,'I',to_date('3/7/1917','MM/DD/YYYY'),4,to_date('8/26/1987','MM/DD/YYYY'));
    insert into student values (3,'D',to_date('7/28/1920','MM/DD/YYYY'),6,to_date('8/26/1945','MM/DD/YYYY'));
    insert into student values (3,'I',to_date('7/28/1920','MM/DD/YYYY'),8,to_date('8/26/1965','MM/DD/YYYY'));
    insert into student values (4,'I',to_date('12/31/1924','MM/DD/YYYY'),2,to_date('8/26/1998','MM/DD/YYYY'));
    insert into student values (4,'I',to_date('6/10/1929','MM/DD/YYYY'),1,to_date('8/26/1943','MM/DD/YYYY'));
    insert into student values (4,'C',to_date('1/17/1927','MM/DD/YYYY'),4,to_date('8/26/1955','MM/DD/YYYY'));
    insert into student values (4,'C',to_date('6/10/1929','MM/DD/YYYY'),30,to_date('8/26/1967','MM/DD/YYYY'));
    insert into student values (5,'D',to_date('2/10/1931','MM/DD/YYYY'),2,to_date('8/26/1943','MM/DD/YYYY'));
    insert into student values (5,'I',to_date('2/10/1931','MM/DD/YYYY'),24,to_date('8/26/1962','MM/DD/YYYY'));
    commit;I need a maximum date value join_date for each department. If max(join_date) has two records for each dept then max(end_date) should be considered. I have used a below select query
    select * from student where join_date in (select
    max(join_date) from student group by dept);which gives me the following result
    1     D     1/1/1920     5     8/26/1994
    1     C     1/1/1920     6     8/26/1945
    2     I     8/16/1916     9     8/26/1923
    2     D     8/16/1916     10     8/26/1987
    3     D     7/28/1920     6     8/26/1945
    3     I     7/28/1920     8     8/26/1965
    4     I     6/10/1929     1     8/26/1943
    4     C     6/10/1929     30     8/26/1967
    5     D     2/10/1931     2     8/26/1943
    5     I     2/10/1931     24     8/26/1962But I am looking for the result which gives me only one maximum value for each dept column. First it should look for maximum value of join_date, if two records has same join_date then max(end_date) should be considered. The result should be sumthing like this
    1     D     1/1/1920     5     8/26/1994
    2     D     8/16/1916     10     8/26/1987
    3     I     7/28/1920     8     8/26/1965
    4     C     6/10/1929     30     8/26/1967
    5     I     2/10/1931     24     8/26/1962Can you please tell me how to rewrite the select query to get the above results.
    Edited by: user11872870 on Aug 2, 2011 5:29 PM
    Edited by: user11872870 on Aug 2, 2011 5:36 PM

    Hi,
    That's called a Top-N Query , and here's one way to do it:
    WITH     got_r_num     AS
         SELECT     student.*
         ,     ROW_NUMBER () OVER ( PARTITION BY  dept
                                   ORDER BY          join_date     DESC
                             ,                end_date     DESC
                           )      AS r_num
         FROM    student
    SELECT       dept, dep_name, join_date, years_attended, end_date
    FROM       got_r_num
    WHERE       r_num     = 1
    ORDER BY  dept
    ;Another way is similar to what you originally posted:
    SELECT    *
    FROM       student
    WHERE        (dept, join_date, end_date)
                   IN (
                        SELECT    dept
                   ,       MAX (join_date)
                   ,       MAX (end_date) KEEP (DENSE_RANK LAST ORDER BY join_date)
                   FROM      student
                   GROUP BY     dept
                   );I suspect the first way (using ROW_NUMBER) will be faster.
    Also, the ROW_NUMBER approach is guaranteed to return only 1 row per dept. Using the GROUP BY approach,if there is a tie on join_date and end_date, then it will return all contenders in that dept. Using ROW_NUMBER, it's easy to add as many tie-breaking expressions as you want, and, if there is still a tie, it will arbirarily pick one of the rows involved in the tie as #1.
    Thanks for posting the CREATE TABLE and INSERT statments! That's very helpful.
    Edited by: Frank Kulash on Aug 2, 2011 9:00 PM
    Added GROUP BY alternative

  • Rebate agreement with specified maximum quantity/value

    Hi,
    We have a requirement, to give a certain discount to customer if they order for a specified volume at a period of time. (meaning there is a maximum ordered quantity given)
    For example , 1% discount for a total quantity ordered of 1000pcs for 3 months. Even if they ordered 2000pcs , they will still be given a rebate, but only upto the 1000pcs discount max value.
    Where in the Rebate Agreement can I set the 1000pcs max?
    I checked through Scales , there is 'from' and 'to'.  If I use the scale "to", if I deliver more than 1000pcs for the 3mos, ,when I do final settlement, I can't see the rebate value.  But an accrual is created for the quantity (more than 1000pcs).
    I can't find " condition update value" for the rebate condition type.

    Dear Rajesh
    Thank you for this.  Would you know any other functionality which I can use aside from rebate then? (specifiy a discount to be given to customers where I can put a max allowed quantity for a specified duration/time)
    if not maximum quantity, can I set a limit of the amount instead? (or is it the same?) .. such that total invoice value upto 10,000usd only for 3mos.  Even if the total value is 15,000, the discount to be given is only for the 10,000.
    cheers!

  • Ascending order values??

    Hi,
    I need some small help regarding writing an algorithm. I want to find out maximum array values for given random array.
    sample data:
    Input :
    A[5] = { 3,2,7,4,1}
    //here i'm giving random values in an array
    output :
    1,2,3,4,7
    // here i need output like ascending order
    if anybody knows ,please help me.
    Thank you,
    -balaji

    >
    I need some small help regarding writing an
    n algorithm. I want to find out maximum array values
    for given random array.
    If you just want the greatest value in an array, the simplest thing is to loop through it like this (assuming at least one element in the array):
    int greatest = a[0];
    for (int n = 1; n < a.length; n++) {
        if (a[n] > greatest)
            greatest = a[n];
    sample data:
    Input :
    A[5] = { 3,2,7,4,1}
    //here i'm giving random values in an array
    output :
    1,2,3,4,7
    // here i need output like ascending order
    But if you need to output the array in ascending order you will have to sort the array first. You can use the java.util.Arrays.sort() methods for that purpose:
    int[] a = {3,2,7,4,1};
    java.util.Arrays.sort(a);
    for (int n = 0; n < a.length; n++) {
        if (n > 0) System.out.print(",");
        System.out.print(a[n]);
    }S&oslash;ren

  • How toset maximum order qty in sales order

    Dear Gurus,
                     how to set maximum order qty in sales order level ,  my target qty is 100000 nos,  against this i will do billing  , when it reaches 100000 nos , system should not allow to create outbound or billing , how to achive this.
    regards
    rajakarthik

    That depends on the control you set in Item Caterogy KMN.
    You have following options in Completion Rule:
    A - Item is completed with the first reference
    B - Item is completed after full quantity has been referenced
    C - Item is completed after the target qty is fully referenced
    D - Item is referenced via contract release
    E - Item is completed after full target value is referenced
    So if you set "C" in Completion Rule in Item Category, system will not allow to create Sales Order after the Target Quantity is fully used.
    Hope this helps..
    Thanks,
    Jignesh Mehta

  • Open Sale Order Value (FD33) not getting diminished even after closing SO?

    Hi,
    Upon Executing FD33 and clicking the status view for a Customer say XYZ , and then choosing EXTRAS-Open Sale Order . Say the value of open sale orders being shown is 75000. Even after closing the open sale orders (By Selecting VA05 and Putting reason for Rejection), and then also the Open Sales Order value is not getting diminished.
    What could be the reason ?
    Pls help.
    Regrds,
    Binayak

    Hi Binayak,
    As mentioned by you, running of Credit re-org program 'RVKRED77' is the only solution for this problem and it is known problem in SAP.
    Some precautions
    1. Always run the program in background by scheduling a job.
    2. The idle time is around midnight when no user is working on SAP.
    3. Some time the job fails as some other program may be updating same tables as this program. In such cases re-schedule the job at different time.
    4. You may run the program 'RVKRED88' which will simulate without actual updation of credit values.
    Hope this clarifies..
    Regards,
    Madhu.

  • Rajesh/Sadhu/RobertoUrgent :- Open Sale Order Value not getting Reduced?

    Hi,
       Upon Executing FD33 and clicking the status view for a Customer say XYZ , and then choosing EXTRAS-Open Sale Order . Say the value of open sale orders being shown is 75000. Even after closing the open sale orders (By Selecting VA05 and Putting reason for Rejection), and then also the Open Sales Order value is not getting diminished.
       What could be the reason ?
       Pls help.
    Regrds,
    Binayak
    Message was edited by:
            Binayak Ghosh
    Message was edited by:
            Binayak Ghosh

    Hi Binayak,
    As mentioned by you, running of Credit re-org program 'RVKRED77' is the only solution for this problem and it is known problem in SAP.
    Some precautions
    1. Always run the program in background by scheduling a job.
    2. The idle time is around midnight when no user is working on SAP.
    3. Some time the job fails as some other program may be updating same tables as this program. In such cases re-schedule the job at different time.
    4. You may run the program 'RVKRED88' which will simulate without actual updation of credit values.
    Hope this clarifies..
    Regards,
    Madhu.

  • Not Updating Open Sales Orders Value for CreditManagement

    Hi Frendz,
    This is the first time am implementing creditmanagement in my system tested simple credit limit check working fine.
    Now testing Static and Dynamic(Automatic) it also working fine but Its not caliculating open sales orders value either static or dynamic while Creating s.o, settings made clicked on open s.o, i have already created sales orders value of 10th.
    EX:- customer balance is 2lacs, credit limit is 1lac while creating s.o it always showing balance 1lac only(Instead of 1lac10th) with open sales order value  is 10th.
    Let me know Where i have missd settings.
    Hari Prasad

    hello,
    it is maintained against the cr control area in ent structure.
    one needs to change there.
    r u in prd system or development?
    becoz if prd, then this change will effect a lot of ongoing docs.
    rgs,
    AK

  • SQL Open Sales Orders Value using today's currency rates

    Hi experts,
    I am creating a report for displaying the open sales order values (and other fields) using current currency rate (where applicable). I developed the below query. The only problem with this query is that it ignores the order rows in which the currency field is blank (Don't understand why this happens in SAP). Do you have other ideas?
    Thanks & Regards,
    IC
    SELECT 
    T0.DocNum as 'Sales Ord No', T0.DocDate as "Ord Date",  T0.CardCode as "Cust Code",  T0.CardName as "Customer Name",  T1.ItemCode, 
    T1.Dscription,  T3.ItmsGrpNam,  T1.U_SU,  T1.U_SULEN,  T1.U_SUQTY,  T2.InvntryUom as 'Stock UOM',  T1.Quantity as 'Ord Qty', T1.Quantity*T2.U_ITWTSTU as 'Weight (KG)', T1.Quantity-T1.OpenQty as "Qty Delivered", T1.OpenQty as 'Bal Qty', T1.Price*T1.Quantity/T4.Rate AS "Ord Value (GBP)", T1.Price*T1.OpenQty/T4.Rate  AS "Open Qty Val (GBP)", T1.Price/T4.Rate  AS "Price (GBP)", T1.Price*T1.OpenQty as "Ord Value (BP Currency)", T1.Price as 'Price (BP Curr)', T1.Currency as 'Cur Ind', T4.[Rate] AS 'Curr Rate', T0.DocDueDate as "Due Date",  T1.WhsCode as 'Del WHG'
    FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod, ORTT T4 WHERE T0.DocCur <> 'GBP' AND T1.Currency=T4.Currency AND T4.[RateDate] = [%0] AND T1.OpenQty > 0
    UNION ALL
    SELECT
    T0.DocNum as 'Sales Ord No', T0.DocDate as "Ord Date", T0.CardCode as "Cust Code", T0.CardName as "Customer Name", T1.ItemCode, T1.Dscription, T3.ItmsGrpNam, T1.U_SU, T1.U_SULEN, T1.U_SUQTY, T2.InvntryUom as 'Stock UOM', T1.Quantity as 'Ord Qty', T1.Quantity*T2.U_ITWTSTU as 'Weight (KG)', T1.Quantity-T1.OpenQty as "Qty Delivered", T1.OpenQty as 'Bal Qty', T1.LineTotal AS "Ord Value (GBP)", T1.LineTotal/T1.Quantity*T1.OpenQty AS "Open Qty Val (GBP)", T1.LineTotal/T1.Quantity AS "Price (GBP)", T1.Price*T1.OpenQty as "Ord Value (BP Currency)",T1.Price as 'Price (BP Curr)', T1.Currency as 'Cur Ind', T1.[Rate] AS 'Curr Rate', T0.DocDueDate as "Due Date", T1.WhsCode as 'Del WHG'
    FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod WHERE T0.DocCur = 'GBP'  AND T1.OpenQty > 0 ORDER BY 2,1

    Hi,
    Try:
    SELECT 
    T0.DocNum as 'Sales Ord No', T0.DocDate as "Ord Date",  T0.CardCode as "Cust Code",  T0.CardName as "Customer Name", 
    T1.ItemCode,  T1.Dscription,  T3.ItmsGrpNam,  T1.U_SU,  T1.U_SULEN,  T1.U_SUQTY,  T2.InvntryUom as 'Stock UOM', 
    T1.Quantity as 'Ord Qty', T1.Quantity*T2.U_ITWTSTU as 'Weight (KG)', T1.Quantity-T1.OpenQty as "Qty Delivered",
    T1.OpenQty as 'Bal Qty', T1.Price*T1.Quantity/T4.Rate AS "Ord Value (GBP)",
    T1.Price*T1.OpenQty/T4.Rate  AS "Open Qty Val (GBP)", T1.Price/T4.Rate  AS "Price (GBP)",
    T1.Price*T1.OpenQty as "Ord Value (BP Currency)", T1.Price as 'Price (BP Curr)',
    T1.Currency as 'Cur Ind', T4.[Rate] AS 'Curr Rate', T0.DocDueDate as "Due Date",  T1.WhsCode as 'Del WHG'
    FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode
    INNER JOIN OITB T3 ON T2.ItmsGrpCod = T3.ItmsGrpCod
    LEFT JOIN ORTT T4 ON T1.Currency=T4.Currency AND T4.[RateDate] = [%0] AND T4.Rate != 0
    WHERE T0.DocCur != 'GBP' AND AND T1.OpenQty > 0
    Thanks,
    Gordon

  • Open sales orders value not updating currectly in sales value of CM

    Hi SAP experts,
    I have an issue some of customers credit exposure value showing worng value.We are using static credit limit check.
    customers credit limit RM20000,
    open sales order valueRM6,073.77
    open delivery=0
    open billing =0
    open items(recievables)=3,464.39
    Credit exposure =9,538.16.
    But i have checked in VA05 its showing 13,001.10 value, i have checked all areas didnt get any solution.
    I have run the reports RVKRED09 and RVKRED77 , RVKRED88 also no updates in the credit management.
    is there any other areas i need to check, advise me.
    Regards,
    Nooka

    The only thing you really need to check is RVKRED88.
    It is not the correct procedure to compare the open sales order value with the sum net value of VA05.
    In VA05 open documents are displayed indifferent whether they are already part-delivered or not. That's why the open values from the VA05 are not directly comparable with the values in RVKRED77.
    As described in OSS note 716141; reports RVKRED88/77 shows the correct value which should be in your system.
    If you need to know more let me know.
    Thanks,
    Gerard

Maybe you are looking for

  • Deleted Items Appearing on the FBL3n Report for Open Items

    Hi All We just went live and I am facing a huge issue; I deleted many migration entries from loads of GL Accounts for multiple Co Codes, but on the FBL3n report, whenI execute with the option of 'Open Items' only, I  still see the deleted items with

  • Import and Export Option

    When we exit from the local Developer Studio, in the next attempt to start the Developer studio we are not able to import/export the DC, because the import and export file system options are not available in the popup window. To achieve it we are rei

  • T. CODE FOR PRODUCTION + SHIPMENT DETAILS.

    Dear All ,                            Pl Help  me i want to know that is there any T.CODE by which user can get detail report for production of all it's products &  is there any T.CODE by which i can get detailed report of Shipment of all it's Produc

  • Access code  for abap

    Hi everyone, Can you please guys post the access code for abap to mscagin at yahoo com thanks sri

  • Iphoto not working with OS X

    Hello! I recently updated my operating system on my MacBook Pro to the Maverick OS X and ever since I did that, I am not able to open iPhoto, I receive this message: "You can't use this version of the application "iPhoto" with this version of OS X.Yo