cancel
Showing results for 
Search instead for 
Did you mean: 

Catalog Shopping cart - Error in process

former_member198566
Active Participant
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

ricardo_cavedini
Active Contributor
0 Kudos

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

former_member198566
Active Participant
0 Kudos

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

Answers (1)

Answers (1)

ricardo_cavedini
Active Contributor
0 Kudos

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

former_member198566
Active Participant
0 Kudos

Hi Ricardo,

Thank you for your reply.

We are in SRM 7 EHP 3 SP14

Extended Classic scenario and the issue is when we create Shopping cart using Catalog. During PO creation it is picking 0 price unit.

In note suggested the po created from SoCo with reference to contract.

Can you please suggest w.r.t catalog SC.

Thanks.

Regards,

Abhishek

former_member198566
Active Participant
0 Kudos

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