Order Template in R/3 ISA B2B scenario

Hi,
Does anybody know where the Order templates in R/3 ISA 5.0  B2B(with memory catalog) scenario get saved .???
Somewhere in the isa b2b config guide i read that it gets stored in SAP Web AS Java 7.00 server.If this is true, could you tell me how to access those templates (like from which table and database)?
Answers will be rewarded with points.
Thanks
Ravi

It gets stored in the database to which your web shop is pointing to.
Check the shop admin or the xcm config.
It has some jdbc parameters which would point to the data base which the
isa application is pointing to.
This should be a pointer.
As regards the tables i don't know if there is any document which talks about it.
(If you do come across any please do share the info for the better of the community)
Try going thru the source code to identify the tables.
But yes the order template information is stored in the database (also called by some as java database)

Similar Messages

  • Order template in mySAP ERP B2B scenario without TREX

    Hi,
    Does anybody know where the Order templates in R/3 ISA 5.0 B2B(with memory catalog) scenario get saved .???
    Somewhere in the isa b2b config guide i read that it gets stored in SAP Web AS Java 7.00 server.If this is true, could you tell me how to access those templates (like from which table and database)?
    Answers will be rewarded with points.
    Thanks
    Ravi
    Pages: 1    Back to Thread List

    It gets stored in the database to which your web shop is pointing to.
    Check the shop admin or the xcm config.
    It has some jdbc parameters which would point to the data base which the
    isa application is pointing to.
    This should be a pointer.
    As regards the tables i don't know if there is any document which talks about it.
    (If you do come across any please do share the info for the better of the community)
    Try going thru the source code to identify the tables.
    But yes the order template information is stored in the database (also called by some as java database)

  • CRM ISA b2b Vs ECC ISA b2b - IPC and BADI

    Experts,
    1. In CRM ISA b2b - We use CRM_COND_COM_BADI to implement the userexit logics and to populate custom attributes. What is the equivalent BADI or procedure in ERP scenario assuming I am using IPC in both the scenarios.
    2.   in CRM ISA b2b scenario, we have item and header BADI's like crm_isa_basket_head...What is thew equivalent BADI/Procedure in ERP ISA b2b scenario.
    Thanks,
    Bala

    Hello Bala,
    Regarding your first question, AFAIK, the userexit logic of pricing should be developed in IPC pricing routines and uploaded to the SAP system with appropriate userexit assignment.
    About the second question, I am not very clear on what is the requirement? Do you want to modify certain data before a document is actually created/simulated in the SAP system? In this case, there are some enhancement points in the FM SD_SALESDOCUMENT_CREATE. This is what I used to modify/add/delete some data before the basket data is simulated or created as a quotation/order in the SAP ECC system.
    Pradeep

  • Create Order Template from quotationin b2b application.

    hi,
    My requirement is,if i open any already created quotation then on that screen (orderstatusdetail.jsp)we  have to add one button with name "Create Order Template".after clicking that button new Order Template page should open with all items and heder data.
    i had written code for button but not able to understand onclick even what i have to write?
    thanks in advance.
    jayesh talreja.

    Hi Jayesh,
    Call documentstatusaddtobasketaction on click at this button.like below
    method="post" action='<isa:webappsURL name ="/b2b/documentstatusaddtobasket.do"/>'>
    But this button is already available on orderstatus page, if its not visible to you it means there is
    something wrong that is happening in either java or abap code.
    Regards,
    Arshi

  • How to add custom text on ISA B2B Order

    Hi,
    On Order page of ISA B2B I have created a custom text field  "Shipping Attention".When I try to add this text in the header like
    header.addExtensionData("Z123","Value") in Z_BasketRefreshAction which extends MaintainBasketDispatcherAction, it is not reflecting in the "Shipping Attn"(created in the text tab in CRM)  field in CRM system.
    The flow:
    /b2b/maintainbasket --> Z_BasketRefreshAction --> /b2b/basketrefresh --> MaintainBasketRefreshAction --> b2b/updatedocumentview
    Please let me know if I missing something...
    Thanks in Advance.
    Regards,
    Muthu

    Hello,
    You have covered the first two layers of the request - response cycle cake - the View (JSP) and the Control (Java) layers. The icing is done in the backend BAdI and using the right function module. I am assuming the CRM backend.
    A typical request-response in the application goes like this. I will give example for the header extensions.
    Added the custom variable in the HTML layer (JSP page)
    Traversed through the Dispatcher, Parser and get the input value from the JSP page variable and added it to the Business Object (Header) using addExtensionData.
    The java application layer actually makes an "Update Header" call during the update cycle - like when you click that "Update" button.
    In the SAP E-Commerce design, during this "update" cycles, the application flows through specific BAdI call sequence. It calls what I call the Header BAdI CRM_ISA_BASKET_HEAD when the header information is updated. You have to extend this BAdI and implement at least two methods.
    It has two methods - which are called during this request - response cycle. First method CHANGEHEAD_SET_DATA is called during the request cycle - that is from ISA to CRM (when update is clicked). This is where your extension data has to be transferred from the Java layer to the backend layer (model). You will essentially read from the table IT_EXTENSION and call SAVE_TEXT function module. Since your requirement is to update text, this is the FM to be called. Many other cases use the FM mentioned by Mike. This is where the data from the web layer is persisted in the backend model.
    And the other method GETHEAD_GET_DATA is called during the response cycle. In this method, you will essentially read from the model - in your case READ_TEXT and set it back in the extension layer CT_EXTENSION
    The update header call from the Java layer will now receive the data back from the model and will automagically transfer the values from the backend (ABAP layer) back to the Java layer to be accessible by you in the JSP using getExtensionData call.
    What you have to do are the steps .5 and 6 in order to complete the request-response cycle.
    Easwar Ram
    http://www.parxlns.com

  • Regarding Order Template search data ISA

    Hi,
    1)We are using ISA Frame work for E-commerce Project and we would like to know from where Order Template Search Results are coming. Whether it is coming from R3 System or some other Persistence Database.
    Steps:
    1)Go to Search Screen
    2)Select Order Template in Document Type drop down.
    3)Select other parameter and click on the go button.
    Search Result will be displayed below Search block.
    2)We added One extra text field called product id in the Search block and we want to search Order Template based on product id. How we can implement this functionality in the ISA Framework.

    Is there a XML file where I can configure the application to search for such orders which are in status "order template"
    Generic Search Framework was introduced from CRM 5.0 only. If you turn on the templates in the XCM configuration of the webshop, then you will most probably see them in the search.
    and how can I let them move from the template status to a open SO?
    Templates are never directly converted into Sales Orders. The templates make it easy for you to create a - say repetitive or periodic order. For example if month you order for several items to replenish your inventory - just an example. Every month filling the items in the order will be time consuming. So, we create a Template with all these items and save it for future use.
    These Templates always have the status order template.
    Now when you want to create Sales Order out of these templates, (a) ISA copies the template (2) creates a new order and (3) presents it to you for changes. You make changes to the template - such as quantities, dates, shipping address etc. and (4) Save the order.
    The template are left alone. The templates are never meant for one time use.Are you trying to use them as Quotations by any chance? If you don't want them in your system, you can always delete them.
    Well, to answer your question, follow the standard. Make a copy of the template and create a sales order.

  • Calling New Function Module from JAVA ISA b2b

    I need to call a new function module which accepts some parameters as input and
    returns some result parameters back as output.
    These returned value needs to be displayed on the JSP pages of ISA B2B applications.
    Can someone please guide me and provide code snippet on how to do this?
    Thanks in advance.
    Points will be awarded for all relevant and helpful answers.

    Stride,
    I did this on CRM ISA 4.0...  I used the dev and extension guide as a basis - I think the ISA 5.0 guide has the examples and tutorials in a separate document that can also be downloaded from service.sap.com.
    Here’s some info on how to do it although I can't guarantee this is the full solution or that it will work the same for ISA 5.0, and I will probably forget a lot of stuff as its been a few years since I did it!  I also can’t guarantee it is the correct way to do it – but it worked!  Basically, we built a link into the order overview page to display url’s to order tracking websites using an RFC on the backend CRM system.  Hope it helps anyway.
    1. Create RFC enabled function module in backend.
    2. Edit file backendobject-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification:-
    [code] <backendobject
         xmlns:isa="com.sapmarkets.isa.core.config"
         xmlns:xi="http://www.w3.org/2001/XInclude"
         xmlns:xml="http://www.w3.org/XML/1998/namespace">
         <configs>
              <!-- customer changes in backendobject-config should be done here by extending/overwriting the base configuration-->
              <xi:include
                   href="$
    Template for backend object in customer projects
    Concrete implementation of a backend object
    This implemenation demonstrates how a backend object
    is used to communicate with the CRM system
    @see com.ao.isa.backend.boi.Z_AOFuncBackend#getOrderDeliveryTrackingData(java.lang.String)
    Interface used to communicate with a backend object
    The purpose of this interface is to hide backend implementation details
    from the business objects
    Returns a vector of Z_OrderDeliverTracking objects containing data to link
    to external delivery tracking websites
    @param orderNo The sales order document number
    @return A vector of order tracking objects
    @return
    @return
    @return
    @return
    @return
    @param string
    @param string
    @param string
    @param string
    @param string
    /modification/backendobject-config.xml#xpointer(backendobject/configs/*)"/>
              <!-- This is an example customer extension. A new Backend Object is registered in the framework using XCM extension mechanism. -->
              <!-- If you write customer extensions you should register your backend objects in the same way. -->
              <!-- Please make sure that you use the correct base configuration (e.g. crmdefault for CRM or r3default, r3pidefault for R/3) -->
              <config
                   isa:extends="../config[@id='crmdefault']">
                   <businessObject
                        type="Z_AO_Custom"
                        name="Z_AO_Custom"
                        className="com.ao.isa.backend.crm.Z_AOFuncCRM"
                        connectionFactoryName="JCO"
                        defaultConnectionName="ISAStateless"/>
              </config>
         </configs>
    </backendobject>
    [/code]
    File com.ao.isa.backend.crm.Z_AOFuncCRM.java looks like this :-
    [code] package com.ao.isa.backend.crm;
    //jco imports
    import java.util.Vector;
    import com.ao.isa.backend.boi.Z_AOFuncBackend;
    import com.ao.isa.businessobject.order.Z_OrderDeliveryTrackingItem;
    import com.sap.mw.jco.JCO;
    import com.sap.mw.jco.JCO.ParameterList;
    import com.sapmarkets.isa.core.eai.BackendException;
    import com.sapmarkets.isa.core.eai.sp.jco.BackendBusinessObjectBaseSAP;
    import com.sapmarkets.isa.core.logging.IsaLocation;
    public class Z_AOFuncCRM
         extends BackendBusinessObjectBaseSAP
         implements Z_AOFuncBackend
         // initialize logging
         private static IsaLocation log =
              IsaLocation.getInstance(Z_AOFuncCRM.class.getName());
         /* (non-Javadoc)
         public Vector getOrderDeliveryTrackingData(String orderNo)
              Vector urlData = new Vector();
              try
                   // get Java representation of function module
                   JCO.Function func =
                        getDefaultJCoConnection().getJCoFunction(
                             "Z_BAPI_CRM_ORDER_TRACKING_URLS");
                   // provide export parameters
                   ParameterList params = func.getImportParameterList();
                   params.setValue(orderNo, "ORDER_NO");
                   func.setExportParameterList(params);
                   // execute function
                   getDefaultJCoConnection().execute(func);
                   // get result table
                   JCO.Table table =
                        func.getTableParameterList().getTable("TRACKING_DATA");
                   int numRows = table.getNumRows();
                   for (int i = 0; i < numRows; i++)
                        // get row
                        table.setRow(i);
                        // create a new Z_orderdeliverytracking object
                        Z_OrderDeliveryTrackingItem trackItem =
                             new Z_OrderDeliveryTrackingItem(
                                  table.getString(0),
                                  table.getString(1),
                                  table.getString(2),
                                  table.getString(3),
                                  table.getString(4));
                        urlData.addElement(trackItem);
                        trackItem = new Z_OrderDeliveryTrackingItem();
                   return urlData;
              catch (BackendException bex)
                   // The following key has to be added to WEB-INF/classes/ISAResources.properties
                   // in order to see the exception correctly
                   log.config("ao.b2b.order.error.getOrderTrackingURLs", bex);
              return null;
    [/code]
    And file com.ao.isa.backend.boi.Z_AOFuncBackend.java looks like this:-
    [code] package com.ao.isa.backend.boi;
    //package java.ao.com.ao.isa.backend.boi;
    import java.util.Vector;
    import com.sapmarkets.isa.core.eai.sp.jco.JCoConnectionEventListener;
    public interface Z_AOFuncBackend
         public Vector getOrderDeliveryTrackingData(String orderNo);
    [/code]
    Whilst file com.ao.isa.businessobject.order.Z_OrderDeliveryTrackingItem.java looks like this:-
    [code]
    package com.ao.isa.businessobject.order;
    // Referenced classes of package com.sapmarkets.isa.businessobject.order:
    //            PaymentType
    public class Z_OrderDeliveryTrackingItem // extends SalesDocument implements OrderData
         private String deliveryDocNo;
         private String goodsIssuedDate;
         private String consignmentNo;
         private String status;
         private String url;
         public Z_OrderDeliveryTrackingItem()
         public Z_OrderDeliveryTrackingItem(
              String delDocNo,
              String GIDate,
              String consNo,
              String status,
              String url)
              this.setDeliveryDocNo(delDocNo);
              this.setGoodsIssuedDate(GIDate);
              this.setConsignmentNo(consNo);
              this.setStatus(status);
              this.setUrl(url);
         public String getConsignmentNo()
              return consignmentNo;
         public String getDeliveryDocNo()
              return deliveryDocNo;
         public String getGoodsIssuedDate()
              return goodsIssuedDate;
         public String getStatus()
              return status;
         public String getUrl()
              return url;
         public void setConsignmentNo(String string)
              consignmentNo = string;
         public void setDeliveryDocNo(String string)
              deliveryDocNo = string;
         public void setGoodsIssuedDate(String string)
              goodsIssuedDate = string;
         public void setStatus(String string)
              status = string;
         public void setUrl(String string)
              url = string;
    [/code]
    3. Edit file bom-config.xml in folder project_root\b2b_z\WEB-INF\xcm\customer\modification :-
    [code] <BusinessObjectManagers
         xmlns:isa="com.sapmarkets.isa.core.config"
         xmlns:xi="http://www.w3.org/2001/XInclude"
         xmlns:xml="http://www.w3.org/XML/1998/namespace">
         <!-- customer changes in bom-config should be done here by extending/overwriting the base configuration-->
         <xi:include
              href="$/modification/bom-config.xml#xpointer(BusinessObjectManagers/*)"/>
         <!-- This is an example Business Object Manager. It can act as template for customer written Business Object Managers -->
         <BusinessObjectManager
              name="Z_AO-BOM"
              className="com.ao.isa.businessobject.Z_AOBusinessObjectManager"
              />
    </BusinessObjectManagers>
    [/code]
    File com.ao.isa.businessobject.Z_AOBusinessObjectManager.java looks like this:-
    [code] package com.ao.isa.businessobject;
    // Internet Sales imports
    import com.sapmarkets.isa.core.businessobject.management.BOManager;
    import com.sapmarkets.isa.core.businessobject.management.DefaultBusinessObjectManager;
    import com.sapmarkets.isa.core.businessobject.BackendAware;
    Template for a custom BusinessObjectManager in customer projects
    public class Z_AOBusinessObjectManager
         extends DefaultBusinessObjectManager
         implements BOManager, BackendAware {
         // key used for the backend object in customer version of backendobject-config.xml
         public static final String CUSTOM_BOM = "Z_AO-BOM";
         // reference to backend object
         private Z_AOFunc mCustomBasket;
    constructor
         public Z_AOBusinessObjectManager() {
    Method is called by the framework before the session is invalidated.
    The implemenation of this method should free any allocated resources
         public void release() {
    Returns custom business object
         public Z_AOFunc getCustomBasket() {
              if (mCustomBasket == null) {
                   mCustomBasket = new Z_AOFunc();
                   assignBackendObjectManager(mCustomBasket);
              return mCustomBasket;
    [/code]
    And uses file com.ao.isa.businessobject.Z_AOFunc.java which looks like this:-
    [code]
    package com.ao.isa.businessobject;
    // Internet Sales imports
    import com.sapmarkets.isa.core.businessobject.BOBase;
    import com.sapmarkets.isa.core.businessobject.BackendAware;
    import com.sapmarkets.isa.core.eai.BackendObjectManager;
    import com.sapmarkets.isa.core.eai.BackendException;
    import com.sapmarkets.isa.core.logging.IsaLocation;
    // custom imports
    import com.ao.isa.backend.boi.Z_AOFuncBackend;
    import java.util.Vector;
    Template for business object in customer projects
    public class Z_AOFunc extends BOBase implements BackendAware
         // initialize logging
         private static IsaLocation log =
              IsaLocation.getInstance(Z_AOFunc.class.getName());
         private BackendObjectManager bem;
         private Z_AOFuncBackend backendAOBasket;
    Returns a reference to the backend object. The backend object
    is instantiated by the framework.
    @return a reference to the backend object
         private Z_AOFuncBackend getCustomBasketBackend()
              if (backendAOBasket == null)
                   //create new backend object
                   try
                        backendAOBasket =
                             (Z_AOFuncBackend) bem.createBackendBusinessObject(
                                  "Z_AO_Custom");
                        // the backend object is registered in customer version
                        // of backendobject-config.xml using the 'Z_AO_Custom' type
                   catch (BackendException bex)
                        // The following key has to be added to WEB-INF/classes/ISAResources.properties
                        // in order to see the exception correctly
                        log.config("ao.b2b.order.error.getOrderTrackingURLs", bex);
              return backendAOBasket;
    This method is needed when a business object has a corresponding
    backend object.
         public void setBackendObjectManager(BackendObjectManager bem)
              this.bem = bem;
    Returns a vector of url links for tracking
    @return vector of urls
         public Vector getOrderDeliveryTrackingData(String orderNo)
              // the call is delegated to the CRM aware backend object
              return getCustomBasketBackend().getOrderDeliveryTrackingData(orderNo);
    [/code]
    4. Edit file config.xml in folder project_root\b2b_z\WEB-INF to add custom actions (the section below is just the custom stuff added at the end of the file – the Z_orderTracking is the relevant one) :-
    [code] <!-- Begin of custom AO action definitions -->
         <action path="/b2b/Z_orderTracking" type="com.ao.isa.order.actions.Z_OrderTrackingAction">
              <forward name="success" path="/b2b/order/Z_orderTracking.jsp"/>
         </action>
         <action path="/catalog/Z_displaySVGPage" type="com.ao.isa.catalog.actions.Z_SVGPageAction">
              <forward name="success" path="/catalog/Z_SVG_fs.jsp"/>
         </action> [/code]
    Which points at Java file com.ao.isa.order.actions.Z_OrderTrackingAction.java which looks like this :-
    [code] package com.ao.isa.order.actions;
    // internet sales imports
    import com.sapmarkets.isa.core.BaseAction;
    import com.sapmarkets.isa.core.UserSessionData;
    // struts imports
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    import org.apache.struts.action.ActionForm;
    // servlet imports
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletException;
    // Internet Sales imports
    import com.ao.isa.businessobject.Z_AOBusinessObjectManager;
    import java.util.Vector;
    This action acts as a template for customer extensions
    public class Z_OrderTrackingAction extends BaseAction
    This method is called by the ISA Framework when the
    action is executed
         public ActionForward doPerform(
              ActionMapping mapping,
              ActionForm form,
              HttpServletRequest request,
              HttpServletResponse response)
              throws ServletException
              // get user session data object
              UserSessionData userSessionData =
                   UserSessionData.getUserSessionData(request.getSession());
              // gettting custom BOM
              Z_AOBusinessObjectManager myBOM =
                   (Z_AOBusinessObjectManager) userSessionData.getBOM(
                        Z_AOBusinessObjectManager.CUSTOM_BOM);
              // get the order number being processed
              String orderDocNumber = request.getParameter("orderNo");
              // pass the order number back to the page
              request.setAttribute("orderNo", orderDocNumber);
              if (orderDocNumber != null)
                   // Get a vector of delivery tracking objects from lower layers (Business Object layer =>
                   // Business Logic Service Layer)
                   Vector trackingTable =
                        myBOM.getCustomBasket().getOrderDeliveryTrackingData(
                             orderDocNumber);
                   String error = "";
                   if (trackingTable != null)
                        if (trackingTable.size() == 0)
                             error = "true";
                        else
                             error = "false";
                   else
                        error = "true";
                   request.setAttribute("errorMessage", error);
                   request.setAttribute("trackingTable", trackingTable);
              return mapping.findForward("success");
    [/code]
    5. I added the call to the function module for page orderstatusdetail.jsp in folder project_root\b2b_z\b2b\order to display a custom page Z_orderTracking.jsp in the same folder.  To do this I added a link into the HTML to call a JavaScript function that passed the current order number to the /b2b/Z_orderTracking.do actionhandler mapped in the config.xml file.
    So, in summary!  Create an RFC; define business managers for it in the XML files; create a new Strut action and supporting Java class; create all the Java class’ for the managers.
    I hope this makes some sense!
    Gareth.

  • Problem with creation of Order template

    Hi Experts,
    We are facing an issue with ISA 4.0. B2B application.
    The extension data is not getting updated in CRM 4.0 while creating Order template.
    The same extension data is getting updated for Order template change process.
    Also same extension data is getting updated for  CRM order creation.
    Can any one put some lights on this issue ?
    for both order and order template creation the below statement is used for holding the document. 
    SalesDocument preOrderSalesDocument = bom.getBasket();
    Thnx.
    Regards,
    Murugan Arumugam.

    Hi Experts,
    We are facing an issue with ISA 4.0. B2B application.
    The extension data is not getting updated in CRM 4.0 while creating Order template.
    The same extension data is getting updated for Order template change process.
    Also same extension data is getting updated for  CRM order creation.
    Can any one put some lights on this issue ?
    for both order and order template creation the below statement is used for holding the document. 
    SalesDocument preOrderSalesDocument = bom.getBasket();
    Thnx.
    Regards,
    Murugan Arumugam.

  • How to display total "items" and "amount " in header.jsp in CRM ISA B2B

    Hi,
    I am modifying “header.jsp” in standard CRM ISA B2B application.  Here we have summary of total number of items and total amount but it is coming in to button and for that below code is there in “header.jsp” and it display it as button text.
    if (!ui.homActivated) { %>
    !!" alt="" border="0" height="16" width="20">
    </td>
    <td class="vertical-align-middle" name="miniBasket" value="<isa:translate key="b2b.header.minibasket.default"/>" >
            <form name="basketForm" action="javascript:show_basket();">
         <input class="green" name="miniBasket" type="button" value="<isa:translate key="b2b.header.minibasket.default"/>"/>   
        </form>
    </td>   
    <% } else { %>
    <!-- HOM scenario - minibasket displays collective order -->
    <td  class="vertical-align-middle" align="right">
    !!" alt="" border="0" height="16" width="20">
    </td>
    <td  class="vertical-align-middle" name="miniBasket" value="<isa:translate key="b2b.header.collorder.default"/>">
    <form name="basketForm" action="javascript:show_collective_order();">
        <input class="green" name="miniBasket" type="button" value="<isa:translate key="b2b.header.collorder.default"/>"/>   
    </form>
    </td>
    <% } %>
    Now I want to display total number of items and total amount separately in two different <td> element.
    How I can get total number of items and total amount in “header.jsp” I tried below code but did not get any success.
    Insert below line in “header.jsp” with respective page import statement for class or let me know which class I have to import.
    <%
         HeaderSalesDocument  hdr =
                (HeaderSalesDocument) request.getAttribute(MaintainBasketBaseAction.RK_HEADER);
        ItemList items =
                (ItemList) request.getAttribute(MaintainBasketBaseAction.RK_ITEMS);
    %>
    And then I use
    <td><%= hdr.getNetValue() %></td>
    <td><%= items.size() %></td>
    But it is not printing any thing and header page not display at all.
    Pl. tell me how to get total amount and number of items in header area. Which class or object I have to use here.
    I really appreciated any help from any one.
    Thanks and regards.
    Ashish Patel.

    Hi, I tried another logic. I took value from  Standard button, in which B2B application display total items and amount and I hide this field, to another text element.
    Now I Am breaking that value in words and stored them in array  and then trying to display that array with particular number which contains total item and amount through Java Script on Focus.
    But problem here is, It is not getting updated automatically I have to click on new text files to trigger Onfocus event. How I can achieve effect like as soon as Standard button changes it's value which is now hidden filed my new text box should update automatically.
    Thanks.
    Ashish

  • Unable to retrive Order template in SAP e-commerce 5.0.

    Hi All,
    I am trying to retrieve the Order template using e-commerce 5.0 backend as SAP 4.7 but i am getting below error in log.
    OpenSQLException#Cannot assign an empty string to host variable 13.#com.sap.sql.log.OpenSQLException: Cannot assign an empty string to host variable 13.
    Is there any configuration(SQL connectivity) required to retrive the order template?
    Please suggest.
    Thanks & Regards
    Manoj Sahoo

    Hi Manoj,
    It seems there is problem with Database connection or Tables are not maintained in Database.
    For Database Connections : There are some defaults settings done at installation process. You can check database connection in Visual Administrator.
    Server->Services->JDBC Connector.(If it is maintained then)
    check in web.xml of ISA application, whether the same data source name is maintained.
    <!-- security settings for administration area -->
         <resource-ref>
              <res-ref-name>SAP/CRM/b2b</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
         </resource-ref>
         <!--JDO connection factory lookup name, required-->
         <resource-ref>
              <res-ref-name>jdo/defaultPMF</res-ref-name>
              <res-type>javax.resource.cci.ConnectionFactory</res-type>
              <res-auth>Container</res-auth>
         </resource-ref>
    Note: SAP/CRM/b2b is a alias name to datasource maintained in JDBC Connectivity.
    If everything is fine, then goto database and check whether tables are maintained in database.
    Tables are :
    o CRM_ISA_BASKETS
    o CRM_ISA_BUSPARTNER
    Hope this gives you a fair idea.
    Regards,
    Devender V

  • Email button from Order template conformation page.

    hi,
    I got new requirement.in that i have to give give email button on Order template conformation page.
    if i click on email button new popup page will come and it will contain from email id,CC and messege.
    and i have to add entire item list in email.
    please guide me something for this requirement.
    Thanks in advance,
    jayesh talreja

    Hi Jayesh,
    Its an interesting scenario .Anyways to add an email link to the confirm.jsp all you need to do is to add the below javascript and html to confirm.jsp
    function email() {
               var url='<isa:webappsURL name="/ecall/customer/interaction0.do?interactionType=email"/>';
               var spd=window.open(url,"compareWindow","menubar=no,      directories=no, height=600 width=750, scrollbars=yes, status=no, toolbar=no, top=84, left=212");
               spd.focus();
    <tr>
         <td class="value">
            <a hre="javascript:email()"><b><isa:translate key="cic.prompt.index.mail"/></b></a>
         </td>
    </tr>
    Adding these lines will you a link for email on confirm.jsp on clicking on which you will get a new window with the Cc and all
    the required fields and it is used for sending the mails. But your issue for sending the item data from confirm page is still left.
    I will also try to find out the easiest way to send this data.
    Regards,
    Arshi
    Edited by: Arshi Arshi on Oct 6, 2009 3:15 PM

  • ISA B2b basket extension data for items not showing in ordersimulation

    When adding extension data to the items of the shopping basket this works fine until continuing to the Order Simulation. Here all extension data on item level is lost (header level is fine).
    When proceeding to create an order template however it works fine.
    Data was added using:
    item.addExtensionData("FIELD", "VALUE")
    Any help is appreciated.
    Thanks,
    Jurjen

    hi Jurjen,
    In ISA 5.0 b2b from the order.jsp ->order simulation and basket updates go through com.sap.isa.isacore.action.order.MaintainBasketDispatcherAction. In the basketPerform() -> updateBasket() method, existing basket items are removed and created from scratch using the input/hidden field in order.jsp. Unfortunately, item level extension data is not assigned back to the newly created basket items. An alternative solution would be inherit MaintainBasketDispatcherAction and overide parseRequestItems() method. Here in the parseRequestItems() should keep a copy of itemExtension & then assign it back after super.parseRequestItems() method is called.
    Regards
    Tharaka (attune)

  • Quantity from Order Template to Order

    Hello Experts
    Does the order quantity flows from order template to order or from order to order when we click on transfer button on B2B web shop ?
    What is the standard behaviour.
    Thanks

    Hi DJ,
    This act of transfer button in ISA frontend is same as Copy Business Transaction button in crm gui.
    It not only copies the quantity and product but copies sold to party, ship to party, payer, bill to and all the
    other details also.You can think it of as a replica of the existing order.
    You can edit each and every detail in the new order but sold to party can't be changed.The reason is
    ISA application is designed in such a way that it logs in with sold to party and once you are logged in after
    selecting a sold to,this sold to is freezed and can't be changed anymore untill you logoff and login again with
    some other sold to.
    Regards,
    Arshi

  • How can I create a new sales order template

    Hello,
    how can I create a new sales order template in SAP CRM 7.0 (Web UI)? I want to use this sales order template in scenario ´'Mass Generation of Sales Orders via Marketing Projects'.
    Thanks for your support in advance.
    Best regards,
    anvan

    Hi,
    Did you set up this scenario? I want something similar, but I want an ERP order to be created. Do you know if that is possible? Do you have som tips?
    regards Camilla

  • How can I create a new sales order template in SAP CRM 7.0

    Hello,
    how can I create a new sales order template in SAP CRM 7.0 (Web UI)? I want to use this sales order template in scenario ´'Mass Generation of Sales Orders via Marketing Projects'.
    Thanks for your support in advance.
    Best regards,
    anvan

    Hi,
    Did you set up this scenario? I want something similar, but I want an ERP order to be created. Do you know if that is possible? Do you have som tips?
    regards Camilla

Maybe you are looking for