cancel
Showing results for 
Search instead for 
Did you mean: 

parameters to be passed to get shopping cart details

Former Member
0 Kudos

Hi,

Can someone let me know the parameters (in detail) to be passed to

function module BBP_PD_SC_GETDETAIL to get the shopping cart details.

I am implementing the bbp_doc_check_badi. so i need this.

helpful answers rewarded.

thanks,

Ashwin.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Shopping cart number as I_Object_ID is sufficient to get the details.

I_GUID 0000000000000000000000000000000

I_OBJECT_ID 10004023

I_ATTACH_WITH_DOC

I_WITH_ITEMDATA X

I_ITEM_SORTED_BY_HIERARCHY

I_WITHOUT_HEADER_TOTALS

-Suren

Edited by: Suren on Feb 7, 2008 8:39 PM

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Ashwin,

In the BADI, you will find the SC doc GUID as inbound parameter: IV_DOC_GUID.

With this SC GUID, read SC details with function BBP_PD_SC_GETDETAIL(Pass this GUID to the FM).

You will find SC header details in export structure E_HEADER.

Table E_ITEM contains SC item data.

BR,

Disha.

Former Member
0 Kudos

hi,

yes, i already passed that.

apart from " i_guid " wat else shud be passed...

and how ?

thanks,

ashwin.

Edited by: Ashwin Kumar on Feb 8, 2008 1:23 AM

Former Member
0 Kudos

Hi,

Just pass the SC guid to the BBP_PD_SC_GETDETAIL function in the import parameter - I_GUID(nothing else is reqd) .

e.g.

call function 'BBP_PD_SC_GETDETAIL'

exporting

i_guid = iv_doc_guid

importing

e_header = wa_e_header

tables

e_item = e_item

e_account = e_account

e_longtext = e_longtext

e_messages = e_messages.

BR,

Disha.