Skip to Content
0
Former Member
Mar 18, 2009 at 09:03 AM

Regarding Catalog Price Issue

42 Views

Hi All , We had a problem in Catalog Price Issue. which as below

Problem:When certain articles(These articles have a "Scaled Price" which is based on the Quantity Price) are taken from the Internal Logistics Catalog with quantity less than Price Quantity( < 1000 in this case), then Net price and Gross price are not reflecting scaled value but its displaying 0(zero).

For any ariticle when we take more than or equal to Price Quantity, then in the Item level it will display Gross Price and Net price for price quantity, but it will take exact value in the Total Value field.

Even Gross price and net price will only display if the Quantity is more than or equal to the price Quantity.

IF is_com-quantity >= is_com-price_unit.

es_com-gross_price = is_item_ret-brtwr * is_com-price_unit

/ is_com-quantity.

if the condition fails ie quantity is less than price unit then they are assianing the field import_price.which is taken from below stucture

( BBP_PDS_PRC_ICOM- IMPORT_PRICE(Condition Rate)).

ELSE. "is_com- * If quantity is smaller than price unit, we should avoid computing the price

out of the value because of rounding problems

IF is_com-currency = is_item_ret-currency.

es_com-gross_price = is_com-import_price.

ELSE.

es_com-gross_price = is_item_ret-brtwr.

ENDIF.

but in our case this field is always 0(Zero) which is getting populated in the Gross and Net price fields.

But in the Total value field the Price is calculated perfectly for number of quantity.

They are getting the calculated value from the following FM(which is the RFC enabled Java module).

break_rfc.

  • if lt_item_no is initial RFC returns info for all items!

CALL FUNCTION 'SPC_GET_PRICING_DOCUMENT_INFO' DESTINATION gv_vmc

EXPORTING

iv_document_id = us_head-wrk_data-knumv

it_item_id = lt_item_no

IMPORTING

es_head_ret = ls_head_ret_vmc

et_item_ret = lt_item_ret_vmc(calculated value will come here).

es_profile = gs_profile_add

EXCEPTIONS

communication_failure = 1 MESSAGE lv_message

system_failure = 2 MESSAGE lv_message

OTHERS = 3.

add_profile 'SPC_GET_PRICING_DOCUMENT_INFO'.

So how can we resolve this problem please Guide us .

thanks

-


Channappa Sajjanar