Edit Contract (E-Commerce/CRM 5.0)

Hi all,
I have a requirement to allow the user to edit approved contracts.
I figured I'd add a 'Change' button to contractread.jsp and overwrite ContractReadAction, listening for that button click.
In the case where that button is clicked I create a ManagedDocument from the contract and add that to the document handler and set my contract on top. Then I redirect to updatedocumentview and make sure we leave there with 'negotiatedcontract_change' as the forward.
However, it doesn't work. I'm pushed to the welcome screen (forward = nodoc) after bouncing around different actions for a whiles.
I've noticed that the forward 'negotiatedcontract_change' of updatedocumentview directs me to 'updateworkareanav' and to '/b2b/onedocnav.jsp'. In here there's a check to see if the document is 'editable'... which always comes back as no.
I debug in 'WorkAreaNavAction' and force editable to be true... but still no joy... infinite loop of bouncing around actions ensues.
So here's the question(s).
Can contracts be edited in CRM/E-Commerce 5.0 at all? Is there something stopping this from happening, doesn't CRM allow contracts to be changed?
Is there some other way to go about this?
Thanks for your time,
Patrick.

Actually just got this working... well, it appears to work.
Pretty much the solution I'd posted originally but with some fixes...
First, of course, I make a NegotiatedContract from the techkey of the contract in question.
Rather than making a ManagedDocument and adding it on top of the document handler I now make a ManagedDocumentNegContract, give it my NegotiatedContract, set the state to TargetDocument and specifically setChangeMode(true). I give the ManDoc the type "ncontract", of course, and the forward "negotiatedcontract_change"... then I leave my Z_ContractReadAction with a forward to 'updatedocumentview'.
I come to the neg contract update page, the header data is there and editable, the items are there in the table and editable... I can make my changes and 'Send' the document. The new contract neg still has to be approved in CRM, any new items have to be released in CRM... but it works.
One bit that I'm not 100% happy with is deleting items.
ncontract_change.jsp asks each item if it is deletable, they all say, "No", except of course any new ones that I might be adding... as such the delete checkbox isn't shown. I didn't expect it to work but I figured I'd test how the system reacted to me simply commenting out that check... it appears to work... I can mark an item for deletion and send the document... the item is removed from the doc in CRM... like I say, it appears to work.
I'm not a CRM/E-Commerce guy really, I'm an Enterprise Portal programmer that happens to be doing this just now... so whether or not this will break something in the business process I've no idea... but that's why we have business analysts and QA, eh?
Thanks again for your input though,
Patrick.

