cancel
Showing results for 
Search instead for 
Did you mean: 

Shopping cart (External requirement) number to be setup as external range and use PR numebr for SC

former_member533535
Participant
0 Kudos
469

Hi Experts,


We are implementing SRM PPS for one of the customer and the requirement in PDP scenario is when Shopping carts created from ECC PR through PI message we need to create Shopping Cart (external Requirements) with same number as PR in ECC. We have setup the ECC PR number range as external number range for Shopping cart transaction type "EXTR" but we could not find the any attribute in BBP_DOC_CHANGE_BADI to update PR number to Shopping Cart.

Can any one suggest how to setup ECC PR number to Shopping cart through enhancement?

Best Regards,

Karthikeyan BN

View Entire Topic
edaniel
Product and Topic Expert
Product and Topic Expert
0 Kudos

Dear Karthikeyan,


I recommend you to check Class: /SAPSRM/CL_PDO_FACTORY_SC_ADV Method: CREATE_SC_INT and

Class: /SAPSRM/CL_CH_SOA_BO_MAPPER_PR Method: /SAPSRM/IF_CH_SOA_BO_MAPPER_PR~CREATE


Best regards,

Daniel

former_member533535
Participant
0 Kudos

Hi Daniel,

Thanks for the details. With the class /SAPSRM/CL_PDO_FACTORY_SC_ADV and method: CREATE_SC_INT we could make change to the Shopping cart number range but we could not able to read Shopping Cart item details in this Class and Method and hence we could not read PR number that we are planning to use as Shopping cart number.

Can you please help with SAP Class which we can use to read the Shopping cart Header and item data that is associated with the temporary Header GUID that we read in the class "/SAPSRM/CL_PDO_FACTORY_SC_ADV"?

If we could able to read the PR number that is coming in this class then we could able to complete this requirement

Best Regards,

Karthikeyan BN