cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the data in Header area of Shopping cart

Former Member
0 Kudos

Hi Team,

We have a requirement to change the created by field of the shopping cart.  Actually we are getting the SC Created by as  Service user id instead of the PR created by user id which should come from backend.  Can some one help in how to change the values in the field filed of shopping cart. Where can we write the code to change the Created by field. I have already written some logic in class /SAPSRM/CL_CH_WD_MAP_IDENT_SC method /SAPSRM/IF_CLL_IDENT_MAPPER~GET_FIELD_DATA. It is working in some cases. But not in all cases.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Amarnath,

You can check the code in

class: /SAPSRM/CL_PDO_FACTORY_SC_ADV

method: GET_DEFAULT_DATA

Here also the admin data is altered.

Regards

Monika

former_member184111
Active Contributor
0 Kudos

Hi Amarnath,

CREATED_BY is an Admin field and I think it is not possible to change this field, but You can change REQUESTER or partner function 16 in DOC Change BADI.

Thanks,

Anubhav