on 10-28-2006 5:28 AM
Hello People,
We are using SRM 5.0 and CCM 2.0
We have executed the report "BBP_CCM_TRANSFER_CATALOG" to transfer the product master to CCM as SRM_EXTRACTED_CTLG. This report only transmits 12 standard catalog characteristics. For any more characteristics i have used the BADI "BBP_CCM_CHAR_MAINT".
The BADI successfuly created a new characteristics.
Now i need to map this characteristic and its value in the procurement catalog.
How do i achieve this?
Regards,
Abhishek
<< abhishek0605@gmail.com >>
Hi,
This question has been posted for a long time. i just want to share what I did to solve this problem for those people who might need it.
I used the BADI BBP_CCM_CHAR_MAINT to add a new characteristics and transfer the long description. I used the method ENHANCE_CTY_DEF to define the characteristics that I want to transfer and the method VALUATE_PRODUCT to assign the value to the characteristics.
Step 1: I want to transfer long text and add another characteristics called item tag. In method ENHANCE_CTY_DEF below is te sample code.
ls_char_definition-char_name = '/CCM/LONG_DESCRIPTION'.
ls_char_definition-char_datatype = 'CHAR'.
ls_char_definition-multival_indicator = ' '. "abap_true
APPEND ls_char_definition TO et_char_definition.
ls_char_definition-char_name = 'ITEM_TAG'.
ls_char_definition-char_datatype = 'CHAR'.
ls_char_definition-multival_indicator = ' '. "abap_false
APPEND ls_char_definition TO et_char_definition.
Step 2: assign the value of the cahracteristics in method VALUATE_PRODUCT.
CLEAR: ls_char_valuation.
ls_char_valuation-char_name = '/CCM/LONG_DESCRIPTION'.
ls_char_valuation-char_value = lv_string.
ls_char_valuation-language_code = lv_laiso.
ls_char_valuation-multival_index = 0.
APPEND ls_char_valuation TO et_char_valuation.
CLEAR: ls_char_valuation.
ls_char_valuation-char_name = 'ITEM_TAG'.
ls_char_valuation-char_value = ls_tag-zz0010.
ls_char_valuation-multival_index = 0.
APPEND ls_char_valuation TO et_char_valuation.
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have something more to add.
I have checked all the tables with short description "Characteristics mapping"; they are empty.
How do I go forward?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ramki,
I've already went through BADI BBP_CATALOG_TRANSFER. Actually my problem is, I need to fill up LONG DESCRIPTION field in CCM from product master data in SAP Enterprise Buyer through running report (BBP_CCM_TRANSFER_CATALOG) . But I noticed that the report does not transfer LONG text field. I want to include the LONG DESCRIPTION in CCM and I thought that I might be able to use BADI BBP_CCM_CHAR_MAINT to just add the field as new characteristic in CCM instead.
In BADI BBP_CATALOG_TRANSFER, there's a method there that gets the long description of a product from COMMPR01 by using a BADI. Now, I can already retireve the long description of the product but i noticed that during transfer in XI, long desciption is not included in the structure passed in XI. How will I do it?
Any help would be really appreciated. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.