BADI /CCM/CTLG_ENRICHMENT
Hi all, looking for a bit of help regarding BADI /CCM/CTLG_ENRICHMENT.
I have a requirement to take the UNSPSC code from the supplier catalogue and map it to a product category via a look-up in table COMM_CATEGORY.
Basically the look-up will consist of checking whether there is an exact match for the UNSPSC code and if there is putting into the supplier catalogue as the value for characteristic /CCM/PRODUCT_GROUP or is there isn't working the way up the structure i.e. replacing the last two numbers of the UNSPSC code with 00 and so until a match is determined.
My question is which methods can be used for reading the data from the supplier file and updating the values based on the look-up.
Any help or advice greatly received.
BTW we're on CCM v2.0 SP3
Cheers
Chris
Hi
<b>You can use procedure explained in SAP OSS Note <b>847229</b> "OCI data passed from CCM/SRM"</b>
<u>Related links -></u>
Please read the documentation for the BADI - BBP_CCM_CHAR_MAINT BADI carefully:
<u>Note 850613</u> - Maintaining the BBP_CCM_CHAR_MAINT BAdI using Customizing
<u>Note 875039</u> - BBP_CCM_CHAR_MAINT: Valuating predefined characteristics
Re: Product Category not transferred from CCM 1.0 to Shopping Cart
Do let me know.
Regards
- Atul
Similar Messages
-
Hi All,
We are looking for a BADI during the file upload for Supplier catalog. The requirement is to modify the file ocntents during upload.
We tried implementing BADI /CCM/CTLG_ENRICHMENT, but seems like this BADI is not called during the upload function at all..
Please help us to fix this..
Thanks in Advance
KarthikKarthik,
The Upload process is launched in a background task, that is why you have to 'insert a infinite loop' as Bertrand said, in order to enter in debug mode through transaction SM50.
PS: Please be careful, and use filters in your BADI implementation, because it is called also in the mapping and publishing processes.
Regards.
Vadim -
Generate email for CCM Approval
Hi,
I've seen mentioned on a couple of posts that it is possible to use method FINALIZE_ENRICHMENT of BADI /CCM/CTLG_ENRICHMENT to generate emails to notify that items require approval in CCM.
Has anyone actually done this and do they have any hints or tips to share?
Thanks
ChrisHello Chris,
I am having a similar requirement were you able to generate the email for the CCM catalog upload? If so please let me know if you proceeded with the method FINALIZE_ENRICHMENT and the logic used.
Many thanks
Swetha -
Hi,
Could any one let me know the list of badi in CCM catalog. My requirement is to host images in external web server but logon is required to access I need to pass on the user id and pwd everytime while user is using the catalog. Please advise./CCM/APPROVAL_BADI for user-specific validation checks on characteristics
/CCM/CHAR_VALUATION for changing catalog characteristics either within CAT or CSE
/CCM/CSE_ENRICHMENT for changing items before display in CSE or OCI transfer
/CCM/CTLG_ENRICHMENT for changing all data during upload and before mapping
BADI for Content Import (Default values or auto view creation)
BADI for Approval rules (for customer-specific quality checks)
BADI for Value Changes (for changing characteristics)
BADI for OCI adjustment (to change display and transfer)
check se18 transaction /spro badi node in ccm server for your requirement
br
muthu -
CCM enrichment BaDI implementation - exception handling
Hello CCM Gurus,
We're using CCM 2.0 version. I'd like to make an upload enrichment implementation, and raise an exception if one item has some problem. Every time if in the code an exception is raised according to one item, the whole catalog upload goes wrong, and the upload of the other good items go wrong as well. If it is possible I'd like to get a warning or an error message in SLG1 from the problematic items, but the correct items should be load into the catalog.
If you have a sample implementation like this, what is solved this issue please send me.
Thanks and regards
AlmosHello Masa,
Thanks for the helpful advice, the debugging is working now. Do you know some documentation or material where I can find some useful detailed infomation about using CCM BAdI?
I don't know exactly the differences between the /CCM/CTLG_ENRICHMENT and the /CCM/CHAR_VALUATION BAdI. What is the prefered BAdI when you'd like to change or append uploaded CCM catalog data?
Thanks and regards
Almos -
CCM BAdI implementation debuging
Hello,
I'd like to debug my BAdI implementation (/CCM/CTLG_ENRICHMENT) but I can't. What is the good debugging method for CCM BAdI-s?
I tried to insert a never ending loop in the code and debug the looping process (in sm50) but it doesn't work.
Please give me some idea.
Thanks and regards
AlmosHello Masa,
Thanks for the helpful advice, the debugging is working now. Do you know some documentation or material where I can find some useful detailed infomation about using CCM BAdI?
I don't know exactly the differences between the /CCM/CTLG_ENRICHMENT and the /CCM/CHAR_VALUATION BAdI. What is the prefered BAdI when you'd like to change or append uploaded CCM catalog data?
Thanks and regards
Almos -
Any alternative to the BADI for scaled pricing in CCM catalogs
Hi,
We are not able to use the scaled pricing functionality in CCM. When the item is added to the shopping cart from the CCM catalog the highest price gets chosen by default irrespective of the quantity ordered.
I understand that this can be solved by activating the BADI /CCM/CSE_ENRICHMENT and Implementation /CCM/CSE_OCISCALEPRI
IS THERE ANY ALTERNATIVE TO THIS. CAN THIS FUNCTIONALITY OF SCALED PRICING BE ACHIEVED WITHOUT THIS BADI.
Regards,
SrivatsanHi Srivatsan,
you could use the BADI BBP_CATALOG_TRANSFER to amend the price, in order to do this you would need to pass the lower bound to one of the OCI custom fields in order to pick up this avlue and determine the correct price.
Why do you not want to use the standard implementatiom though?
Regards
Chris -
Changing the column wide in CSE in CCM
Hi Experts,
Is there any other way to setup the column wide in CSE in CCM?
Currently we display the long text, but now the end-user needs to scroll to the right to see all the data/info which we don't want.
The options we have are
a) setting it up in such a way that for example only part of the long text is shown. This can be done in BAdI /CCM/CSE_ENRICHMENT
b) or make the long text only visible in detailed screen. But this is not what we want, the end-user must see the data immediately.
So is there any other way to control the column wide in the CSE in CCM?
Thanks in advance.
Kind regards,
Marius HartmanHi Marius,
There is no way to modify the column width without modifying the related BSP, this technology is BSP not CCM, CCM has no control over the screens in this case. Perhaps if you wish to find out how to perform this modification then someone in the forums (Basis) will be able to help with the BSP MOD.
Regards,
Jason -
Ordering in multiples in CCM 2.0?
Hi All,
Am wondering if there is standard CCM functionality to order in multiples so for example, I'd like to order an item in lots of 5.
Thanks,
Paula.Hi Paula,
You have to modify (or copy) the implementation of the same BADI /CCM/CSE_OCIMINQTY including that check.
Regards
Jorge -
Cross catalog search doesn't work for CCM 2.0
Hi SRM gurus,
We are using SRM 5.0 and CCM2.0.
We created several CCM catalogs but cross catalog search doesn't work at all.
In the call structure, option "cross catalog" is correctly customized.
Are there additional check I have to do in order to see this cross catalog search working fine ?
It's quite urgent...
Thanks a lot,
regards,
CarolineHi
The TREX server (service) must started and be contactable by RFC - this can be checked by carrying out the actions listed above. (Refer OSS Note - 866547 Error when accessing TREX server for more details )
<b>Please have a look at the following SAP OSS Note, which will help -></b>
Note 851106 - Search in catalog from SRM leads to "Service not reachable"
<u>Other related OSS Notes</u>
Note 973594 Cross Catalog Search - Configuration
Note 894717 Items from Cross Catalogs Result does not appears in step 2
Note 803731 Cross-category search returns no result
Note 847137 OCI, cross-catalog search: detail display
Note 996885 Cross Catalog Search - Timeout while accessing MDM Catalog
1023487 cross-catalog-serach in portal opens up a duplicate window
1020025 Item detail display in Cross Catalog Search
1027352 Item detail display in Cross Catalog Search
Note 866547 - Error when accessing TREX server
Note 988427 - Update to TREX 6.1 Rev 27
Note 994623 - Hierarchy Buffer and BIA
Note 1030056 - Improvement in the Search within Results feature of CSE
Note 798988 CCM/CSE: Sorting sometimes returns no results
Note 778688 TREX_INDEX_MANAGER unit test update_view(): incorrect search
Note 808754 Display sequence of the characteristics is not changeable
Note 794325 - Error in OCI transfer in the BAdI /CCM/OCI_SCALEPRI
Note 745235 Search ability changes to cross-catalog characteristics
Note 724097 - Search of the comp. in case of structured characteristics
Note 743643 Search ability change in cross-catalog characteristics
Note 847551 Displaying date, time, and timestamp in the CSE
Note 750756 Program for the deletion/clean up of TREX indexes
Do update me as well.
Regards
- Atul -
Hello All,
when the CCM search screen is brought into the SRM the items are displayed without any default sort order. is there a way to configure a specific order when the list is first displayed? i know that clicking on the column will enable sorting, but i would like to know if there is any setting that can predetermine the sort order before the list is displayed in SRM.
thx in advance for your answers.Greg: there is no Customizing setting you can control the sort order with. I feel your pain :). Short of modifying the system, the only way you may be able to achieve the desired functionality is BAdI /CCM/CSE_ENRICHMENT.
Cheers,
Serguei -
Hai,
In CSV file I currently use the User Defined Characteristic ValPeriod with Component StartDate and EndDate, Both use Basic Type Code TimeStamp and when uploading the process was successful.
How to make use of both characteristics as the validity date in the shopping cart?
Currently we are using:
- SRM EBP 5.0
- CCM 2.0
- CSV 2.0
Thanks,
Feri.Hello Feri,
You can check validity period when item is published to search engine and item is transferred from Search Engine.
There are BADI which you should code the validity logic.
+ /CCM/CTLG_ENRICHMENT
+ /CCM/CSE_ENRICHMENT
Regards,
Masa -
Using Transaction codes in CCM2.0
Hello SRMer's,
Can you please let me know if Transaction codes can be used in CCM 2.0.
Thanks in advance,
Best Regards,
BobHi
These are some of the Tcodes available in CCM2.0
/CCM/12000001
/CCM/12000006
/CCM/12000008 IMG Activity: /CCM/V_CAT_UPD
/CCM/95000001 Settings for Publishing Catalogs
/CCM/95000003 RFC Destination for Locales
/CCM/95000004 Settings for Uploading Catalogs
/CCM/95000005
/CCM/95000006 BAdI Impl.: /CCM/APPROVAL_BADI
/CCM/95000007 BAdI Impl.: /CCM/CHAR_VALUATION
/CCM/95000008 BAdI Impl.: /CCM/CTLG_ENRICHMENT
/CCM/95000009 Specify Settings for Default Sta
/CCM/95000010
/CCM/95000011
/CCM/95000012 Activate A&D Enhancements
/CCM/95000013
/CCM/95000014 Settings for Catalog Values
/CCM/95000015 Specify Settings for Catalog Val
/CCM/95000016
/CCM/AD_SETUP Initialize A&D Enhancements
/CCM/DEFAULT_STATE Default Status for Catalog
/CCM/HELP Dummy Transaction for Help Displ
BBP_CCM_TRANSFER Data Transfer to Catalog
BWCCMS CCMS Monitor for BW
SWF_CCMS_CONFIG CCMS: Configuration
Rgds
Reddy -
DataGrid tooltip doesn't work for customized itemRenderer
I have a DataGrid with one column is a customized renderer,
when I try to use the dataTripFunc, it is not showing tooltips,
same function works for the other non-customized column, here is
the code:
<mx:DataGrid id="myDataGrid" dataProvider="{dataContent}"
width="100%" height="100%">
<mx:columns>
<mx:DataGridColumn dataField="name" headerText=""/>
<mx:DataGridColumn dataField="DateTime"
headerText="DateTime" showDataTips="true"
dataTipFunction="cellDataTipFunc"/>
<mx:DataGridColumn dataField="ImgBar" headerText="ImgBar"
itemRenderer="ImgBarCell" minWidth="40" showDataTips="true"
dataTipFunction="cellDataTipFunc"/>
</mx:columns>
</mx:DataGrid>
public function cellDataTipFunc(item:Object):String {
return "hello world";
Where the itemRenderer -- "ImgBarCell" is a customized HBox
component with a label and image on it.
The tooltip -- "helloworld" shows up for column "DateTime",
but not for customized ImgBar.
Does this one have anything to do with event generation for
customized itemRenderer? Or a bug in flex2?Hi
The TREX server (service) must started and be contactable by RFC - this can be checked by carrying out the actions listed above. (Refer OSS Note - 866547 Error when accessing TREX server for more details )
<b>Please have a look at the following SAP OSS Note, which will help -></b>
Note 851106 - Search in catalog from SRM leads to "Service not reachable"
<u>Other related OSS Notes</u>
Note 973594 Cross Catalog Search - Configuration
Note 894717 Items from Cross Catalogs Result does not appears in step 2
Note 803731 Cross-category search returns no result
Note 847137 OCI, cross-catalog search: detail display
Note 996885 Cross Catalog Search - Timeout while accessing MDM Catalog
1023487 cross-catalog-serach in portal opens up a duplicate window
1020025 Item detail display in Cross Catalog Search
1027352 Item detail display in Cross Catalog Search
Note 866547 - Error when accessing TREX server
Note 988427 - Update to TREX 6.1 Rev 27
Note 994623 - Hierarchy Buffer and BIA
Note 1030056 - Improvement in the Search within Results feature of CSE
Note 798988 CCM/CSE: Sorting sometimes returns no results
Note 778688 TREX_INDEX_MANAGER unit test update_view(): incorrect search
Note 808754 Display sequence of the characteristics is not changeable
Note 794325 - Error in OCI transfer in the BAdI /CCM/OCI_SCALEPRI
Note 745235 Search ability changes to cross-catalog characteristics
Note 724097 - Search of the comp. in case of structured characteristics
Note 743643 Search ability change in cross-catalog characteristics
Note 847551 Displaying date, time, and timestamp in the CSE
Note 750756 Program for the deletion/clean up of TREX indexes
Do update me as well.
Regards
- Atul -
Question on CCM BADI Approval_BADI
I'm trying to make enhancements to BADI Approval_BADI to validate a field called product group against a list of product categories. How can I find/view the structure of the parameter Product Group in the BADI?
Hi Elly,
Firstly - can you check in customizing if the catalog is maintained with the status 'Approved'.
i.e. SPRO -> Cross App Components -> SAP CCM -> SAP Catalog Authoring Tool -> Specify default value for catalog status.
Here the catalog will either be set to Approved or To be approved initially.
After this, you can define approvals on characteristic level, drill into a characteristic component and you can set a percentage or absolute deviation which will based on these rules set items with this characteristic either to be approved or approved.
Alternatively you can make use of the CCM Approval Badi, You can use this BAdI to change the approval status of your catalog entries (items).
Normally, the approval status of catalog entries is determined by approval rules, which are stored for a characteristic. You can use this BAdI to get the status information of the catalog entries after the rules have been processed, and to change this status information as appropriate.
Regards,
Jason
Maybe you are looking for
-
How do I browse & play .mp3 files from a USB flash drive using Labview 8.0?
I'm a tester & want to test USB flash drives connected to PC. I want to browse the file system & playback the audio files, .jpeg files etc in the USB drive. I've Labview 8.0. When I searched for some examples or VIs which can detect the USB flash dri
-
Success with adding an external eSATA drive to a Verizon FIOS DVR
August 4, 2012 - Success with adding an external eSATA drive to a Verizon FIOS DVR I just upgraded from a Comcast DVR to a Verizon FIOS DVR. I upgraded because my old DVR was limited to 500GB (1/2 TB) on the internal drive and the new FIOS DVR allo
-
Hello Guys , I´m trying to create a stock transfer using a "stock transfer order" using t-code me27 and the material is a stock material and has CS "Case" marked as Unit of measure for the order unit but when I try to save my purchase order it cha
-
Help required in jsp forward page
here i made four page in the first page i get the username and password and move it into second page in the second page it evaluates if username equals dineshkumar and password equals dinesh it shows third page else it shows fourth page here the prob
-
How to get the desired output in the format ...?
Hi all, I am having data like this. Col1 col2 col3 1 2 1 1 2 2 1 2 3 2 3 7 2 3 8 2 3 9 I want to output the data like this 1 2 1,2,3 2 3 7,8,9 How to get this. Thanks in advance, Pal