IPC pricing gross value for products in catalog

Hello all,
In ISA b2b application I need to add a new column with gross value for products in catalog. Here is how I've tryed :
</i>
<!-- CBI Added gross price -->
               <td align="right" >
                    <%IPCItem priceRef2;
                     try {
                      priceRef2 = (IPCItem) item.getItemPrice().getPriceInfo()
                                   .getPricingItemReference();
                      if (priceRef2 != null) {
                           DimensionalValue grossValue = priceRef2
                                             .getGrossValue();
                                   %>
                                   <%=grossValue.getValueAsString() + " "
                                             + grossValue.getUnit()%>
                    <% } else {
                         %><isa:translate key="z_catalog.isa.nogrossvalue"/> <% }
                     } catch (Exception e) {
                     %><isa:translate key="z_catalog.isa.ipcexception"/>
                     <%} %>
               </td>
               <!-- CBI Added gross price -->
</i>
The problem is that the gross value is the same with the net value.
I've try also using <i>item.getItemPrice().getPriceInfo().getAllPriceInfos()</i>
where item is WebCatItem, and retrive an array of PriceInfo (s) with only one PriceInfo object which has the type <b>netValue</b>.
Then in the backendobject-config.xml I've modify the priceTypes attribute value for BO "CatPriceCalc", but without any succes. Here is the snippet:
<i><businessObject type="PriceCalc" name="CatPriceCalc" className="com.sapmarkets.isa.backend.crm.webcatalog.pricing.PriceCalculatorCRMIPC" connectionFactoryName="JCO" defaultConnectionName="ISAStateless">
                    <params>
                         <!-- CBI gross value -->
                         <b><param name="priceTypes" value="totalNetValue totalGrossValue"/></b>
                         <!-- for allowed values see defined constants in com.sapmarkets.isa.backend.boi.webcatalog.pricing.PriceType -->
                         <param name="doItemCalls" value="true"/>
                         <!-- set this to true if you want to have additional call of CRM_ISA_PRICING_ITMDATA_GET when doing item pricing -->
                    </params></i>
Do you know how to solve this problem? Or why is not working.
Any help (soultion, docs, links) is very wellcome and rewarded.
Thank you
Bogdan

Hi Bodgan,
   It seems that some values like tax, discount are not being calculated by IPC as required parameters are not sufficient enough to differentiate between the two. You can run catalog pricing analysis and see what are the gross and net pricing value. You can update the extra parameters to IPC by extending the class you mentioned and modify backend config xml file to use that class for ISA.
Regards.
Vivek