Similar Messages

  • Create a service contract under SAP CRM

    Hi,
    I try to create a service contract under SAP CRM with transaction code CRMD_ORDER but when I click on "Create" button, nothing display !
    Is it possible to create a contract under SAP CRM ?
    In the end, I would like to replicate a contract from CRM to ISU.
    Thanks by advance for your help !
    Best regards,
    Rémi

    Hi Remi,
    In transaction CRMD_ORDER, click F5 button and under "Service Contract", just choose the transaction type you'd like to use. Examples:
    Contract w. ERP Bill
    ITIL Serv. Contract
    Remote Service Contr
    Serv Cont Quote.
    Service Contract
    UBB Service Contract
    If nothing is displayed, this may mean that transactions have been blocked. Therefore, you have to follow the path under IMG: Customer Relationship Management -> Transactions -> Basic Settings -> Define Transaction Types, and disable the "Inactive" flag.
    So yes, it is definitely possible to create a service contract in SAP CRM. However, it is recommended that you use WebClient UI with business role SERVICEPRO instead of GUI, for most of the time.
    Edited by: Kivanc Bilgin on May 18, 2011 2:39 PM

  • Read-only Collaborator can edit Contract Document properties

    We have a master agreement with a read-only collaborator. The security profile for this collaborator role is identical to the stock "Document Reviewer" profile, i.e. only View is set.
    However this supposedly read-only collaborator is able to edit Contract Document properties. They click on the Contract Documents tab, then drill into a Contract Document, and then click on the Edit button. From there, they have the ability to change fields such as Name, Descrpition, Effective Date, etc. They cannot change or delete the actual file attachment itself.
    Is this an issue with CLM, or is there some security setting we are missing somewhere? Please tell me this is not working as designed ..
    thanks.

    Hi Terry,
    According to your description, my understanding is that you don’t want the yollow bar notification to display when you open Access documents.
    This issue seems to be about the client application. Please compare the followings with the things that you did:
     1.Open the documents
     2.Click File->Options->Trust Center->Trust Center Settings
     3.Click Protected View, unselect ‘Enable Protected View for originating from the Internet’
     4.Click Message Bar, select ‘Never show information about blocked content’
     5.Click Macro Settings, select ‘Disable all macros without notification’
    In addition, as this issue is about Office, I commend you create a new thread in Office forum, more experts will assist you with this issue.
    Office forum:
    http://social.technet.microsoft.com/Forums/en-US/home?category=officeitpro
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Run Time Error in e-commerce crm 5.0 when creating new order

    Hi all,
    I am getting Run Time Error in e-commerce crm 5.0 when creating new order, shopping basket is comming , but while creating order , getting run time error.
    Thanks,
    Nagesh

    Hi nagesh,
    Are you able to resolve the issue. Please let me know the solution.
    I had started a thread with a same problem but in ERP E-commerce.  Points will be rewarded if you provide the solution in the thread below
    Re: Run Time Error in e-commerce crm 5.0 when creating new order
    Thank You
    Ram

  • IS-U contract accounts to CRM (Business agreement)

    Hi There,
      can anyone help on the issue of replicating IS-U contract accounts to CRM, what steps do i follow?
    Regards
    A

    Hi Anup,
    in the SAP standard installation facts are never replicated from IS-U back to CRM. In that respect the MDTs are a one way tool. If you enter some values in a contract in CRM (e.g. configuration values via the simplified configuration) these values can be used to populate installation facts in IS-U upon replication. However, if installation facts are changed in SAP IS-u no replication to CRM is triggered. The underlying reason is, that only the objects BP, contract account, contract, connection object and premise are replicated between CRM and IS-U.
    IF you want to show the installation facts together with a contract in CRM you have got two options. Either build a custom view that displays the installation facts for a contract or implement a custom replication logic. I'd recommend the first approach as it's less error prone and easier to implement.
    We've also implemented the first approach for one of our customers. Let me know if you need further information.
    best,
    Christian

  • Edit an OS Commerce template in dreamweaver

    Hi
    I downloaded an os commerece template for my first e commerce store and everything is set up ok, just need to edit the whole template to my products and colours. I am trying to remove the stamp at the bottom that says designed by monstertemplate, with their website links at the bottom but not having any luck. I can see the the links code when I turn on the live code view in dreamweaver but cant see it when I go to codes to try and edit it. Maybe I am missing something and would appricate any help. This is the website:
    http://creativeinky.com/site/index.php - The links I want to remove are at the footer of the website. This has not been edited yet and the store is not functional.
    This is what I see in codes:( I have tried to remove oscommerce at the top but that does not help). Which code is for the stamp at the bottom links as I cannot see it in this code view where I can edit it. Please help.
    <?php
      $Id: index.php 1739 2007-12-20 00:52:16Z hpdl $
      osCommerce, Open Source E-Commerce Solutions
      http://www.oscommerce.com
      Copyright (c) 2003 osCommerce
      Released under the GNU General Public License
      require('includes/application_top.php');
    // the following cPath references come from application_top.php
      $category_depth = 'top';
      if (isset($cPath) && tep_not_null($cPath)) {
        $categories_products_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'");
        $cateqories_products = tep_db_fetch_array($categories_products_query);
        if ($cateqories_products['total'] > 0) {
          $category_depth = 'products'; // display products
        } else {
          $category_parent_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " where parent_id = '" . (int)$current_category_id . "'");
          $category_parent = tep_db_fetch_array($category_parent_query);
          if ($category_parent['total'] > 0) {
            $category_depth = 'nested'; // navigate through the categories
          } else {
            $category_depth = 'products'; // category has no products, but display the 'no products' message
      require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT);
    ?>
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html <?php echo HTML_PARAMS; ?>>
    <head>
    <?php require(DIR_WS_INCLUDES . 'header_includes.php'); ?>
    </head>
    <?php
      if ($category_depth == 'nested') {
        $category_query = tep_db_query("select cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = '" . (int)$current_category_id . "' and cd.categories_id = '" . (int)$current_category_id . "' and cd.language_id = '" . (int)$languages_id . "'");
        $category = tep_db_fetch_array($category_query);
    ?>
    <body>
    <!-- header //-->
    <?php $tab_sel = 2; ?>
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    <!-- header_eof //-->
    <!-- body //-->
    <table border="0" class="<?php echo MAIN_TABLE; ?>" cellspacing="0" cellpadding="0">
    <tr>
        <td class="<?php echo BOX_WIDTH_TD_LEFT; ?>"><table border="0" class="<?php echo BOX_WIDTH_LEFT; ?>" cellspacing="0" cellpadding="0">
    <!-- left_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
    <!-- left_navigation_eof //-->
        </table></td>
    <!-- body_text //-->
        <td class="<?php echo CONTENT_WIDTH_TD; ?>"><?php include(DIR_WS_BOXES . 'panel_top.php');?>
    <?php echo tep_draw_top();?>
                                            <?php new contentBoxHeading_ProdNew($info_box_contents);?>
    <?php echo tep_draw3_top();?>
                        <table border="0" width="100%" cellspacing="0" cellpadding="0" class="main sub_category">
                  <tr>
    <?php
        if (isset($cPath) && strpos('_', $cPath)) {
    // check to see if there are deeper categories within the current category
          $category_links = array_reverse($cPath_array);
          for($i=0, $n=sizeof($category_links); $i<$n; $i++) {
            $categories_query = tep_db_query("select count(*) as total from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "'");
            $categories = tep_db_fetch_array($categories_query);
            if ($categories['total'] < 1) {
              // do nothing, go through the loop
            } else {
              $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$category_links[$i] . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name");
              break; // we've found the deepest category the customer is in
        } else {
          $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name");
        $number_of_categories = tep_db_num_rows($categories_query);
        $rows = 0;
        while ($categories = tep_db_fetch_array($categories_query)) {
          $rows++;
          $cPath_new = tep_get_path($categories['categories_id']);
    $p_pic_sub = '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a>';
    $p_name_sub = '<b><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . $categories['categories_name'] . '</a></b>';
                $width = (int)(100 / (MAX_DISPLAY_CATEGORIES_PER_ROW-0)) . '%';
                echo '<td align="center" width="' . $width . '">'.tep_draw_prod2_top().'
                                            <table cellpadding="0" cellspacing="0" border="0" class="wrapper_box">
                                                      <tr><td class="pic4_padd">'.tep_draw_prod_pic_top().''.$p_pic_sub.''.tep_draw_prod_pic_bottom().' </td></tr>
                                                      <tr><td class="name name4_padd">'.$p_name_sub.'</td></tr>
                                            </table>'.tep_draw_prod2_bottom().'
                                  </td>'."\n";
                          if ($col!=(MAX_DISPLAY_CATEGORIES_PER_ROW-1)){
                          echo '
                                            <td>'.tep_draw_separator('spacer.gif', '1', '1').'</td>
                          }else{
                          if ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) {
                                  echo '             
                        </tr><tr><td class="prod_line_x" colspan="'.(MAX_DISPLAY_CATEGORIES_PER_ROW + MAX_DISPLAY_CATEGORIES_PER_ROW -1).'">'.tep_draw_separator('spacer.gif', '1', '18').'</td></tr>' . "\n";
                                  echo '<tr>' . "\n";
              if ($col==MAX_DISPLAY_CATEGORIES_PER_ROW-1){
              $col=0;
              }else{
              $col++;
    // needed for the new products module shown below
        $new_products_category_id = $current_category_id;
    ?>
                  </tr>
                </table>
    <?php echo tep_draw3_bottom();?>
    <?php echo tep_draw_bottom();?>
    <?php echo tep_draw_top();?>
                                            <?php new contentBoxHeading_WHATS_NEW($info_box_contents, true, false);?>
    <?php echo tep_draw3_top();?>
                                            <?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS); ?>
    <?php echo tep_draw3_bottom();?>
    <?php echo tep_draw_bottom();?>
              </td>
    <!-- body_text_eof //-->
              <td class="<?php echo BOX_WIDTH_TD_RIGHT; ?>"><table border="0" class="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="0">
    <!-- right_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
    <!-- right_navigation_eof //-->
        </table></td>
      </tr>
    </table>
    <!-- body_eof //-->
    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //-->
    </body>
    <?php
      } elseif ($category_depth == 'products' || isset($HTTP_GET_VARS['manufacturers_id'])) {
    // create column list
        $define_list = array('PRODUCT_LIST_MODEL' => PRODUCT_LIST_MODEL,
                             'PRODUCT_LIST_NAME' => PRODUCT_LIST_NAME,
                             'PRODUCT_LIST_MANUFACTURER' => PRODUCT_LIST_MANUFACTURER,
                             'PRODUCT_LIST_PRICE' => PRODUCT_LIST_PRICE,
                             'PRODUCT_LIST_QUANTITY' => PRODUCT_LIST_QUANTITY,
                             'PRODUCT_LIST_WEIGHT' => PRODUCT_LIST_WEIGHT,
                             'PRODUCT_LIST_IMAGE' => PRODUCT_LIST_IMAGE,
                             'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW);
        asort($define_list);
        $column_list = array();
        reset($define_list);
        while (list($key, $value) = each($define_list)) {
          if ($value > 0) $column_list[] = $key;
        $select_column_list = '';
        for ($i=0, $n=sizeof($column_list); $i<$n; $i++) {
          switch ($column_list[$i]) {
            case 'PRODUCT_LIST_MODEL':
              $select_column_list .= 'p.products_model, ';
              break;
            case 'PRODUCT_LIST_NAME':
              $select_column_list .= 'pd.products_name, ';
              break;
            case 'PRODUCT_LIST_MANUFACTURER':
              $select_column_list .= 'm.manufacturers_name, ';
              break;
            case 'PRODUCT_LIST_QUANTITY':
              $select_column_list .= 'p.products_quantity, ';
              break;
            case 'PRODUCT_LIST_IMAGE':
              $select_column_list .= 'p.products_image, ';
              break;
            case 'PRODUCT_LIST_WEIGHT':
              $select_column_list .= 'p.products_weight, ';
              break;
    // show the products of a specified manufacturer
        if (isset($HTTP_GET_VARS['manufacturers_id'])) {
          if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) {
    // We are asked to show only a specific category
            $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "'";
          } else {
    // We show them all
            $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'";
        } else {
    // show the products in a given categorie
          if (isset($HTTP_GET_VARS['filter_id']) && tep_not_null($HTTP_GET_VARS['filter_id'])) {
    // We are asked to show only specific catgeory
            $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS . " p left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '" . (int)$HTTP_GET_VARS['filter_id'] . "' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";
          } else {
    // We show them all
            $listing_sql = "select " . $select_column_list . " p.products_id, p.manufacturers_id, p.products_price, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price from " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS . " p left join " . TABLE_MANUFACTURERS . " m on p.manufacturers_id = m.manufacturers_id left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '" . (int)$languages_id . "' and p2c.categories_id = '" . (int)$current_category_id . "'";
        if ( (!isset($HTTP_GET_VARS['sort'])) || (!ereg('^[1-8][ad]$', $HTTP_GET_VARS['sort'])) || (substr($HTTP_GET_VARS['sort'], 0, 1) > sizeof($column_list)) ) {
          for ($i=0, $n=sizeof($column_list); $i<$n; $i++) {
            if ($column_list[$i] == 'PRODUCT_LIST_NAME') {
              $HTTP_GET_VARS['sort'] = $i+1 . 'a';
              $listing_sql .= " order by pd.products_name";
              break;
        } else {
          $sort_col = substr($HTTP_GET_VARS['sort'], 0 , 1);
          $sort_order = substr($HTTP_GET_VARS['sort'], 1);
          switch ($column_list[$sort_col-1]) {
            case 'PRODUCT_LIST_MODEL':
              $listing_sql .= " order by p.products_model " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
              break;
            case 'PRODUCT_LIST_NAME':
              $listing_sql .= " order by pd.products_name " . ($sort_order == 'd' ? 'desc' : '');
              break;
            case 'PRODUCT_LIST_MANUFACTURER':
              $listing_sql .= " order by m.manufacturers_name " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
              break;
            case 'PRODUCT_LIST_QUANTITY':
              $listing_sql .= " order by p.products_quantity " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
              break;
            case 'PRODUCT_LIST_IMAGE':
              $listing_sql .= " order by pd.products_name";
              break;
            case 'PRODUCT_LIST_WEIGHT':
              $listing_sql .= " order by p.products_weight " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
              break;
            case 'PRODUCT_LIST_PRICE':
              $listing_sql .= " order by final_price " . ($sort_order == 'd' ? 'desc' : '') . ", pd.products_name";
              break;
    ?>
    <body>
    <!-- header //-->
    <?php $tab_sel = 2; ?>
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    <!-- header_eof //-->
    <!-- body //-->
    <table border="0" class="<?php echo MAIN_TABLE; ?>" cellspacing="0" cellpadding="0">
    <tr>
        <td class="<?php echo BOX_WIDTH_TD_LEFT; ?>"><table border="0" class="<?php echo BOX_WIDTH_LEFT; ?>" cellspacing="0" cellpadding="0">
    <!-- left_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?>
    <!-- left_navigation_eof //-->
        </table></td>
    <!-- body_text //-->
        <td class="<?php echo CONTENT_WIDTH_TD; ?>"><?php include(DIR_WS_BOXES . 'panel_top.php');?>
    <?php echo tep_draw_top();?>
    <?php
    // optional Product List Filter
              if (PRODUCT_LIST_FILTER > 0) {
          if (isset($HTTP_GET_VARS['manufacturers_id'])) {
            $filterlist_sql = "select distinct c.categories_id as id, cd.categories_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where p.products_status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p2c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and p.manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "' order by cd.categories_name";
          } else {
            $filterlist_sql= "select distinct m.manufacturers_id as id, m.manufacturers_name as name from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " . TABLE_MANUFACTURERS . " m where p.products_status = '1' and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '" . (int)$current_category_id . "' order by m.manufacturers_name";
          $filterlist_query = tep_db_query($filterlist_sql);
          if (tep_db_num_rows($filterlist_query) > 1) {
                          echo tep_draw_side_top();
            echo '
                        <table cellpadding="0" cellspacing="0" border="0" class="select2">
                                  <tr><td align="right" class="main">' . tep_draw_form('filter', FILENAME_DEFAULT, 'get') . '<b>'.TEXT_SHOW . '</b>  ';
            if (isset($HTTP_GET_VARS['manufacturers_id'])) {
              echo tep_draw_hidden_field('manufacturers_id', $HTTP_GET_VARS['manufacturers_id']);
              $options = array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES));
            } else {
              echo tep_draw_hidden_field('cPath', $cPath);
              $options = array(array('id' => '', 'text' => TEXT_ALL_MANUFACTURERS));
            echo tep_draw_hidden_field('sort', $HTTP_GET_VARS['sort']);
            while ($filterlist = tep_db_fetch_array($filterlist_query)) {
              $options[] = array('id' => $filterlist['id'], 'text' => $filterlist['name']);
            echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"');
            echo tep_hide_session_id() . '</form></td></tr>
                        </table>' . "\n";
                        echo tep_draw_side_bottom();
    // Get the right image for the top-right
        $image = DIR_WS_IMAGES . 'table_background_list.gif';
        if (isset($HTTP_GET_VARS['manufacturers_id'])) {
          $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'");
          $image = tep_db_fetch_array($image);
          $image = $image['manufacturers_image'];
        } elseif ($current_category_id) {
          $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'");
          $image = tep_db_fetch_array($image);
          $image = $image['categories_image'];
    ?>
                                            <?php include(DIR_WS_MODULES . FILENAME_PRODUCT_LISTING); ?>
    <?php echo tep_draw_bottom();?>
              </td>
    <!-- body_text_eof //-->
              <td class="<?php echo BOX_WIDTH_TD_RIGHT; ?>"><table border="0" class="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="0">
    <!-- right_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
    <!-- right_navigation_eof //-->
        </table></td>
      </tr>
    </table>
    <!-- body_eof //-->
    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //-->
    </body>
    <?php
      } else { // default page
    ?>
    <body>
    <!-- header //-->
    <?php $tab_sel = 222; ?>
    <?php require(DIR_WS_INCLUDES . 'header.php'); ?>
    <!-- header_eof //-->
    <!-- body //-->
    <table border="0" class="<?php echo MAIN_TABLE; ?>" cellspacing="0" cellpadding="0">
    <tr>
    <?php
              if           ($tab_sel == 222)          {
    ?>
       <td class="<?php echo BOX_WIDTH_TD_LEFT; ?>"><table border="0" class="<?php echo BOX_WIDTH_LEFT; ?>" cellspacing="0" cellpadding="0">
    <!-- right_navigation //-->
                                            <tr><td><?php require(DIR_WS_INCLUDES . 'column_left.php'); ?></td></tr>
    <!-- right_navigation_eof //-->
                            </table></td>
    <?php
    ?>
    <!-- body_text //-->
        <td class="<?php echo CONTENT_WIDTH_TD; ?>"><?php include(DIR_WS_BOXES . 'panel_top.php');?>
    <?php echo tep_draw_top();?>
    <!-- Welcome_box_start -->
    <?php /*  tep_draw_heading_top();  */?>
    <?php /*  tep_draw_heading_top_3();  */?>
    <?php   /*  echo tep_draw_prod_top();  */  ?>
         <!--   <table border="0" width="100%" cellspacing="0" cellpadding="0">
              <tr><td class="main"><?php /*  echo tep_customer_greeting();  */    ?></td></tr>
              <tr><td><?php    /*  echo tep_draw_separator('pixel_trans.gif', '100%', '10');  */   ?></td></tr>
              <tr><td class="main"><?php    /*   echo TEXT_MAIN;  */    ?></td></tr>
            </table>  -->
    <?php   /*  echo tep_draw_prod_bottom();  */   ?>
    <?php /*  tep_draw_heading_bottom_3();  */?>
    <?php  /*   echo tep_draw_separate();    */   ?>
    <!-- Welcome_box_end -->
                                            <?php  new contentBoxHeading_ProdNew($info_box_contents);?>
    <?php  echo tep_draw3_top();
              $sum2 = 4;
    ?>
                                            <?php include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);?>
    <?php  echo tep_draw3_bottom();?>
                                            <?php include(DIR_WS_MODULES . FILENAME_UPCOMING_PRODUCTS); ?>
    <?php echo tep_draw_bottom();?>
              </td>
    <!-- body_text_eof //-->
              <td class="<?php echo BOX_WIDTH_TD_RIGHT; ?>"><table border="0" class="<?php echo BOX_WIDTH_RIGHT; ?>" cellspacing="0" cellpadding="0">
    <!-- right_navigation //-->
    <?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
    <!-- right_navigation_eof //-->
        </table></td>
      </tr>
    </table>
    <!-- body_eof //-->
    <!-- footer //-->
    <?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
    <!-- footer_eof //-->
    <?php
    ?>
    </body>
    <?php require(DIR_WS_INCLUDES . 'footer_includes.php'); ?>
    </html>
    <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

    Obviousy this is not as plain saliling as I thought. Being as though its OScommerce you probably have to jump through hiops to get to what you need.
    Try:
    includes/configure.php
    or
    admin/includes/configure.php

  • "Error reading credit master data"  in contract management in CRM 7.0

    Hi All,
    In CRM 2007,whenever we navigate to contract management screen,error message come which is "Error reading credit master data "
    Any suggestion on how to solve this issue.
    Regrads
    Nikhil

    Hi All,
    This is resolved.
    Just set the  entry in the table CRMV_CREDIT_GEN to 'Do not Display credit master data '
    Regards

  • Item category change in contract load of CRM

    Hi Guys,
              i am loading contracts into CRM-intellectual property Management. i have to create 2 to 3 line items for same product in one contract with higher level items. generally item category is determined and can be changed via GUI. my requirement is i want to change item category through FM CRM_ORDER_MAINTAIN by the time it creates contract but item category is not changing, showing what ever was determined.
    i am passing item_type in ORDERADM_I and passing item_type field name for input fields but it is not helping me. Please let me know if any body has any clue..
    Thanks for your help
    Siva

    Do you want to change the item category just before order (contract) save? Or after the save? Try looking at crm_orderadm_i_badi.
    Another idea ... try manually changing the item category in CRM Online, BUT .. do a /h and place a breakpoint at ABAP statement "call function CRM_ORDER_MAINTAIN". This way you can see the input parameters for CRM_ORDER_MAINTAIN when CRM itself is changing the item category, the correct way. Then from these input parameters you can get the hint of what parameters must be passed to CRM_ORDER_MAINTAIN to change the item category by a direct call. I hope that made sense....
    Hope it helps,
    Rahul
    PS. Please mark all helpful answers, and please mark the question as "ANSWERED" if the responses are satisfactory. This helps to keep the forum clean!

  • R/3 contract display in CRM

    Hi all,
    We found that ERP transfer the R/3 contract to CRM , we found it in the interaction history of the account.
    But we don't know if there is a R/3 contract query function available in CRM UI, what we want is we need to use the R/3 contract number or description to query the corresponding account.
    Is that possible? Anybody has experience on that?
    Thanks.

    PR00 is a R/3 condition so it can't be maintained in CRM.
    In essence you can only maintain a condition type in one system, R/3 or CRM.
    Base price in CRM is the 0PR0 condition (for CRM pricing procedures). You can view PR00 in CRM, it is uploaded from R/3, and it is used in sales transactions, but you can't change the condition record (in CRM).
    PS: Well, there is an option in R/3 that allows you to shift maintainance responsability for some of the tables to CRM (for example PR00 in SAP604 is maintained in R/3 while SAP605 is maintained in CRM), but I won't advise it.
    Path in R/3 SPRO -> Integration with other mySAP components -> CRM -> Basic Functions -> Data Exchange Conditons.
    Don't forget to upload condition customizing to CRM after you make these changes.

  • Why SAP keEp editable Contract FIELD /ITEM in the workarea sourcing cockpit

    Hi All
    Why SAP kept editable (easy to enter) a contract in the work area of the sourcing cockpit.
    since buyer may enter irrelavant contract w.r.t shopping cart right.
    Any specific reason?
    Unfortuntaely buyers enter any contract which is not relavant to contract details to create a PO...
    PO also successfully created w.r.t contract and PO release values are updated in contract too.
    Hope that for specific reason SAP kept the same as easy enter. why?
    buyers can use  propose source of supply right? why SAP made it editable entry here .Why design kept CONTRACT entry become manual. here . it really confuses me .
    Thanks
    Muthu

    Thanks SAP 1290196  :-No Validation of Material Group in Contract item in Sourcing
    muthu

  • Standard BAPI for editing Contract in R/3

    I am new to SAP.I want to implement a BAPI to edit the contract details.Is there any Standard BAPI for doing this????
    Regards
    Achin

    Hi
    Refer
    BAPI_CONTRACT_CHANGE
    Regards
    N Ganesh
    assign points if useful***

  • Integration of SAP IS-U Two Contract Model with CRM 7.0 Contract Mgmt

    Hi,
    We have 2-Contract model for all customers in SAP IS-U for distribution and supply services. We are also planning to implement CRM 7.0 Contract management and integrate with SAP IS-U. There is a talk in the air that CRM 7.0 Contract Management does not work with 2-Contract model in IS-U because of some POD replication issues in CRM and heard that some clients are currently facing this issue. 
    Our client is operating in Deregulated environment and we were planning to use Two contract model to separate the services.
    Has anyone faced this issue in your projects or Is SAP working on this issue?
    Please let me know if there are any workarounds where we can still use 2-contract model and integrate with CRM 7.0? Any help or inputs that can you can provide will be very helpful to us.
    Thanks in advance.
    Sachin

    DearSachin,
    As per Design it's only possible to have one contract at the same time per PoD.
    If you in a deregulation market it's recommended you to use the IDE integration in CRM.
    Unfortunatly your desired business scenario can be achieved on project base only. There are several ideas how to provide the data and the information. One would be to download only the most used contract category into the CRM system (eiher grid usage or supply) and have the other contract only in IS-U (no replication). With a customer enhancement it would be possible do retrieve the whole supply sceanario within the IC webclient.
    Another idea would be to attach a new customer based field to the contract which indicates if the contract is a grid usage or supply contract and have the check for double contracts respect that data - this solution is quite tricky and should be considered only by very experienced consultants.
    Or use 1 installation with 1 contract for simple supply scenario. The schema contains a rate for both, distribution and default supply. The default supply can be switched with an installation fact. In CRM, there is 1 contract with 1 product. If a customer switches to a 3rd party supplier, an inbound message from the supplier creates a second installation with a supply contract and switches off the default supply rate. This installation/contract is not visible in CRM, it is not replicated to CRM.
    As you can see, there are some ideas how to solve your needs on project base, but unfortunatly SAP generally will not change the main architecture which allows several contracts per PoD.
    I hope this information is helpful for you.
    Regards
    Olivia

  • E-Commerce CRM 5.0

    Hi,
    We are setting up CRM 5.0 B2B E-Commerce application. I am looking for configuration documents for setting up web middleware like RFC Connection between CRM - TREX-J2EE Server and XCM Configurations .
    Thanks & regards,
    Surya

    Hi Surya,
    Here is the link for CRM best practices. You will get everything here.
    http://help.sap.com/bp_crmv150/CRM_DE/index.htm
    Click on technical Information --> Building Block  Library
    Reward me, if the link helps,
    Regards,
    Paul Kondaveeti

  • Error Log in E-Commerce CRM B2B with SU01 user

    Hi guys,
    I´m configured ISAUser Admin with value "CRM_SU01UserID" for component usertype in http: //server:port/isauseradm/admin/xcm/init.do.
    Also I´m configured my scenario B2B with value "CRM_SU01UserID" in component usertype.
    In rute Customer Relationship Management &#61664; E-Commerce &#61664; Basic Settings for E-Commerce &#61664; Internet User &#61664;Internet User Settings &#61664; Set B2B Internet User, I´m configured Only use Internet User (SU01), howewer when I access my shop in  http://server:port/b2b/b2b/init.do, system display error bold " Logon is invalid; check your entries "bold
    The user SU01 has assigned to a business partner in CRM.
    Do you have any idea about this error?
    Regards,
    Lyda

    Cree a new role "Internet User" for my contact person. This internet user are associated with my USER ID. Now, i access with mi userID and my pass changed (my new pass for Internet user"

  • Campaign ID linking Contract Number in CRM

    Hi Experts,
    I would like to know, how Market Project Identification number/Campaign Number is linked to Lean Contract Number in transaction code CRMD_ORDER.
    Regards,
    Pulokesh

    Do you have ERP documents in CRM ? I mean does ERP documents are getting replicated in CRM? or you want transaction no from ERP only ? Which version are you working on?
    Thanks,
    Nitin

Maybe you are looking for

  • Icloud notes on my windows 7 PC deletes new notes and all my typing is lost

    Hi All, I have spent 2 hours typing a long document into icloud notes on my Windows 7 PC.  I could see the time updating on the left hand side in the notes list for my current note.  I also saw the note appear on my iPhone 5, but I did not open or ed

  • Best practice for update/insert on existing/non existing rows

    Hello, In an application I want to check if a row exists and if yes I want to update the row and if not I want to insert the row. Currently I have something like this: begin select * into v_ps_abcana from ps_abcana where typ = p_typ and bsw_nr = p_bs

  • How to restore icons

    How to restore icons purchased ones and the ones that came with ipad

  • Management Console "Provide Credentials" can't authenticate.

    At this screen during install, it asks for User name: Password: Context: I put CN=admin,o=(his context), and this then fades the Context box, and then I enter I know to be the password in, but get "The authentication attempt failed: Confidentiality i

  • Customizing an Authenticator MBean

    All, I'm working on creating a custom SSPI for our specific security system. I have it setup and working, but there are some problems with the MBean used to plug it into Weblogic. 1) I created an MDF file with three Attributes (ProviderClassName, Des