How to set up Max Grab Qty in an order

Hi Experts,
Can you please help/hint me on how to set up Maximum grab qty (item level) for an order.
For example - If i set up material ABC with 50 Max grab Qty , then you should not be able to raise an order with qty greater then 50. VA01 should block it.
Thanks in advance for the response.
Regards.

Hi,
to do this enhancement, first decide the user exit and a put a break point. You will notice at the time sales order processing after entering the order qty whether its stopping at the break point or not. Offcourse you need a technical assistance here.
I guess the line item user exit ie at VBAP, would be more helpful to put the code. The piece of code depends on how you want the logic to work.
1.Is it that for every sales order you want to trigger this code, or if only in specific cases then you may even need to hard code.
2. Do you want check that the max order is not crossed even when a user changes the order qty through VA02.
3. Any other specific check that you want to consider.
Regards
Sadhu Kishore

Similar Messages

  • How to set up automatic payment for the purchase order

    Hi, All,
    I have one question how to set up automatically payment for the Rent Office purchase Order?
    There is the requirement from the client. They want to create one kind of purchase order for the Office Rent, then pay the fees in the certain time of every month to the vendor for the rent fees without any invoice. Whatu2019s the normal solution for this kind of purchase order? Is it ERS? Or something else?
    Please give me the details and business flow. Also please tell me how to setup in the SAP and T-code.
    Thanks in advance

    Either you can set up ERS or you can pay directly from the FI side.
    Prerequisites
    Evaluated receipt settlement must be flagged in the purchase order item.
    The vendor must be flagged as being subject to ERS in the vendor master record.
    The goods receipt must refer to a purchase order.
    Goods-receipt-based Invoice Verification must be defined for the purchase order item.
    A tax code must have been maintained in the purchase order item.
    The order price of the materials may not be an estimated price.
    If you flag a vendor as being subject to ERS, the system sets the ERS indicator as a default in each item when you create a purchase order for the vendor. You can prevent this happening for certain vendors by flagging the info record for the material and the vendor as not being subject to ERS.
    In Purchasing, you can delete the default ERS indicator in a purchase order item.
    Choose Logistics Invoice Verification ® Automatic Settlement ® Evaluated Receipt Settlement (ERS).
    The selection screen appears.
    You can use the following criteria to narrow down selection of the transactions to be settled:
    Company code
    Plant
    Goods receipt posting date
    Goods receipt document
    Fiscal year of the goods receipt
    Vendor
    Purchase order and order item
    You can define the selection criteria for the invoice documents by:
    Delivery
    Purchase order
    Purchase order item
    Goods receipt document
    Credit memo
    Invoice
    Currency
    Choose  Execute.
    The system issues a log for Evaluated Receipt Settlement, which displays the following:
    Settled
    In line with your selection criteria, the system displays all the order items that were settled (or if you are working in test mode, which would have been settled).
    Could not be settled
    In line with your selection criteria, the system displays all order items for which ERS is defined but could not be settled. It also lists the reasons.
    If the system reports being unable to invoice a transaction, you should exclude the transaction from ERS to avoid it being included in the log the next time ERS is run.
    Select the item and choose Exclude from ERS.
    The system also generates and possibly sends a message to inform the vendor(s) about the transaction settled, depending on the settings in Customizing.
    You can display the following environment information for the order items selected. To do this, choose Goto ®:
    Display purchase order
    Display invoice
    Display material document
    Display long text

  • How to set tree max level in V4+ trees?

    I have a tree and I want it to initally open up to level 3. (Not expand all). Previous to V4 you could set the attribute "Max Levels". How do you set this now? I assume it will be a dynamic action javascript call but what is the code?
    thanks in advance
    PaulP
    Edited by: PaulP on Apr 5, 2012 11:13 PM
    Edited by: PaulP on Apr 5, 2012 11:14 PM

    I searched through the docs of jstree 0.9.9a2, which comes with apex 4+, and through apex.widget.tree, but couldn't find any function which does what you describe. However, it can be emulated fairly easily.
    Add this code to the page javascript:
    function resetAndOpenToLevel ( pTree, pMaxLevel ) {
       apex.jQuery.tree.reference(pTree).close_all();
       $("ul", pTree).each(function ( index ) {
          if ( $(this).parents("ul").length <= pMaxLevel ) {
             apex.jQuery.tree.reference(pTree).open_branch(this);
    };When called this will open up the nodes of the given tree up to (and including) pMaxLevel.
    For convenience, give your tree region a static ID.
    For example,define a button which triggers a dynamic action with execute javascript code as true action:
    resetAndOpenToLevel ( $("#my_tree_region_id div.tree"), 2) ;Would reset the tree, and then open nodes up to and including level 2.
    You can try it out on my example tree page, where i included this code: http://apex.oracle.com/pls/apex/f?p=54687:38 There I'm using a global javascript variable to store a reference to the tree element rather than fetching it every time.

  • How to set min & max connections for  MSSQLconnection pool

    Hi,
    I want to set minconnection, maxconnection, idletimeout initial limit for the pool
    I have got a MSSQL database connection using following java code.
    // MSSQL DbConnection Code
    import java.sql.*;
    public class MsSqlDataSource
    public static void main(String arr[])
    Connection con = null;
    ResultSet rs = null;
    try{
    com.microsoft.sqlserver.jdbc.SQLServerDataSource ds = new com.microsoft.sqlserver.jdbc.SQLServerDataSource();
    ds.setServerName("10.50.50.51");
    ds.setPortNumber(1711);
    ds.setDatabaseName("test");
    ds.setUser("starhome");
    ds.setPassword("starhome");
    con = ds.getConnection();
    }catch(Exception e){}
    }In oracle i have passed min and max number of connection properties through setConnectionCacheProperties method.
    //Connection Pooling using Oracle Data Source:
    m_connSource = new OracleDataSource();
    m_connSource.setDriverType("thin");
    m_connSource.setServerName(m_host);
    m_connSource.setNetworkProtocol("tcp");
    m_connSource.setDatabaseName(m_db);
    m_connSource.setPortNumber(m_port);
    m_connSource.setUser(m_user);
    m_connSource.setPassword(m_password);
    // Enable caching. m_connSource.setConnectionCachingEnabled(true);
    java.util.Properties prop = new java.util.Properties();
    prop.setProperty("MinLimit", m_minConnections);
    prop.setProperty("MaxLimit", m_maxConnections);
    prop.setProperty("InitialLimit", m_initialConnections);
    prop.setProperty("InactivityTimeout", m_inactivityTimeout);
    prop.setProperty("AbandonedConnectionTimeout", m_abandonedTimeout);
    prop.setProperty("ConnectionWaitTimeout", m_connWaitTimeout);
    m_connSource.setConnectionCacheProperties(prop);I dont know how to pass min and max number of connection properties for SQLServerDataSource. Is there any method available to pass min and max number of connection properties for SQLServerDataSource.
    Iam using Tomcat. I found one way to set min and max connections for pool by doing changes in context.xml and web.xml using below url http://tomcat.apache.org/tomcat-4.1-doc/jndi-datasource-examples-howto.html
    I dont want to touch tomcat configuration files. I need to set connection pooling properties which is independent of application server.
    Please anybody give solution for this?
    Thanks,
    Prisha

    Hi,
    you need to define your database under the DB Admin tab. In the Schema objects node you'll find Sequence Implementations, and there you can definde min max values as well as caching and increments.
    Gerald

  • How to set default max cache size in win 2003 terminal server

    Hi! I have a win 2003 terminal server, with 50+ user accounts, the problem is that the cache for firefox is never cleared, how do I set a apropriate (ie 50MB) max cache size for all users? As it is today, I have certain users with several millions of cahe files, which slows everything down.
    firefox is 8.01 English version.

    Hey Macdaddy,
    This happens all the time with our server at work. The server window never opens in the same place twice, and it can be annoying.
    There are third-party window management tools out there, but what I did was use a macro program called Keyboard Maestro (since I already owned it).
    Among the many things Keyboard Maestro can do is manipulate a window. I created a macro that moves it to a specific point (in my case, the upper left corner of the screen) and then resizes it to a specific width and height in pixels. I then assigned the macro a keyboard shortcut.
    Now, when I mount the server, I can use the keyboard shortcut and the window is right where I want it.
    There are other programs that just move windows, and I tried a couple. But Keyboard Maestro is more elegant in my opinion, and it does a whole lot more if you choose to go that route.
    Hope this helps.
    Andy

  • How to set PR Quantity = GR qty in PO

    Hi,
        I have a PR of 100 Qty. I converted the PR in PO . Now I made a GR of 80 qty. Remaining 20 Qty I dont expect any more from vendor.  The question is: If there is any way to set the Open quantity as 0 in PR Quantity/dates Tab(without manually changing the qty in PR).
    Wll delivery completed indicator in PO have any roll here?
    My Second Question is:
    Now I have already alocated a budget of Rs1000 against 1000 Qty. Pls suggest whether the amount of returning of 20 qty will roll back in the budget pool.MY confusion is budget affects which points of time? At the time of PR, PO or at the time of invoicing. 
    Suggesting your valuable inputs on this

    Hi,
    The Delviery Completed indicator can be set in PO .If you set the delivery completed indicator ,system doesn't stop you for doing the GR for remaining open quantity .Only GR compleyed indicator helps you in list of open PO pending & it won't show you the delivery indicator set PO .If you do the GR of remaining quantity then  it only decreases the commitment on account assignment.
    It will afftect the budget .
    You can spend the remaining amount to somewhere.
    The good way is that you block the line item temporarily.
    Thanks
    AMIT

  • How to set JVM max memory setting in JBoss?

    We have an old deployment of LiveCycle 7.2 running on Windows 2003 / JBoss.  The max memory is reported as 508mb on the JBoss Management Console.   Anyone have any idea how to change this value.   I tried modifying the jvm.cfg file as well as run.conf in JBoss and modify JAVA_OPTS but it didn't seem to make a difference. 

    Seems its in the Windows registry at
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\JBoss for Adobe LiveCycle\Parameters

  • How can I set a fixed scrap qty on planned orders created by MRP?

    During production of some specific subassemblies, destructive testing is done that requires us to scrap two pieces per production order.  I know I can set an assembly scrap percent, but what I need instead is a way to set a fixed assembly scrap quantity that will get loaded onto every planned order created by MRP for these subassemblies.  If we can't do this, we can't plan the correct order quantity and eventually end up being short of parts.  I know we can set a safety stock or safety time, but I'd rather just plan the right quantities if possible.
    Is there a user exit, configuration option, or master data setting that will allow me to do this?
    Thanks,
    Randy

    Hi Randy
    This can be solved by one solution. _You can try this._
    You define the same item in BOM again with qty 2 nos. Double click on the item no. Then it will take you to item detail. There in Basic data tab page at quantity data  ( Tick the fixed quantity. ).
    When ever BOM explodes for the header material automatically The item will be exploded 2 nos extra.
    Ex
    The header is Mat X and items is Mat Y. While creating BOM for X give item Mat Y in item no 10. give the quantity as per the requirement.
    And again give item Mat Y in items no 20. give quantity 2 nos and activate the fixed quantity tick as instructed above.
    When ever requirement for Mat X is 100 nos. The plan order for Y will be 102 nos .
    Hope this will clear.
    Regards
      J .Saravan

  • How to set "completed" status to the delivered sale order?

    Hi Gurus,
    For the order type RE i am able to create a delivery even though full quantity has been delivered and billed . When i observed the document flow , it shows that order is still in open status while the delivery for it is done for full quantity. Kindly let me know how to do the settings such that once the full quantity is delivered it should not allow to create any further delivery for the same return order.

    Hi,
    An item may be considered fully referenced if one of the following criteria have been met:
    An item is complete as soon as it is used as a reference. In this case, the item is fully referenced, even if only a part of the quantity is copied.
    An item is only complete once the full quantity has been copied into a subsequent document. If the item is partially referenced, it is possible to enter several sales documents for the item until the quantity is fully accounted for.
    An item is only complete once the target quantity (in a contract, for example) has been copied into a subsequent document. If the item is partially referenced, it is possible to enter several sales documents for the item until the quantity is fully accounted for.
    The standard version of the system defines an inquiry item as complete even if only one part of the inquiry quantity has been copied into a quotation. On the other hand, when you copy a quotation into a sales order, the quotation is not complete until the quotation quantity has been fully referenced.
    Regards

  • How to get the max value in the query??

    Plant  calday(mm.dd.yyyy)       Soldout.Qty
    0001   01.01.2005               10
    0001   01.02.2005               20
    0001   01.03.2005               05
    0001   01.04.2005               16
    0001   01.05.2005               10
    0001   01.06.2005               14
        From the above values , how can i findout Max(Soldout.Qty)(i.e 20) for the above week...Suppose present aggregation = summation...How can i findout the value in the Query??don't want to do changes to design...

    Hi Bhanu,
      I tried the calculation results as...Maximum,..
      But that will pick the maximum value among the avialable values..like
    plant1 max 10
    plant2 max 20
    plant3 max 30
    then it will show as..
    plant1 max 30
    plant2 max 30
    ...like this...but my case is
    plant1 calday1 10
    plant1 calday2 05
    plan1  calday7 08
    plant2 calday1 10
    plant2 calday2 05
    plan2  calday7 20
    so for each set it need to bring the maximum value...

  • Set a max Upload quantity dreamwaver php and mysql

    The issue,
    using dreamweaver php and mysql I Would like to set a max
    quantity limit on file upload per user. i.e max 5 uploaded images
    allowed per user.
    Here is a basic example of the creation. Just need the
    implementation of how to set a max upoad limit.
    create table authors(
    id int not null auto increment primary key,
    name varchar(10) not null
    image_quantity tinyint(1),
    create table images(
    aid int not null,
    image_filename varchar(50),
    foreign key (aid) references authors(id)
    User id 1 would upload a file into the table images from a
    php or html webpage. i.e set values "thomas.jpeg", "1"
    i want to set a max upload of 5 images per user. (a folder
    for each user id will be created and photos stored in that).
    I could add a field of max_upload tinyint(1) to the table
    users and construct a php script that could add the amount of
    images entered by a user into the images table and add a +1 to each
    added. Problem is i dont know how to create that script or mysql
    querty in order to enter into a recorset for example.
    As anyone have any ideas of the best way to set a max
    quantity limit of uploads.
    Thank you.

    The issue,
    using dreamweaver php and mysql I Would like to set a max
    quantity limit on file upload per user. i.e max 5 uploaded images
    allowed per user.
    Here is a basic example of the creation. Just need the
    implementation of how to set a max upoad limit.
    create table authors(
    id int not null auto increment primary key,
    name varchar(10) not null
    image_quantity tinyint(1),
    create table images(
    aid int not null,
    image_filename varchar(50),
    foreign key (aid) references authors(id)
    User id 1 would upload a file into the table images from a
    php or html webpage. i.e set values "thomas.jpeg", "1"
    i want to set a max upload of 5 images per user. (a folder
    for each user id will be created and photos stored in that).
    I could add a field of max_upload tinyint(1) to the table
    users and construct a php script that could add the amount of
    images entered by a user into the images table and add a +1 to each
    added. Problem is i dont know how to create that script or mysql
    querty in order to enter into a recorset for example.
    As anyone have any ideas of the best way to set a max
    quantity limit of uploads.
    Thank you.

  • How to set Weblogic 5.1 server to display UTF8 characters

    Hi all,
    Does anybody know how to set up Weblogic 5.1 server in order to display UTF8
    characters such as Japanese characters?
    I am able to display utf8 in Tomcat but not in Weblogic. All I did for
    Tomcat is to change the content type of the servlets.
    Thank you for your help.
    Danh

    DO you have servlets which print utf-8 data to the client?
    If yes then you can just call response.setContentType("text/html;
    charset=UTF-8");
    and the response will look as expected.
    for jsps :
    <%@ page contentType="text/html; charset=UTF-8" %> should do the trick.
    Nagesh
    Michael wrote:
    I have the same problem with 7.0. Did you fine a solution?
    I'll be very interested to know how you fixed it.
    "Danh Hoai" <[email protected]> wrote:
    Hi all,
    Does anybody know how to set up Weblogic 5.1 server in order to display
    UTF8
    characters such as Japanese characters?
    I am able to display utf8 in Tomcat but not in Weblogic. All I did for
    Tomcat is to change the content type of the servlets.
    Thank you for your help.
    Danh

  • How to set weblogic 5 or 6 for XSQL servlet

    how to set weblogic 5 or 6 for XSQL Servlet

    DO you have servlets which print utf-8 data to the client?
    If yes then you can just call response.setContentType("text/html;
    charset=UTF-8");
    and the response will look as expected.
    for jsps :
    <%@ page contentType="text/html; charset=UTF-8" %> should do the trick.
    Nagesh
    Michael wrote:
    I have the same problem with 7.0. Did you fine a solution?
    I'll be very interested to know how you fixed it.
    "Danh Hoai" <[email protected]> wrote:
    Hi all,
    Does anybody know how to set up Weblogic 5.1 server in order to display
    UTF8
    characters such as Japanese characters?
    I am able to display utf8 in Tomcat but not in Weblogic. All I did for
    Tomcat is to change the content type of the servlets.
    Thank you for your help.
    Danh

  • How to set Payment Block for Service PO when IR before GR?

    Hi,
    Could anyone advice me on how to set payment block especially for service Purchase order, item category D, when IR before GR (SES)?
    Thanks,
    Alex Kwon

    Hi
    Please try this...
    in IMG>MM>Invoice Verification>Invoice Block>Item amount check
    Here you can activate the item amount check for Item categories as well as GR item.
    Pls explore I have not tested.
    Hope it helps
    Karthik

  • How to set max length for TextField ?

    how do i go about setting a max length for a TextField in jdk1.1.8 ?
    a while back there was a topic on this but it was for jdk1.0
    please help

    well if it works in 1.0 it will most likely also work in 1.1.8 if it is depricated you can use the -deprication option during compilation to see what is derpricated and what method i advised to use now.
    there may however be an easyer way in 1.1.8 but i don't know that.
    hope this helps you,
    Robert

Maybe you are looking for

  • Adobe Acrobat CS6 won't create documents from my scanner

    I am using Windows Vista 64-bit based Adobe Acrobat software from my CS 6 Creative Suite. I can view pdf documents using Acrobat CS6 Pro but I cannot seem to create a pdf from my scanner as I have in the past with older Acrobat versions. The scanned

  • Macbook boots up with a question mark

    Hi, My Macbook suddenly began to boot up with a pale greay desktop screen colour and in the centre of the screen there is a folder with a question makr inside it. I can not progress to do anything else with  it..any ideas? Cheers CFV

  • Mail will not quit

    since updating my powermac g5 dual core to leopard 10.5.6 i m finding that when i can read my mail inbox until i go to another folder, then the inbox appears blank - also, i am unable to quit mail without using force quit

  • Cookies Don't Work Properly

    OK, I've looked through this Forum carefully and tried everything.... Even though cookies for certain web sites (NYTimes, WatchGeeks) appear in Safari Preferenes they don't work, Why? My settings are as follows: Block Cookies from Third Parties, etc.

  • EMET 3.0 to 4.1 Upgrade results in notifier bug on reboot

    I am testing upgrading our enterprise environment, which is currently on 3.0 to 4.1.  After installing the product with a silent install from the below directory: waithidden msiexec.exe /i "c:\windows\temp\EMET\EMET Setup.msi" /qn /norestart The inst