Similar Messages

  • SRM 4.0- How to set the default values for product type (01) only for SC

    The radio button “Service” should not be visible.
    Also for search help (e.g. search for internal products) where a search should only be possible for product type 01 (goods). The system should not display the product type and internally always search for goods only.
    How to set the default values for product type (01) only for SC
    We needs to use Search help BBPH_PRODUCT which having parameter PRODUCT_TYPE
    Here we can set defalut value 01 but it is not correct one since same search help is using several places.
    We need to limit the search help results only for SC.
    Kindly help out me ASAP.

    The easiest way to set defautl values is to edit the batch class.
    Goto the characteiristic and go to update values.
    In here you probably have something like 0 - 100 as a spec range.
    On the next line enter the default value within this range.  At the end of the line, click in the box in the column labelled "D".  This indicates the defautl value for the characteristic.
    If you need to you can do this in the material classification view as well.
    Just to be clear, these values will only show up in the batch record.  You can not have defautl values in resutls recording screens.
    FF

  • PO Line Item wise gross value for combination of WBS and Material Group

    Hello,
    Our requirement is to get report for PO Line Item wise gross value for combination of WBS and Material Group. Standard report ME2J gives net price but not gross value for Material Line items. Please let me know if any standard report( or ME2J) will suffice this requirement.
    Regards,
    Milind Dumbre

    Dear Milind
    No standard report available to get the PO Line Item wise gross value for combination of WBS and Material Group. Please go for development by taking reference ME2J.
    Warm regards
    Ramakrishna

  • Set default value for product type

    I want to set default value in product type drop  down box
    in component PRD01QR.
    view  SearchHelp.
    I tried with setter and getter , but not working
    they are using query string.

    Hi,
    You can achieve this by redefining the method GET_VH_PRODUCT_TYPE() in IMPL class of searchHelp view. Just copy paste the implementation of this method from super class and now control the internal table as per your requirement like
    comment out the line       APPEND INITIAL LINE TO lt_ddlb. (line no: 47)
    as it will add an empty line at the starting of internal of product type values which you dont want. In you case there should be some default value for product type field, so arrange the inetrnal table values according to you requirement and what ever value you want to default for product type that should be the first value in the drop down without empty line and add an empty line at the end of the internal table.
    No need to call super->GET_VH_PRODUCT_TYPE() in your implementation as you have written all the required code in your implemenation itself.
    Hope this would help you!
    Regards,
    Ajay

  • How do you assign a value for Products in a Pop-up menu?

    I am preparing production cost spread sheet. In one column I2 - I have a pop up menu with lamination types to be selected - ie: None, Standard Film, Vehicle Film, Liquid Coating. I want to be able to associate values of these costs in column J2 - On another table (Laminating Costs) I have set values for each product ie: None = 0, Standard Film = $1, Vehicle Film =$2 and Liquid Coating =$0.5 -
    Therefore if I select Liquid Coating from the from the Pop-up menu in I2 on the main spread sheet - I want to see the associated cost of $0.5 appear in J2 by referencing the Laminating Costs table - I have tried various SUMIF formulas with no luck - Could someone point me in the right direction please.
    Thanks

    You can assign values to the items using a lookup table.
    http://discussions.apple.com/thread.jspa?threadID=2539456&tstart=0

  • Configuring drop down value for product type.

    Hi All,
    By default we get two values as the product type while creating a shopping cart.
    These values appear in drop down as 'Material' & 'Service'.
    My requirement is only to keep 'Material' in the drop down.
    Please show me some way to do that.
    Thanks & Regards
    Archana

    Hi,
    Instead of chnaging the dropdown values for the field "product type",you can simply implement the BADI "BBP_DOC_CHECK_BADI" to restrict users from creating  a service Shopping cart.In the BADi,check the field product type value.If "02"(Service),display error message.
    BR,
    Deepti.

  • Truncated (shortened) descriptions for products and catalogs

    Is there any sort of tag attributes for the product and catalog descriptions that shorten them like the ones for I believe it is blogs (or maybe web app items)?
    For whichever it is, I believe the tag is something like {tag_description, 100} for it to spit out 100 characters of the description.

    This was doing my head in. I do not understand why {tag_description} won't allow character length for products. I used javascript to alter the text and thought I'd post my solution in case others are stuck and maybe to prompt people to improve on it. I have just barely started to learn js so this is most likely not the best way to do this. It relies on the product description being in <p> tags and takes only the first paragraph of the description but could be modified to just alter the string length.
    In the small product layout I placed the full description in a div with display:none; and id="{tag_name_nolink}" so that each product has a unique id.
    Then I placed the below code where I want the short description to appear.
    <script>
    var desc = document.getElementById("{tag_name_nolink}");
    var shortdesc = desc.getElementsByTagName("P")[0].innerHTML;
    document.write(shortdesc);
    </script>

  • Downloading Pricing condition records for products from ECC to CRM

    Hi All,
         I have a requirement where i  need to download condition records for products from ECC to CRM. The Inputs available for me are Product Id or the material number and the Sales org data.Kindly let me know the step by step procedure that i should follow to download the condition records for the products.
    Note: 1. The Products are already in the CRM system.
              2. I have downloaded the adapter object "DNL_CUST_CNDALL" already.
    Thanks & Regards,
    Shwetha.

    First of check and ensure that if the records are already downloaded. To do so,
    1) Log to ECC system and go to tcode V/06
    2) From here select the condition type you are looking at. Dbl click on the condition type and note down the access seq.
    3) Go to V/07. seelect the access seq you obtained in previous step and dbl click on "Accesses". Here you will come to know the condition table numbers. Note down the table numbers. (example: 002, 567)
    Understand at this juncture that tables from 1-500 are SAP Standard tables and 501 - 999 are customer specific tables.
    1) Log to CRM system and go to se16
    2) Type CNCCRMPR002 or CNCCRMPR567 and Choose F4 from keyboard.
    3) you should find an entry which looks like CNCCRMPRSAP002 or CNCCRMPRCUS567.
    4) query the table with input parameters like Product or Sales Org. YOu should find the records.
    If you fail in step 3, it means that the table itself has not come to CRM. For this do DNL_CUST_CNDALL with OPEN client (go to SCC4 and there Dbl clik on your client. There "NO CHANGES ALLOWED" should not have been selected. If it is so, consult your basis team and explain that DNL_CUST_CNDALL should be done on open client.(Repeat this even if you have already done that)
    If you fail in step4, try downloading DNL_COND_A*** adapter Objects. *** stands for the ECC condition table captured from ECC (step3)
    If you still are unable to find the record in the database table level, Check for the log in SLG1 tcode in CRM system. This gives you an idea of what's wrong.
    Note: Even if you maintain conditions via Product master, ultimateley it gets stored in A* tables in ECC and CNCCRMPR* tables in CRM. So the above procedure holds good for whatever the case might be.
    Hope this helps
    Regds,
    Raghu

  • Production cost for product preference dermination

    Hi Gurus,
    I have a question about preference determination for a finished product. As you can see from below screen shot, there is a value for production costs, which is used to calculate RVC.  Could you shed lights where this production costs value is from?
    Thanks,
    Ryan

    Hi Dave,
    Thanks for your reply.
    Actually I checked related tables mentioned by you. However, the logic does not explain well in my case. Value from table /SAPSLL/PRVAL for value type PROD_PRICE is not equal to productions costs showed during performing material preference determination.
    One more thing, I got an odd case which has production costs as minus value( -3095.21 CAD). while doing preference determination.  Any idea why prodduction costs is minus?  (see attached screen shot)
    Regards,
    Ryan

  • Custom Set Types for Products

    Hello,
    We have added some Z set types for our CRM Products and have created two Z tables for this. But even though we update these tables, we are not able to get the values for product on the screen.
    Can someone tell me what all tables should be updated when we have cutsom Set Types in use?
    Rgds
    Priyanka

    Hi Priyanka,
    I Guess you want the Values in the Ztable as F4 help values for the Z attributes in Z set types of the product.
    To do the same plz follow the steps mentioned below:
    1) Identify the field(Attribute in Set type) for which you want the F4 help.
    2) Go to SE11. Select Data Type and enter the name of the Attribute value.
    3) Press Change
    4) Doble click on the Domain to go to the domain element associated to it.
    5) In domain element screen, go to Value Range Tab.
    6) In Value Range Tab, you have a Value Table field, Enter the ZTable from which you want the value to be populated in F4.
    7) Save and Activate the Domain element.
    Test the scenario.
    Best Regards,
    Pratik Patel
    <b>Reward with Points!</b>

  • IPC Pricing routine for Product Family Margin in Quotation is not working

    Hi,
    I am working on the IPC Pricing Routine to calculate Item's Product Family Margin in the Quotation. 
    Process followed:
    Step 1:  Created a Group condition ZPFM for Product Family Margin and assigned to the pricing procedure. 
    Step 2:  Created a Value Routine to determine ZPFM's Condition Rate and Condition Value.
    Logic: 
              1.  Collect (Sum Of)  the Cost (ZSVC) and the Subtotal 3 of the items which are in same Material Group.
               2.  Assign the ZPFM Condition Value = Sum of Subtotal 3 - Cost.
    Issue:  The condition value for ZPFM is calculating correct for all line items except the last item.  I am getting some junk value always to the last item. If I delete the last time, again next last item is giving wrong value.  The calculation value in the routine debugging log (SM53) is showing correct value.  However, assigning the wrong value.  No other routines have been assigned to this condition type in the pricing procedure. 
    Routine Code:
    package stanley.pricing.userexits.val;
    import java.math.BigDecimal;
    import com.sap.spe.pricing.customizing.PricingCustomizingConstants;
    import com.sap.spe.pricing.transactiondata.PricingTransactiondataConstants;
    import com.sap.spe.pricing.transactiondata.userexit.IPricingConditionUserExit;
    import com.sap.spe.pricing.transactiondata.userexit.IPricingItemUserExit;
    import com.sap.spe.base.logging.UserexitLogger;
    import com.sap.spe.pricing.transactiondata.userexit.ValueFormulaAdapter;
    //import com.sap.spe.pricing.transactiondata.userexit.IPricingCondition;
    public class Z_CondValueRoutine730 extends  ValueFormulaAdapter{
       private static UserexitLogger uelogger =
              new UserexitLogger(Z_CondValueRoutine730.class);
      public BigDecimal overwriteConditionValue(IPricingItemUserExit pricingItem,
             IPricingConditionUserExit pricingCondition) {
      // Variable Declarations.
      BigDecimal conditionValueZCVC=PricingTransactiondataConstants.ZERO;
      BigDecimal conditionValueZCVCAccrual=PricingTransactiondataConstants.ZERO;
      BigDecimal subTotal3=PricingTransactiondataConstants.ZERO;
      BigDecimal subTotal3Accrual=PricingTransactiondataConstants.ZERO;
      if(pricingCondition.getConditionTypeName().equalsIgnoreCase("ZPFM")){
                IPricingItemUserExit[] prItems;
                prItems = pricingItem.getUserExitDocument().getUserExitItems();
                String materialGroup = pricingItem.getAttributeValue("MATL_GRP");
                uelogger.writeLogDebug("  Material Group  :"+materialGroup);
                for (int i=0;i<prItems.length;i++){
                     String materialGroup1 = prItems[i].getAttributeValue("MATL_GRP");
                     if (materialGroup1.equalsIgnoreCase(materialGroup)){
                          subTotal3 = prItems[i].getSubtotal(PricingCustomizingConstants.ConditionSubtotal.SUBTOTAL_3).getValue();
                          subTotal3Accrual = subTotal3Accrual.add(subTotal3);
                          IPricingConditionUserExit[] conditionsForCumulation = prItems[i].getUserExitConditions();
                          for (int j = 0; j < conditionsForCumulation.length; j++) {
                               if(conditionsForCumulation[j].getConditionTypeName()==null) {
                                   continue;
                               else if ( conditionsForCumulation[j].getConditionTypeName().equalsIgnoreCase("ZCVC")){
                                    conditionValueZCVC = conditionsForCumulation[j].getConditionValue().getValue();
                                    conditionValueZCVCAccrual = conditionValueZCVCAccrual.add(conditionValueZCVC);
                BigDecimal conditionValueZPFM=PricingTransactiondataConstants.ZERO;
                conditionValueZPFM = subTotal3Accrual.subtract(conditionValueZCVCAccrual);
               BigDecimal conditionRateZPFM=PricingTransactiondataConstants.ZERO;
               conditionRateZPFM = conditionValueZPFM.multiply(new BigDecimal ("100"));
              conditionRateZPFM = conditionRateZPFM.divide(subTotal3Accrual,7,BigDecimal.ROUND_FLOOR);
             uelogger.writeLogDebug(subTotal3Accrual+"-"+conditionValueZCVCAccrual+" = "+conditionValueZPFM);
             uelogger.writeLogDebug("Condition Rate  :"+conditionRateZPFM);
           pricingCondition.setConditionRateValue(conditionRateZPFM.setScale(2,BigDecimal.ROUND_HALF_UP));
           pricingCondition.setConditionValue(conditionValueZPFM.setScale(2,BigDecimal.ROUND_HALF_UP));
              return null;
           return null;

    Hi,
    I think you should change xkwert variable instead of komv-kwert.
    Standard routines does the same.
    Aslo check in SPRO settings that routine is attached and
    getting triggered by putting break-point.
    Regards,
    Vishal

  • ERP ECO IPC Display Multiple Prices in Product Catalog

    Hi,
    We are using ERP ECO 5.0 with IPC Pricing. Currently we have the 'netValue' configured for priceTypes, which is displayed correctly on the product catalog.
    We have a new requirement, where we need to display three different price conditions from the pricing procedures on the product catalog for each material. This includes PR00, YR00 (custom condition type) & subtotal 3.
    Is it possible to retrieve the above condition types and display on the product catalog? How should we go about doing this? Any pointers on this will be appreciated.
    Thanks,

    you have to write the IPC userexits.
    regards,
    Rajiv Mangam

  • Business partner maintenance for Product catalog view - Problem

    Hi All,
    I am using the FM 'CRM_PRP_MAINTAIN' to create Business partner assignment for product catalog view.
    Can anyone help me with this FM?
    I am passing the following:
            gs_prp_bupa_i-ref_kind = 'B'.
            gs_prp_bupa_i-processing_mode = 'A'.
            gs_prp_bupa_i-bupa_ref_guid = gv_partner_guid.
            gs_prp_bupa_i-partner_id = gv_partner.
            APPEND gs_prp_bupa_i TO gt_prp_bupa_i.
            ls_input_fields-ref_kind = 'D'.
            ls_input_fields-objectname = 'PRP_BUPA_I'.
            ls_input-fieldname = 'BUPA_REF_GUID'.
            APPEND ls_input TO ls_input_fields-field_names.
            ls_input-fieldname = 'PARTNER_ID'.
            APPEND ls_input TO ls_input_fields-field_names.
            ls_input-fieldname = 'PROCESSING_MODE'.
            APPEND ls_input TO ls_input_fields-field_names.
            ls_input-fieldname = 'TYPE'.
            APPEND ls_input TO ls_input_fields-field_names.
            APPEND ls_input_fields TO lt_input_fields.
            CALL FUNCTION 'CRM_PRP_MAINTAIN'
              EXPORTING
                it_prp_bupa_i                   = gt_prp_bupa_i
              CHANGING
                ct_prpadm_h                     = lt_prpadm_h
                ct_prpadm_i                      = lt_prpadm_i
                ct_input_fields                   = lt_input_fields
                cv_log_handle                   = lv_log_handle
             EXCEPTIONS
               error_occurred                  = 1
               prp_locked                      = 2
               no_authority                    = 3
               status_change_not_allowed       = 4
               prp_id_already_exists           = 5
               invalid_prp_id                  = 6
               OTHERS                          = 7 .
    But i don see the partner assignment working.
    My doubt here is wat GUID shud b passed in the field gs_prp_bupa_i-GUID. As of now i m not passing any value here.
    Please help me.
    IF not this FM wat else can i use?

    Hi Ganesh,
    Thanks for your response.
    i hope you understood my question.i have already performed all the steps which you have mentioned.Understand my query first.
    I could solve that query myself.
    Message was edited by: mdv sapcrm

  • CRM ISA 5.0-Sending field value from-Product master Product Catalog Trex

    Dear Friends,
    I have Enhanced a Column field  in Product Master > Accessory tab Page
    I want to send the above Column  Values  to Index / Trex Server , Then java will take from trex server and display in  web as per their requirement.
    Can you suggest how to do that ?
    I found 2 below Badi : Can you please how to implement this or this BADI is not suggest able.
    CF_PCAT_PRDEXTSN_VAL     Additional Attributes in Product Catalog - Read Values
    PCAT_IMS_FEED_VAL     Customer-Specific Value Enhancement for IMS Data Supply
    BADI For Product Catalog Changes: PRODUCT_UPDATE, PRODUCT_UPDATE_IMS, PRODUCT_UPDATE_CVIEWS
    Please reply as soon as possible
    Thanks
    Upen

    Hello,
    you better ask this question in the SAP CRM: Webclient UI - Framework. Also I would suggest opening a OSS Message.
    Regards
    Gregor

  • Attributes and attribute values for a Product

    Hi all
    Is there any table or FM from where I can get a list of all the attributes and the attribute values linked to a particular product?
    I got tables which link product with Prod Category, Prod Category with Set types and so on.
    Could anyoe please provide me an FM which will give the attribute and its values for a particular product?
    Please help!!
    Regards
    Debolina

    Attributes created under s settype will be under the table with the name of that particular settype itself i.e Table name and the settype name are the same.
    The other part of your question of where to find the list of all settypes and their corresposing attributes, you can make use of COMM_PR_FRG_REL.
    Regards,
    Harshit

Maybe you are looking for

  • I-tunes says 'The ipod "*****"  is synced with another i-tunes library

    I just downloaded itunes 7.3.1.3. I plugged in my ipod nano (software 1.3.1) and first of all, my library had vanished (I managed to get that back) but now when I click on my ipod in itunes I get the above message (subject line), and the next bit of

  • Java vs. C/C++ binary size comparison

    I am looking for a paper or study that gives a comparison of the byte-code size of various Java and C++ programs. Specifically, I am trying to compare native code implementations for different machine arcithectures vs. doing the same thing in a Java

  • Pacman -- hard drive prob

    When I use pacman to search or upgrade packages, my laptop's hard drive makes a strange noise (a squeal). The noise is completely different from normal operation (ie: using slocate, loading programs). It doesn't sound healthy. Is it a problem with th

  • BDC to upload DATA

    Hi,      This is my BDC Program to upload batch data into infotype 0006 ans subtype 0001 plz check the code and correct i am getting one error when i compile the error is: Description                            ROW         Type Program ZBDCPA30      

  • Data Migration questions

    Hi, I'm in the process of migrating my SQL Server 7 database to Oracle 10g R2 using SQL Developer (Version 1.5.1). When migrating the data, the process terminated half way through due to network problem. Is it safe to re-do the data migration from th