Catalog id in jsp

HI
how to get catalog id in jsp

you can also try to access directly in jsp , not sure abt exact syntax
<dsp:valueof bean="/atg/userprofiling/Profile.catalog.id"/>

Similar Messages

  • Invoke catalog method in .jsp

    Greetings.
    I have a method named getLocationValues defined in my catalog. The method takes two arguments, defined as strings, and returns an array. In my .jsp, I am attempting to use the "invoke" tags to access the method, using the return values to populate a select list. When I call the .jsp page, I get the following error:
    java.lang.RuntimeException: Could not find method 'getLocationValues' in 'xobject.WR20060112_Form15026.Request' with arguments java.lang.String, java.lang.String'.
    Here is the invoke call in the jsp. The catalog is "request":
    <f:invoke var="${request}" methodName="getLocationValues" retAttName="myLocationResults" retAttScope="Page" >
    <f:arg value="STC" type="String"/>
    <f:arg value="BUILDING" type="String"/>
    I can make a call to the method inside an automatic called from the same screenflow and display the results, so I know the method is accessible. For some reason, it's just not finding it. Any help would be greatly appreciated.

    Hi
    What you are trying is basically an Applet to Servlet communication. This is definitely possible. To perform a GET to a Servlet create a URL object with the request parameters included. Create a URLConnection by opening a connection to the URL object. Then access the ServletInputStream to get the reply from the Servlet.
    To perform POST the process is similar but remember to set the DoInput and DoOutput properties of the URLConnection object to true.
    Obtain the ServletInputStream and ServletOutputStream to recieve and send Data.
    Keep me posted on your progress!
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun microsystems inc.
    http://www.sun.com/developers/support

  • How to Load Catalog with given catalog id

    How to load Catalog with given catalog id in ATG
    can any one help on this?
    Thanks in advance.

    Hi ,
    You can use ItemLookUpDroplet :
    $class=atg.repository.servlet.ItemLookupDroplet
    $scope=global
    itemDescriptor=catalog
    repository=/atg/commerce/catalog/ProductCatalog
    In Jsp :
    dsp:droplet name="ItemLookUpDroplet">
    <dsp:param name="id" value="catalog10002"/>
    <dsp:oparam name="output">
    </dsp:oparam>
    </dsp:droplet>
    ~ Praveer

  • Replacement screen for: Satellite C8550 S5110

    Have bought the following laptop in the USA:
    http://www.toshibadirect.com/td/b2c/jsp/catalog/retail-product.jsp?poid=2000050575
    Am back in Australia  and the screen is cracked and needs replacing.The model numbers are different here and Toshiba Australia do not know the part number for a replacement screen on this model
    Anyone got any ideas how to get this-  have had a global run around this morning!
    Jeff

    Hi buddy,
    Normally the LCD is always the same part but if you want to make sure you get the correct LCD you should ask an authorized service provider in your country. The guys have access to Toshiba database and can search for exact part number and can order this screen for you.
    You can find a list of ASPs here:
    http://eu.computers.toshiba-europe.com > Support & Downloads > Find an authorized service provider

  • IAS 6 Conversion from NAS 4.0 - Tools

    Hi gang,
    Has anyone used the IAS-supplied conversion utilities to convert JSPs from
    0.92 to 1.1?
    We have a number of included/imported JSP for things like headers and
    footers, and the conversion tool doesn't seem to like that. This should
    work; this sort of thing is very common practice.
    convert2jsp11 -ap c:\iplanet\ias6\ias\APPS catalog\customization\gettext.jsp
    There seems to be an issue with the AppPath (specified by "-ap" above)
    confusing the utility when it tries to process a JSP that imports/includes
    another one. In the example above, I get a FileNotFoundException on
    "c:\iplanet\ias6\ias\APPS\catalog\customization\catalog\includes\common\foot
    _ias_included.jsp"
    The "includes/common" folder is under "catalog", but from the message I get
    it looks like the utility can't deal the fact that someone, somewhere, might
    actually import/include something from a different directory.
    Anybody have any ideas for fixing this? I have over 1500 JSPs!! Ugh.
    Thanks, in advance.
    Scott

    hi,
    Make sure that your network uses DNS naming.
    This error occurs when a machine is not correctly configured to use DNS naming. The default fully qualified host and domain name presented during installation is not correct.
    To successfully install, you need to provide a fully qualified domain name that consists of a local host name along with its domain name.
    for example yoursystem is a host name and yourdomain.com is a fully qualified domain name.
    regards,
    saravanan

  • Casting in forEach ?

    Hi guys,
    I have a UsersCatalog bean being set in a servlet, and this catalog contains lots of User objects.
    Servlet:
    Collection userslist = new ArrayList();
    User user1 = new User("John");
    User user2 = new User("Peter");
    userslist.add(user1);
    userslist.add(user2);
    UsersCatalog catalog = new UsersCatalog();
    catalog.usersitems = userslist;
    request.setAttribute("mycatalog",catalog)
    in the jsp I've got a bean called "catalog" like this:
    <jsp:usebean id="catalog" class="beans.UsersCatalog" scope="request">
    now I want to iterate those "users" (up there):
    (here the problem)
    <c:forEach var="user" items="${catalog.usersitems}">
    ${user.firstname}
    </c:forEach>
    I don't know how I can iterate those users. Given that the usersitems is a collection (which is ok for iteration purposes), how can I have acess to the User object and thus access its variables?
    I've tried various different ways of iterate them but can't see the result on the screen, but surprinsingly, when I use scriptlets and a java Iterator they show up (!?)
    Should I create one bean for each of those catalog users? if I have 100 users, would I have 100 beans ?
    I'm stuck on this for 2 days and since i have no internet at home (just moved in), I'm going crazy....
    I would really appreciate if someone could give me a hand with this...
    Thanks in advance guys
    catalog.add(
    Message was edited by:
    bbrendler

    Hi bckrispi, thanks for the reply.
    I'm gonna try this when I get home today and since I have no internet there I let you know tomorrow about the result of that.
    Thanks a lot.
    Bruno
    Message was edited by:
    bbrendler

  • Bi Beans Loosing Stylesheet On Weblogic 8.1

    Deploying a Bi Beans JSP application on Weblogic 8.1.
    After logging-in when it opens a catalog page (Open1.jsp) application looses stylesheet reference. Weblogic console throws following error
    <Aug 20, 2004 6:13:38 PM GMT-06:00> <Warning> <HTTP Session> <BEA-100061> <Web a
    pplication: ServletContext(id=1752285,name=ea,context-path=/ea) tried to place a
    non-serializable attribute: bisession1 into the session: BmTp20FSiNYrU5W0WQy5Ly
    k7S19M5TGT0FBVCysAaZJpjE3ptcGm!-934773592!1093047209234. This attribute will be
    lost upon redeployment. This message is logged only once per session.>
    <Aug 20, 2004 6:13:42 PM GMT-06:00> <Error> <HTTP> <BEA-101046> <[ServletContext
    (id=1752285,name=ea,context-path=/ea)] null
    oracle.cabo.share.config.DirectoryUnavailableException: contextPath is null
    at oracle.cabo.share.config.ConfigurationImpl.getPath(Unknown Source)
    at oracle.cabo.ui.RootRenderingContext._getDefaultStyleProvider(Unknown
    Source)
    at oracle.cabo.ui.RootRenderingContext.getProperty(Unknown Source)
    at oracle.cabo.ui.ServletRenderingContext.getProperty(Unknown Source)
    at oracle.cabo.ui.laf.base.StyleSheetRenderer.prerender(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.StyleSheetRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.dss.addins.jspTags.BIBodyTag.doStartTag(BIBodyTag.java:48)
    at jsp_servlet.__open1._jspService(__open1.java:249)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
    (ServletStubImpl.java:1053)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:387)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:431)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
    pl.java:305)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
    n.run(WebAppServletContext.java:6310)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
    dSubject.java:317)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
    118)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
    rvletContext.java:3622)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
    pl.java:2569)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
    >
    <Aug 20, 2004 6:13:42 PM GMT-06:00> <Error> <HTTP> <BEA-101046> <[ServletContext
    (id=1752285,name=ea,context-path=/ea)] null
    oracle.cabo.share.config.DirectoryUnavailableException: contextPath is null
    at oracle.cabo.share.config.ConfigurationImpl.getPath(Unknown Source)
    at oracle.cabo.ui.RootRenderingContext._getDefaultImageProvider(Unknown

    I did a reinstallation and the problem didnt re-occur. So one neednt work on this problem.
    Priya

  • How to Display Catalog in JSP ?

    Hi All
    I created one custom catalog but I am unable to display in jsp level.
    I ran the basic catalog maintenance service in dyn admin.
    Are there any other Configurations required ?
    Could anybody provide the solution ASAP .
    Thanks in Advance,
    user8729783

    Try This.
    <dsp:droplet name="/atg/dynamo/droplet/ForEach">
      <dsp:param name="array" bean="Profile.catalog.rootCategories"/>
      <dsp:oparam name="output">
      <dsp:droplet name="/atg/commerce/catalog/CategoryLookup">
      <dsp:param name="id" param="element.id"/>
      <dsp:oparam name="output">
      <dsp:droplet name="ForEach">
      <dsp:param param="element.childProducts" name="array" />
      <dsp:oparam name="output">
      <dsp:param name="deviceItem" param="element"/>
      <dsp:getvalueof var="productId" param="deviceItem.id" idtype="java.lang.String"/>
      <dsp:droplet name="ForEach">
      <dsp:param name="array" param="deviceItem.childSKUs"/>
      <dsp:param name="elementName" value="childSku"/>
      <dsp:oparam name="output">
      <div style="width:306px;float:left;padding:10px;">
      <div style="font-size: 12px;font-weight: bold;">
      <dsp:valueof param="childSku.displayName"
      valueishtml="true">Name Not Available</dsp:valueof>
      </div>
      <div style="float:left;padding:15px">
      <dsp:getvalueof id="imagepath" param="childSku.smallImage.url" idtype="java.lang.String">
      <%imagepath = "/dyn/dyn" + imagepath;%>
                  <dsp:img src="<%=imagepath%>"/>
                 </dsp:getvalueof>
      </div>
      <div>
      <div class="termPrice"><dsp:valueof param="childSku.listPrice" converter="currency"/></div>
      <div class="agreement">with No term</div>
      </div>
      <div>
      <dsp:valueof param="childSku.description"
      valueishtml="true">Name Not Available</dsp:valueof>
      </div>
      <div style="padding-left:150px;">
      <dsp:a href="sku_Selection.jsp">
      <dsp:param name="childEachSkuId" param="childSku.id" />
      <dspel:param name="productId" value="${productId}" />
      Learn More
      </dsp:a>
      </div>
      </div>
      </dsp:oparam>
      </dsp:droplet>
      </dsp:oparam>
      </dsp:droplet>
      </dsp:oparam>
      </dsp:droplet>
      </dsp:oparam>
      </dsp:droplet>
    Thanks,
    Mathew.

  • Deployed jsp can't read BIB Catalog

    I deployed my project finally. But when I ran the jsp page using http://iasserver.bi:7777/webapp/simple.jsp . The error page came out again, would somebody tell me what's wrong?
    I checked my BIB Catalog and found everything went well. And when ran the page on my computer with oc4j packaged in jDeveloper, the page came out correctly.
    My Server: 9iAS Infrastucture, 9iDB(EE,R2) with 2499827,2632931,2323002
    500 Internal Server Errorjavax.servlet.jsp.JspException: BIB-10310 An unknown exception occurred.
    BIB-10810 An error occurred while retrieving all the users.
    BIB-14067 Persistable object threw exception during lookup on method setPersistableComponents; component class oracle.dss.dataSource.QueryServer; exception oracle.dss.dataSource.common.QueryRuntimeException.
    oracle.dss.dataSource.common.QueryRuntimeException
    java.lang.NullPointerException
         at oracle.dss.addins.jspTags.PresentationTag.doStartTag(PresentationTag.java:194)
         at simple.jspService(_simple.java:72)
         [SRC:/simple.jsp:6]
         at com.orionserver[Oracle9iAS (9.0.2.0.0) Containers for J2EE].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)

    Are you using a remote catalog or local file catalog?
    I couldn't run my jsp with the remote catalog so I now use the local file catalog which works fine.
    -peter

  • Unable to show catalog,product and sku info through jsp.

    Hi All,
    I have created catalog items through ACC and with the help of categorylookup,productlookup and skulookup droplet I am trying to display catalog items .
    But I am getting blank page when hitting the jsps.
    In console I am not getting any error.
    Please tell me how to find out what is the cause of this?
    Regards,
    Vikas

    Hi Grando,
    Below are the jsp pages-
    store.jsp:-
    <dsp:droplet name="/atg/dynamo/droplet/ForEach">
            <dsp:param name="array" bean="Profile.catalog.allRootCategories" />
            <dsp:param name="elementName" value="category" />
            <dsp:oparam name="output">
                <br/>
                <dsp:a href="genericcategory.jsp">
                    <dsp:valueof param="category.displayName" />
                    <dsp:param name="categoryId" param="category.id" />
                </dsp:a>
            </dsp:oparam>
        </dsp:droplet>
    genericcategory.jsp:-
    <dsp:droplet name="/atg/commerce/catalog/CategoryLookup">
            <dsp:param name="id" param="categoryId" />
            <dsp:param name="elementName" value="category" />
            <dsp:oparam name="output">
              <dsp:droplet name="/atg/dynamo/droplet/ForEach">
                    <dsp:param name="array" param="category.childCategories" />
                    <dsp:param name="elementName" value="category" />
                    <dsp:oparam name="output">
                        <br />
                        <dsp:a href="categoryNavigation.jsp">
                            <dsp:valueof param="category.displayName" />
                            <dsp:param name="categoryId" param="category.id" />
                        </dsp:a>
                    </dsp:oparam>
                </dsp:droplet>
                <dsp:droplet name="/atg/dynamo/droplet/ForEach">
                    <dsp:param name="array" param="category.childProducts" />
                    <dsp:param name="elementName" value="childProduct" />
                    <dsp:oparam name="output">
                        <br /><dsp:a href="genericproduct.jsp">
                                       <dsp:param name="productId" param="childProduct.id" />
                                 </dsp:a>
                    </dsp:oparam>
                </dsp:droplet>
    genericproduct.jsp:-
    <dsp:droplet name="/atg/commerce/catalog/ProductLookup">
      <dsp:param param="itemId" name="id"/>
       <dsp:param name="elementName" value="product"/>
       <%-- id would also be a param here but it was passed in --%>
       <dsp:oparam name="output">
                        <span>
                        <dsp:valueof param="element.displayName">No name</dsp:valueof></span>
                        <br>
                        <b><dsp:valueof param="element.description"/></b></td>
                    <tr valign=top>
                      <td>
                        <dsp:droplet name="IsEmpty">
                          <dsp:param name="value" param="element.largeImage.url"/>
                          <dsp:oparam name="false">
             <dsp:getvalueof id="imageURL" param="element.largeImage.url" idtype="java.lang.String">
                            <dsp:img hspace="70" alt="Product image" src="<%=imageURL%>"/>
      </dsp:getvalueof>
                          </dsp:oparam>
                        </dsp:droplet>
                        <dsp:getvalueof id="pval0" param="element"><dsp:include page="skulist.jsp"><dsp:param name="product" value="<%=pval0%>"/></dsp:include></dsp:getvalueof>
                        <br>                            
                        <span>Product Description</span><br>
                        <span><dsp:valueof param="element.longDescription">No description</dsp:valueof>
                       </span>
                      </td>
                    </tr>
                    </table>
                  </td>
    </dsp:oparam>
    </dsp:droplet>
    Please tell me what I am missing!
    Thanks & Regards,
    Vikas

  • SRM 7.0 cross catalog search transparent punch out and MDM

    Hi,
    I have problems with transparent punch out and OCI.
    We are using HTTP POST, but when we create a SC what should we recieve in SAP. I suppose we should use HTML (the vendor suppose submitted HTML), but as far as I see it, SAP expect to recieve HTMÆ, right? http://www.attsuppliers.com/downloads/OCI_40_EN20030611.pdf
    <form name="ociform" action=" https://eprocurement.site.com/RecieveOCI.jsp" method="post" enctype="application/x-www-form-urlencoded; charset=UTF-8">
    <input type="text" name="NEW_ITEM-DESCRIPTION[1]" value="Java developer"/>
    <input type="text" name="NEW_ITEM-QUANTITY[1]" value="1"/>
    <input type="text" name="NEW_ITEM-UNIT[1]" value="EA"/>
    <input type="text" name="NEW_ITEM-PRICE[1]" value="15000.00"/>
    <input type="text" name="NEW_ITEM-CURRENCY[1]" value="EUR"/>
    <input type="text" name="NEW_ITEM-LEADTIME[1]" value="1"/>
    <input type="text" name="NEW_ITEM-VENDOR[1]" value="8c7d1ea0-7823-1000-b356-c0a87c200001"/>
    <input type="text" name="NEW_ITEM-VENDORMAT[1]" value="112233"/>
    <input type="text" name="NEW_ITEM-MATGROUP[1]" value="8800000"/>
    <input type="text" name="NEW_ITEM-EXT_PRODUCT_ID[1]" value="448f129ad5ebd8903ae85708c1316dbb"/>
    <input type="text" name="NEW_ITEM-CUST_FIELD6[1]" value="20"/> <!-- VAT -->
    <input type="text" name="NEW_ITEM-CUST_FIELD7[1]" value="1"/> <!-- Open Market Place -->
    <input type="text" name="NEW_ITEM-CUST_FIELD8[1]" value="1"/> <!-- Request -->
    <input type="text" name="NEW_ITEM-CUST_FIELD9[1]" value="0"/> <!-- Search Engine -->
    <input type="text" name="NEW_ITEM-CUST_FIELD10[1]" value="0"/> <!-- Web Shop -->
    <input type="text" name="NEW_ITEM-ZZ_E_MAIL[1]" value="[email protected]"/> <!-- email address as entered by user in eRequest -->
    <input type="text" name="NEW_ITEM-LONGTEXT_1:132[]" value="Request: The description of0000004 v 1. Quote: quote-0000001. Description: Pet Dogs"/>
    </form>
    Furthermore, is it possible to do cross catalog search accross MDM and a transparent punch out catalog?
    /Jimmy

    We are having problems with Transparent Punch Out and OCI.
    We are using HTTP POST, but when we create a SC what should we receive in SAP??
    Should we receive raw HTML or submitted/posted HTML?? As far as I can see, we should receive raw HTML...or?
    Furthermore, is it possible to do cross catalog search across MDM and a Transparent Punch Out Catalog?

  • Need help on Modifying Jsp Code to establish relationships in iStore.

    I am currently working on iStore an internet enabled product
    from Oracle.
    In iStore one can establish relationships between products like
    cross sell , complimentary, substitute, conflict etc. However at
    the moment only one relationship works i.e: Related. This is
    because this is a bug in iStore. Only the relationship Related
    is defined in the jsp. We have been asked to modify the jsp
    ibeCCtdItemDetail.jsp
    Please find pasted below the jsp which only had the arrays for
    related i.e: relitems and service i.e service have added the
    array complimentary to establish such a relationship and pasted
    the relitems code once again and changed relitems to
    complimentary. I am stuck up on this since the past 2 weeks i
    would appreciate if anybody could help.
    <%@include file="jtfincl.jsp" %>
    <!-- $Header: ibeCCtdItemDetail.jsp 115.24 2001/06/16 15:21:05
    pkm ship $ -->
    <%--
    =================================================================
    ========
    | Copyright (c)2000 Oracle Corporation, Redwood Shores, CA
    | All rights reserved.
    +================================================================
    ===========
    |
    | FILE
    | ibeCCtdItemDetail.jsp - Item Detail display
    |
    | DESCRIPTION
    | Displays Item Detail page. Item's description, long
    description, large
    | image, flexfields, available services, and related items
    are displayed.
    | The list price and best price (selling price) for each of
    the Item's
    | available units of measure is displayed. Displays Add to
    Cart,
    | Express Checkout, Configure buttons (if appropriate).
    |
    | PARAMETERS (SOURCE)
    | party Id IN (RequestCtx) - user's party
    id
    | account Id IN (RequestCtx) - user's
    account id
    | currency code IN (RequestCtx) - currency code
    | item IN (URL) - Item ID
    | section IN (URL) - section ID of
    section we are
    | coming from
    (optional)
    | item IN (pageContext) - Item ID
    | section IN (pageContext) - Section ID
    | qty IN (pageContext) - Quantity
    entered by user
    | uom IN (pageContext) - UOM selected
    by user
    | errorMsg IN (pageContext) - error message
    from buy
    | routing page
    | * pageContext attributes for "item" and "section" are used
    when the URL
    | does not contain valid values for "item" and "section"
    (such as when an
    | error occurred in the buy routing page and the request is
    forwarded
    | back to this page)
    |
    | oneclick_obj OUT (pageContext) - OneClick
    object containing
    | user's
    Express Checkout
    | preferences
    | postingID OUT (pageContext) - Integer
    posting Id, for
    | iMarketing
    integration
    | itemIDs OUT (pageContext) - int[] itemIDs
    on the page
    | (for use by
    postings)
    | numRequested OUT (pageContext) - Integer
    number of postings,
    | for
    iMarketing integration
    | random OUT (pageContext) - Boolean
    whether to randomize
    | posting
    retrieved, for
    | iMarketing
    integration
    | type OUT (HTML form) - "single" (1
    item)
    | item OUT (HTML form) - Item ID
    | refpage OUT (HTML form) -
    "ibeCCtdItemDetail.jsp" plus any
    | parameters
    needed to return
    | to this page
    in case of error.
    | uom OUT (HTML form) - UOM code
    selected by user
    | qty OUT (HTML form) - quantity
    entered by user
    | Add to Cart.x OUT (HTML form) - user clicks
    Add to Cart
    | 1-Click.x OUT (HTML form) - user clicks
    Express Checkout
    | Configure.x OUT (HTML form) - user clicks
    Configure
    |
    | OBJECTS REFERENCED
    | oracle.apps.ibe.catalog.Item
    | oracle.apps.ibe.order.OneClick
    |
    | APIs REFERENCED
    | Item.getItemID() - get Item ID
    | Item.getDescription() - get item description
    | Item.getLongDescription() - get item long description
    | Item.isConfigurable() - whether item has
    configuration UI set up
    | Item.getFlexfields() - get Item flexfield
    prompts and values
    | Item.getRelatedItems() - get related items and
    service items
    | Item.getMediaFileName() - get media based on
    display context
    | OneClick.loadSettingFrDB() - load Express Checkout
    settings for
    | current user
    |
    | JSPs REFERENCED
    | ibeCCtpPostingI.jsp - set iMarketing
    parameters (include)
    | ibeCCtpSetItem.jsp - retreive and set item
    information (include)
    | ibeCCtpItmDspRte.jsp - Item display routing
    page (link)
    | ibeCCtpBuyRoute.jsp - Buy routing
    page (form POST)
    | ibeCCtdSctPath.jsp - Path Traversed
    Display (include)
    | ibeCXpdShowTag.jsp - Express Checkout Tag
    Area (include)
    | ibapstng.jsp - iMarketing integration
    page (include)
    |
    | ADDITIONAL NOTES
    | iMarketing posting ID can be changed by editing file
    ibeCCtpPostingI.jsp
    |
    | HISTORY
    | 08/01/2000 auyu Created.
    | 04/09/2001 auyu Added compile-time include for retrieving
    item
    | information
    |
    +================================================================
    =======--%>
    <%@page import="oracle.apps.ibe.order.*" %>
    <%@page import="oracle.apps.ibe.catalog.*" %>
    <%@page import="oracle.apps.ibe.store.*" %>
    <%@page import="oracle.apps.jtf.displaymanager.*" %>
    <%@page import="oracle.apps.jtf.base.Logger" %>
    <%@page import="oracle.apps.jtf.minisites.*" %>
    <%@include file="ibeCZzpHeader.jsp" %>
    <%@page import="oracle.jdbc.driver.*" %>
    <%@page import="java.sql.*" %>
    <%-- declaration --%>
    <%!
    /* Retrieve parent section ids for a given item.
    * int itemId - Item whose parent section ids will be retrieved
    int getParentSectionId(int itemId)
    int parentSectionId = -1;
    Connection conn = null;
    OraclePreparedStatement stmt = null;
    ResultSet rs = null;
    try {
    BigDecimal minisiteId = RequestCtx.getMinisiteId();
    conn = TransactionScope.getConnection();
    StringBuffer sql = new StringBuffer(400);
    sql.append("select jdsi.section_id ");
    sql.append("from jtf_dsp_section_items jdsi, ");
    sql.append("jtf_dsp_msite_sct_items jdmsi ");
    sql.append("where jdsi.inventory_item_id = ? ");
    sql.append("and jdsi.section_item_id =
    jdmsi.section_item_id ");
    sql.append("and jdmsi.mini_site_id = ? ");
    sql.append("and nvl(jdsi.start_date_active, sysdate) <=
    sysdate ");
    sql.append("and nvl(jdsi.end_date_active, sysdate) >=
    sysdate ");
    sql.append("and nvl(jdmsi.start_date_active, sysdate) <=
    sysdate ");
    sql.append("and nvl(jdmsi.end_date_active, sysdate) >=
    sysdate");
    stmt = (OraclePreparedStatement)conn.prepareStatement
    (sql.toString());
    stmt.setInt(1, itemId);
    stmt.setInt(2, minisiteId.intValue());
    stmt.defineColumnType(1, Types.INTEGER);
    rs = stmt.executeQuery();
    if (rs.next())
    parentSectionId = rs.getInt(1);
    } catch (Exception e1) {
    parentSectionId = -1;
    IBEUtil.log("ibeCCtdItemDetail.jsp",
    "Caught exception while retrieving parent
    section id");
    IBEUtil.log("ibeCCtdItemDetail.jsp", e1.getMessage());
    } finally
    try { if (rs != null) rs.close(); } catch (Exception e2) {}
    try { if (stmt != null) stmt.close(); } catch (Exception
    e2) {}
    try {
    if (conn != null) TransactionScope.releaseConnection
    (conn);
    } catch (Exception e2) {}
    return parentSectionId;
    %>
    <%-- end declaration --%>
    <%@include file="ibeCCtpSetItem.jsp"%>
    <%
    The compile-time inclusion of ibeCCtpSetItem.jsp will declare
    and set
    the following variables:
    boolean bItemLoaded - whether section was
    loaded
    Item lItem - Item
    boolean bItemCanBeOrdered - whether item can be
    ordered
    String[] uomCodes - Item's UOM Codes
    Vector itemSellPriceDisplayVec - vector containing
    item's selling
    prices in formatted
    strings
    Vector itemListPriceDisplayVec - vector containing
    item's list
    prices in formatted
    strings
    int nPriceDefined - number of prices
    defined for the item
    Perform the following actions:
    Set "itemIds" in the PageContext.REQUEST_SCOPE
    Set "item" in PageContext.REQUEST_SCOPE
    Set "section" in PageContext.REQUEST_SCOPE
    MessageManagerInter lMsgMgr =
    Architecture.getMessageManagerInstance();
    pageContext.setAttribute("_pageTitle",
    lMsgMgr.getMessage
    ("IBE_PRMT_CT_PRODUCT_DETAILS"),
    PageContext.REQUEST_SCOPE);
    %>
    <%@ include file="ibeCCtpPostingI.jsp" %>
    <%@ include file="ibeCZzdTop.jsp" %>
    <%@ include file="ibeCZzdMenu.jsp" %>
    <%
    if (bItemLoaded)
    OneClick lOneClickObj;
    String xprTagArea = "", confirmXpr = "";
    String lBuyRoutePage;
    String lSectionPathPage = "";
    int sectid = 0;
    Item[] services = new Item[0];
    Item[] relItems = new Item[0];
    Item[] complimentary = new Item[0];
    ItemFlexfield[] itemFlexfields = new ItemFlexfield[0];
    String lItemImage = "", lItemAddtlInfoFile = "";
    StringBuffer lRef = new StringBuffer("ibeCCtdItemDetail.jsp?
    item=");
    String qty = "", userSelUOM = "";
    String errorMsg = "";
    //--------------- load express checkout preferences ---------
    if (IBEUtil.useFeature("IBE_USE_ONE_CLICK"))
    xprTagArea = DisplayManager.getTemplate
    ("STORE_XPR_TAG_AREA").getFileName();
    if (xprTagArea == null)
    xprTagArea = "";
    confirmXpr = lMsgMgr.getMessage("IBE_PRMT_EXPR_CONFIRM");
    if (RequestCtx.userIsLoggedIn()) {
    //initialize OneClick if user is logged in
    BigDecimal partyId = RequestCtx.getPartyId();
    BigDecimal accountId = RequestCtx.getAccountId();
    lOneClickObj = new OneClick();
    lOneClickObj.loadSettingsFrDB(partyId, accountId);
    } // end user express checkout
    //------------ set "section", lSectionPathPage --------------
    String lSectionId = IBEUtil.nonNull(request.getParameter
    ("section"));
    if (lSectionId.equals(""))
    lSectionId =
    IBEUtil.nonNull((String)pageContext.getAttribute
    ("section", PageContext.REQUEST_SCOPE));
    if(IBEUtil.useFeature("IBE_USE_SECTION_PATH"))
    lSectionPathPage = DisplayManager.getTemplate
    ("STORE_CTLG_SCT_PATH").getFileName();
    try {
    sectid = Integer.parseInt(lSectionId);
    pageContext.setAttribute("section", String.valueOf
    (sectid), PageContext.REQUEST_SCOPE);
    } catch (NumberFormatException e) { }
    if(lSectionPathPage == null)
    lSectionPathPage = "";
    lBuyRoutePage = DisplayManager.getTemplate
    ("STORE_CTLG_BUY_PROCESS_ROUTE").getFileName();
    /* if error and forwarded back to this page, get values
    selected by user */
    qty = IBEUtil.nonNull((String)pageContext.getAttribute
    ("qty", PageContext.REQUEST_SCOPE));
    if (qty.equals(""))
    qty = "1";
    userSelUOM = IBEUtil.nonNull((String)pageContext.getAttribute
    ("uom", PageContext.REQUEST_SCOPE));
    errorMsg = IBEUtil.nonNull((String) pageContext.getAttribute
    ("errorMsg", PageContext.REQUEST_SCOPE));
    //set ref for returning to this page in case of error
    lRef.append(lItem.getItemID());
    if (sectid > 0)
    lRef.append("&section=");
    lRef.append(sectid);
    /* Get Bin Open and Bin Close Images */
    String binOpenImg = "", binCloseImg = "";
    try {
    Media binOpenMedia = DisplayManager.getMedia
    ("STORE_BIN_OPEN_IMAGE", true);
    if (binOpenMedia != null)
    binOpenImg = binOpenMedia.getFileName();
    } catch (MediaNotFoundException mnfe) {}
    if (binOpenImg == null)
    binOpenImg = "";
    try {
    Media binCloseMedia = DisplayManager.getMedia
    ("STORE_BIN_CLOSE_IMAGE", true);
    if (binCloseMedia != null)
    binCloseImg = binCloseMedia.getFileName();
    } catch (MediaNotFoundException mnfe) {}
    if (binCloseImg == null)
    binCloseImg = "";
    /* Get images, additional info, flexfields, related items,
    service items */
    lItemImage = lItem.getMediaFileName
    ("STORE_PRODUCT_LARGE_IMAGE");
    lItemAddtlInfoFile = lItem.getMediaFileName
    ("STORE_PRODUCT_ADDTL_INFO");
    // check for defaulting
    String defaultFromSection = "Y";
    if ("Y".equals(defaultFromSection))
    if (lItemImage == null || lItemAddtlInfoFile == null)
    try {
    int parentSectionId = getParentSectionId
    (lItem.getItemID());
    Section parentSection = Section.load(parentSectionId);
    if (lItemImage == null)
    lItemImage = parentSection.getMediaFileName
    ("STORE_SECTION_SMALL_IMAGE");
    if (lItemAddtlInfoFile == null)
    lItemAddtlInfoFile = parentSection.getMediaFileName
    ("STORE_SECTION_ADDTL_INFO");
    } catch (Exception e) {}
    itemFlexfields = lItem.getFlexfields();
    try {
    services = lItem.getRelatedItems("SERVICE");
    } catch (ItemNotFoundException e) {}
    try {
    relItems = lItem.getRelatedItems("RELATED");
    } catch (ItemNotFoundException e) {}
    try {
    complimentary = lItem.getRelatedItems("COMPLIMENTARY");
    } catch (ItemNotFoundException e) {}
    %>
    <!-- body section -----------------------------------------------
    ------------->
    <table border="0" width="100%">
    <%
    if (IBEUtil.showPosting()) {
    %>
    <!--------- iMarketing integration ----------------->
    <tr><td colspan="4" align="center">
    <% try {
    %>
    <jsp:include page="ibapstng.jsp" flush="true" />
    <% } catch (Throwable e) {
    IBEUtil.log("ibeCCtdItemDetail.jsp", "iMarketing error",
    Logger.ERROR);
    %>
    </td></tr>
    <% } //end iMarketing installed
    %>
    <tr><td> </td>
    <%
    if(!lSectionPathPage.equals(""))
    %>
    <td colspan="4" class="smallLink">
    <jsp:include page="<%=lSectionPathPage%>" flush="true" />
    </td>
    <% }
    %>
    </tr>
    <tr><td valign="top">   </td>
    <!-- center column ------------------------------------------
    ------------->
    <td valign="top" width="70%">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr><td colspan="3">
    <span class="pageTitle"><%=lItem.getDescription()%
    </span></td></tr>
    <tr>
    <% if (lItemImage != null) {
    %>
    <td valign="TOP"><img src="<%=lItemImage%>"></td>
    <td valign="TOP" colspan="2"><%
    =lItem.getLongDescription()%></td>
    <% } else {
    %>
    <td valign="TOP" colspan="3"><%
    =lItem.getLongDescription()%></td>
    <% }
    %>
    </tr>
    <% if (lItemAddtlInfoFile != null) {
    %>
    <tr><td colspan="3"><br>
    <jsp:include page="<%=lItemAddtlInfoFile%>"
    flush="true" />
    </td></tr>
    <% }
    %>
    <tr><td colspan="3"><br></td></tr>
    <%
    for (int i=0; i < itemFlexfields.length; i++)
    String prompt = itemFlexfields.getPrompt();
    String value = itemFlexfields[i].getValue();
    if (value != null && !value.equals(""))
    %>
    <tr>
    <td align="LEFT" width="20%">
    <span class="sectionHeader2"><%=prompt%
       </span></td>
    <td align="LEFT" colspan="2" width="80%"><%=value%
    </td></tr>
    <% }
    if (services.length > 0)
    %>
    <tr><td colspan="3"><br></td></tr>
    <tr><td align="RIGHT" class="sectionHeader1" width="20%">
    <%=lMsgMgr.getMessage("IBE_PRMT_CT_WARRANTIES")%>
    </td>
    <td colspan="2" align="left" class="sectionHeaderBlack"
    width="80%"><hr>
    </td></tr>
    <%
    for(int i=0; i < services.length; i++)
    %>
    <tr>
    <td valign="TOP" class="sectionHeaderBlack"
    width="20%"> </td>
    <td align="left" colspan="2" valign="TOP" width="80%">
    <span class="sectionHeaderBlack">
    <A HREF="<%= DisplayManager.getURL
    (STORE_CTLG_ITM_ROUTE", "item=" + services[i.getItemID()) %>">
    <%=services.getDescription()%></A>
    </span>
    <%=services[i].getLongDescription()%>
    </td>
    </tr>
    <tr>
    <td colspan="3" class="sectionHeaderBlack"> </td>
    </tr>
    <% } //end loop through services
    } // end if services.length > 0
    if (relItems.length > 0) {
    %>
    <tr><td colspan="3"><br></td></tr>
    <tr>
    <td align="RIGHT" class="sectionHeader1" width="20%">
    <%=lMsgMgr.getMessage("IBE_PRMT_CT_REL_PRODUCTS")%>
    </td>
    <td align="left" colspan="2" class="sectionHeaderBlack"
    width="80%"><hr></td>
    </tr>
    <%
    for(int i=0; i < relItems.length; i++)
    %>
    <tr>
    <td valign="TOP" class="sectionHeaderBlack"
    width="20%"> </td>
    <td colspan="2" align="left" valign="TOP"
    width="80%">
    <span class="sectionHeaderBlack">
    <A HREF="<%= DisplayManager.getURL
    ("STORE_CTLG_ITM_ROUTE", "item=" + relItems[i].getItemID()) %>">
    <%=relItems[i].getDescription()%></A>
    </span>
    <%=relItems[i].getLongDescription()%>
    </td>
    </tr>
    <tr>
    <td colspan="3" align="RIGHT"
    class="sectionHeaderBlack"> </td>
    </tr>
    <% } // end loop through related items
    } // end if relItems.length > 0
    %>
    </table>
    </td>
    <%if (complimentary.length > 0) {
    %>
    <tr><td colspan="3"><br></td></tr>
    <tr>
    <td align="RIGHT" class="sectionHeader1" width="20%">
    <%=lMsgMgr.getMessage("IBE_PRMT_CT_REL_PRODUCTS")%>
    </td>
    <td align="left" colspan="2" class="sectionHeaderBlack"
    width="80%"><hr></td>
    </tr>
    <%
    for(int i=0; i < complimentary.length; i++)
    %>
    <tr>
    <td valign="TOP" class="sectionHeaderBlack"
    width="20%"> </td>
    <td colspan="2" align="left" valign="TOP"
    width="80%">
    <span class="sectionHeaderBlack">
    <A HREF="<%= DisplayManager.getURL
    ("STORE_CTLG_ITM_ROUTE", "item=" + complimentary[i].getItemID())
    %>">
    <%=complimentary[i].getDescription()%></A>
    </span>
    <%=complimentary[i].getLongDescription()%>
    </td>
    </tr>
    <tr>
    <td colspan="3" align="RIGHT"
    class="sectionHeaderBlack"> </td>
    </tr>
    <% } // end loop through related items
    } // end if complimentary.length > 0
    %>
    </table>
    </td>
    <!-- right column -------------------------------------------
    ------------->
    <td valign="top" width="20%">
    <table border="0" cellpadding="0" cellspacing="0">
    <tr><td>
    <table border="0" cellpadding="0" cellspacing="0">
    <tr>
    <% if (! binOpenImg.equals("")) {
    %>
    <td><img src="<%=binOpenImg%>"></td>
    <% }
    %>
    <td nowrap class="binHeaderCell" width="100%">
    <%
    if (!lItem.isConfigurable()) {
    %>
    <%=lMsgMgr.getMessage("IBE_PRMT_CT_2_WAYS_TO_SHOP")%>
    <% } else {
    %>
    <%=lMsgMgr.getMessage("IBE_PRMT_CT_CONFIG_PRODUCT")%>
    <% }
    %>
    </td>
    <% if (! binCloseImg.equals("")) {
    %>
    <td><img src="<%=binCloseImg%>"></td>
    <% }
    %>
    </tr>
    </table>
    </td></tr>
    <tr><td class="binColumnHeaderCell">
    <table border="0" cellspacing="1" width="100%">
    <tr><td class="binContentCell" align="CENTER">
    <% /////////////////////////////// error
    messages //////////////////////////////
    if (!errorMsg.equals("")) {
    %>
    <table><tr><td align="center" class="errorMessage">
    <%=errorMsg%>
    </td></tr></table>
    <% }
    /////////////////////////////// display
    form //////////////////////////////////%>
    <!--Javascript for express checkout confirmation-->
    <script language="JavaScript">
    function get_confirmation(form)
    if (confirm("<%=confirmXpr%>" ) ) {
    form.tmpx.name = '1-Click.x';
    form.tmpy.name = '1-Click.y';
    form.submit();
    return true;
    else
    return false;
    </script>
    <form method=POST action="<%=lBuyRoutePage%>">
    <input type=hidden name="type" value="single">
    <input type=hidden name="item" value="<%=lItem.getItemID()%
    "><input type=hidden name="refpage" value="<%=lRef.toString
    ()%>">
    <INPUT TYPE="HIDDEN" NAME="tmpx" VALUE="100">
    <INPUT TYPE="HIDDEN" NAME="tmpy" VALUE="100">
    <%= RequestCtx.getSessionInfoAsHiddenParam() %>
    <%
    if ( ! lItem.isConfigurable())
    { // display prices
    %>
    <table>
    <tr><td align ="left" nowrap>
    <span class="sectionHeaderBlack">
    <%=lMsgMgr.getMessage("IBE_PRMT_CT_LIST_PRICE_COLON")%>
    </span>
    </td>
    <%
    for (int i=0; i < uomCodes.length && i <
    itemListPriceDisplayVec.size(); i++)
    if (uomCodes[i] != null && uomCodes[i].equals
    (lItem.getPrimaryUOMCode()))
    if (itemListPriceDisplayVec.elementAt(i) != null &&
    !itemListPriceDisplayVec.elementAt(i).equals(""))
    %>
    <td align="right">
    <%=itemListPriceDisplayVec.elementAt(i)%
       <%=lItem.getPrimaryUOM()%></td>
    <% } else {
    %>
    <td>   </td>
    <% }
    break;
    } // end primary uomcode
    } // end loop through uoms and list price
    %>
    </tr>
    <tr><td align="left" nowrap>
    <span class="sectionHeaderBlack">
    <%=lMsgMgr.getMessage("IBE_PRMT_CT_YOUR_PRICE_COLON")%>
    </span>
    </td>
    <td>
    <% // display selling price for each uom
    if (nPriceDefined > 1) {
    //prices defined for multiple UOMs for the item
    %>
    <select name = "uom">
    <%
    //--------- loop through uoms and prices ------------------
    for (int i=0; i < itemSellPriceDisplayVec.size() && i <
    uomCodes.length; i++)
    if (itemSellPriceDisplayVec.elementAt(i) != null &&
    !itemSellPriceDisplayVec.elementAt(i).equals(""))
    boolean bSelectUom = false;
    if (uomCodes[i] != null && uomCodes[i].equals
    (lItem.getPrimaryUOMCode()))
    bSelectUom = true;
    if (bSelectUom)
    %>
    <option value="<%=uomCodes[i]%>" SELECTED>
    <% } else {
    %>
    <option value="<%=uomCodes[i]%>">
    <% }
    %>
    <%=itemSellPriceDisplayVec.elementAt(i)%
       <%=IBEUtil.nonNull(lItem.getUOM(uomCodes))%
    <%
    } // end current uom has price
    } //end loop i through uoms and prices
    %>
    </select>
    <% //end more than 1 UOM with price defined for the item
    } else {
    if (nPriceDefined == 0) { //multiple UOMs, none with
    price defined
    %>
    <input type=hidden name="uom" value="<%
    =lItem.getPrimaryUOMCode()%>">
    <% } else { // 1 UOM with price defined
    String formatSellPrice = "";
    String uomWithPrice = "";
    for (int i=0; i < uomCodes.length && i <
    itemSellPriceDisplayVec.size(); i++)
    if (itemSellPriceDisplayVec.elementAt(i) != null &&
    !itemSellPriceDisplayVec.elementAt(i).equals(""))
    formatSellPrice = (String)
    itemSellPriceDisplayVec.elementAt(i);
    uomWithPrice = uomCodes;
    break;
    %>
    <input type=hidden name="uom" value="<%=uomWithPrice%>">
    <%=formatSellPrice%>   <%=IBEUtil.nonNull
    (lItem.getUOM(uomWithPrice))%>
    <% } //end 1 UOM with price defined
    } // end display selling prices
    %>
    </td></tr></table> <%-- end table for the price --%>
    <% } // end non-configurable item
    if (bItemCanBeOrdered)
    // show quantity and buttons only if item can be ordered
    %>
    <p><%=lMsgMgr.getMessage("IBE_PRMT_CT_QUANTITY")%>
    <input type="TEXT" name="qty" size="3" maxlength="20"
    value="<%=qty%>">
    </p>
    <% if (lItem.isConfigurable()) {
    %>
    <p>
    <input type=hidden name="uom" value="<%
    =lItem.getPrimaryUOMCode()%>">
    <input type=submit name="Configure.x"
    value="<%=lMsgMgr.getMessage("IBE_PRMT_CT_CONFIGURE")%
    "></p>
    <% } else {
    %>
    <p>
    <input type=submit name="Add to Cart.x"
    value="<%=lMsgMgr.getMessage
    ("IBE_PRMT_ADD_TO_CART_PRMT_G")%>">
    </p>
    <%
    if (!xprTagArea.equals(""))
    %>
    <p><%=lMsgMgr.getMessage("IBE_PRMT_CT_OR")%></p>
    <p><jsp:include page="<%=xprTagArea%>"
    flush="true" /></p>
    <% }
    } // end item can be ordered
    %>
    <br>
    </form>
    </td></tr></table> <%-- end table for bin content and
    header --%>
    </td></tr></table>
    <p> </p>
    <p> </p>
    </td></tr></table> <%-- end page table --%>
    <% } // end item loaded
    %>
    <%@ include file="ibeCZzdBottom.jsp" %>
    <!-- ibeCCtdItemDetail.jsp end -->

    my bad...didnt think anyone was gonna come in ...lol......nothing populates in the second drop down...I was thinking of making a separate page and just pass the parameter in, bu i never used jsp include.....any suggestions on how to get this thing working??

  • E-Commerce Catalog error and log configurator probelm?

    Hello,
    I am trying to browse a B2B shop (http://server:port/b2b/b2b/init.do) in CRM 5.0 and getting following error message:
    The catalog that you have selected is currently unavailable; try again later
    I am using CRM 5.0 System (IDES Client) and basically trying to setup a E-Commerce development environment.
    Following are the steps i have done so far for E-Commerce configuration:
    1. Configured ISADMIN (http://server:port/isauseradm/admin/xcm/init.do).
    1.1 Changed following params for Start->General Application Settings->Customer->isauseradm->isauseradmconfig:
    >> SSLEnabled: false
    >> appinfo: true
    >> show start.jsp: true
    >> AddUserToPartner: true
    >> AcceptExistingUser: true
    1.2 Created a new JCo connection under Start->Components->Customer->jco and entered my back end CRM System details and saved it as CRM_800_JCO. I also did Run Test which was successful.
    1.3 Created a new JCo connection under Start->Application Configurations->Customer and entered following params and saved it with name CRM_800_ISAUSERADMSTD:
    >> Base configuration: isauseradmStandard
    >> default configuration: X
    >> active configuration: X
    >> jcodata: CRM_800_JCO
    >> backendtype: crmdefault
    >> usertype: CRM_Standalone
    >> uidata: default
    2. Configured B2B (http://server:port/b2b/admin/xcm/init.do).
    2.1 Changed following params for Start->General Application Settings->Customer->b2b->b2bconfig:
    >> SSLEnabled: false
    >> appinfo: true
    >> show start.jsp: true
    2.2 Created a new JCo connection under Start->Components->Customer->jco and entered my backend CRM System details and saved it as CRM_800_JCO. I also did Run Test which was successful.
    2.3 Created a new JCo connection under Start->Application Configurations->Customer and entered following params and saved it with name CRM_800_B2BCRMSTD:
    >> Base configuration: b2bcrmstandard
    >> default configuration: X
    >> active configuration: X
    >> jcodata: CRM_800_JCO
    >> usertype: CRM_Standalone
    3. I was really not sure if ShopAdmin config is required or not but i did it. Configured SHOPADMIN (http://server:port/shopadmin/admin/xcm/init.do).
    3.1 Changed following params for Start->General Application Settings->Customer->shopadmin->shopadminconfig:
    >> SSLEnabled: false
    >> appinfo: true
    >> show start.jsp: true
    3.2 Created a new JCo connection under Start->Components->Customer->jco and entered my backend CRM System details and saved it as CRM_800_JCO. I also did Run Test which was successful.
    3.3 Created a new JCo connection under Start->Application Configurations->Customer and entered following params and saved it with name CRM_800_CRMSHOP:
    >> Base configuration: crmshop
    >> default configuration: X
    >> active configuration: X
    >> jcodata: CRM_800_JCO
    4. Restarted CRM J2EE.
    5. Setup TREX 7.0.
    5.1 From TREX Administration, created a new connection (Type A, i.e., using System Number and Application Server Host) for CRM System and also RFC Dest. (sm59) in CRM System.
    5.2 Restarted TREX and connected this connection.
    5.3 Following are the visible column values for this connection in TREX Administration:
    >> Connection Status: <connected>
    >> Configuration Satus: Green
    >> SAP System: CRM
    >> RFC Destination: TREX_DEFAULT
    >> Gateway: local
    >> RfcServer Instances: 1 (no automatic changes)
    >> TREXRfcServer Processes: 1
    >> Workprocesses: 6 (4 DIA, 2BGD)
    5.4 Did a RFC Connection test in CRM System using SM59 which was successful as well.
    5.5 Using Transaction SRMO (Retrieval : Search Server Relation Monitor) in CRM System changed the RFC Destination for Search server ID DRFUZZY (for both I and S type RFC Server destination action) to TREX_DEFAULT. Did a connection test for this and it was successful.
    6. Initiated Replication using transaction COMM_PCAT_IMS_INIT with following params:
    >> Product Catalog: PCSHOP
    >> Variant: VAR_EN
    >> Search Server Relation:  DRFUZZY
    >> Publishing Computer ID:
    >> Allows Parallel Processing:
    >> Publish Documents via HTTP:
    >> Transfer Document Content: X
    >> Package Size of Indexing: 5,000
    >> Processing Existing Indexes: Overwrite Index Only When OK
    >> Behavior when Error Messages Occur: Cancel Variant Replication
    7. Logged into ISADMIN User Config (http://server:port/isauseradm/useradmin/init.do) and created a new user using the option New User and New Contact Person with an existing company of type Sold-To Party and which belongs to the sales area that is linked with PCSHOP Product Catalog (from IDES data).
    Now, when i log into B2B Page (http://server:port/b2b/b2b/init.do) using the newly created user and click on the shop PC4BIZ_EN i get following error message:
    The catalog that you have selected is currently unavailable; try again later
    I also created a new Product Catalog and did the Initial Replication still getting the same above error message.
    Can anyone please tell me what am i missing or what mistake i have done?
    I even restarted CRM System, but the result is still the same.
    Also, how do i check the log files for B2B? I checked the E-Commerce Admin Console (http://server:port/b2b/admin/index.jsp) and clicked on the logging link, but i get the following message:
    Logging is now configured centrally in the J2EE Engine Visual Administrator (server service: Log Configurator)
    How exactly do i configure and what is the right path for B2B Logging in J2EE Visual Administrator? And where will the log files for B2B be stored on the server?
    I would really appreciate (and of course award points) for your help on this.
    thanks and regards,
    Vasu

    Thanks for the Note reference. I will go through it now and try to check the log files.
    And regarding the error message i don't think it could be because of The Catalog variant is not set right in the Shopadmin application as all the values in Shopadmin seem to be correct. Anyhow following are the current values selected for the custom Product Catalog I created:
    Shop Id: ZTEST
    General Information
    --> Usage
    > Business Scenario: Internet Sales B2B
    --> Authorizations
    > Authorization Group: <blank>
    --> User Administration
    > Partner Function Contact Person: 00000015
    > Country Group: <blank>
    --> Billing Documents
    > Display of Billing Documents: No Billing Documents
    --> Store Locator
    > Display Store Locator: <blank>
    Catalog
    --> Product Catalog
    > Catalog Search: <blank>
    > Catalog: ZTEST
    > Catalog Variant: VAR_EN
    > Catalog View: <blank>
    > Hide Internal Catalog: <blank>
    > Controlling Price Determination in the Catalog: via IPC
    > Profile group for pricing related attributes for exchange products: <blank>
    Transactions
    --> General
    > Allow transaction management for other business partners in hierarchy: <blank>
    > Large Documents: Display All Items
    > Document type can be chosen late: <blank>
    > Batch Processing Permitted: <blank>
    > Display product determination information: X
    --> Order
    > Choose Order Types: Order Type
    > Order Type: ISBB
    --> Order Template
    > Order Templates Allowed: X
    > Order Type: ISBB
    --> +Quotations
    > Creating a Quotation: No Quotation
    --> Contracts
    > Contract Determination: <blank>
    --> Contract Negotiations
    > Allow Contract Negotiations: <blank>
    Marketing
    --> Global Product Recommendation
    > Display Global Product Recommendation: <blank>
    --> Personalized Product Recommendation
    > Display Personalized Product Recommendation: <blank>
    --> +Product-Related Proposals +
    > Display Product-Related Proposals: <blank>
    --> +Campaigns +
    > Allow manual entry of campaigns: <blank>
    Auction
    --> Auction
    > Auctions allowed: <blank>
    Regarding the reason "The Catalog was not replicated properly and is hence unavailable on TREX", is there any way to verify this? When i ran Initial Replication (transaction COMM_PCAT_IMS_INIT with the values i said in my first post) everything was green.
    Also, how do i clear the Catalog Cache? Is it the same as clearing the Catalog Cache Statistics in E-Commerce Administration Console (http://server:port/b2b/admin/index.jsp)?
    Thanks and Regards,

  • Rep-1247 error when starting jsp file on linux

    I have a rather frustrating problem on our production servers...
    We are trying to start jsp files on a linux report server (10Gr2).
    The command is displayed below
    [2007/10/8 10:57:59:853] Info 50132 (EngineImpl:setCommandLine): Get command line: baseUrl=http://xxxxx:7777/reports/rwservlet/getfile/ userid=reporting@SHARED_BE USER_AGENT=Java/1.5.0_07 SERVER_NAME=xxxxxxxxx jobname="/opt/ogreports/catalog/SMC/BE-Shared/xxxx.jsp" destpath="/var/data/og/dashboard/van/sgs/001/reports/xx" getFilestr=/no> imagekey=reports9i par_end_date="01-10-2007" desname=xxxxxxxxxxx.pdf REMOTE_ADDR=127.0.0.1 SERVER_PROTOCOL=HTTP/1.1 authid=RWUser par_start_date="01-09-2007" destype=rcpfile REMOTE_HOST=127.0.0.1 SERVER_PORT=7777 CONTENT_TYPE=application/x-www-form-urlencoded report="/opt/ogreports/catalog/SMC/BE-Shared/xxx.jsp" expiredays=0 baseimageurl=http://xxxxx:7777/reports/rwservlet/getfile/HW/YX+JkD0HSAcVLzaSGilrWNAn36ufghgStsvQqfNFC7w== schedule="00:00 Oct 08, 2007" scphost="lion" desformat=pdf SCRIPT_NAME=/rwservlet par_id_project="1750"
    The after paramform does some major data manipulations, writing to temporary tables (on commit preserve rows), that are used in queries from the reports.
    This seems to go allright. The setup of all queries, program units etc passes as well. But when the report has to start formatting, I get a "1247 Program Unit not compiled" error message. This is an excerpt from the engine trace
    [2007/10/8 11:40:40:243] Debug 50103 (EngineImpl:getCacheData): Start
    [2007/10/8 11:40:40:243] Debug 50103 (EngineImpl:getCacheData): m_jobId = 9182
    [2007/10/8 11:40:40:244] Debug 50103 (EngineImpl:getCacheData): Quit
    [2007/10/8 11:40:40:534] Error 50103 (C Engine): 10:40:40 ERR REP-1247: Report contains uncompiled PL/SQL.
    [2007/10/8 11:40:40:535] Error 50103 (rwfdt:rwfdtprint): 10:40:40 ERR Error occurred sending Job output to cache
    [2007/10/8 11:40:40:536] Error 50103 (rwfdt:rwfdtfl_FreeDistList): running
    [2007/10/8 11:40:40:536] Error 50103 (rwfdt:rwfdtfl_FreeDistList): quit
    [2007/10/8 11:40:40:580] Debug 50103 (EngineImpl:run): CRunReport returns: 1247
    [2007/10/8 11:40:40:608] Debug 50103 (EngineImpl:run): Quit
    [2007/10/8 11:40:40:699] Exception 1247 (): Report contains uncompiled PL/SQL.
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    at oracle.reports.engine.EngineImpl.run(EngineImpl.java:447)
    at oracle.reports.engine._EngineClassImplBase._invoke(_EngineClassImplBase.java:90)
    at com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
    at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
    at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
    at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)
    I know that 1247 normally covers up another error, but I don't seem to get it....
    Funny thing is, when copying the jsp's to another reports server, they do run (on the same DB).
    Message was edited by:
    user599601

    I have a rather frustrating problem on our production servers...
    We are trying to start jsp files on a linux report server (10Gr2).
    The command is displayed below
    [2007/10/8 10:57:59:853] Info 50132 (EngineImpl:setCommandLine): Get command line: baseUrl=http://xxxxx:7777/reports/rwservlet/getfile/ userid=reporting@SHARED_BE USER_AGENT=Java/1.5.0_07 SERVER_NAME=xxxxxxxxx jobname="/opt/ogreports/catalog/SMC/BE-Shared/xxxx.jsp" destpath="/var/data/og/dashboard/van/sgs/001/reports/xx" getFilestr=/no> imagekey=reports9i par_end_date="01-10-2007" desname=xxxxxxxxxxx.pdf REMOTE_ADDR=127.0.0.1 SERVER_PROTOCOL=HTTP/1.1 authid=RWUser par_start_date="01-09-2007" destype=rcpfile REMOTE_HOST=127.0.0.1 SERVER_PORT=7777 CONTENT_TYPE=application/x-www-form-urlencoded report="/opt/ogreports/catalog/SMC/BE-Shared/xxx.jsp" expiredays=0 baseimageurl=http://xxxxx:7777/reports/rwservlet/getfile/HW/YX+JkD0HSAcVLzaSGilrWNAn36ufghgStsvQqfNFC7w== schedule="00:00 Oct 08, 2007" scphost="lion" desformat=pdf SCRIPT_NAME=/rwservlet par_id_project="1750"
    The after paramform does some major data manipulations, writing to temporary tables (on commit preserve rows), that are used in queries from the reports.
    This seems to go allright. The setup of all queries, program units etc passes as well. But when the report has to start formatting, I get a "1247 Program Unit not compiled" error message. This is an excerpt from the engine trace
    [2007/10/8 11:40:40:243] Debug 50103 (EngineImpl:getCacheData): Start
    [2007/10/8 11:40:40:243] Debug 50103 (EngineImpl:getCacheData): m_jobId = 9182
    [2007/10/8 11:40:40:244] Debug 50103 (EngineImpl:getCacheData): Quit
    [2007/10/8 11:40:40:534] Error 50103 (C Engine): 10:40:40 ERR REP-1247: Report contains uncompiled PL/SQL.
    [2007/10/8 11:40:40:535] Error 50103 (rwfdt:rwfdtprint): 10:40:40 ERR Error occurred sending Job output to cache
    [2007/10/8 11:40:40:536] Error 50103 (rwfdt:rwfdtfl_FreeDistList): running
    [2007/10/8 11:40:40:536] Error 50103 (rwfdt:rwfdtfl_FreeDistList): quit
    [2007/10/8 11:40:40:580] Debug 50103 (EngineImpl:run): CRunReport returns: 1247
    [2007/10/8 11:40:40:608] Debug 50103 (EngineImpl:run): Quit
    [2007/10/8 11:40:40:699] Exception 1247 (): Report contains uncompiled PL/SQL.
    oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
    at oracle.reports.engine.EngineImpl.run(EngineImpl.java:447)
    at oracle.reports.engine._EngineClassImplBase._invoke(_EngineClassImplBase.java:90)
    at com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
    at com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
    at com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81)
    at com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:106)
    I know that 1247 normally covers up another error, but I don't seem to get it....
    Funny thing is, when copying the jsp's to another reports server, they do run (on the same DB).
    Message was edited by:
    user599601

  • F4 help for catalog search not working in shopadmin

    Hi,
    I am getting "JSP Compilation error" if I click on binoculars next to catalog select field under the "catalog" tab in shop admin.
    I get this error message although this jsp is never changed and is standard.
    com.sap.engine.services.servlets_jsp.server.jsp.exceptions.CompilingException: Error while compiling JSP file [/usr/sap/DTJ/JC01/j2ee/cluster/server0/apps/sap.com/crm~shopadmin/servlet_jsp/shopadmin/root/shopadmin/showhelpvalues.jsp].
    Any help is appreciable.
    Regards,
    Arshi

    Hi
    There might be some reasons for not getting the F4 value. One reason could be the complete AUTHORISATION for shopadmin given to the user.
    Please check the SHOPADMIN authorisations of the user.
    Hope this will be helpful
    Regards

Maybe you are looking for

  • Whatapp is not working after installing new softwa...

    hi.. i am using nokia asha 311phone since last three months. fewdays back i got a phone software update on my mobile from nokia..so i installed it..after that whatsapp application is not working..plz tell me what should i do?????

  • Open item management deactivation

    Hi Experts, I am trying to post Assets periodic postings in ASKB T code. System is showing the error G/L account is not permitted with open item  management. kindly suggest me how to deactivate the OIM? Regards FICO

  • Is it possible to delete linked SharePoint Lists?

    Greetings everyone, I'm hoping someone can point me in the right direction here.  So, I'm building a database for my organization, which is a nursing division at a hospital--it's rather large and rather involved--but there are only certain pieces of

  • Can't login BPM workspace - Internal error in Verification Service

    I've gone through "Building Your First Process with Oracle BPM 11g" in JDeveloper and was able to deploy "Hello World" successfully. My problem is that when I tried to sign in bpm workspace, I get "Invalid username and password" error. This is what I

  • Daniel_K Drivers where can I find t

    Ont the register.co.uk I jsut read that Daniels link has been restored by creative, so where can I find the link so that I can download them