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.
Similar Messages
-
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,
Srivatsanthere 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!
MPHi 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 SCs 1st line item purchasing group = zsrm_fix_vend-ekorg and
SCs 1st line item company code = zsrm_fix_vend-bukrs and
SCs currency = zsrm_fix_vend-currency and
SCs 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 -
'Preferred Vendor' and 'Vendor' in Purchase Order Partner Overview screen
Hello All,
Please can you provide me with some assistance to the following issue we have on our SRM 5.0 system......here goes.....
In 'Define Sourcing for Product Categories config' , we have set the value to 'Sourcing is never carried out'. Now, when we manually assign a Supplier to the Cart and have it automatically converted to a Purchase Order, the Purchase Order is created but only in Held Status as only the 'Preferred Vendor' in the PO Partner Overview screen is populated with the other 'Vendor' field remaining blank and requiring manual intervention by our users
Please can someone explain how we are able make the system to always have the 'Vendor' field populated, therefore not needing any manual intervention.
Your help would be appreciated,
Thanks
Steve Walsh JnrHi
Implement the following method , in which you will force prefer vendor
to fixed vendor for all applicable sc.
IF_EX_BBP_DOC_CHANGE_BADI~BBP_SC_change.
You will have to work with partner function 00000039 which is the
prefered vendor to move into the partner function 00000019.
In the BBP_DOC_CHANGE_BADI we provide the business partner data
through the IT_PARTNER interface table. the prefered vendor or desired
vendor has partner type 39, the regular supplier will have partner
type 19. a switch from 39 to 19 should create a po instead of
incomplete po.
BR
Muthu -
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
JoergHi,
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 -
Preferred Vendors for Product Category
Hi,
We are using SRM 7.0, Classic Scenario.
My client wants a list of preferred suppliers that need to be maintained for a product category. So that whenever the requester selects the product category, he should get the list of preferred vendors for that product category.
Thanks
RonHi,
How about maintaining "Supplier List" ?
http://help.sap.com/saphelp_srm70/helpdata/EN/46/48e3de2f155d5ee10000000a1553f7/frameset.htm
Search help with "Supplier List" is available in Preferred Supplier selection.
Regards,
Masa -
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]
KedaleneHi,
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 -
Vendor list and preferred vendor
Hi,
We are using classic scenario and currently, all carts are intercepted by the purchasing department so purchase requisitions are manually converted into POs.
We want to implement vendor lists but SRM assigns any vendor chosen from a vendor list as fixed, which means it will convert to a PO once the shopping cart is fully approved.
Is there a BADI I can use to change the vendor from 'Fixed' to 'preferred'. Can BBP_DOC_CHANGE_BADI be used to do so or does it only works when changing a 'preferred' vendor into a 'fixed' vendor?
ThanksHi
Yes... we have done this long back successfully..
The BADI - BBP_DOC_CHANGE_BADI can be easily used...
Also, you can look for BBP_SOS_BADI...
Do let me know, incase you face any problems.
Regards
- Atul -
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 muchYou are correct. Preme has said true. You actually can use SDK help center if need fast solution.
Rgds, -
Automatic Workload Distribution (category + preferred vendor)
Dear Experts,
My current client needs to automatically distribute Shopping Carts and External Requirements based on a combination of product category and preferred vendor. Do you know any BADI or any possible way to do this without modifying the code?
Any help would be greatly appreciated.
Regards,Hi,
You can try BBP_SC_TRANSFER_GROUPED.
Go through this link : http://help.sap.com/saphelp_srm50/helpdata/en/43/15a4e228b62d23e10000000a1553f7/frameset.htm
Thanks,
Koushik. -
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,
PatrickHi 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 -
Automatic PO with preferred vendor
Hi all.
We Have SRM 5.0 ECS
I need to generate an automatic PO from a SC, this contains like source of supply the Preferred Vendor and price, in this type of purchase I do not use contracts
This is possible?Hi Raul,
As it is clear from your statement that you are not using Contracts and you are talking about Free Form text Shopping Carts where you can enter Prefferred Vendor. You need to implement Doc Change BAdI to convert this preferred Vendor to fixed Vendor so that after approval Shopping Cart creates a PO.
Here is the sample code we had implemented for the very same purpose
BAdI BBP_DOC_CHANGE
METHOD if_ex_bbp_doc_change_badi~bbp_sc_change.
data: ls_partner type BBP_PDS_PARTNER.
loop at et_partner into ls_partner.
if ls_partner-partner_fct = '00000039'. "Preferred vendor
ls_partner-partner_fct = '00000019'. "Fixed vendor
modify et_partner from ls_partner.
endif.
endloop.
ENDMETHOD.
Thanks
Shrini
Award full points if this helps. -
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 -
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.deHi 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 -
Select Preferred Vendor in Describe Requirement not working
Dear all
We are in SRM4.0, Classic Scenario, R/3 4.6c backend
When I create a Describe Requirement and then go to Source of Supply tab to propose a preferred vendor, I am able to search for a vendor (valid for my POrg), to select one but it is not transferred to my SC. Why?
I had the impression that it was working in the past but I am not sure and I don't what I changed to cause the problem
Thanks for your help
RDRD-
This does seem very strange and it does work in a standard system. Given this it seems that you ought to look for any changes you have made recently - in particular have you done anything in the document change badi that might be causing the source to be lost?
Have you tried the scenario running bbpsc01 in gui mode - does the issue persist in that case? If so check out HTML template changes?
Just my thoughts on your potential problem area.
Regards-
b
Maybe you are looking for
-
What is the best upgrade path from LiveCycle Designer 8.0?
Back in June 2010, I developed a website for a client which included some interactive forms created with LiveCycle Designer 8.0 (came with Adobe CS3.) He recently brought to my attention the fact that the data filled in by his customers on the forms
-
Creating Scrollable Content In a PDF
HI I'm looking at creating a pdf to send to a client or potential employer (resume) with a scrollable frame so they can using their mouse to click on it and view multiple images by scrolling from left to right. This could for example be used to view
-
Hi, Can any one please let me know, how the field UOM group in the IS:Oil view of the material master can be changed with some stock being posted and open orders being present on the material. thanks & regards Chaitanya Rayaprolu
-
Problem with webservice to JDBC scenario
Hi Experts, <b>Scenario :</b> Webservice - XI - JDBC <b>Issue :</b> When I tried to access the url which I have used it to create the wsdl file, I am getting error. <b>Url :</b> http://<Hostname>:50100/XISOAPAdapter/MessageServlet?channel=WEB_SERVICE
-
Site definition issue (maybe???)
My desktop computer had some issues and I am having a hardware and operating system upgrade done on it. It had six hard drives, none of which were damaged and all of the data is intact. This data includes all of my DW CS4 sites which are in one of tw