Quantcast
Channel: SCN: Message List - SAP SRM: Shopping Cart & Catalog
Viewing all articles
Browse latest Browse all 2860

Re: Transfer of Custom Fields from ECC PR to SRM SC in ECC EHP6

$
0
0

Hi All,

 

Even i came across the similar scenario (Need to map the data coming custom fields present in EBAN from PR to shopping cart custom field present in BBP_PDISC in SRM). Kindly get the below solution and analysis for the same to achieve this requirement.

 

Solution:

 

To achieve we need complete only below 2 steps.

 

Step 1:

 

Structure to be enhanced in SRM - BAPI_SC_ITEM_CUST_C

Structure to be enhanced in ECC Side - BBPS_ER_SC_ITEM_CUST_C_PI


Step 2:


Map the data from EBAN customer field to structure( of type BBPS_ER_SC_ITEM_CUST_C_PI) fields in BADI BBP_BADI_EXTREQ_OUT in ECC.

 

Now the data will be transferred automatically as per the configuration described in below analysis section.

 

Analysis:

 

RFC FM BBP_BC_EXTREQ_INB is called from ECC BADI (BBP_BADI_EXTREQ_OUT) in SRM during PR Transfer.

 

During this RFC FM call, internal table ITEM_CUST_IMP from ECC BADI has been mapped to SRM RFC FM table I_ITEMS_CUST.

 

ITEM_CUST_IMP is of type BBPT_ER_SC_ITEM_CUST_C_PI (in which customer fields are added in ECC)

I_ITEMS_CUST  is of type BAPI_SC_ITEM_CUST_C (in which customer fields are added in SRM)

 

Till now data from customer field has been transferred to SRM but still not mapped to shopping cart custom fields, for that Inside the below path there is move corresponding statement to SC item level custom field.

 

RFC FM BBP_BC_EXTREQ_INB -> FM BBP_EXTREQ_INBOUND -> FM BAPI_SCEC_CREATE -> Perform map_bapisc_to_sc

 

MOVE-CORRESPONDING bapi_items_cust to bbp_sc_item.

 

bbp_sc_item is of typebbp_pds_sc_item_icu.

bapi_items_cust is of typebapi_sc_item_cust_c.

 

 

Let me know in case further information is required.

 

Regards,

Arpit Bhardwaj




Viewing all articles
Browse latest Browse all 2860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>