cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to Pass the Custom field values from EHP4 PR to SRM Shopping Cart

Former Member
0 Kudos
97

Hi Experts,

I have added 3 custom fields namely tender mode, cost center and installed quantity in shopping cart by using the SPRO.

INCL_EEW_PD_ITEM_CSF

INCL_EEW_PD_ITEM_CSF_SC

When we run the program BBP_EXTREQ_TRANSFER system will convert the PR to Shopping Cart.

While doing this Custom fields which are added in the PR should flow in to the Shopping Cart in the SRM system

For this I implemented Badi BBP_BADI_EXTREQ_OUT which i got in the SDN.

I return the code below in the method BBP_GROUPING_MAPPING

DATA: ls_item_cust TYPE bbps_er_sc_item_cust_c_pi.

LOOP AT item_cust_imp INTO ls_item_cust.

ls_item_cust-zz_tmode = transtab_imp-eban-zztmode.

ls_item_cust-zz_kostl = transtab_imp-eban-zzkostl.

ls_item_cust-zzins_qty = transtab_imp-eban-zzins_qty.

MODIFY item_cust_imp FROM ls_item_cust transporting zz_tmode zz_kostl zzins_qty.

ENDLOOP.

But still the PR custom field values are not passing to the Shopping Cart.

Whether I missed anything, Can you help me regarding this.

Thanks in advance

sanjoy.

Edited by: sanjoy0007 on Jul 7, 2011 6:00 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

The issue is already resolved by myself

Former Member
0 Kudos

HI,

We also had similar problem, it got rectified by having same sequence of fields in the structures of ECC and SRM.

Hope it will help you.

Ganapathi