Regarding Icss Product Catalog

Dear Experts,
Project Details:
I am using below mentioned code for displaying the autocomplete functionality for Search Products.
I will be using Icss Catalog BOM.
public class YCatalogSearchAction extends CatalogQueryAction {
  public ActionForward doPerform(
    ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response,
    UserSessionData userData) {
    //the arrylist to return the results
    ArrayList results = new ArrayList();
    //the term parameter that jQuery appends to the url
    String urlQuery = "*" + request.getParameter("term") + "*";
    HttpSession httpSession = request.getSession();
    UserSessionData userSessionData = UserSessionData.getUserSessionData(httpSession);
    IcssCatalogBusinessObjectManager cbom = (IcssCatalogBusinessObjectManager)userSessionData.getBOM(CatalogBusinessObjectManager.CATALOG_BOM);
WebCatinfo theCatalog = cbom.getCatalog();
    if(theCatalog != null){
      try {
        //create the query statement
        IQueryStatement queryStatement = theCatalog.getCatalog().createQueryStatement();
        //create the filter
        CatalogFilterFactory catalogFilterFactory = CatalogFilterFactory.getInstance();  
        IFilter filter = catalogFilterFactory.createAttrFuzzyValue("TEXT_0001", urlQuery);
        //add the filter to the statement
        queryStatement.setStatement(filter, null, null);
        //query the catalog
        IQuery query = theCatalog.getCatalog().createQuery(queryStatement);
        //get the items     
        WebCatItemList itemList = new WebCatItemList(theCatalog, query);
        Iterator iter = itemList.iterator();
        //put the descriptions into the array to return
        while (iter.hasNext()){
          WebCatItem webCatItem = (WebCatItem)iter.next();
          results.add(webCatItem.getLngDesc());
      } catch (CatalogException e) {
        log.error(e.toString());
        e.printStackTrace();
    request.getSession().setAttribute("results", results);
    return mapping.findForward("success");
Problem Statement
The theCatalog (WebCatInfo) object value is coming as null.
Kindly help me on this.
Any help is greatly appreciated
Thanks and Regards,
Sameer

Dear Experts,
Project Details:
I am using below mentioned code for displaying the autocomplete functionality for Search Products.
I will be using Icss Catalog BOM.
public class YCatalogSearchAction extends CatalogQueryAction {
  public ActionForward doPerform(
    ActionMapping mapping,
    ActionForm form,
    HttpServletRequest request,
    HttpServletResponse response,
    UserSessionData userData) {
    //the arrylist to return the results
    ArrayList results = new ArrayList();
    //the term parameter that jQuery appends to the url
    String urlQuery = "*" + request.getParameter("term") + "*";
    HttpSession httpSession = request.getSession();
    UserSessionData userSessionData = UserSessionData.getUserSessionData(httpSession);
    IcssCatalogBusinessObjectManager cbom = (IcssCatalogBusinessObjectManager)userSessionData.getBOM(CatalogBusinessObjectManager.CATALOG_BOM);
WebCatinfo theCatalog = cbom.getCatalog();
    if(theCatalog != null){
      try {
        //create the query statement
        IQueryStatement queryStatement = theCatalog.getCatalog().createQueryStatement();
        //create the filter
        CatalogFilterFactory catalogFilterFactory = CatalogFilterFactory.getInstance();  
        IFilter filter = catalogFilterFactory.createAttrFuzzyValue("TEXT_0001", urlQuery);
        //add the filter to the statement
        queryStatement.setStatement(filter, null, null);
        //query the catalog
        IQuery query = theCatalog.getCatalog().createQuery(queryStatement);
        //get the items     
        WebCatItemList itemList = new WebCatItemList(theCatalog, query);
        Iterator iter = itemList.iterator();
        //put the descriptions into the array to return
        while (iter.hasNext()){
          WebCatItem webCatItem = (WebCatItem)iter.next();
          results.add(webCatItem.getLngDesc());
      } catch (CatalogException e) {
        log.error(e.toString());
        e.printStackTrace();
    request.getSession().setAttribute("results", results);
    return mapping.findForward("success");
Problem Statement
The theCatalog (WebCatInfo) object value is coming as null.
Kindly help me on this.
Any help is greatly appreciated
Thanks and Regards,
Sameer

Similar Messages

  • Set product catalog indicator

    Hi,
    Can anyone tell me how I customize the indicators for product catalog types? Because in XCM of ICSS application (component - Product Catalog) i have to associate the indicators '1000' or '3000' to a service request, a complaint or a product registration.
    I' ve already defined the catalog usage in E-service in transaction SPRO - CRM - E-SERVICE - ICSS - SET UP INTERNET TRANSACTION. But i cannot find the place where i have to define those indicators.
    Regards,
    Hugo.

    Hugo,
    how ur creating catalogs automaticallcally or manullay. and what is ur requirement to create automatically.
    It may also effect in icss other than catalogs.
    and to maintain indicators the path is ICSS-product registration-product catalog usage
    Thanks,
    Priya

  • ICSS Product Registration

    dear masters,
    i'm trying to configure the ICSS functionality, to manage service requests and contract, and compliant, and to do this, i'm following the best practice steps (Best prectice code: C74, C13   link http://help.sap.com/bp_crm70/CRM_DE/HTML/index.htm)
    at the moment i  can't perform the product registration
    what can i do to performe this operation?
    regards
    Luigi Familiari
    Edited by: ggfam2000 on May 19, 2010 4:41 PM
    Edited by: ggfam2000 on May 19, 2010 4:41 PM

    And you also have a product catalog created and published, right?
    Well, for your question on seeing the Product Catalog in WebUI, you have to do the following:
    1. You have set up a CRM Product Catalog
    2. You have set up a Web shop running on a Java 2 Enterprise Edition (J2EE) server
    3. Configure the Extended Configuration Management (XCM) settings
    4. Assigned the user to appropriate business role
    In your case for example - Service Professional (SERVICEPRO)
    For more information see this: [Product Catalog Display in CRM WebClient UI|http://help.sap.com/saphelp_crm70/helpdata/en/46/24a62995654a8d8dc80a2332eec505/content.htm]

  • List Price Not getting displayed in B2B Webshop Product Catalog

    Hello Experts,
    We have done all the required configuration to view the LIST PRICE in B2B Webshop product catalog.
    We have done following settings:
    1. Pricing Procedure assignment to the PRODUCT CATALOG VARIANT
    2. Initial Replication of the product catalog
    3. Shopadmin setting for List Price (radio button selection on the GENERAL Informaiton Tab)
    4. XCM Setting - No IPC
    5. For the defined variant, we have maintain an entry in the Parameter for List Prices - ZPR0 and table as CUS506 and Catalog Price type as List Price.
    6 Downloaded the required condition record from ECC to CRM with correct validity period
    But still we are not able to see the LIST PRICE. Any other change (say addition/removal of product from CATALOG areas)in the CATALOG is getting dispayed correctly in the WEBSHOP product catalog except LIST PRICE. That means we feel there is no issue from TREX perspective.
    Any other pointers will be really helpful.
    Regards
    DJ

    What are the fields for CUS506? During replication if the list price is replicated from this table then all the key fields mentioned in this table should be available during replication for this table.
    What my wild guess is that maybe this CUS506 has a field e.g say SHIP_TO or SOLD_TO etc.. Now at the time of replication.. there are no shipto or soldto hence no values/price will replicate to TREX.. hence u will see nothing in catalog.
    regards,
    Dipender Singh

  • Can we have a b2b webshop without Product catalog in it

    Hi Gurus,
    I have a scenario where I dont want to Product catalog on the webshop. Customers log in and just want to see the order history.
    How can I set this up.
    Please explain if this is possoble.
    Thank You

    Hi Ram,
    yes, you will have to create a catalog without products. This is because the catalog is a required field when creating a new shop in the shopadmin. Only when you use the webshop with an R/3 or ERP backend, no catalog is required at all.
    Best regards,
    Martin

  • Create the Product Catalog from Flat file

    Hi,
    We have a requirement to create the Product catalog (CRM) from flat file data. We have the required data like Product catalog ID, description, sub areas and products are present in the Exel file. Now we need to create product catalog automatically using the report. Can u give me any pointers on what FM and BAdis to be callled in this report?.
    Thanks and Regards,
    S Reddy

    Link:[Create product basic Data|http://esoadocu.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?packageid=DDC84252E3AEF0F1AA5A001A64D3F460&id=8C145DB8CF3A11DC2B8D000F20FCB6A9]

  • PDF document in the ISA product catalog

    Hi all,
    Anyone who knows how to display PDF documents in the ISA product catalog?
    In the document "Internet Sales in a B2B Scenario Presentation" there's an indication of that you can show, amongst others, PDF documents in the detailed screen for an item. We have an R3/ISA 4.0 B2B scenario.
    Thanks in advance!
    Best regards,
    Ulrika Enskog

    Hi, and thanks for the answer!
    This was what I thought I had to do.
    It turns out that there actually is an SAP note on this issue - 608422 - which deals with adding additional attachments to catalog items in ISA R/3. And in SAP note 610393 they have provided example java and jsp files for doing this.
    Best regards,
    Ulrika

  • How can i upload items in the product catalog ?

    Hello ,
    How can i upload items in the product catalog? ( Other than running the concurrent program to import the items from inventory module) 

    Hi,
    Is this in iStore or Other CRM Module?
    Regards
    Shyam
    Please see following Metalink Note ID for all in One solutions
    Oracle E-Business : All In One Metalink Note ID's
    If you are happy with the Document, please mark as Helpful by doing so this will provide assistance for other people looking for answers to their queries.

  • Text table for long text of product catalog area and product description

    Hi experts,
    I'm a new comer in CRM, what my current job is to do the translation for CRM system and its portal, e.g. webshop.  Now I met some questions as below, Could you please give me some advices?
    1. Long text for product catalog area (t-code: COMM_PCAT_ADM; Product Catalog: PCSHOP)
    I found a  table named STXL(STXD SAPscript text file lines), maybe, it is related to the long text(product catalog area), but I can not get anything from the field CLUSTD of the table STXL as  its data type is RAW. Maybe, there is a text table in CRM to store these long text information, but I dont know, Could you please give me some ideas?
    2. Long text for product description (t-code: COMM_PCAT_ADM; Product Catalog: PCSHOP)
    I found a table named COMM_CFGLNGTXT(Long Texts for Different Objects),  I can find some long texts(product description) in this table, but some others, I can not find them. I dont know why? Maybe it is not a correct text table. Could you please give me some advices?
    Thank you very much.
    Quanyin

    Hi Uwe,
    Implement the BADI DOC_PERSONALIZE_BCS and use method PERSONALIZE_DOCUMENT. In this method therz an parameter FLT_VAL, this can be used to derive the description.
    Award points if its useful....
    Regards,
    B Raju

  • How to attach PDF file to product catalog in Internet Sales R/3

    Hi Experts,
    We are implementing SAP E-Commerce (Internet Sales) for mySAP ERP or SAP R/3, release 5.0.
    I need to attach a PDF file to the product in the product catalog of the Web Shop. Some where in the documentation I have read that itu2019s possible.
    I have created a document with following parameter:
    Document  2001 \ Document Type L01 \ Document Part  000 \ Document version  00
    In that document, I have created one original with the following parameters:
    Applic.     PDF \ Data Carrier    isar3 \ Original      <WebServer folder>/SAP.pdf
    I have assigned this document objects to the product as u2018Documentsu2019 in the product catalog. (through Tcode WWM2).
    I have uploaded the PDF file to the correct Web Server folder.
    But I CAN NOT see my PDF file anywhere in Web Catalog.
    By the way, following the same steps I have also created another Document containing 2 original images:
    Document  2002 \ Document Type L01 \ Document Part  000 \ Document version  00
    In that document, I have created 2 originals with the following parameters:
    Applic.     LIM \ Data Carrier    isar3 \ Original      <WebServer folder>/ Test_big.jpg
    Applic.     SIM \ Data Carrier    isar3 \ Original      <WebServer folder>/ Test_small.jpg
    I have assigned this document objects to the product as u2018Documentsu2019 in the product catalog. (through Tcode WWM2).
    I have uploaded the image files to the correct Web Server folder.
    I CAN see the small and large image in my product catalog with out any problem.
    Is it possible to attach PDF in this way? Am I making any mistake? Am I selecting the correct document type (L01) for the document?
    Please guide me.
    Thanks in Advance.
    Regards,
    Abir Kundu.

    Hi Abir,
               SAP standard for R/3 E-commerce allows only SIM and LIM applications.
    Any further requirements like PDF needs to be an enhancement on the product details JSP.
    Also make sure you are storing the PDFs in the right location to retreive it on the product details.
    Thanks,
    Kiran Kanth.C

  • How to attach PDF file to product catalog in e-Commerce ERP

    Hello Experts,
    We are implementing SAP E-Commerce for ERP (ECC 6.0 version)
    On the product catalog, I need to attach a PDF file to the products.
    I have created a document as
    Document Type: DMO
    In this I have created 1 original as:
    Applic: PDF
    Original:  "abc.pdf" (the PDF file has been uploaded to the correct Web Server folder)
    This document has been assigned to the product as u2018Documentsu2019 in the product catalog.
    I replicated the catalog on TREX. However now I am not sure how to acess this document on the e-Commerce Products JSP.
    When I access the product index on TREX, I do  not see any attribute that contains this document Type containing the PDF.
    (The standard LIM / SIM documents are getting attached correctly to the products, I see the relevant images on the JSP)
    I am not sure if I am missing something in attaching  the document?. Please let me know what else is required to be done for this?
    Thanks in Advance.
    Regards,
    Roopali

    Hey Roopali,
    Following is the procedure to Attach a multimedia object .
    Hope you are following this especially point number 16.
    1.     Access the activity using one of the following navigation options:
    Transaction code     COMM_PCAT_ADM
    SAP CRM menu     Master Data à Product Catalog à Maintain Product Catalog
    You will have Material Master rather than Product catalog as it is ECC version.
    2.     In the Product Catalog field, enter PRODUCT CATALOG
    3.     In the Catalog Type field, enter Manual and automatic assignment.
    4.     Choose Change.
    5.     Expand Header Data by choosing the Expand data area Button labeled Header Data
    6.     Check that the status is Inactive.
    A yellow light bulb indicates that the status is Active. To set the status to Inactive, click the light bulb and a gray light bulb appears.
    To add new products to your product catalog, you must first deactivate the status on all levels.
    7.     In the Object Name screen area, select your product catalog.
    8.     Choose Expand all.
    9.     Double-click the catalog area to which you want to manually assign your objects.
    10.     Check that all products are set to inactive.
    11.     In the Item list, double-click the product.
    12.     The selected product is shown below in the screen area Item Details.
    13.     Choose the Item Documents tab.
    The tab page Product Documents provides information about which objects are already assigned to a product in the product master. This means that these objects cannot be changed in the product catalog. They can only be changed in the product master.
    14.     Choose the folder YCRM_IMAGE  or YCRM_THUMB and choose Import document. Browse for the multimedia object that you want to assign to the product. 
    15.     Select the object (picture) and choose Save.
    16.     Choose the tab page Properties to set this multimedia object as language-independent, set the field Language-Independent(Prod) = Yes.
    This field controls the publication of documents in catalog variants depending on the language. This means that the document is valid for all languages in which the catalog is published.
    17.     Choose Save.
    Regards,
    Sumit

  • Image server and images in the product catalog(CRM ISA)

    Dear Gurus,
        I am using CRM ISA 5.0 R/3 version. My products in the product catalog has got images. I have assigned the image's to the products in the R/3 product catalog(WWM2)
    In the b2b XCM for the webcatalog node, I need to specify the imageserver url. Can you please tell me what goes here. How do I find out what is my image server in my landscape. Please advice me how do I get the images in my ISA product catalog.
    Thanks!
    Vivek.

    Hi Vivek,
    In general image server is the web server. You need to talk to your network administrator to identify and setup the web server. Pass on the below document to your administrator to setup the publishing directories on the web server:
    http://help.sap.com/saphelp_crm40sr1/helpdata/en/c7/d64e3c719d1742e10000000a11405a/frameset.htm
    <b>Reward if helps</b>
    Regards,
    Paul Kondaveeti

  • Tables used for Advanced Product Catalog

    Hi All,
    Can i get the tables used for Advanced Product Catalog. i.e. Catalog group and its attributes and peoples assigned and items assigned to that catalog.
    Its a bit urjent. Please help me.
    Thanks in advance.
    Regards,
    Pavitra.

    Check Note: 372415.1 - What Table Do I Use to Query For User Defined Attributes
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=372415.1
    Electronic Technical Reference Manual (eTRM) should be also helpful
    http://etrm.oracle.com/

  • How to add new attribute in product catalog?

    Hi All,
    Can anyone tell me how to add new field/attribute in product catalog?
    The requirement is to display product's new attribute on product catalog screen.
    Do I need to create any custom java class?
    Need suggestion!!
    Thanks.
    Regards,
    Rupali

    Hello Rupali,
    I am assuming a CRM E-Commerce scenario for my help here.
    Can anyone tell me how to add new field/attribute in product catalog?
    You must start from defining the new Attribute in an exisiting or new Set Type. Use transaction code COMM_ATTRSET. Once you have the attribute / attribute set defined, you can assign this to your catalog - in the header data as the Basic characteristic List.
    to display product's new attribute on product catalog screen
    See catalog/ProductDetailISA.jsp for tips - search for catalog.isa.attribute. The catalog item WebCatItem has all the details available already.
    com.sapmarkets.isa.catalog.webcatalog.WebCatItem currentItem = webCatItem;
    If you want to show the details of attributes in the catalog page - say - catalog/ProductsISA.jsp, the instance of WebCatItem is already available. In this page look for
      <isa:iterate id="item"
                   name="itemPage"
                   type="com.sapmarkets.isa.catalog.webcatalog.WebCatItem">
    You can see that item is an instance of the WebCatItem and follow the code in the <isa:iterate> loop. Using the following code
    Iterator itemAttribute = item.getCatalogItemAttributes();
    will give you the attribute list. You can iterate over the list of attributes and do what you want.
    Easwar Ram
    http://www.parxlns.com

  • RQL Query to get the specific range of product items from product catalog.

    Hi All,
    I need to do the batch wise query to product catalog.
    For that i have use Query builder but that is giving me repeated items, now i wanted to use RQL using rqlStatement.
    Please help me in solving the issue.
    Query which i have used using QueryBuilder.
                    RepositoryView productView = productRepo.getView("product");          
                    QueryBuilder productBuilder = productView.getQueryBuilder();
                    Query productQuery = productBuilder.createUnconstrainedQuery();           
                    RepositoryItems[] productItems = productView.executeQuery(productQuery,startIndex,endIndex);
    Can anybody help me in writing RQL Query to get the specific range of product items from product catalog.

    Hi Shakuntala,
    There is no executeQuery method defined in RqlStatement Interface, which will accept index for output result.
    So As far as I know, what u are trying to achieve is not possible with RQL statements OOTB way.U can consider range of results based on some condition from Repository items.
    Please let me know if u find any way to implement it.
    Above Query builder should always return different ids if range is not overlapping with previous range.
    Please verify that repeated items ids are same or different,
    Quoting from API docs:
    RepositoryItem[] executeQuery(Query pQuery,
                                  int pStartingIndex,
                                  int pEndingIndex)
                                  throws RepositoryException
        Executes the given query and returns an array of matching RepositoryItems, which are contained within a total potential result set. For example used if one wanted to retrieve elements 50-60 from a query which could return 100 elements.
    Regards,
    Nitin.

Maybe you are looking for

  • Cannot Open An Instantiate Application in Guided Procedures

    Hi, I an new to Guided Procedures and SAP NW CE. I have created a composite application following a tutorial example from the SAP Press book "The Developers Guide to the SAP NetWeaver Composition Environment" which is based on a project management pr

  • Menu display names not showing properly in CS applications.

    In an effort to greatly reduce the burden on our catalog production staff, I am attempting to tweak an existing font whose bullet character is too large (so that they don't have to manually reduce the size of every bullet). I have successfully done t

  • How to join two arrays together?

    I have the following type     type TVarcharArr is table of varchar(4000) index by binary_integer;I have a procedure that passes in two separate arrays as:     p_account_number                 in TVarcharArr,     p_product_system_code          in TVar

  • DNG files showing no thumbnails mac osx 10.8.2

    when i convert raw photos from my olympus omd em5 into DNG's and export them to my external hard drive , i do not get any thumbnail previews , they can only be seen if i view the files through lightroom4 import , if however i export in other formats

  • How to create a Macro

    Hi, I am trying to create a new Macro in Numbers to automate number in words printing. For example, if I enter 154.35 in a cell, I would like that macro to generate "One Hundred Fifty Four and Thirty Five cents". I have that function in Excel but i w