cancel
Showing results for 
Search instead for 
Did you mean: 

BADI BBP_RESERVATION_GRP - grouping items into one reservation

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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