Skip to Content
author's profile photo Former Member
Former Member

Item Net Price issue in B2B web shop

Hi,

We have a requirement to display item net price with out freight in B2B web shop. In all order processing pages like order.jsp, order_change.jsp and confirm.jsp the net price is included with freight. There are two sections in item price display in all these pages, the first line shows the net value of the item which is correct (it is not included with freight), below that item net price is displayed per base uom but it is included with freight. We have to show this net price with out freight per base uom . The value is displayed from the below code in confirm.jsp

<%=

JspUtil.removeNull(item.getNetPrice()) + " " + JspUtil.removeNull(item.getCurrency()) + " " + '/' + " " + JspUtil.removeNull(item.getNetQuantPriceUnit()) + ' ' + JspUtil.removeNull(item.getNetPriceUnit())

%>

I treid with different methods like

item.getNetValueWOFreight() OR item.getFreightValue() but getting cannot resolve sumbol exception for these methods.



Can any one please suggest on how to get item netprice without freight?



Thanks,

Rajinikanth G

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 06, 2012 at 10:58 AM

    Hi,

    In ItemBase class there is a method getNetValueWOFreight() .

    For example you can use that like below

    basket.getItems().get(i).getNetValueWOFreight()

    Thanks and Regards

    Shanto Aloor

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks Shanto Aloor.

      Actually what i need is - Item price with out freight. If we add any frieght at the header, the freight is getting distributed among all the items and the item net price is getting displayed with Freight.

      I am not sure why the freight is included in net price even though they are calling method item.getNetPrice() to display item net price. It may be a bug in SAP.

      Can you please suggest on where this method is getting filled with actual values or any other idea to get the actual iem net price without freight.

      Thanks,

      Rajinikanth G

  • author's profile photo Former Member
    Former Member
    Posted on Jul 09, 2012 at 12:32 PM

    Hi Rajnikanth,

    Please try below code and please let me know if you face any problem.

    Below line is already imported in your page

    <%@ page import="com.sap.isa.isacore.uiclass.b2b.order.BasketUI" %>

    Then try below.

    BasketUI ui = new BasketUI(pageContext);

    ui.header.getNetValueWOFreight();

    Thanks & Regards,

    Hamendra

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.