Gross Value
HI
I have ISA B2B (with IPC) and a requirement is to show gross value in the catalog overview
How can we do this?
Thanks
Lidisaid
Tags:
Easwar Ram replied
Hello Lidisaid,
To get price details in the Catalog and show the pricing condition you want (such as PR00 or any other), you may have to turn on "Price Analysis" feature.
If you are not faint hearted, you can leverage the IPCItem, WebCatItem, PriceCalculator.See this sample code.
#import com.sapmarkets.isa.catalog.webcatalog.WebCatItem; #import com.sapmarkets.isa.backend.boi.webcatalog.pricing.Prices; CatalogBusinessObjectManager bom = (CatalogBusinessObjectManager)userData.getBOM("CATALOG-BOM"); PriceCalculator priceCalc = bom.getPriceCalculator(); priceCalc.getInitData(); WebCatItem item = (WebCatItem)request.getAttribute("webCatItem"); Prices priceList[] = priceCalc.getPrices(item);
Caution: The code is not complete - I have given only hints to speedup your thought process.
For more details, see the ProductsISA.jsp
Easwar Ram
http://www.parxlns.com