Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    May 08 at 09:51 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • avatar image
    Former Member
    May 09 at 10:27 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 10 at 09:04 AM

    Hi Experts and Daniel Erdei,

    We are able to make number range change using class /SAPSRM/CL_PDO_FACTORY_SC_ADV and method: CREATE_SC_INT

    But in the above method we are able to read only SC header and the GUID we are getting is not usable to get the Shopping Cart item data as this GUID is a temporary one not committed in tables. Is there a way to get complete Shopping cart item data using the GUID we obtain from the methos "CREATE_SC_INT"?

    You help is greatly appreciated and Thanks in Advance

    Best Regards,

    Karthi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 10 at 09:09 AM

    Hi Experts and Daniel Erdei,

    We could able to achieve the requirement using Class: /SAPSRM/CL_PDO_FACTORY_SC_ADV Method: CREATE_SC_INT but with this method we could only read a limited header data also the GUID we get in this method is used to fetch any item details using FM. Is there a way to determine complete Shopping Cart details including item with the GUID?

    Can any one help me determining item data of Shopping Cart from the GUID obtained from the method CREATE_SC_INT?

    Your help is appreciated and thanks in Advance

    Best Regards,

    Karthi

    Add comment
    10|10000 characters needed characters exceeded