Add UDF in ITM2 - Items - Multiple Preferred Vendors

Hi Experts,
Can any one help me in creating UDF in ITM2 - Items - Multiple Preferred Vendors Table?
Requirement is, a given item can have different vendors with different Quantity per Packaging UoM, Items per Purchase Unit
Packaging UoM (Purchasing), Lead Time, Order Multiples etc.,
Or is there any other accomplishments other than UDT & UDF.
Advance Thanks

Hi Gordon,
I hope ITM2 - Items - Multiple Preferred Vendors not a UDT, which captures Vendors Codes in Purchasing Tab of Item Master Data.
Version : SAP Business One 8.81 (8.81.315) PL: 07
The requirement in brief: Our client deal with many items generally purchased from different vendors. So there are chances that one item can be purchased from different vendors. The information like Packaging UoM, Items per Purchase Unit, Packaging UoM (Purchasing), Lead Time, Order Multiples etc vary from Vendor to Vendor because of Country of Origin.
In Purchase Order Document Entry screen the user needs all the above mentioned information in Row Level for their data entry with respect to Vendor Code + Item No. selected.
Hope you can understand now. Pl help us.
Thanks.

Similar Messages

  • Multiple Preferred Vendors in Source of Supply -Shopping cart

    Hi SRM Gurus,
    While Creating Shopping Cart, the requestor need to assign multiple (more than one) preferred vendors as Sources of Supply.
    I could able to choose only one preferred vendor. How can we choose, more than one preferred vendor.
    Thanks in advance,
    Ramkumar

    Hi
    SRM does not allows this functionality to have multiple fixed vendors for a single line item.
    There can be multiple preffered vendors displayed in the search results. But at a time, only one vendor can be assigned to a line item as a fixed vendor.
    In SRM system, even if you programmatically using BADI - BBP_DOC_CHANGE_BADI, try to assign more than one vendors to aline item, you cannot order that shopping cart further.
    <b>So, not possible.</b>
    Hope this will help.
    Regards
    - Atul

  • Global Preferred Vendor

    Currently in my database I have about 3000 items that all come from the same vendor is there any way to do a global preferred vendor change instead of going to each item and typing in the vendors BP code?.
    All items are under the same item group name

    Go to Administration--> Data Import/Export --> Import Data -->Import from Excel --> Data Type --> Item
    Select Columns Item Code,Item Group,Preferred Vendor.
    Enter datas in excel sheet as per selected columns SAP Item code,Item Group number,Preferred Vendor(ie., Card Code)
    Find item group number from query
    SELECT T0.ItmsGrpCod, T0.ItmsGrpNam FROM OITB T0
    If u already created item master,Tick mark Update existing object only.
    After filling in excel sheet,Save it in text tab delimited format.Close excel sheet,
    Click Ok.This will import/update item master.
    For more details Press F1 for context help.

  • Item Preferred Vendor Name with OINM OITM and OMRC

    Hi all
    How to add Item Preferred Vendor Name to this Query?
    SELECT T0.[ItemCode],T1.CardCode, T1.FirmCode, T2.FirmName, T1.ItemName, sum(T0.[InQty])[In Quantity], sum(T0.[OutQty])[Out Quantity],sum(T0.[InQty]) - sum(T0.[OutQty])[Balance Quantity],  T0.[Warehouse], sum(T0.[TransValue])[TransValue] FROM OINM T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode INNER JOIN OMRC T2 ON T1.FirmCode = T2.FirmCode WHERE T0.[Warehouse]  between [%0] and [%1] and  T0.[DocDate]  <=[%2] GROUP BY T0.[ItemCode], T1.CardCode, T1.FirmCode, T2.FirmName, T1.ItemName, T0.[Warehouse]
    Kedalene

    Hi,
    Try this:
    SELECT T0.[ItemCode],T1.CardCode, T0.[CardName],T1.FirmCode, T2.FirmName, T1.ItemName, sum(T0.[InQty])[In Quantity], sum(T0.[OutQty])[Out Quantity],sum(T0.[InQty]) - sum(T0.[OutQty])[Balance Quantity],  T0.[Warehouse], sum(T0.[TransValue])[TransValue]
    FROM OINM T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCode and T0.[CardCode] = T1.[CardCode] INNER JOIN OMRC T2 ON T1.FirmCode = T2.FirmCode left join OCRD T3 on T1.cardcode = T3.cardcode
    WHERE T0.[Warehouse]  between [%0] and [%1] and  T0.[DocDate]  <=[%2]
    GROUP BY T0.[ItemCode], T1.CardCode, T1.FirmCode, T2.FirmName, T1.ItemName, T0.[Warehouse], T0.[CardName]
    Thanks & Regards,
    Nagarajan

  • Preferred vendor items  dtw

    hello everyone,
    i want to  import by dtw the preferred vendor for all items, which column's template oitems  should I  use ? Is There  another template? Thank you very much

    You are correct. Preme has said true. You actually can use SDK help center if need fast solution.
    Rgds,

  • Optimizer not picking preferred vendor out of multiple contracts

    We need to use outline agreements in APO. We are doing the following:
    CIFing the outline agreement(s) to APO
    T-lane(s) created from Vendor to destination location
    Running Optimizer
    Purchase requisitions created with suitable source of supply.
    Problem:
    If there are more than single vendors for a material , there is a preferred vendor that needs to be picked by the system. We set the t-lane priorities acc. to preferred vendor and it works fine with heuristic. But for optimizer, we are not able to determine a method for the system to determine the preferred vendor and pick it during optimizer run.
    Could you please share your thoughts or best practices regarding above.
    Thanks.

    Thanks Umesh..
    I tried with transportation cost and it is working fine... but then how do we be sure that optimizer would work as expected because it tries to find an optimal solution with minimum
    overall cost (that includes all the costs).
    Plz advise.
    Regards,
    Shweta

  • Shopping Cart Split and Preferred Vendor

    Hello,
    I am working on SRM 5, in Extended Classic Scenario.
    I add a service item in my Shopping Cart by using the describe requirement in transaction BBPSC03, I assign a Preferred Vendor to this item and I duplicate it by using the Copy button.
    When I order the Shopping Cart, this gives me 2 Purchase Orders? I don't understand why because the 2 items are identical. Is there something in the customizing which has to be set up? I would like to have only one Purchase Order created if items are identical.
    Thanks for your help,
    Patrick

    Hi Patrick,
    The preferred vendor is not the assigned vendor. SO the vendor needs to be assigned during the sourcing.
    As far as splitting is concerned check whether any BADI is active like BBP_DOC_CHANGE_BADI where split criteria is maintained.
    Please check the related thread and the OSS notes mentioned in it for better understanding of the issue.
    Re: SCs split into multiple POs, duplicate POs and PO items in reverse c/ to SC
    Hope this makes you more clear and helps in resolving the issue.
    Award points for helpful answers.
    Rgds,
    Teja

  • Preferred Vendor Message

    We are using SRM 7.0.  I have a user that is getting the following error message when they are trying to order their cart:
    Enter no more than one partner of type Preferred Vendor
    I see the vendor on the line item.  But, when I look in the SRM GUI under BBP_PD, the preferred vendor is listed twice.  I have tried to replicate the issue but I'm not exactly sure what the user may be doing.  Does anyone have any suggestions as to why this message would be appearing and how to fix it?
    We have a program that enters the preferred vendor on the other lines if there are multiple lines so that the user does not have to enter it each time.  But, I have not heard of this issue from any other users.

    On the initial screen in BBP_PD, the partner section shows the following:
    0000000001 00000039       Preferred Vendor               47C3756071100CCEE100000080F91715    
    0000000001 00000039       Preferred Vendor               47C3756071100CCEE100000080F91715    
    I checked both entries and notice the following difference between them:
    MAINPARTNER                                                                                Main Partner (For Ambiguous Partner Functions)               (''=Incorrect)
    For the second entry, there is an X for MAINPARTNER, where X is = true.
    For the other lines on the cart, preferred vendor only shows up once on the initial screen, and the mainpartner has X in the field.
    Not sure if this helps or not.
    Monique

  • Changing preferred vendor to fixed vendor in SRM PO- no currency conversion

    Hi All,
    We are on SRM_SERVER 550, SP11, ECS scenario.
    Users create carts where they enter preferred vendor.
    After approval we found that the PO's were created only in "Held" Status.
    So we did a conversion of the preferred vendor (PF 39) to Fixed vendor (PF 19) during PO creation using BBP_DOC_CHANGE_BADI- BBP_PO_CHANGE.
    We also implemented BBP_GROUP_LOC_PO,GROUP_PO so that all items with same preferred vendor are grouped into a single PO.
    We observed that PO is now getting created in ordered status, where the preferred vendor is getting converted to fixed vendor as per our code change. But we also found a problem- that the line item price doesnt get converted to Vendor order currency after the Po is created. For ex: If line item price is 10 GBP and Vendor order currency is EUR, the line item price in the PO shows 10 EUR. The currency conversion fro GBP to EUR does not happen.
    This does not happen for catalog items/PO's where the cart comes with a fixed vendor (PF 19).
    So there surely seems to be something missing in our code for converting Preferred vendor to fixed vendor which is preventing/not converting the currency as well.
    Please find below the code we are using in DOC_CHANGE_BADI for PO, is there any step in this which is causing the currency conversion to be skipped?
    CONSTANTS:C_FIXED_VENDOR   TYPE BBP_PDS_PARTNER-PARTNER_FCT
                           VALUE '00000019',
               C_PREFERRED_VEND TYPE BBP_PDS_PARTNER-PARTNER_FCT
                           VALUE '00000039'.
       READ TABLE ET_PARTNER INTO LS_PARTNER WITH KEY
                             P_GUID      = IS_HEADER-GUID
                             PARTNER_FCT = C_FIXED_VENDOR.
       IF SY-SUBRC NE 0.
       READ TABLE ET_PARTNER INTO LS_PARTNER WITH KEY
                             P_GUID      = IS_HEADER-GUID
                             PARTNER_FCT = C_PREFERRED_VEND.
        IF SY-SUBRC EQ 0.
          CLEAR IDX.
          IDX = SY-TABIX.
          MOVE C_FIXED_VENDOR TO LS_PARTNER-PARTNER_FCT.
       MODIFY ET_PARTNER INDEX IDX FROM LS_PARTNER TRANSPORTING PARTNER_FCT.
       ENDIF.
       ENDIF.
    Regardas,
    Srivatsan

    there is nothing in your code which prevents the conversion between the two currencies,
    it can be the following reason
    1) system as standard is not performing the conversion.
    2) conversion factors are not maintained (or) conversion factors are maintained and the expiry date for the conversion factors has passed.

  • How to change Preferred Vendor to Fixed Vendor in SC - SRM-5.0

    SRM Experts,
    We are using SRM 5.0, ECC 6.0 and PI-7.0.
    We are using classic scenario in SRM. When user selects the vendor with Outline agreement in SOS tab then SC creates PO in backend system because it has Fixed Vendor otherwise SC creates PR in the backend system.
    We have a new requirement in SRM to create PO instead of PR in the backend system if Purchasing Org=5xxx and total value of SC is less than USD 5XXX and Vendor is a Preferred Vendor in the SC.
    Do I need to use the Check Document BADI to check the total value of the SC and to check whether it is a Preferred Vendor and then in the Change Document BADI, change the value from Preferred Vendor to the Fixed Vendor before SC is saved?
    OR someone has any other suggestions on this?
    Which BADI is called first Check Document or Change Document before saving the SC?
    Thanks in advance!
    MP

    Hi Atul/Disha,
    I sent you my code and problem in detail at your email address.
    Here is the requirement for Changing Preferred Vendor to Fixed Vendor. We are on SRM 5.0 and using classic scenario. I am new to SRM world. I also checked the note- 962474 in our system and it has been applied. We upgraded to SRM 5.0 in Oct-07.
    1.     My client has customization for sources of supply tab. It shows the vendor information in SOS tab based Product category, Plant and Purchasing group selected in the SC. If SC contains Vendor with Outline agreement then SC creates PO in the backend system. So in Change BADI logic for new enhancement of converting Preferred vendor into Fixed Vendor should not change anything in the SC using Outline agreement.
    2.     We have created Custom table-zsrm_fix_vend with fields, purchasing group, company code, currency and total value.
    3.     We need to convert the preferred vendor into fixed vendor
        if the SC’s 1st line item purchasing group = zsrm_fix_vend-ekorg and
                 SC’s 1st line item company code = zsrm_fix_vend-bukrs     and
               SC’s currency = zsrm_fix_vend-currency                   and
               SC’s Total value less than(<)zsrm_fix_vend-totalvalue.
    My testing results and problems…
    1.     When I create a new SC with less value than totalValue from the custom table, change document BADI is changing the preferred vendor into fixed vendor and it is creating PO in the backend system. So this is working as expected.
    2.     When I create a new SC with greater value than totalValue from the custom table, change document BADI is NOT changing the preferred vendor into fixed vendor and it is creating PR in the backend system. So this is working as expected.
    3.     When I use Outline agreement in the SC, it is creating PO in the backend so change BADI logic is not affecting this existing functionality which is good.
    4.     Problem - When I copy a new SC from existing SC with less value than totalValue from the custom table and then changing the amount with the greater value than the custom table, change document BADI is not changing the fixed vendor to the preferred vendor and when I click on sources of supply tab - it is giving me an error “Partner Function may not be Changed” and it exits me to main shopping cart screen.
    5.     Problem - When I copy a new SC from existing SC with greater value than totalValue from the custom table and then changing the amount with the lessser value than the custom table, change document BADI is not changing the preferred vendor to the fixed vendor and when I click on sources of supply tab - it is giving me an error “Partner Function may not be Changed” and it exits me to main shopping cart screen.
    6.     When I copy the SC with Outline Agreement and change the amount it works all the time it is not affected by the change document BADI which is good.
    Please help me to resolve this issue.
    Millions thanks to you!
    MP

  • Convert preferred vendor to fixed vendor

    Hi,
    I'm trying to convert a preferred vendor to fixed vender using BAdI BBP_DOC_CHANGE_BADI.
    I use the following coding:
      LS_HEADER           = ES_HEADER.
      LT_ITEM[]           = ET_ITEM[].
      LT_ACCOUNT[]        = ET_ACCOUNT[].
      LT_PARTNER[]        = ET_PARTNER[].
      LT_ORGDATA[]        = ET_ORGDATA[].
      LT_HCF[]            = ET_HCF[].
      LT_ICF[]            = ET_ICF[].
      if sy-tcode = 'BBPSC08'.          "Completion Workflow
    item data
        loop at et_item into ls_item.
    Jörg Sina, IP#DDDDDDDD, TA:
    Section: Put your BBP_SC_CHANGE logic here
          READ TABLE lt_partner INTO ls_partner
      WITH KEY partner_fct = '00000039'                   "Partnerfkt. '39' = wunschlieferant
               p_guid = ls_item-guid.
          lv_idx = sy-tabix.
          if sy-subrc = 0.
            ls_partner-partner_fct = '00000019'.                 "Partnerfkt. '19' = fester lieferant
           append ls_partner to lt_partner.
            modify lt_partner index lv_idx from ls_partner.
         ls_msg-p_guid = ls_item-guid.
         ls_msg-msgty = 'I'.
         ls_msg-arbgb = 'ZEBP'.
         ls_msg-msgnr = '011'.
         append ls_msg to et_msg.
          endif.
        endloop.
      endif.
    *Interface: Move Local Data to Export/Changing Interface
      ES_HEADER           = LS_HEADER.
      ET_ITEM[]           = LT_ITEM[].
      ET_ACCOUNT[]        = LT_ACCOUNT[].
      ET_PARTNER[]        = LT_PARTNER[].
      ET_ORGDATA[]        = LT_ORGDATA[].
      ET_HCF[]            = LT_HCF[].
      ET_ICF[]            = LT_ICF[].
    When the partner is changed from 39 to 19 the following message appears:
    BBP:PD(144): Partner function may not be changed
    I've tried out the coding given as example in several postings in this forum..
    Maybe anybody can help.
    Regards
    Joerg

    Hi,
    Here is a sample code i used and it works.
    method IF_EX_BBP_DOC_CHANGE_BADI~BBP_SC_CHANGE .
    Constants : c_vendor type BBP_PDS_PARTNER-PARTNER_FCT
    value '00000019',
    c_preferred_vend type BBP_PDS_PARTNER-PARTNER_FCT
    value '00000039'.
    Data : ls_partner type BBP_PDS_PARTNER.
    *Read Table it_partner into ls_partner With key PARTNER_FCT = c_vendor.
    *If sy-subrc NE 0.
    Loop at it_partner into ls_partner
    where PARTNER_FCT Eq c_preferred_vend.
    Move c_vendor To Ls_partner-PARTNER_FCT.
    Modify it_partner from ls_partner index sy-tabix.
    Endloop.
    *Endif.
    et_partner[] = it_partner[].
    ET_ORGDATA[] = IT_ORGDATA[].
    ET_ITEM[] = IT_ITEM[].
    ES_HEADER = IS_HEADER.
    ET_ACCOUNT[] = IT_ACCOUNT[].
    *break ybo
    *IT_PARTNER
    *ET_PARTNER[]
    endmethod.
    Kind regards,
    Yann

  • MRP Wizard: Preferred Vendor

    Hi,
    our customer is very unhappy to not have the ability to select a Preferred Vendor in MRP Wizard to filter the items.
    He want's to know what he has to purchase at his vendor via MRP. For this, he need this ability.
    Please check thsi!
    Best regards,
    Manuel Marhold
    SoftChip EDV-Systeme GmbH
    Gutenbergstr. 25
    49479 Ibbenbueren GERMANY
    Fon: +49 5451-54703-40
    Fax: +49 5451-54703-22
    Web: www.softchip-edv.de

    Hi Manuel,
    All DRQ posted on this forum is not usually getting any answers. SAP R&D team may check this forum from time to time to find workable DRQ to put in the application list for future release. That is all I can tell.
    Thanks,
    Gordon

  • Convert prefered vendor to vendor

    Hi all,
    Our client want to convert the preferred vendor assigned by the requester into vendor the constraint is the total value of the shopping cart should be less or equal to $5000. right now i have managed to check at item level and convert prefered vendor to vendor. I tried many ways to do the check at the end of shopping cart (after adding all line items) and system is not allowing me to change the partner, has any one faced this scenario help me getting this done
    Thanks in advance
    suresh

    Hi Suresh,
    Here is the code to converts prefered to fixed vendor.
    method IF_EX_BBP_DOC_CHANGE_BADI~BBP_SC_CHANGE .
    Constants : c_vendor type BBP_PDS_PARTNER-PARTNER_FCT
    value '00000019',
    c_preferred_vend type BBP_PDS_PARTNER-PARTNER_FCT
    value '00000039'.
    Data : ls_partner type BBP_PDS_PARTNER.
    *Read Table it_partner into ls_partner With key PARTNER_FCT = c_vendor.
    *If sy-subrc NE 0.
    Loop at it_partner into ls_partner
    where PARTNER_FCT Eq c_preferred_vend.
    Move c_vendor To Ls_partner-PARTNER_FCT.
    Modify it_partner from ls_partner index sy-tabix.
    Endloop.
    *Endif.
    et_partner[] = it_partner[].
    ET_ORGDATA[] = IT_ORGDATA[].
    ET_ITEM[] = IT_ITEM[].
    ES_HEADER = IS_HEADER.
    ET_ACCOUNT[] = IT_ACCOUNT[].
    *break ybo
    *IT_PARTNER
    *ET_PARTNER[]
    endmethod.
    Kind regards,
    Yann

  • Input currency GBP inconsistent with preferred vendor currency EUR for the

    Hello Experts,
    We are facing the below issue while creating the Shopping cart in production.
    "input currency GBP inconsistent with preferred vendor currency EUR for the line item 00001" .
    the same scenario we have replicated in the lower system, there we were able to create SC. we are using classic scenario.
    We have also checked that vendor currency in the backend system. everything seems to be fine.
    Please provide your valuable inputs.
    Regards,
    Santhosh Kumar. G

    Hello All,
    Issue has been resolved.
    There was a small mistake in the program.
    Regards,
    Santhosh Kumar G

  • Withholding Tax by Line Item (not by vendor)

    Hi,
    Thereu2019s been more than 1 occasion where clients request for withholding tax at line items (purchase equipment and service in 1 invoice. Equipment no withholding tax but service has withholding tax).  However, as far as I know, the withholding tax is applicable by vendor and not by line item of the vendor. Is there any workaround on this?
    Regards,
    Cheah

    If i understand correctly, you have prepared PO for material plus service, service attracts WHT
    you could prepare two different vendors - one for material, one for service - even though the vendor is same, and maintain WHT only in service vendor.
    under PO there is condition types for service, there you can enter this second vendor who is providing service.
    i think this way you issue should get resolved.
    Pl share how to finally got thru it.
    Thanks
    Sanjay

