Vendor number with logic inbuilt for Purchasing organization

Hi,
Can anyone help me to get Vendor Numbers based on purchasing organization.
Example: Purchasing organization 1A, Vendor account no internal number range assigned is 10000-19999
Now we create new vendor code , it should be 1A10000, instead of 10000.
Please help.
Regards,
MG

Hi Manish,
You can use the BADI VENDOR_ADD_DATA for this purpose. Implement it and write the below code in method MODIFY_ACCOUNT_NUMBER
The code will be like below:
method IF_EX_VENDOR_ADD_DATA~MODIFY_ACCOUNT_NUMBER.
  data : v_eko type ekko-ekorg.
  get PARAMETER ID 'EKO' FIELD v_eko.
  C_LIFNR = C_LIFNR+5(5).
  CONCATENATE v_eko C_LIFNR INTO C_LIFNR.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = C_LIFNR
IMPORTING
OUTPUT = C_LIFNR .
endmethod.
It will resolve your problem.
Thanks

Similar Messages

  • Query to find vendor number with whom a particular item was last purchased.

    Hi All,
    I want to frame a SQL query to find vendor number with whom a particular item was last purchased.
    I got to know that we can find this by looking at the open Purchase Order or the Material Transactions for the transaction type of ‘PO Receipt’ whichever is the latest.
    Can anyone please help me in framing such query.
    Regards,
    Shruti

    Here is a hint
    Use the mtl_system_items_b table to get the inventory_item_id.
    Use it in the po_lines_all table to get po_header_id
    Use it in po_headers_all table to get vendor_id
    Use it in po_vendors to get segment1 (i.e. vendor#)
    Hope this helps,
    Sandeep Gandhi

  • Vendor is not defined for purchase organization

    Dear Friends,
    I am receiving this message :
    "vendor is not defined for purchase organization "
    What has to do in the system to avoid this message ?
    Regards
    Marco

    Hi,
    This is not a config problem,. so, you have extend the vendor to the respective purchase organization using T-code XK01 - create vendor as follows.
    Type XK01
    Vendor Code :________ (to be given)
    Company Code : ______ (to be given)
    Pur.organization : _____ (to be given)
    Account Group : ______(to be given)
    Reference :
    Vendor code    : ________ ( vendor code given)
    Company code : _______ (company code given)
    Pur.organization : _______(vendor created pur.org code given)
    After fill the above data and press enter key and SAVE. The vendor extended to the respective (under reference data's) purchase organization.
    Hope, it is useful for you.
    Regards,
    K.Rajendran

  • Release purchase order procedure for Purchasing Organization,

    I am trying to customize a Release procedure order for Purchasing Organization,
    Characteristic with table EKKO and field EKORG,  for value I have specified  a char. value ZA01 , which is the name of my purchase organization, but all purchasing organization are selected anyway!
    On value assignment 'single value' and  number of chars 4, no mask.
    I have maintained class, release codes, etc

    i hope you have done all the settings for the release of purchase order. use CEKKO table for characteristic and also define your purchase organization in your release strategy.
    Edited by: Vimalanathan.A on Feb 16, 2011 12:12 PM

  • System settings for purchasing organization PO01 incomplete

    Hi!
    I've been doing a vendor evaluation but I got this message: System settings for purchasing organization PO01 incomplete. Kindly assist me where in SPRO can I fix this. Thank you.

    hi,
    Define Purchasing Organization data for vendor evaluations in transaction OMGL.
    Hope it helps..
    Regards
    Priyanka.P

  • System settings for purchasing organization 1000 incomplete

    I have done Vendor evalution setting for one purchase organization.
    then i went to t.code : ME61 For maintain vendor evalution while doing i got error message like     " System settings for purchasing organization 1000 incomplete ".
    Please anyone help me out in this

    Hi
    Which Criteria you are evaluating standard or custom?
    If you are doing Vendor Evaluation for Purchasing Org 1000, you need to complete the assignment of Criteria, Sub-criteria, Weighing keys and Maintain Purchasing Organization data.
    Thanks
    Prashanth

  • Supplier not intended for purchasing organization message

    Hello All,
    We are implementing SAP SRM 7.03 with ECC 6.0.
    During SC creation stage we are getting a error message, 'Supplier not intended for purchasing organization'
    We are with one single purchasing organization, in the supplier search help the purchasing organization field is blank.
    In table BBPM_BUT_FRG0061 the purchasing organization is available for all the replicated suppliers. In the org structure maintenance the Purchasing Organization and Purchasing Group functions are responsibility is defined properly.
    The observation is in the basic data of the shopping cart, the purchasing organization and purchasing group fields are missing.
    Kindly share pointers in resolving this issue.
    Rgds,
    Madhan

    Dear Madhan,
    I have faced similar problem recently, got the same error, however it was configured properly.
    Resolved it with setting the message to warning:
    Use T.code sm30 - table BBPV_PDMSG check oblect BBP_PD 018 it should be: EWI / E
    Than add  new entry to table BBPV_PDMSG_CUS for object BUS2000113 it should be
    : Message class BBP_PD No 018 type W. Save your changes.
    Or you can do the same with SPRO - SRM Server - Cross-application basic settings - Message Control - Influence message control  for object BUS2000113.
    Hope it helps!
    Sincerely yours,
    Sergey Eropkin

  • Query to fetch vendor number with whom this item was last purchased

    Hi All,
    We have a requirement to fetch the vendor number for an item with whom the item was last purchased. We need to derive this by looking at the open Purchase Order or the Material Transactions for the transaction type of ‘PO Receipt’ whichever is the latest.
    For this we are using the below query, but this query is taking a lot of time and doing an INDEX RANGE SCAN on PO_LINES_N1 & MTL_MATERIAL_TRANSACTIONS_N1
    SELECT MAX (v.segment1)KEEP (DENSE_RANK LAST ORDER BY DECODE
    (UPPER (poh.closed_code),
    'OPEN', poh.creation_date,
    mmt.transaction_date
    poh.creation_date) seg1
    FROM po_headers_all poh,
    po_vendors v,
    mtl_material_transactions mmt
    WHERE poh.po_header_id IN (SELECT pol.po_header_id
    FROM po_lines_all pol
    WHERE pol.item_id = p_inv_id)
    AND v.vendor_id = poh.vendor_id
    AND mmt.inventory_item_id(+) = p_inv_id
    AND mmt.transaction_type_id(+) = 18
    AND mmt.transaction_source_id(+) = poh.po_header_id;
    Can anyone please help me in rewriting this query or if we can use different tables to acheive the same functionality.
    Regards,
    Shruti

    Hi,
    Can anyone please help me with the below query.
    Regards,
    Shruti

  • Where is ME023 - Vendor 4*** blocked for purchasing organization S***

    Hi Gurus,
    I have blocked the vendor for purchasing organizantion. Now when i m raising PO it is flashing Error message.
    My requirement is to have it Warning Message.
    But when i searched in purchasing- environment data - messages there is no message ME023 to make it Warning message.
    How to proceed further.
    I have added manually message ME023 and made it warning message evernthough while PO it is showing error message.
    Please help.
    I WANT ME023 as Warning message.
    Thanks,
    Navin

    Hi,
    Question: You are blocking hte vendor and using the same for transaction. IT is not possible.
    As per standard SAP once you block the vendor for any particular PORG or C.code than you cannot create any PO or requisition....
    You can create only the defined messaegs into warning and created by your ones..only. There are options while blocking the vendor that you want to block it for all PORg's or specify one...and also having option to block of PO or Quotations..etc..
    Please check...

  • Change vendor evaluation with new scores for automatic criteria

    Hi,
    I would like to delete actual vendor evaluations and revaluate my vendors with new scores for the automatic criteria on time delivery.
    Using the program RMEVALDL doesn't work.
    Does somebody have a suggestion please ??
    Thanks in advance,
    Kind regards

    hi,
    Points scores for automatic subcriteria: The intervals for the automatic subcriteria used must be maintained, otherwise nonsensical scores may result. In addition to the F1 documentation, you should take account of SAP Note 51054. The limit values -99.9% and 99.9% must be maintained. Similarly, the invisible limit 0 must be observed.
    Variance             Score
    -99.9%               1
    +99.9%              100
    A variance of 0% brings the vendor 100 points, whereas a variance of -1% results in a score of 1 point.
    check the following link.
    http://wiki.sdn.sap.com/wiki/display/ERPSCM/KnowledgePaperVendor+Evaluation
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MMISVE/MMISVE.pdf
    regards
    sumit simran

  • Can AME used in combination with position heirarchy for purchase requisitions ?

    Hello,
    We are using position heirarchy for purchase requisitions.
    Can we use Approval Management engine in combination with the existing position heirarchy for purchase requisitions for more flexible workflow routing ?
    regards,
    Natalia

    Hi Natalia,
    Have your inquiry been addressed? Please let me know if you need any further assistance in this, otherwise, Please mark the answer as Correct/Helpful in order to leverage the discussion and facilitate correct answer to other members who may confront the same concern of yours.
    Note: Liking the answer will not mark it as Correct/Helpful, you have to open the discussion first to be able to mark it (This is not possible by opening the discussion from your inbox)
    Thanks,

  • Check table for Purchasing organization in SRM .

    Hi all,
    I have to create a Ztable in SRM.This table is having Purchasing organization Field
    i.e. ZEKORG. I have to give check table for this. The check table for this is T024E.
    Is it right or not?If not help me on this. Are T tables in SRM different?
    Rewards to all.
    Anupama.

    Anupama,
      I am sure its not the T tables that store ur pur org data...
      Try looking at hrp5500 table..
      Let me know if you have more questions..
    Regards
    Rakesh
    Ps. Pls close the thread if ur question is answered..

  • Issue using material document number as dynamic bin for purchase orders

    Hi...
    We are currently using the material document number as a dynamic bin at receiving because we expect to have multiple receipts of the same purchase order.  The current setup has everything going into quality inspection, and an inspection lot creates for each goods receipt.
    When QM rejects parts to return to vendor, a 122 movement is automatically generated.  When this 122 movement generates, the WM stock overview shows a negative balance using the material document number of the 122 movement as the dynamic bin.  The positive balance still shows as the material document from the 101 movement.
    Is there any configuration that can be set up to fix this issue or will SAP always take the most recent material document as the dynamic bin?
    Thanks for the help!

    I've tried the following configuration with movement type configuration:
    Quality stock in 902 storage type with material document as dynamic bin (requirement type configuration updated).  When a return to vendor is completed, there is a positive balance in 902 with the GR material doc number as the bin and a negative balance with the 122 material doc # as the bin. 
    I also tried configuring this with using GR-DOCK as a bin, and had the issue with the quant record being updated by the most recent inspection lot #. 
    I also tried using the PO as dynamic bin, and have the same error as above with the quant.
    Error:
    Error during creation of transfer orders for material document 0026001535
    Date: 05/16/2008
    Time: 10:52:23
    Post.chge not. HR1 2000000011
    No quants exist for posting changes
    So as according to the OSS note I should use material doc # as dynamic bin to avoid this...but when I set this up I get the issue with positive and negative balances in my stock overview because SAP uses the most recent material document number for each posting.

  • How to restrict a vendor to be used only for purchasing selected materials?

    A source list and purchasing info records allow us to restrict the source of supply (vendors) for the selected material masters / material groups. However, my task is the opposite: I need to restrict the material masters / material groups that can be procured from a particular vendor. E.g. Vendor 12345 can only be used for raising purchase orders for Material A and Material B. No other materials should be allowed in POs for that vendor. Is there a way in standard SAP to do this?

    Sorry for not properly understanding your requirement. Now one option comes to mind which you may explore. Create an Outline Agreement for a material group with Item category W and here enter the materials group from some materials which you do not want to be purchased from this vendor .But these materials must belong to the material group for which the contract is created .Than creat Source list on these items of the contract through the Item Overview screen of the contract & check the exclusion Indicator  . This will block these materials from being procured refering this contract . Also go through the documentation on "Maintaining a Source List for an Outline Agreement Item with a Material Group" .
    Dhruba
    Edited by: Dhruba Charan Behera on Jul 13, 2011 3:07 PM

  • I never got a serial number with logic pro

    i purchased logic pro off the app store for 199.99 and never recieved a serial number? help?

    Applications in the App Store never have a serial number, in fact Apple doesn't even allow that.
    If your version requests a number, you already had a version of Logic Pro on your machine. Delete it and re-download it from the App Store (Logic Pro should show up under "Purchases" and the download will be free)

Maybe you are looking for

  • Problem with camera raw for Sony 350K and PSE 6

    I have recently tried to download my first batch of RAW pictures taken with a Sony A350K camera into PSE6 but I am told the format is not recognised.  I thought I had  successfully down loaded ACR 4.6 but apparently not as they are still not recognis

  • Nikon Coolpix P310 compatible with Aperture 3

    I would like to purchase the Coolpix P310 but I read on line that its raw format is not compatible with Aperture 3.  Is that the very latest news on this or has this camera been added to those which are now compatible ?  If not, is there a way -- tha

  • HT1391 I have just renewed my PC and want to re- down load my purchased files onto my new computer. How do I do this

    I have just renewed my PC ( old one self destructed) and want to re- down load my purchased files onto my new computer. How do I do this?

  • No XDCAM preconfigurations in PP cs4....

    Hi, Sorry for my poor english... I recently install PPCS4 TRIAL, and when i open it i have no preconfiguration XDCAM.... The drivers of the camera seems to be correctly installed, and CLIP BROWSER too... I've read in the HELP that "Les préconfigurati

  • Using Bonjour to sync?

    As an alternative or as an addition to .Mac sync which I use extensively, is it possible to use Bonjour for syncing within the local network? Would be great if a selected set of features automatically synchronized when I open my Powerbook at a time w