Userexit Me21n for vendor number

Hi Expart,
I have a requirement when we r createing PO. vendor data putting in me21n screen.
my requirment is if my vendor no . VIN00010 then only company code 7100 should be selected ME21N
while creating PO , If different company code is selected error message should be shown . PO n't create .Please let me known How can i do this ? .
Functional consultants given userexit MM06E005 but this user exit already has been implemented another project . The userexit  MM06E005 having  there function module .EXIT_SAPMM06E_006 ,EXIT_SAPMM06E_007,EXIT_SAPMM06E_008 .Tell me which function module i m using according to my requirment .
Please tell me any userexit or Badi according to my requirment .
Regards
Bhabani

Hi,
You can use the already existing implementation of the Enhancement MM06E005.
Infact an enhancement can be used in only one Project (i.e., implemenation). You have to write the code in the already existing implementation.
You can also try using BADI ME_PROCESS_PO_CUST.
Hope this helps.
Regards,
Abhisek.

Similar Messages

  • Userexit/Badi for vendor or enduser addition/change in sales order creation

    Hello Gurus,
    I need a userexit/badi that gets triggered on the addition/change of partners in sales orders
    I need to make some validations when the user adds/changes the vendor or
    enduser in the sales order creation.
    I tried many exits that I could find from forum but they were not able to asist.
    Any help would be much appreciated.
    Thanks in Advance,
    Sumit.

    Well, if all else fails, USEREXIT_MOVE_FIELD_TO_VBAK will definitely be called when you change partners... but of course it will be called much more often than at only partner changes. Still, internal table XVBPA shows the current partners, so you could compare its content with the earlier state of the table to recognize a partner change you're interested in.
    Strangely, the usual Y-table (YVBPA) is not populated, not sure why, otherwise the comparison would be even easier.

  • Diff. Tcodes for Vendor Master Data

    Hi,
    We create the Vendor Master through XK01 Tcode...In which 3 window comes...General Data, Company Code Data and Purchasing data...
    In General Data, 4 checkbox are there....Address, Control, Payment Transactions and Contact Persons...
    Now requirement is this, we want a separate Tcode for Vendor Address which includes Address and Control data only...Also when we save this data, an Request Number should be create for Vendor Number Creation...
    Is there any solution for it...

    Hi,
    If you want to control use of check box itself under General Data, then one way is to use of screen variant using SHD0.
    Refer the below link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a070bfbb-d34a-2d10-b092-ecbe0b0d4a4c?QuickLink=index&overridelayout=true
    Regds,
    CB
    Edited by: Channabasappa.K on Jan 16, 2012 11:46 AM

  • Vendor number ranges

    Dear All,
    i guess there is sum buffering set in the system for vendor number ranges ,
    coz wen i create new vendor it skips sum of the number and shows next number in vendor number range
    how can i set buffering zero ,,as we do in material ,
    thanks,

    Could u plz guide me how to get the number range object for vendor?
    coz i used,, the object name vendor , but it doesnt work ,
    thanks

  • Vendor number disappears in ME2N

    Hi,
    When using Vendors (General) search tab the vendor number disappears when I click on it to bring it into the search transaction.
    In transaction ME2N vendor selection by vendor (General)
    Searching for vendor number to bring into transaction.  Double click on vendor number, it should drop it into the transaction vendor box but it brings over nothing. what may be the issue.
    Vendor no is not copied in the list when we double click on one of the vendor from the list.
    even we select it will be blank, kindly assist as it is on high proirity.
    With regards,
    Sathish

    Hi,
    ME2N is used to get Purchase Orders list by PO Number  but as your trying with criteria as  vendor in ME2N t.code, you will get lists of PO definitely, if you are not getting then the purachse orders are not created from that vendor you are entering in ME2N.
    Just try in t.code: ME2L to get Purchase Orders list by Vendor 
    Regards,
    Biju K

  • In ME21N,User Exit/BADI for  Defaulting  Vendor number at item level.

    Hi Experts.
    In ME21N, for every purchase order, we have condtion tab for each line item.
    Many condition typesot taxes  are listed based on the config for the materials.
    My requirements is, When we go inside by selecting a condition type we find vendor number displayed.
    I need a user exit/BADI for defaulting the Vendor number.
    Regards
    Balaji R

    Hi,
    check with below link,
    fo this one you will find both user exit and badis
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/find%252bapplication%252bclass%252bwith%252bexits%252band%252bbadis%252bfor%252ba%252btransaction
    Regards,
    Madhu

  • Vendor number for ADRMAS and CREMAS

    Dear all
    i am creating vendors in SAP using ADRMAS and CREMAS and sending both of them in a serialized manner. For ADRMAS to be linked with CREMAS, we need to provide same vendor number.
    i can get the next vendor number using the BAPI_VENDOR_GETINTNUMBER.
    I have different mappings for CREMAS and ADRMAS, so each time i get a different internal number for vendors. how do i link my idocs using the same vendor number?
    Regards
    Monika

    Hi,
    cremas and adrmas are coming form one source message right ?
    a) yes - then you can put the one ID (any) into both and get the genarated number later on on the basis of this ID in the receiver system while posting the idoc
    b) no - then they must have a different reference number inside already which you can post to SAP (in any special field - like search filed for example) - and get the correct number in the receiver system while posting idoc
    Regards,
    Michal Krawczyk

  • Shipment document number and cost document number for vendor invoice

    Hi,
    Given a Vendor invoice number ( MIRO) how to find out the shipment number and cost docuemnt number?
    Regards,
    Krishna prasad.

    Hi,
    Please try using SREL_GET_NEXT_RELATIONS. Please try to search on SDN and you should find an example fo this. The only thing you need to pass is the Business Object Name for Vendor Invoice number. Or if you have an alternal field like even PO that you can pass , that will be of great help as well.
    You may want to take a look at:
    SREL_DISPLAY_LIST_OF_NEIGHBORS
    SREL_GET_NEXT_RELATIONS
    Pls reward points if useful.
    Thanks
    Ganesh.S

  • I am facing problem while working for userexit for vendor master and Editor

    Hi,
    I am working one userexit for vendor master. My objective is after MK01 transaction, I want to attach MM01 transaction using userexit SAPMF02K on IDES version.
    1) Function module is EXIT_SAPMF02K_001 and Include is ZXF05U01.
      while duble click on Include is ZXF05U01, I am getting below error.
      (Program names ZX...are reserved for includes of exit function groups).
    2) Second userexit is Menu exit.
        I want to create a sub menu in ABAP Editor under Utilities->Customer Exit.
       If double click on Customer exit then MM01 should be called.
       So I got one userexit SEU00001  and Function module under that EXIT_SAPLEDITOR_001  and incluse is ZXSEUU21
       If I double click on ZXSEUU21 then same error getting displayed
       (Program names ZX...are reserved for includes of exit function groups).
    Can any one help me to resolve this.
    Waiting for quick response.
    Best Regards,
    BDP

    Hi Bansidhar.,
    If you have created the include with same name and implemented youe logic , then it should stop in your include when you have put breakpointin it.
    Please try to find the case in  which you user exit is called .
    It is not necessary that you include will be executed in all cases , please try to use data which is suitable for your case.

  • Which number range is used for down payment requests for vendors?

    Hi,
    Which number range is usually used for down payment requests for vendors?
    I would like to use it for:
    Y002 vendors (emplyees)
    Y004 vendors (1-time vendors)
    Y005 vendors (confidential vendors)
    The invoice will be posted via FI via Tcode FB60, FB65 & FB10 and F-02.
    Thank you for your feedback.
    Kind regards,
    Linda

    Hi
    For down payment request the Document type is KA hence the number range which is applicable to KA is applicable for vendor downpament also.
    In your case the number range is based on document types and not related to vendor types.
    Thanks
    Srinivas

  • Vendor Number for employees in SAP

    Hi ,
    I m new to travel And expense module. Had a quick question :
    How do we check wether employee's have vendor number set- up ? Are there any tables for the same purpose.
    Any reply is appreciatable.
    Thanks
    Kylietisha

    Hi,
    You can check by going into tcode fk03 and find out whether Vendor record for employees had been created or not. The employee vendor master record starts with pxxxx.
    Hope this helps.
    Regards,
    S.Srikanth

  • Maintain License number for vendor master

    Dear MM Experts,
    I want to maintain the vendor's license no. where to maintain in vendor master
    Please suggest.
    Suggestions will be rewarded.
    Regards,
    Prabhakaran M

    Hi,
    In general Data Account Control you can maintain License number for vendor.
    regards
    rakesh

  • Number assignment for vendor account group

    Hi all,
    I would like to assign no range for my newly created vendor account group in xkn1
    But how to create it with reference to my acocunt group....kindly explain in detail
    tks
    kali

    Hi,
    Use OMSJ trxn code to assign Number ranges for Vendor Account Groups.
    Reg,
    Ashok
    Rewards Welcome

  • Number range  for vendors

    how to set a number range for vendor automatic.
    please help....
    i will assign point.

    Hi Jatin,
    fallow the path:
    Financial Accounting-> Accounts Receivable and Accounts Payable -> Vendor Accounts -> Master Data -> Preparations for Creating Vendor Master Data -> Create Number Ranges for Vendor Accounts.
    Here you can create number range for vendors. And in number range screen, you have a check box called Ext. If you select this, it will ask you to give your number (means external number system). If you need internal number (Automatic number), do not select this.
    Hope this will help you.
    Pl. Assign points if useful.
    Thanks,

  • Number Range for Vendor

    Hi,
    Can we lock the Number range for Vendor when others are editing
    I am using NUMBER_GET_NEXT with Object as KREDITOR
    Edited by: Chandrasekhar Jagarlamudi on May 8, 2008 9:20 PM

    Hi Gautham
    Thanks for your reply.
    But in this exit, we dont have import/changing parameters for the number range.
    Then how can we do this requirement, please explain me.
    regards
    raja

Maybe you are looking for