How to restrict the user for creating CR memo if the billing qty exceeds

Hi sd gurus
I am facing a problame. th issue is when ever I am going to raise a cr memo req more then the billing qty the system simply gives an error msg stating that the billing qty is exceeds and still I am able to create the document. I want to restrict it. means if the cr req qty exceeds the billing qty system has to throw an error and document should not saved. Plz suggest me
thankx in advance

Go to VTAF, select the item category for the combination of credit memo request and billing type and maintain "+" for the field "Pos./neg. quantity"
Also go to OVAH and change message class V4 no 229 to E will work
G. Lakshmipathi

Similar Messages

  • How to restrict a user for the other plant orders In CATS

    Hi
    We are using CATS for entering labour hours in PM orders. While entering the time in CAT2 first we will select the personal number of the employee and the order number in which he has worked .
    My question is while entering the order number if we worgly entered the other plant order number it should give error message saying that order number not belong to other plant.
    How can we restrict this .At present it is accepting the other palnt orders
    Thanks in advance
    Gangadhar

    Hi,
    You have to add some more fields in CAT2 this will serve your purpose.
    Text for Plant etc .
    Regards,
    Kapil Kaushal

  • How to restrict a user typing a custom value in the dDocAccount field.

    I have dDocAccount field drop down pre-populated with 2 values - Dept1, Dept2. However, user can able to type any other values (say Dept3) in the account text box and checkin a doc from WCC UI. How to restrict user from entering custom values?
    As an alternate solution - for time being i have the above account field is set as hidden using rule. I am trying to derive the account value from another one field's value (say Departments field with values Dept1, Dept2). I tried below code and found working:
    Department is a custom field created as option list with values Dept1, Dept2
    Under the Rules, for the field dDocAccount, is derived field checked and added below code
    <$dprDerivedValue=#active.xDepartment, getValue("#local","dOption")$>

    Hi,
    If Department is a custom metadata then you should access it like xDepartment(as any other custom metadata), not dDepartment.
    I know it is also possible to change the HTML that is generated for the dDocAccount field, to add javascript validation and so on, maybe this approach plus some additional JS and HTML twists and you should get it working(via component development).
    Hope it helps,
    Vlad

  • How the MD14 for createing PR NO# of the user-exits?

    Dear All
             I want use MD14 to create PR,when I input the PR types u2018Z101u2019 in MD14 column PR types,(Z101 link PR NO#  97XXXX),but why the PR NO# is not the 97XXXX,Itu2019s 10XXXX,I think the 10XXXX  is the NB PR types.
    How can I set the Z101 in MD14 to create the correct PR?
    Config or user-exits?
    Thanks
    Sun

    hi,
    you need to chec out in config...

  • How to restrict the user for re-submitting the same form

    Hi All,
    I would like to know, How to restrict a user for re-submitting the same page.
    I have a jsp page with submit button... and should not allow the user to save the same data again ..
    Anil

    Try the followings. If user disable cookies, this will not work. You need to modify to detect such situation!
    String processed = "mycooke";
    Cookie[] cookies = request.getCookies();
    Cookie c = null;
    if (cookies!=null) {
       for (int i=0; i < cookies.length; i++) {
           if (cookies.getName.equals(processed)) {
    c = cookies[i];
    break;
    if (c!=null) {
    // already processed.
    // send error message and exit.
    // set cookie;
    c = new Cookie(processed , "yourdata");
    c.setMaxAge(-1);
    response.addCookie(c);
    // process as it is the first;

  • To find the list of the users for a paritcular program

    Hi,
    How to find list of the user for a paritcular program and the last time used for that progam.
    plz help me out....
    Advance thnks....

    You can find this in TRDIR table, field names are
    Last changed by --> UNAM
    Last Changed On --> UDAT
    and
    Try transaction STAD to find the last execution of a program

  • How can we restrict the other user to add their user id's to the user group created in SQ03?

    Hello All,
    How can we restrict the other user to add their user id's to the user group created in SQ03?
    When we enter the user group name and click on "Assign users and Infosets" button in the attached pic "User Group" .
    I was able to enter my user id in other user groups. How to Grey out the other rows in the attached pic "User Group 1".

    How strange I answered (or at least helped) this very same question earlier today. Here the link to my previous answer then:
    http://scn.sap.com/thread/3536135

  • Reading from a file. How to ask the user for file name at run time????

    I have the code to read from a file but my problem is how to prompt the user for the file name at run time.
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.util.InputMismatchException;
    import java.util.Scanner;
    public class FileRead {
        public static void main(String args[]) {
            Scanner scan = null;
            File file = new File("Results.txt");
            String number;
            try {
                scan = new Scanner(file);
                while (scan.hasNext()){
                number = scan.next();
                System.out.println(number);}
            catch (FileNotFoundException ex1){
                System.out.println("No such file");
            catch (IllegalStateException ex2){
                System.out.println("Did you close the read by mistake");
            catch (InputMismatchException ex){
                System.out.println("File structure incorrect");
            finally{
                scan.close();}
    }Any hints would be greatly appreciated. Thank you in advance

    I have read through some of the tutorials that you have directed me too and they are very useful, thank you. however there are still a few things that i am not clear about. I am using net beans 5.0 I have placed a text file named Results.txt into the project at the root so the program can view it.
    When I use the code that you provided me with, does it matter where the file is, or will it look through everywhere on the hard drive to find a match?
    This code compiles but at run time it comes up with this error
    run-single:
    java.lang.NoClassDefFoundError: NamedFile
    Exception in thread "main"
    Java Result: 1
    BUILD SUCCESSFUL (total time: 3 seconds)
    import java.util.Scanner;
    import java.io.*;
    class NamedFileInput
      public static void main (String[] args) throws IOException
        int num, square;   
        // this Scanner is used to read what the user enters
        Scanner user = new Scanner( System.in );
        String  fileName;
        System.out.print("File Name: ");
        fileName = user.nextLine().trim();
        File file = new File( fileName );     // create a File object
        // this Scanner is used to read from the file
        Scanner scan = new Scanner( file );     
        while( scan.hasNextInt() )   // is there more data to process?
          num = scan.nextInt();
          square = num * num ;     
          System.out.println("The square of " + num + " is " + square);
    }his is the code that i used. It is the same as the code you posted for me (on chapter 23 I/O using Scanner and PrintStream) Sorry im just really stuck on this!!

  • Is it possible to restrict the user from creating a sibling and allow him to ONLY create child nodes in DRM?

    When in a hierarchy, a user right clicks on a node to crate a new node, he has two options
    -Child
    -Sibling
    Is it possible to restrict the user from creating a sibling and allow him to ONLY create child nodes?
    Business cases:
    1. different level nodes need to have different prefixes.
    - Thus, the default prefix property definition uses the level number to assign a prefix
    - Also, a validation, to ensure the correct prefix, uses the level number
    But if the user can create a child and a sibling then the default prefix will only be right for a single case and not both.
    Thanks

    If the images are exactly the same size then make sure the layer with the mask
    is the active layer and in the other documents go to Select>Load Selection and choose
    your document with the layer mask under Source document and under channel choose the layer mask.
    After the selection loads press the layer mask icon at the bottom of the layers panel.
    MTSTUNER

  • How to identify the user who created the variant

    Hi All,
    Can anyone tell me how to identify the user who created the variant ?

    Hi Dear,
    For the same go to SE11 and view the table "VARID". This table give the details of the program,user,variant etc.
    From this table u can know which user created the variant. Hope this solve your purpose.
    Regards

  • Want to know the user who created conditin record for Batchaes. T-Code VCH1

    Can any one help me to find out the user who created the condition record for batches T-Code VCH1

    I got the answer, we need to go to strategy record slect it and next select selection criteria and environment--->change document.
    It gives u the change log information for the condition record.

  • When a new user is created on the Server Computer,Why profile for the user is created as computername.username?

    When a new user is created on the Server Computer,Why profile for the user is created as computername.username?

    This is done if there are domain users with the same name. For example, if there is a domain user named 'test' who has logged in on the server, he will get the profile 'test'. If you then create a local user named 'test', the profile 'test' already exists
    and the computer will create the profile 'computername.test'

  • How do you lock a PDF file so that the user cannot create or delete bookmarks?

    How do you lock a PDF file so that the user cannot create or delete bookmarks?
    Thanks!

    There's no way to lock bookmarks specifically, but if you you can apply a
    security policy to prevent editing the PDF in general.

  • How to show a database to a user for which only he has the read access?

    Hi All,
    We have a SQL Server and it has say 10 datatabases, we have created a login and also a user which has read access to just one of the 10 databases.
    I used 
    use [master]
    DENY VIEW ANY  DATABASE to msam_test
    To hide all the databases from explorer for that user if he logsin with msam_test.Now, i want this user to see a database named suresh3_test for which he has a read access.
    Can someone please help me if this is achievable?
    Thanks

    hi,
    It is not possible to look at one database if the user only have read access in your scenario.
    either you revoke the DENY VIEW ANY  DATABASE permission, which will list all the databases  for the user
    or  You need to make the user database owner by doing so:
    First delete the user from the database
    Right click on the database and select properties and change the owner to msam_test as shown in the pic below
    But the user will have owner rights on the database.
    Hope this clarifies your doubt. The same was explained in your earlier post as well
    Thanks
    Bhanu

  • HOW TO KNOW THE TCODE FOR CREATING A NEW ENTRY IN A PARTICULAR TABLE

    HI,
        CAN YOU PLEASE LET ME KNOW THE PROCEDURE TO GET THE TCODE FOR CREATING A NEW ENTITY IN A TABLE .
       EG: IS THERE ANY PROCEDURE TO KNOW THAT IF I CREATE A NEW ENTITY IN MM01 IT WILL BE STORED IN TABLE MARA.
    THANKING YOU.

    Hi Venkata,
    If you want to know, for a given table, which transaction/program(s) will create a new record,  there is no easy procedure, other than to refer to experts who deal with these programs.
    It is possible to get a list of programs that refer to a table.  SE11, select the table, select the 'where-used' icon, select programs, execute.  You will be presented with a list of programs that read or write to that table.  From that list you would have to determine which one(s) create records, using your ABAP skills.  From those selected programs you would have to find which, if any, had a transaction assigned.
    Many tables are updated by more than one program/transaction.  Many other tables are not updated by ANY interactive transaction.
    If you ever decide to go ahead with this research, make sure you publish it.  You could probably make yourself a bit of money.
    Regards,
    DB49

Maybe you are looking for

  • Ive lost sound from my iMac, and itunes wont play

    Hi Ive been having trouble with my mac for a few weeks - since losing my Microsoft Office suite and trying to reinstall it.  Wont allow me to as hard drive is full.  Then lost all info on screen - grey screen on lonin - so rebooted in Safety Mode and

  • Opera 9.5 - mplayerplug-in {SOLVED}

    I have Opera 9.5 installed and in works well, except it will not recognize the mplayerplug-in in /usr/lib/mozilla/plugins, although every other plugin is recognized. Even copying  mplayerplug-in* to /usr/lib/opera/plugins does not help. Has anyone el

  • FTP root Folder

    Hi - I have 2 domains hosted on my OS X snow leopard Server. I would like to have my users FTP in different location of the server - I cannot find a way to set the FTP to do this - it looks like it has to be one location and shared point only - But i

  • %Error opening nvram:/startup-config (Permission denied)

    I'm getting an odd error, permission denied trying to issue "show config" at user level.  We use this throughout the environment with no issues. IOS: System image file is "flash0:c2900-universalk9-mz.SPA.152-3.T.bin" R1#sh run | i aaa aaa new-model a

  • Migrate portal 306 (Windows NT) to portal 308 (Sun Solaris)

    is it possible to migrate portal 306 on Windows NT to portal 308 on Sun Solaris. the portal on Windows NT has only external portlets integrated into it. is it possible to migrate ...? any answers would be great help. thanx a bunch. null