Skip to Content
avatar image
Former Member

BADI BBP_RESERVATION_GRP - grouping items into one reservation

Hi friends,

I am new to SRM and to SDN too. Hope my interaction would be mutually beneficial.

We have implemented the BADI BBP_RESERVATION_GRP for grouping the shopping cart items into one backend reservation. There are no conditions (based on cost center or account assignment data). All the items in the shopping cart need to be grouped into one reservation.

The necessary coding has been done in the method RESERVATION_GRP as below:

METHOD if_ex_bbp_reservation_grp~reservation_grp .

DATA : wa_ct_proc_res TYPE bbps_procurement_res.

LOOP AT ct_proc_res INTO wa_ct_proc_res.

wa_ct_proc_res-group = '1'.

MODIFY ct_proc_res FROM wa_ct_proc_res.

ENDLOOP.

ENDMETHOD.

But still, a reservation is being created for each item in shopping cart :(.

The BADI has been activated and even the code.

Have anyone have any idea what might be the problem? Do anyone have some sample code (I dont find any in the BADI documentation).

Advance Thanks

Advit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Feb 06, 2009 at 05:32 AM

    Hi Advit,

    If you are woking on SRM 5.0 then the BAdI BBP_RESERVATION_GRP will not work for your requirement. It is replaced by the BAdI BBP_BS_GROUP_BE.

    Please go through the following OSS Note to find more:

    Note 1073137 - SRM5.0: Badi BBP_BS_GROUP_BE instead of BBP_RESERVATION_GRP

    Thanks,

    Pradeep

    Add comment
    10|10000 characters needed characters exceeded