cancel
Showing results for 
Search instead for 
Did you mean: 

How to fetch the current active status of Shopping cart

Former Member
0 Kudos

Hi all,

Is there any way to fetch the current status of a Shopping cart programmatically?I have tried using the FM BBP_PD_SC_GETDETAIL as well as tables CRM_JEST etc.Bu these only give all the statuses of the cart and not the current active status of the cart.

Any input will be highly appreciated.

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please use FM BBP_DOC_STATUS_GET to get the current status of shopping cart.

Inputs: SC guid, All the status in the CRM JEST table.

Output: Current Status.

Regards,

Sheetal.

Former Member
0 Kudos

Hi Sheetal,

Thanks for the reply.

I did use the FM mentioned but when i executed it for a SC which has the current status as "Follow-on Document Created",it gave me the current status as "Approved".

Does this FM give the current status based on header only?

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can use it to get the line item status also.

Just pass the line item guid in the IV_GUID field.

And the corresponding status for this item in CRM_JEST table.

It will give the output as the current status.

Regards,

Sheetal