on 10-29-2008 9:23 PM
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
Venkat
Thanks Khan.We were able to resolve this the next day. Incidentally we used the same solution which you suggested in this thread.
Thanks
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
even 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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.