Skip to Content

Catalog Shopping cart - Error in process

Hi,

We are facing issues with Catalog shopping carts which is going into error in process instead of creating SRM PO. We are into Extended classic scenario and there is no RZ20 error.

There is error in SLG1 logs as: Shopping cart XXXX (item 1): BBP_BD 002 - An exception with the type CX_SY_ZERO

looks like there is an error in standard program which is trying to divide by zero in a calculation.

Please suggest.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Feb 26 at 06:03 PM

    Hello,
    I think note 2484677 will help you indeed.
    What you can do to confirm is to create a shopping cart in saved status and take its header GUID from BBP_PD.
    Then, put a breakpoint at include LBBP_PDPRCF21 and execute FM BBP_PD_SC_TRANSFER, by providing the header GUID.
    See if exception CX_SY_ZERODIVIDE will be raised here.

    Form FILL_OUTPUT_PARAMETERS:

    es_com-net_value = es_com-net_price * ls_com-quantity / is_com-price_unit. (exception would occur here)

    Just do this in a test system, since cart status will become inconsistent.


    Then, if this is the case, note 2484677 helps.

    Regards,
    Ricardo

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ricardo,

      I had tested in the similar way as suggested by you and it has exception"CX_SY_ZERODIVIDE"

      I will try to implement note 2484677 and get back to you.

      Thanks.

      Regards,

      Abhishek

  • Feb 23 at 08:47 PM

    Hello,

    This issue is usually solved with note 2484677.
    Not sure which support package you have, but similar scenarios were solved with this note.

    Regards,
    Ricardo

    Add comment
    10|10000 characters needed characters exceeded

    • Hi,

      In addition to this, I also checked by directly creating Catalog PO in SRM and found that price unit value is picking as 0 instead of 1.

      Please suggest.

      Thank You.

      Regards,

      Abhishek