Product Category Rules in Shopping Cart
Hi All,
Currently trying to figure out the logic behind how the SRM system fills in the Product Category field in the Shopping Cart when taking an item from a Punch-Out Catalog. From what I've researched so far, how it is supposed to work is:
If a valid value is passed through NEW_ITEM-MATGROUP[n] then SRM should populate this.
If no value is passed then default value maintained in Ext. Attributes of Org. Structure is taken.
Are there any other rules that I'm missing? What if the catalog passes a valid Product ID, but no Product Category, will the system take the associated Product Category from COMMPR01, or will it take the default from org structure? In our tests we found that is taking the default from org structure, and I'm not sure if this is a bug, standard, or configuration issue.
Regards,
Andrew Bondarev
Hi Richardo,
Thanks for the response. We have already checked the table, and it doens't seem that there are duplicate entries for the Product Category.
We did just have a breakthrough though in that if we supress the fields NEW_ITEM-ext_schema_type and NEW_ITEMEXT_CATEGORY_ID[n], then the proper value is populated in SRM.
Note: We are performing the mapping on the APC side, so the value in NEW_ITEM-MATGROUP[n] is already the Product Category found in COMM_HIERARCHY. No mapping should be needed in SRM. I'm guessing that by passing a schema type and ext. category ID, SRM is looking for some mapping in SRM, but can't find it so it uses the value in the Org. Structure.
Now the issue is figuring out how to allow for the values for Schema and Ext.Category to still be passed from APC, but have SAP ignore them.
Regards,
Andrew
Similar Messages
-
Product code search on shopping cart
Hi! I am trying to implement diect material procurement in SRM (SRM7). I have created some materials and replicated successfully to SRM. When I create a shopping cart and click on the search hel p for product id, it is showing the logical system of the SRM system and nothing will show up when I do a search. If I change to the ECC logical system (which is right since the material originates from ECC), I can see the materials.
So, my question is how can I get the system to defaults to ECC logical system rather than SRM so that it saves the user having to change the logical system each time they search?
Thanks!
SF
Edited by: SF on Mar 2, 2010 5:13 PMHi SF
when you click internal goods/services
it shoud pop up a
find product
product id - empty
product description -empty
language key -EN
category id - empty
product type -empty
logical systen - empty
maximumun no of hits - 500
IF YOU GET below , you need to create OSS message.
product id - empty
product description -empty
language key -EN
category id - empty
product type -empty
logical systen - SRMCLNT100 - WRONG - YOU MUST CREATE A MESSAGE TO SAP.
maximumun no of hits - 500
end user will get frustrated if it comes ....he will not like this tool if it comes like to. tools to keep us more comfortable and help to server fast
Muthu -
Producat Category should not have any default value - Shopping Cart
Hi SRM Experts,
Presently I am getting default value for Product Category in SRM Shopping Cart Creation Web Browser Screen initial screen. But I dont require to have any default value. Please suggest me or provide a solution how I can get a solution for the above issue.
Thanks a lot in advance.
SRM Version - SRM 4.0
Thanks,
SudarsanHi Lokesh / Muthu / Krish,
Thanks a lot for your response .
I checked BAdI (DOC_CHANGE) and Extended attributes also. I removed default prodcut category from extended product category and we are not maintaining the default Product Catgory values in BAdI also. Still I am getting default value while I am creating Shopping Cart with Describe Requirement Option. Please let me know is there any other solution for my issue.
Thanks,
Sudarsan -
Validating Product Category on SC Trasfer from punch-out catalog
Hi,
We have a requirement to validate Product Category of the shopping cart items transferred from punch-out catalog items. This requirement will allow us to put controls on vendors from publishing items that are not approved for their product category codes.
One way to achieve this is by adding validations in BAdI BBP_CATALOG_TRANSFER and maintaining valid vendor product categories in a custom table.
I tried to use the Extended Attributes in Org plan of Vendor. I tried testing with that in sandbox and did not seem to work.
Another option I can think of is to add attributes for ProductCategoryCode on Org plan of vendor and validate in BBP_CATALOG_TRANSFER instead of using custom tables.
Please let me the best way to achieve this.
Thanks,
SurenHi
We have done this long time back...
By using the combination of BADIs -
BBP_DOC_CHANGE_BADI and
BBP_DOC_CHECK_BADI, this csn be done..
Read the relevant SAP documentation of these BADIs using SE18 Transaction, which will definitely help in coding the logic as per the business requirements..
Regards
- Atul -
Hi Experts,
I am having a problem with the 'default' product category function:
If I DO NOT set the indicator for making a product category as default, SRM takes the last one from the list in extended attributes?
I would like the field 'product category' in the shopping cart to be blank?
Can anyone help me?
BR. KimHi,
<u>Which SRM version are you using ?</u>
<b>It's a standard SAP behaviour.</b>
<b>Product categories have to be available into SRM !! It is a mandatory master data.</b>
<u>You can use method ENRICH_ITEM_DATA in BADI BBP_CATALOG_TRANSFER to do this.</u>
<u>To change data (product category...) from the catalog to the shopping cart, please use BBP_CATALOG_TRANSFER badi.</u>
Or
<u>Implement the BADI "BBP_F4_READ_ON_ENTRY".</u>
Or
<u>Implement combination of BBP_DOC_CHANGE_BADI as well as BBP_DOC_CHECK_BADI.</u>
<u>See the following useful pointers for detailed help and source code:-</u>
Re: Shopping cart creation category dropdown selecting the most used category
Punchout Product Category Default
The 'Category' list box should be empty when creating a shopping cart
Re: How to enable "shop on behalf" functionality in BBPSC03 ?
Re: How to stop a new Prod Categ from becoming 'default' display when shopping
Re: search help results of cost center
Re: No authorization to purchase from product category
Re: make Category id field blank in Describe requirement
<b>You can use the field CATEGORY_ID in the structure BBP_OCI_ENRITEM for the Product Category.</b>
<u>Hope this will help. Do let me know.</u>
Regards
- Atul -
Add Unique Product in Shopping Cart
Hi,
I want to add a product only one time in shopping cart. I can add multiple product but want to have validation if buyer is going to add same product again. I have tried to resolve this problem with the help of custom JS but I am unable to find out product code at the time of "Add Sopping Cart" whether it is added or not. Please provide me fruitful solution.
e.g.
Go to :
1- http://www.cybre-t2v.com/voices-and-languages
2- Select Product
3-Add to Shopping Cart
4- Again go to Product list page http://www.cybre-t2v.com/voices-and-languages
5- Now again select same product
6- Again "Add to Shopping Cart" : Here should be message "You cannot add same product in shopping cart"
Thanks
RaghuWait, actually even easier would be to set the maximum qty for the product to 1 in the product details.
-
Client managed eCommerce Shopping Cart
I am attempting to create my first website projects using Adobe BC. I have two client projects both requiring shopping cart functionality 1.) I will manage product inventory and 2.) the second client has strong interest in being able to upload and change product items on their own. This client has also inquired about product upload automation.
Originally being a designer and not a programmer, I myself am finding it somewhat difficult to create and configure a shopping cart solution for these clients Using Adobe BC as opposed to using a hosted template based cart system such as BigCommerce, Godaddy, Shopify, etc.
My questions is, once the site has been created and published on BC, is there a product module in BC that will allow my client the ability to easily upload and change or update pricing and general specs for the products in their shopping cart -or- will the client need to know html, CSS and javascript in order to manage the products in their own shopping cart.
Constructive feedback would be greatly appreciated.Hi there,
If you have the eCommerce plan you have the full access to the admin for the client. The admin like many CMS's has full control on products, catalogs, CRM and more. IF you build the site well the client never has to do or touch anything html, css or javascript.
The product side has a full stock, order, invoice management etc ...
A powerful online store, built-in | Features | Adobe Business Catalyst -
Error when creating service product category in Shopping cart
Hi ,
When I am creating a shopping cart for service type product category I am getting an error message
" Item 1 is created as service item. Please change it to goods".
Do I need to do some settings to enable shopping for service type?Hi,
First you need to publish your service which you would get from the dropdown fro utilities->setting->its->publish.
Also check in transaction SICF whether your serivce is actiavted- else activate the same. you can find your serivice under the following path
default_host/sap/bc/gui/sap/its/
ITS Debugger
http://help.sap.com/saphelp_47x200/helpdata/en/5f/1fbd2f4aee11d189740000e8322d00/frameset.htm
Debugging Flow Logic Applications
http://help.sap.com/saphelp_47x200/helpdata/en/d1/7033b4ae5d11d3806500c04f99fbf0/frameset.htm
~rfcDebugging
http://help.sap.com/saphelp_47x200/helpdata/en/5f/1fbbb14aee11d189740000e8322d00/frameset.htm
Debugging WebRFC Applications
http://help.sap.com/saphelp_47x200/helpdata/en/2b/d9211d4b8a11d1894c0000e8323c4f/frameset.htm
Hope that helps,
Regards,
Gopal
Edited by: Gopal on Oct 30, 2008 3:23 PM -
Product category mandatory in the shopping cart ?
Hi everybody,
We are studying shopping carts functionalities in SRM in activating ECS.
We are not using articles, but only product categories. We would like to know if the product category is necessary mandatory in the shopping cart? Indeed, if the shopping cart is related to a simple customer need, the information of the product category is not always known by the requester. He would fill only the description of the request.
Thank you for your help,
VinVinna,
Product category (Material Grops) is mandatory for any shopping cart creation, However in SRM some of the basic configuration setting is based on product category only. Mainly the G/L account is mapped with product categories which is important for account validation in the shopping cart.
Kind Regards,
NMK -
Monitor Shopping Cart, Product category search Issue
Hi,
In Monitor Shopping Cart, I am clicking on search product category to search the availble product cateogry
It is showing all the product cateogry, some of which not required
for Example :It is showing R3MATCLASS and R3PRODSTYP product cateogry
My question is
1) How I can restrict R3PRODSTYP product category
2) Can I restrict R3MATCLASS product category also individually in search
Thanks,
jaiafter debugginng, I found that the hirarchy data is calling from
table ;comm_category and comm_prcat
and
The field Product Category (CATEGORY_ID) has search help(COM_CAT_HIER)
I am working on this,
Pls let me know your input on this.
Thanks,
Jai -
Product Category not transferred from CCM 1.0 to Shopping Cart
Hello all,
I have a problem where user choose item from integrated SAP catalog CCM 1.0 and add it to the shopping cart (EBP is 5.0).
When SC is displayed Category is different than in catalog.
I have only one backend (R/3 4.7) working in classic scenario.
During testing I copied material groups several times from the same backend with TCode R3AS but using FM BBP_CATEGORY_GET_GUID I checked that I have only one GUID per product grup in EBP.
User does not have default category.
In OrgStructure > Extended Attributes there is no limit on Product Categories ("*" for backend system). In this case EBP is always using alphabetically the first listed category.
If I list categories in Extended Atributes, system always use the first listed and not the proper one from the catalog.Hello Vadim,
I should be now red due to the mistake that I made in catalog files.
In file for Supplier Catalog I did not include /ccm/product_group. After I did it everything went OK. I was thinking that CategoryID is enough. :blush:
Your answer pointed me to right direction.
Gordan
P.S. Instead of inserting breakpoints you can use procedure explained in note 847229 "OCI data passed from CCM/SRM"
Message was edited by: Gordan Flego -
Product Category mapping from Punch-out to Shopping Carts
Hi,
We are implementing Punch-Out catalogs. We are on SRM_SERVER 550 and SP 11.
Product Category brought from field 'MATGROUP' field of structure 'CATALOG_CONTENT' in BADI BBP_CATALOG_TRANSFER is picked up and wrote our own logic for mapping it with the available UNSPSC codes either at Family level or Segment level. The nearest available UNSPSC code is picked up and passed to output structures ENRICHED_ITEM_DATA and ET_SC_ITEM_DATA in the field 'CATEGORY_ID'.
This is tested by putting external debugging points and found to be working fine.
However when transferring data to Shopping carts, the default Product Category for User ID is shown up instead of the one from output of BADI BBP_CATALOG_TRANSFER.
Please let me know if i am doing correct or any suggestions are appreciated.
Thanks
Venkateven we had the same issue -->
please note that category in SRM system has both category id and also category guid
so , you need to retrieve --> the guid of the category using the FM
CALL FUNCTION 'BBP_CATEGORY_GET_GUID'
EXPORTING
category_id = category_id
IMPORTING
category_guid = iv_comm_cat
EXCEPTIONS
NOTHING_FOUND = 1
OTHERS = 2.
and then assign as shown below
wa_bbp_oci_enritem-category = iv_comm_cat.
and then modify ENRICHED_ITEM_DATA -
Shopping cart creation category dropdown selecting the most used category
Hi SRM gurus,
While creating a shopping cart one of our most used category gets selected by default before we start doing anything.
Everytime we have to change the category.
Is there a way that will become blank and we can select from the dropdown or the find list.
Kindly suggest.
We are using SRM component version 4.0, SRM server 5.0, our patch level 0008.
Thx. & reg.,
Sridhar.Hi
<b>Yes.. This was happening with us when we used SRM 4.0 version.
We have used an BADI Implementation to resolve this issue.</b>
<u>The BADI name is <b> BBP_F4_READ_ON_EXIT </b></u>
For Product category -> Product category (attr. WGR, PRCAT) GET_CATEGORY Method, you need to go ahead.
<u>Read the documenation of this BADI and you will get the problem resolved after implementing the same.</u>
Here is the documentation
BBP_F4_READ_ON_EXIT
Short Text
Restrict the Display in Input Helps and Search Helps
You can use the Business Add-In (BAdI) BBP_F4_READ_ON_EXIT to restrict (or augment) the list of values and favorites that are output in the input and search helps. You can only process data elements for which input helps exist on HTML templates. The following three BAdIs are also available:
BBP_F4_READ_ON_ENTRY
Use this BAdI if you do not just want to restrict the favorites and values list but also want to select this yourself.
BBP_F4_MEM_UPDATE
BBP_F4_SAVE_DB
The following three modules are used to process the values per data element:
BBP_GET_<data element>_F4
Supplies a list of all values and user-specific favorites. You can influence how this module works using BAdI BBP_F4_READ_ON_ENTRY and BBP_F4_READ_ON_EXIT.
BBP_UPD_<data element>_FAV
Updates the favorites in internal function group storage. You can influence how this module works using BAdI BBP_F4_MEM_UPDATE.
BBP_SET_<data element>_FAV
Writes the current favorites to the database. You can influence how this module behaves using BAdI BBP_F4_SAV_DB.
Use
Only implement this BAdI and only program the appropriate method if you want to restrict or augment the value set of standard selection.
If you determine favorites using a BAdI, the standard modules do not process the favorites further. Warning: If, deviating from standard selection, you determine the list of favorites yourself using a BAdI, you have to temporarily store the favorites in the methods of the BAdIs and carry out final saving to the database yourself.
Standard settings
If data is added via the methods, no check of this data occurs. The check has to occur in the methods themselves.
The interfaces of the methods of the BAdI are (almost) always the same:
IV_LANGUAGE
Language for determination of the texts
IV_USER
User for which the values are requested
ET_<data element>_LIST
The list of valid values changed by you
EV_X_FAV_PROCESSED
Use "X" to stipulate that you have filled the favorites list. Only present if favorites table exists for relevant data element.
ET_<data element>_FAVOURITES
Changed favorites list for user IV_USER. Only exists if favorites table exists for relevant data element.
The methods have to fill the structures of the transfer tables completely. Incompletely filled structures can cause followup errors and unforseen consequences.
Activities
Reading of value lists and favorites using function module BBP_GET_<data element>_F4 occurs as follows:
1. First the BAdI BBP_F4_READ_ON_ENTRY is called. It is possible to fill the input list (and favorites) with default values.
a) In the case of default values, exactly these values are returned to the initiator. No further processing or check occurs and the module is exited.
b) If no default values exist, the standard selection is carried out.
2. Before the values are transferred externally you can restrict or augment the number of hits using the BAdI BBP_F4_READ_ON_EXIT. You can therefore delete entries from or add entries to the input list or favorites list.
3. BAdI BBP_F4_READ_ON_EXIT provides an individual method for each data element for which an input help and/or favorites table exists. These are listed below.
If you use this method, you need to indicate processing using the parameter EV_X_LIST_PROCESSED or EV_X_FAV_PROCESSED. Otherwise the selection is lost.
List of available methods per data element in BBP_F4_READ_ON_EXIT:
Field/Data element Method
Currency GET_CURRENCY
Region GET_REGION
Country GET_COUNTRY
Language GET_LANGUAGE
Industry GET_INDUSTRY
Academic title GET_ACADEMIC
Time zones GET_TIMEZONE
Procurement cards GET_PCARD
Legal forms GET_LEGAL
Format for name format GET_NAMEFORM
Quality management systems GET_QMSYSTEM
Fixed values GET_DOMVALUE
Form of address texts GET_TITLEKEY
Units of measure GET_UNIT
Bank data GET_BANKINFO
Tax number types GET_TAXNUMT
Tax numbers per country GET_TAXTYPE
Tax groups per tax type GET_TAXGROUP
Terms of payment GET_PAYMTERM
RFC destinations GET_RFC_LOGS
Logical systems GET_LOGSYS
Tax codes GET_TAXCODE
Catalogs (attribute CAT) GET_CATALOG
Roles (attribute ROLE) GET_ROLE
Account assignment categories (attribute KNT) GET_KNT_ATTR
Purchasing organizations (from PdOrg) GET_PURCHORG
Purchasing organizations (per company) GET_PORGCOMP
Purchasing group (from PdOrg) GET_PURCHGRP
Purchasing group (per company) GET_PGRPCOMP
Product category (attr. WGR, PRCAT) GET_CATEGORY
Products GET_PRODUCT
Goods recipient plant (attr. REQUESTER) GET_GRCPLANT
Goods recipient user (attr. REQUESTER) GET_GRCUSER
Requester (attribute REQUESTER) GET_BOBUSER
Cost centers (attribute CNT) GET_COSTCENT
Asset classes (attribute ANK) GET_ASSETCL
Assets (attribute AN1) GET_ASSETNO
Asset subnumbers (attribute AN2) ET_ASSETSUB
Network (attribute NET) GET_NETWORK
WBS element (attribute PRO) GET_WBSELEM
Order (attribute ANR) GET_ORDERNO
Customer order (attribute AUN) GET_SDDOC
Customer order item (attribute APO) GET_SDDOCPOS
Document type (attribute BSA) GET_DOCTYPE
Transaction type (attribute TEND_TYPE) GET_TENDTYPE
<i>Incase you face any problems, do let me know.</i>
Hope this will help.
Please reward suitable points.
Regards
- Atul -
Cannot see list of Product Categories in Shopping Cart entry screen
Hi All,
I would appreciate it if someone could help me with this issue.
Although I appear to have sucessfully replicated the backend R3 Mat Groups into SRM Product Categories, as I can see them in the hierachy screen, i.e. Hierachy ID R3MATCLASS in trans code COMM_HIERARCHY, they are not appearing in my Shopping Cart entry screen Product Categories drop down.
I have looked in Org structure maintanance and can see two things that may be the root causes:
(a) In 'Exended Attributes', if I select the Source System, I do not get the option to list the product categories in the match code box
(b). In the 'check' screem, the system is displaying the message 'Attribute ITS_DEST not yet defined'
Any feedback on how I can pull in the groups during cart entry would be appreciated.
Thanks,
SteveHi Kathirvel,
I am not sure if this workaround is correct, but rather than using trans code BDLS as you suggested, I defined the logical system 'ABC' . This logical system was the assigned as a target system in 'Assignment of Logical Systems' under the product category customisation (table COMV_LOGSYS_MAP)
These changes subsequently allowed the drop down on the Org structure when selecting a Product Category in extended attributes, therefore making the list available in the web front end.
The IMG help text for COMV_LOGSYS_MAP says:
Case 1
You have created the categories in your test system. They therefore have the logical system <SYSTEM_TEST>. So that the categories can also be changed once they have been transported into the production system, the categories must have the logical system <SYSTEM_PROD> in the target system.
Maintain the following entry:
Source <SYSTEM_TEST>
Target <SYSTEM_PROD>
The logical system of the categories will be changed from <SYSTEM_TEST> to <SYSTEM_PROD>.
This appears to have resolved the issue. I would be interested to hear what you think,
Many thanks , Steve, -
SC cart got created from MDM Catalog but without product category
Hello Friends,
While creating SC from MDM, all the data got successfully transferred except product category which is blank and greyed out.
On checking log in SLG1 under Catalog data, there I can see NEW_ITEM-MATGROUP = K301 but below there are 2 messages
1. 00001 I BBPWS Product Category K301 does not exist K301
2. 00001 I BBPWS Standard category of user was used J106
Under the Ext Attributes of user Product Category is maintained as "*" with logical system.
If I try to create SC manually " Describe requirement" using the category K301 I could able to create.
Please advice and points will rewarded.
Regards,
NeerajHi Karthi
In bbp_pd can you see the contract assigned to the shopping cart item.
Compare both environment bbp_pd s.
what is the local error?
muthu
Maybe you are looking for
-
Was at a friends recently and discovered they have no DVD player (lets not go down that black hole !) [G4 iBook 1.2GHz] But said I have my iBook so lets just play my DVD through your TV. Easier said than done ! 1. I tried using the small jack socket
-
Images in Blob Column..
Hi I have a function that retrieves the blob column which has the image data. I cannot view this from Toad and get the value {hugeBLOB} when I query via Toad. I used it in a VB.Net app, but I'm unable to reterive the image there also. Can you please
-
Hi Guru, I recieved an error "The segment group E1MBXYH has the attribute 'Mandatory' in the syntax description of the basic type WMMBID02 (customer enhancement ). However, the segment group is missing in the IDoc. The segment number logged in the st
-
Bug when saving transparent png
I just saved a few pngs with transparent backgrounds and somehow the icons for those new images are being merged or overlaid with previously saved jpgs in my photo stream. When I open them, I see the picture I expect so there's no damage occurring, j
-
AC3 ENCODING - LFE CROSSOVER QUESTION
I am having issues with the ac3 encoder adding signal to my LFE channel and normalizing it at least 5 or 6 db hotter. I am getting my center dialogue on the LFE. Has anyone encountered this? I am wondering if there is a way I could just encode the ch