Restricting PO creation to two vendors

There is a business requirement to restrict the Purchase Orders that a group of four users can create and change.  They will only be allowed to create and change POs for two vendors. 
My original thought was to add these two vendors to a purchasing group, and to create a security role that restricted the users to the Purchasing Group using Authorisation M_BEST_EKG.
However this is not how SAP works.  ME21N does not check the Purchasing Group of the vendor, but the header organisation tab that contains the EKGRP field.
A consultant has suggested that the vendors could be part of their own Purchasing Organisation.  However this is overkill to change the Enterprise structure for just a couple of vendors.
I am considering adding a user exit and coding a check of the authorisation object M_BEST_EKG.
Has anybody any suggestions?

Implemented ZME_PROCESS_PO_CUST for definition ME_PROCESS_PO_CUST.
Interface IF_EX_ME_PROCESS_PO_CUST of class ZCL_IM_ME_PROCESS_PO_CUST
added coding in CHECK 
selected LFM1-EKGRP
then
check the user has authority for vendor with this purchasing group
    AUTHORITY-CHECK OBJECT 'M_BEST_EKG' for user sy-uname
                    ID     'ACTVT' FIELD '01'
                    ID     'EKGRP' FIELD ls_lfm1-ekgrp.
if sy-subrc <> 0.
      Message E004(ZGEN) with poheader-lifnr sy-uname.
      ch_failed = 'X'.
      return.
endif.
Hope this helps others