Maybe you are looking for

  • Events shown in iCal - but are not in ics file

    I have until recently successfully been able to fetch data from the corestorage file of one of my calendars in Users/Library/Application Support/iCal/Sources... (I use the application Revolution Enterprise to make the scripts) I use mobileMe to sync

  • Problems "pulling" photos from iPhoto into iMovie....

    I am trying to create a movie with a combination of movie clips from my DV camera and photos from iPhoto (on my G5, 2ghz iMac). Movie clips are no problem. The problem occurs when I try and "pull" in more than 20 pics or so from iPhoto. I am trying t

  • Dynamic Report Heading - Classical report

    Hi,   Could you please let me know how do I change the heading of a classical report based on the user selection on selection screen. I want to display the selection text that the user has selected in the selection screen as the heading for the repor

  • Curve 8310 will not charge in pod

    Hi All My 8310 won't charge and I'm looking for any suggestions before I buy a new phone. Here's the sequence of events: Phone not charging via car charger or wall charger - the lightning bolt symbol goes on but the battery doesn't charge. I figure t

  • Create trigger in UDF on Journal Entry

    Hi  SAP Users,        Need help for this ...        I add User Defined Fields in Journal Entry module, I want this field not to leave blank/empty. Can somebody teach me on how to create a code in SP that will trigger the module to avoid adding the jo