cancel
Showing results for 
Search instead for 
Did you mean: 

Rejected item in shopping cart using BBP_PD_SC_GETDETAIL

Former Member
0 Kudos

Hi,

I need to get the rejected item in shopping cart by calling BBP_PD_SC_GETAIL, however I cant find the field (DEDUCT_IND) for the rejected item in E_ITEM.

Where is the Reduction/rejection indicator on item level is store?

Appreciate helps!

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Please check the FM BBP_PD_SC_GETDETAIL again. The field DEDUCT_IND is present under the structure E_ITEM. You can also fetch the value for this field from the table BBP_PDIGP.

Hope this helps.

Thanks,

Pradeep

Former Member
0 Kudos

Hi Pradeep,

I still cant find the deduct_ind. How could this happen, the DEDUCT_IND field is not in E_item?

CALL FUNCTION 'BBP_PD_SC_GETDETAIL'
      EXPORTING
        i_guid    = iv_doc_guid
      IMPORTING
        e_header  = lt_sc_header
      TABLES
        e_item    = lt_sc_item
        e_account = lt_sc_account.

     LOOP AT lt_sc_item INTO ls_sc_item
      WHERE del_ind IS INITIAL AND deduct_ind IS INITIAL.
      .........
    ENDLOOP.

Error: No component exists with the name "DEDUCT_IND", but there is a component with a similar name "DEL_IND".

Appreciate helps!

Thanks.

Former Member
0 Kudos

Hi,

Please check the definition of the structure lt_sc_item.

It should be

lt_sc_item TYPE BBP_PDS_SC_ITEM_D.

And please let me know on which SRM version you are working on. I am on SRM_SERVER 550.

Thanks,

Pradeep

Former Member
0 Kudos

Hi,

Below are the declaration:

DATA: lt_sc_header   TYPE TABLE OF BBP_PDS_SC_HEADER_D,
        ls_sc_header   TYPE BBP_PDS_SC_HEADER_D,
        lt_sc_item     TYPE TABLE OF BBP_PDS_SC_ITEM_D,
        ls_sc_item     TYPE BBP_PDS_SC_ITEM_D,
        lt_sc_account  TYPE TABLE OF BBP_PDS_ACC,
        ls_sc_account  TYPE BBP_PDS_ACC,

The version that I m using is SAP SRM 5.00. This is a bit weird, the DEDUCT_IND field should be in E_ITEM but I just cannot find it.

Thanks!

Former Member
0 Kudos

HI,

You can find this in structure "E_ITEM STRUCTURE BBP_PDS_SC_ITEM_D OPTIONAL" just after the field "LOGSYS_FI" and before the field "REJECT_WI".

Regards,

Sachin

former_member183819
Active Contributor
0 Kudos

BBP_BW_SC_SELECT_1 -FM

i_STAT =I1016 - I/p

Output result gives no of rejected SC.

regards

Muthu

Answers (0)