cancel
Showing results for 
Search instead for 
Did you mean: 

IPC pricing gross value for products in catalog

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Is is the right forum to place this question?

Former Member
0 Kudos

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