Similar Messages

  • Restrict PO creation with a third Party vendor

    Hi,
    I would like restrict a user for PO (ME21n) creation if the vendor belongs to the third party vendor account group?
    Regards
    Sreeni
    Edited by: sadasiva srinivasa rao on Oct 12, 2010 5:27 PM

    closing

  • QM - restrict lot creation in I. Type(08) for S Loc to S Loc transfer

    Hi All,
    Thanks in advance for reply.
    We have requirement for restriction in creation of Inspection Lots using inspection type u2013 08, while stock transfer from storage location to storage location only.
    Inspection type 08 is used for stock transfers thourghout various plants.
    But in one of the plant, there is internal stock movement from one storage location to another. During this posting system is creating inspection lot(origin 08), which is not required.
    Our location is WM and HUM managed.
    Please let me know how can I restrict creation if Inspection lot in above case.
    Best regards,
    Ravi

    Hi,
    Actually we need QM activate for 311 movement type.
    We have two scenario in same plant & same material.
    1) Storage Location to storage location transfer(HUM managed location)
    2) Plant to Plant transfer(without HUM managed location)
    In material let say A, I have maintain insp type 08 & in insp type details i have activated isp with HU. Hence when I do the location to location tansfer,system is creating Inspection lot for 08 with handling unit.
    But when I transfer the same material from one plant to other,system is not creating lot as this transfer is not with handling unit.
    For this I have created one more insp type Z1 & attach to insp lot origin 08 but still insp lot is not created while plant to plant transfer.
    Pls suggest.
    Thanks,
    Ritesh/Ravi.

  • Restrict the creation of documents in the cfolders after the Bid End Date

    Hi All,
    The System allows the bidders to create documents in cfolders even after the Bid Submission deadline has reached, whereas the Quotation would not be submitted as the Bid Submission date is in the past. Is there any way to restrict the creation of documents in the cfolders after the Bid Submission End Date?
    Waiting for your reply,
    Mary

    Hi Mary,
    In the competitive scenario in the first screen itself there are fields for "Due date" and "Due time". Once these entries are maintained, that particular collaboration will get freezed then and no documents or bids can be submitted post that time.
    I hope this will solve your query.
    Regards,
    Nishit Jani
    Award points only if you find the information useful.

  • Restriction while creation of PO

    Hi,
    Need your suggestion in restriction for creation of Purchase Order. The requirment is Purchase Orders should get created from PR only & PO can't be created manually. Request to advise on this.
    Regards,
    Ranjan

    HI,
    Make the Purchase Requisition filed in PO as mandatory
    You can do it in screen layout for po
    SPRO>MM>PUR>PO>SCREEN LAYOUT
    BR
    Diwakar

  • Purchasing: Restriction of creation of PO's on the basis of buyer / user

    Hi,
    We are currently working on a requirement in which the business is expecting to restrict the buyers / users from creating Purchase Orders of some specific GL natural accounts.
    Is there any functionality using which we can provide lock / check on this.
    As the business wants to achieve this lock, since the users (buyers) are using the same responsibility and those responsibilities might have their own independent locks on the usage of Balancing Segment Values and other Cross Validation Rules.
    But, we are looking for something specific which will restrict the creation of PO's based upon the login of user / buyer / PO Creator itself.
    Any inputs in this regard shall be of great help.
    Regards,
    Saurabh Singhal.
    Bangalore, India.

    Pl do not post duplicates - Purchasing: Restriction of creation of PO's on the basis of buyer / user

  • Restrict the creation of customer master records at sales area level

    I know that you can supress fields at the company code and sales area level in customer master, but, is there a way in configuration to restrict the creation of a customer master record at the company code and sales area levels?  Only the general data level is needed for this customer account group. 
    Any help would be greatly appreciated!!

    Hi
    Create the Customer Master without entering the Company Code and sales Area. The system will allow and ask you to fill only the General Data.
    The other way is that Create a Account Group and suppress its all Fields of Accounting View and Sales Area View, so that for that account group you will have to maitain only the General view.
    Regards
    Amitesh Anand

  • Creation of Bidders / Vendors with BP

    Hi all,
    Some Basic questions. The creation of Bidders/Vendors in SRM will create a BP and links the Bidder/Vendor to the Vendor Org structure.
    Can we create just a BP alone for a Bidder/Vendor in SRM, maintain him and make him participate in bidding, without any data as a Bidder/Vendor in Manager Business Partner data?? If so how??
    Thanks,
    Steve

    Hi all,
    Thanks for the quick response.  My question was slightly different.
    I am very well aware of the fact that the Bidder/Vendors created in SRM has to be linked to the Org structure, and also that we need to create Contact persons for them.
    Basically when we can create Bidders/vendors and also their corresponding contact persons  in 'Manage Business Partner' transaction, which would create a 'Bidder Master data' with a bidder number and a 'business partner master data' with a bp number( If I am right, CP creation and SU01 User linking will be automatically taken care of ).
    Now my question was that, can I go and create a business partner with transaction BP, linking him to Org structure and also to a user id, and make the BP work fine in Bidding.
    As Disha suggested, can I just create a BP, CP for the BP and a SU01 user for the BP alone? Will that alone be sufficient?
    If yes, then after creating the BP, how do I create a CP for the BP and link the User to the BP?
    Thanks,
    Steve

  • Automatic Creation of Employee Vendor record when hired in HR

    Hi Gurus,
    Any assistance in Automatic creation of Employee vendor record when the employee is hired in HR master data.
    Thanks in Advance
    BLITZZ

    Hi,
    Use the t.code: PRAA. Give reference to an existing employee vendor.
    Or, you can also create a batch job that runs this daily. Before that you need to create a reference employee vendor and input the most common fields in it (like, Recon Account, Payment method, etc.).
    Regards,
    Kiron Kumar T.

  • BAPI_ACC_DOCUMENT_POST tax with two vendor line

    Hi ,
    I have a problem account tax parameter of Bapi_acc_document_post . I have to send two vendor lines , one of them with special gl indicator and one of them is tax related with zero amount . I fill account tax parameter properly but bapi doesnt not reflect tax item to bset table.
    Can you help me for fill BSET table
    Lets simulate record.
    account_payable-ITEMNO_ACC = 1.
    account_payable-vendor = 1000.
    account_payable-SP_GL_IND =  'R'.
    account_payable-TAX_CODE = 'I0'.
    account_payable-ITEMNO_ACC = 2.
    account_payable-vendor = 1000.
    ACCOUNTTAX-ITEMNO_ACC                     0000000003
    ACCOUNTTAX-GL_ACCOUNT                     1910101004
    ACCOUNTTAX-ACCT_KEY                       VST
    ACCOUNTTAX-TAX_CODE                       I0
    ACCOUNTTAX-ITEMNO_TAX                     000002
    CURRENCYAMOUNT-ITEMNO_ACC                     0000000003
    CURRENCYAMOUNT-CURR_TYPE                      00
    CURRENCYAMOUNT-CURRENCY                       USD
    CURRENCYAMOUNT-AMT_BASE                       1.000,0000
    CURRENCYAMOUNT-ITEMNO_ACC                     0000000002
    CURRENCYAMOUNT-CURR_TYPE                      00
    CURRENCYAMOUNT-CURRENCY                       USD
    CURRENCYAMOUNT-AMT_DOCCUR                     1.000,0000
    CURRENCYAMOUNT-AMT_BASE                       1.000,0000
    CURRENCYAMOUNT-DISC_BASE                      1.000,0000
    CURRENCYAMOUNT-ITEMNO_ACC                     0000000001
    CURRENCYAMOUNT-CURR_TYPE                      00
    CURRENCYAMOUNT-CURRENCY                       USD
    CURRENCYAMOUNT-AMT_DOCCUR                     1.000,0000-
    CURRENCYAMOUNT-AMT_BASE                       1.000,0000-
    CURRENCYAMOUNT-DISC_BASE                      1.000,0000-

    Hi,
    Check the bellow link which may help in providing you solution.
    Sample Code: BAPI_ACC_DOCUMENT_POST for FB70
    <link to blocked site removed by moderator>
    Regards,
    Goutam Kolluru.
    Edited by: Thomas Zloch on Feb 6, 2012 8:11 PM

  • Restrict   PO creation from PR.

    Hi all,
              I have created a RFQ with reference to a PR.Can i restrict
    the creation of further documents (Like PO,contract scheduling agreement)
    from this PR.
    Thanks,
    Tess

    Hi,
    If you want to have requisitions that are ONLY used to generate RFQs and they should not be able to be converted into P orders of contracts. I would still consider using a release strategy, (or if you are currently not using release strategies on P reqs, you can use the non-classification release process)
    The process could be as follows,
    create a new P req type (called RFQ or similar).
    When someone wants a requisition that can only be used for RFQs they use this document type on the requisition.
    The very basic release process blocks all P reqs of document type RFQ 9or whatever you have decided to use). the release indicator used is one that is set to allow RFQ but not allow PO creation.
    There is no need for these documents to ever be released and so there is no need for any further steps in the process.
    So from a users point of view all that happens is that they choose the correct document type when they generate the P req and that is it, everything else works without further input. If anyone tries to create a PO or contract from an "RFQ" purchase requisition they will get the standard message saying that the requisition cannot be converted to a PO etc.. (but you can still convert it to an RFQ.)
    Whatever solution you use there will have to be some user input and the above (in my opinion) keeps this to an absolute minimum(they just have to select the correct document type).
    Forgive me if I have misunderstood the problem.
    Steve B

  • Restrict PO creation for multiple plants for same company code

    Hi Gurus,
    We want to restrict PO creation for multiple plants in the same company code. Based on Standard SAP settings for Purchasing organization assignment with multiple Plant and multiple Plant assignment with single company code, this is happening. Is there a way that we can restrict by doing some customization change.
    Any thoughts or ideas will be highly appreciating.
    Thanks and Best regards,
    Karun Kumar

    Hi,
    Said functionality is not available in SAP standard.
    To avoid the same ,i can suggest implement release strategy for PO,and then higher authority / commercial team can check created PO,if multiple plants available in single po then they have the option of rejection for the same.
    Or else check BADI-ME_PROCESS_PO_CUST,take the help from abapor and apply the restriction to select multiple plant in PO.
    Hope this will resolve your query,
    Thanks & Regards,
    Sandesh Sawant

  • Mandatory fields for creation of FB60(vendor invoice),and FK01(cost center)

    Hi all,
    can u plz send me the mandatory fields(along with discription) for creation of FB60(vendor invoice),and FK01(cost center).
    thank u,
    Srinivas Reddy.

    The FK01 is the transaction used to create a Vendor.
    The mandatory fields are:
    a. NAME1: For Name
    b. SORT1: For CUIT number.
    c. SORT2: For alternative CUIT number.
    d. CITY1: For city.
    e. STCD1: Tax Number.
    f. Others depending the case.
    For FB60 (Vendor invoice) the mandatory fields are:
    a. ACCNT: Number of Vendor Account.
    b. BLDAT: Date.
    c. XBLNR: Reference Number.
    d. WRBTR: Invoice Amount.
    e. HKONT: G/L Account Number.
    f. WRBTR: Invoice Amount. The same as d but in the item.
    g.MWSKZ: Tax Type. Depending the case.
    h. KOSTL: Cost Center. Depending the case but is highly probable that the field were mandatory.
    i. Others. Depending the case.
    I have given to you the most probably fields that are mandatory for those transactions.
    Your Sincerely
    Leonardo Lopez
    FI Consultant

  • Two vendor payment against single stage

    Hi
    I have assigned different partner function for a stage under PARTNER tab in shipment document.My route is direct it has only one leg or stage .Now i want to make different payment for these two vendors .When I am doing VI01 SAP is calculating cost only against forwarding agent (CR).Only one line item is getting generated in VI01 and which is against forwarding agent.how to calculate service charge against other vendor (e.g. loading supervisory) .
    Regards

    Hi I am done with this .
    We can have multiple vendor against a single stage and can have different service PO and entry sheet against which we will make a payment to vendor (forwarding agent and loading supervisor or any third one). I did it by splitting the stage , created a new load transfer point and assign a vendor to this . At shipment cost two line item will b created against two partner functions.
    Bye for now

  • Same RFQ for two Vendors.

    Dear Experts,
    I have created a RFQ and in the vendor adress i have given the vendor Number.Now if i want the same RFQ to be sent to two  vendors then how can i do it.
    Kind Regards
    Sajid

    Dear,
    1. You create an RFQ either manually or by referencing an already existing RFQ, requisition, or outline purchase agreement.
    2. You specify which vendors are to receive the RFQ. A separate document is then created for each addressee.
    3. You enter the prices and conditions set out in the quotation submitted by the vendor into the RFQ document.
    4. You carry out a comparative appraisal of several vendor quotations by means of the price comparison list.
    The individual quotations are compared item by item. The mean value quotation represents the average value of the individual quotes.
    5. You can save the most favorable quotation in an info record and send rejection letters to unsuccessful bidders.
    6. You can monitor the status of follow-on activities relating to the RFQ and quotation (e.g. a contract is set up or a purchase order issued).
    Regards,
    R.Brahmankar

