How to restrict user to enter duplicate items in Purchase Order Lines?

I have to do form personalization so that user cannot enter duplicate items in the PO.
At when-new-item-instance in PO-Approve field, I have created a database function that is taking the count of items and returning the count value.
In the condition I have given condition:
1<(select func_name(parameter) from dual)
10       message                 duplicate items in the po
But its not working fine.
Thanks & Regards
Sunny

Hi,
The issue is resolved on my own exploration. We need to maintain the different authorization keys for the status which we did not want  a user  to access. If we leave it blank it will allow user to access.
Regards,
Sharath

Similar Messages

  • How to restrict the user to enter the item in purchase order?

    I want to restrict user to enter the item in purchase order.
    How can i do this?
    Please help
    Abhishek

    Hi,
       You may create a transaction variant for ME21N in SHD0 transaction. Make the item field as output only as shown below:
    Result:
       You may check the doc: Learning SHD0 with Example
    Regards,
    AKPT

  • Adopt BOM item in purchase order line item

    Hello Friends,
    I have a requirement in which i need to show a material bom components in the purchase order line item(its not an subcontracting PO).
    Please help me in this, any user exit or enhancement, badi available to do this?
    Thanks,
    Sunny

    Hi,
    Please see the below link
    http://scn.sap.com/thread/3181359

  • Please Help....On How to restrict user to enter into KM???

    Hi Experts,
    when ever user is clicking on a linkI am opening a document from the K.M. Here my problem is if user change the path, he is able to enter into KM... like..
    http://myEP:50000/irj/go/km/docs/documents/Links/World%20Time.htm
    This is the path to see an HTML page stored in KM. User is able to see the page... But when he changes the path to...
    http://myEP:50000/irj/go/km/docs/documents/Links/ 
    he is able to enter into KM into the corrosponding folder. How can I restrict him to enter into KM???
    Regards,
    Srinivas.

    Hi Gopal and S.J,
    Thank you both for your replies....
    This user is not assigned to Content Admin role....
    I have given permissions to the corrosponding folder for only one user (end user)...
    As you said(Gopal), I have seen the same case in some other portal site like...
    Assign permission for a particular folders to the end user.
    Then you will get the below message.
    The folder you are looking for has no displayable content.
    You can try one of the following:
    Access the folder using the Navigation user interface.
    Access the folder as a Web folder. Your operating system and browser dictate whether or not this will work.
    Even now I am getting the above message but still user can enter into KM....
    Regards,
    Srinivas.

  • How to Restrict user to enter the data in CAPS ONLY

    Hi,
    I have textinput in my page,i have to restrict the user to enter the data caps only.
    can any one help me on this.
    Karthik

    Hi,
    h1.
    I have textinput in my page,i have to restrict the user to enter the data caps only.
    -------u need to set the CSS class for this item
    Regards
    Meher Irk
    Edited by: Meher Irk on Oct 24, 2010 11:16 AM

  • 'How to restrict change in Quantity/Price in saved Purchase Order in SAP B1'

    Dear All,
    How can I restrict a user from changing Quantity or Price in a saved Purchase Order in SAP B1 8.81 PL 0?
    Regards.

    Try This TN SP
      If @object_type='22' and @transaction_type='U'
    BEGIN
    If Exists (SELECT T0.docnum FROM [dbo].[OPOR] T0
    INNER JOIN [dbo].[POR1] T1 ON T1.DOCENTRY = T0.docENTRY
    WHERE     T0.DOCENTRY = @list_of_cols_val_tab_del)
    BEGIN
    Select @error = -1,
    @error_message = 'Update not possible'
    End
    End
    Regards
    Kennedy

  • FB60: how to restrict users to enter specific G/L ACCOUNTS in fb60

    hi experts,
    In FB60 - vendor invoice , i want to restrict end users to select  specific g/l ACCCOUNTS .
    document type is KR - VENDOR INVOICE
    kindly give any suggestions if it is possible.
    thanks & regards,
    Raghul

    If you have a one to one between GL accounts and Committment items, the commitment item has an authorization group field on the basic data tab. You can assign certain users an authorization group linked to committment items which correspond to GL accounts.
    Depending on the complexity of what you are trying to do and considering that you don't want to require a lot of maintenance, you may be able to use line item validation.
    Finanancial Accounting, General Ledger Accounting, Business Transactions, G/L Account Posting, Carry Out and Check Document Settings, Validation in Accounting Documents (i.e. if T-code is FB60...GL acct must be XXXX and something else must be YYYY etc...)

  • How can i restrict users for entering manual expenditure batch for inventor

    Hi,
    Can someone explain me how to restrict users to enter manual pre approve batch for inventory expenditure class in projects??
    Regards,

    Forms Personalization.
    Regards
    Dharam

  • How To Restrict Users To Only Create Purchase Requisitions with Item Catalog?

    Hi, everyone 
    Please help me, 
    How To Restrict Users To Only Create Purchase Requisitions with Item Catalog? is it possible? 
    Regards,   Manuel

    Hi Steenie Norman
    First click on the text item ---> Tools ---> Property Pallete ---->
    and change the Keyboard State to Local Only also this Depend in your OS
    hope this useful ....
    Regards
    Mohammed

  • How to restrict user to not enter same value in tabular form

    Greetings !
    i m asking second time the questiion because i was not answered preivously, so please dont mind if it is a duplicate one,
    question was: i created tabular form as shown in example.
    i want to validate username as you see in my example to restrict user to enter the same value in username field before submit page.
    e.g when user is entering data as u see test in username in first row, when he/she goes to second row and type the same username like test " message will appear or restrict user that already typed or in use"..
    http://apex.oracle.com/pls/apex/f?p=45296:1:22797340776918:::::
    this all be done on typing before submit record.
    please gudie

    Hi,
    i m asking second time the questiion because i was not answered preivously, so please dont mind if it is a duplicate one,question was: i created tabular form as shown in example.
    i want to validate username as you see in my example to restrict user to enter the same value in username field before submit page.
    e.g when user is entering data as u see test in username in first row, when he/she goes to second row and type the same username like test " message will appear or restrict user that already typed or in use"..
    http://apex.oracle.com/pls/apex/f?p=45296:1:22797340776918:::::
    this all be done on typing before submit record.>
    Stick the below code in the Page Header > Javascript > Execute when Page Loads field.
    $('[input[name="f03"]').blur(function(){
      if ($('input[name="f03"][id!="'+$(this).attr('id')+'"]').val() == $(this).val()) {
         alert('Duplicate Entry.');
         var x = $(this).attr('id');
         setTimeout("(function(p){$('#'+p).focus();})('"+x+"')",100);
    })Note :
    a.f03 is the "name" of your username column in the Tabular form.
    b. This validates only the displayed values . If your Tabular Form has multiple pages then all the rows not currently displayed will be ignored.
    Cheers,

  • How to restrict user to must enter value in compulsory fields

    Greetings !
    I had a personal information form. I want to restrict user to enter values in all fields e.g Compulsory fields (Username, D.O.B etc)
    how i restrict user to must enter value in Compulsory fields

    I created an example on apex.oracle.com
    http://apex.oracle.com/pls/apex/f?p=18686:1:0:::::
    like you see a red staric placed on ID it means it is complusory to enter because it is a primary key, i want this on every field or to restrict user to enter all data , if any field left blank it will give error "to Fill respective field ", but not on creation but on left blank (if user type ID e.g 12 and skip ename field and go on Job field it gives error to fill Ename first)

  • How to restrict users working on Windows 7 clients from accessing Windows Explorer and other systems in the network through Group Policy with a domain controller running on Windows Server 2008 r2

    Dear All,
    We are having an infrastructure setup of around 500 client computers managed through group policy.
    Recently the domain controllers have been migrated from Windows Server 2003 to Server 2008 R2.
    Since this account requires extremely strict environment, we need to figure the solution for restricting the users from access anything locally.
    It would be great if you can assist me with the following query.
    How to restrict users logged on Windows 7 clients from accessing Windows Explorer and browsing other systems in the network through Group Policy with a domain controller running on Windows Server 2008 r2 ?
    Can we disable Network Tab on the left hand pane ?
    explorer.exe is blocked already, but users are able to enter the Windows Explorer by clicking on the name which is visible on the Start Menu.

    >   * explorer.exe is blocked already, but users are able to enter the
    >     Windows Explorer by clicking on the name which is visible on the
    >     Start Menu.
    You cannot block explorer.exe when you do not replace the shell - the
    desktop you see effectively IS explorer.exe...
    Your requirement sounds like you need a custom shell:
    http://gpsearch.azurewebsites.net/#2812
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • How to force user to enter supplier/customer name in captial letters in R12

    Dear all,
    Could anyone pls advise how to force user to enter supplier/customer name in captial letters in R12? Can I do it using OA framework personalization?
    HY

    Pl post exact versions of OS and EBS.
    The ability to do this exists in forms (professional user interface) using forms personalization, but does not exist in the OAF (self-service) interface, AFAIK. See related MOS Doc 399892.1 (Is It Possible To Restrict Employee Name Entry To All Upper Case in the PUI And SSHR ?) for some details.
    Pl confirm by opening an SR with Support.
    HTH
    Srini

  • How to restrict user to change original file in word document.

    Hi experts,
    I am begineer in DMS. I am not able to understand how to restrict user to make any changes to a word document attached any DIR or any object link.
    Ex: I have a created a DIR attaching a word doc to equipment master.
    However, the user is still able to make changes to that word document usign CV03 tcode. I am sure most of you might have faced this problem. Please respond.
    We are using SAP 3.1i version. It is very old version.
    Thanks in advance,
    Kiran

    Kiran,
           The task that you have mentioned could be accomplished by setting up a status network for your document type. While setting up the status network, SAP has defined statuses which could potentially lock objects and fields corresponding to that status type.
    More information could be found at
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/9f/857f3a1c7b11d294d200a0c92f024a/frameset.htm
    I am not aware of 3.0i but you can navigate to customisation --> Cross Application Components --> Document Management --> Control Data --> Define Document Types --> Click on a doc type and go to
    define doc status.
    Here if you define a document with status type S the object is essentially locked for editing.
    Sojan

  • !!!How to restrict user for making  changes in Sales order , partner level

    Hi all,
    Can anybody tell me how to restrict user for making  changes in Sales order  at partner level, is it through user exit?

    Hi Ruchi
    I hope u had gone to the screen fields which u want them not to be editable. So there u select all the fields contents which u do not want to to be changed and check the boxes with W.content and Display and save it. Once evrything is done u have to activate the particular transcation going in to the standard variants and put the name and click the activate button.
    Hope its clear
    Reward if help ful
    Sri

Maybe you are looking for

  • Problem while encoding JPEG image from JFrame paintComponent in a servlet

    Hello! I m developing webapplication in which I made one servlet that calls JFrame developed by me, and then encoding into JPEG image to send response on client browser. I m working on NetBeans 5.5 and the same code runs well. But my hosting server i

  • MS Publisher vs Pages when taken to printers.

    Hi, I ran into a problem with our local Staples store recently when I used the PAGES template for a couple of two sided brochures created with the Pages 09 templates. Staples could not use my PAGES files, nor could they use the PDF created from the f

  • Function module in Infotyp which checks if identical data already exists

    I want to create a new hr master data (tcode pa30) for Hans Müller in e.g Company X and fill out the necessary fields in Infotype 0001,0002 (Name, Birthdate, etc. ) u2013 done ! After  creating the new hr master data for Hans Müller Iu2019d like to f

  • ASA enable mode with ACS

    Hi When I SSH to my ASA is there anyway to go straight to enable mode? We use RSA SecurID which means I have to wait for the token to change before I go into enable mode at the moment. ASA config: aaa authentication ssh console CISCO-ACS LOCAL aaa au

  • Moving Mac mail between computers

    Hi! As I am considering switching from Entourage to Mac OSX Mail, I'm pondering this question: is it easy to move the e-mail archive from one machine to the other? In Entourage it all sits in Microsoft User Data/Office 2008 Identities. Where does it