Maybe you are looking for

  • How do I move my itunes account from old to new email address/userID?

    My itunes account was setup using a work email address.  I want to move my apps and music from that email to a personal email.  How do I do that without loosing anything?

  • Oracle Forms 6i and database oracle 11g

    Hello! Today we have Oracle Forms 6i running against databse 9i. We are in the process of upgrading our db to 11g. Will our Forms application still work? What steps do we need to do to make it work? Any input is valuable. We have the same quetsion oa

  • EXTERNAL HARD DRIVE FORMATTING ERROR

    I have a WD External HD and I want to format it to Jorunaled. There is no content on the drive. I go to disk utilities and I change the FAT to Jorunaled and click erased and its says: Volume drive failed on an error: The underlying task reported a fa

  • Workspace error when drilling down on Essbase Cube

    An Interactive Reporting Service error has occurred.-Failed to acquire requested service. (2001) We're trying to create OLAP queries in IR to deploy through workspace. When I drill down on any dimension, after deploying to workspace, I get the generi

  • When Trying To sign into NetFlix Getting Error 1006

    When I tried to sign into Netflix I kept getting Error 1006. But I Already resolved my Issue 1. Hard reset, hold down the power & home button at the same time and release until you see the apple logo appear 2. Reset network Settings 3.Reset All Setti